Creating Plot Twists
    Preparing search index...

    Type Alias ActivityCommon

    Common fields shared by both Activity and Note entities.

    type ActivityCommon = {
        id: Uuid;
        created: Date;
        author: Actor;
        draft: boolean;
        private: boolean;
        archived: boolean;
        tags: Tags;
        mentions: ActorId[];
    }
    Index

    Properties

    id: Uuid

    Unique identifier for the activity

    created: Date

    When this activity was originally created in its source system.

    For activities created in Plot, this is when the user created it. For activities synced from external systems (GitHub issues, emails, calendar events), this is the original creation time in that system.

    Defaults to the current time when creating new activities.

    author: Actor

    Information about who created the activity

    draft: boolean

    Whether this activity is in draft state (not shown in do now view)

    private: boolean

    Whether this activity is private (only visible to author)

    archived: boolean

    Whether this activity has been archived

    tags: Tags

    Tags attached to this activity. Maps tag ID to array of actor IDs who added that tag.

    mentions: ActorId[]

    Array of actor IDs (users, contacts, or twists) mentioned in this activity via @-mentions