Creating Plot Twists
    Preparing search index...

    Type Alias ActivityUpdate

    ActivityUpdate: Pick<Activity, "id"> & Partial<
        Pick<
            Activity,
            | "type"
            | "start"
            | "end"
            | "doneAt"
            | "note"
            | "title"
            | "meta"
            | "links"
            | "recurrenceRule"
            | "recurrenceDates"
            | "recurrenceExdates"
            | "recurrenceUntil"
            | "recurrenceCount"
            | "occurrence"
            | "mentions",
        >,
    > & {
        parent?: Pick<Activity, "id">
        | null;
        noteType?: NoteType;
        tags?: Partial<Record<Tag, ActorId[]>>;
        twistTags?: Partial<Record<Tag, boolean>>;
    }

    Type Declaration

    • Optionalparent?: Pick<Activity, "id"> | null
    • OptionalnoteType?: NoteType

      Format of the note content. Determines how the note is processed:

      • 'text': Plain text that will be converted to markdown (auto-links URLs, preserves line breaks)
      • 'markdown': Already in markdown format (default, no conversion)
      • 'html': HTML content that will be converted to markdown
    • Optionaltags?: Partial<Record<Tag, ActorId[]>>

      Full tags object from Activity. Maps tag ID to array of actor IDs who added that tag. Only allowed for activities created by the twist. Use twistTags instead for adding/removing the twist's tags on other activities.

    • OptionaltwistTags?: Partial<Record<Tag, boolean>>

      Add or remove the twist's tags. Maps tag ID to boolean: true = add tag, false = remove tag. This is allowed on all activities the twist has access to.