Actions that the user should be notified about

interface Activity {
    group: null | Group;
    id: string;
    post: Post;
    read: boolean;
    replyId: string;
    timeAgo: string;
    type: ActivityType;
}

Properties

group: null | Group

The Group that this activity references

id: string

The ID of the Activity

post: Post

The Post that this Activity references

read: boolean

If this Activity has been marked as read

replyId: string
timeAgo: string

This is a string that can be used to represent the amount of time ago this Activity is from

Example

'2d'

Example

'20h'

The type of Activity this is

Generated using TypeDoc