Creating Plot Twists
    Preparing search index...

    Type Alias ContactRoleConfig

    Declares one contact role for a connector's link type. See LinkTypeConfig.contactRoles.

    type ContactRoleConfig = {
        id: string;
        label: string;
        default?: boolean;
        hidden?: boolean;
    }
    Index

    Properties

    id: string

    Stable machine id, e.g. "to" / "cc" / "bcc" / "required" / "optional".

    label: string

    Display label shown next to a contact chip, e.g. "To", "CC", "Required".

    default?: boolean

    Exactly one role per linkType should be marked default.

    hidden?: boolean

    Hidden roles are visible only to (a) the contact themselves and (b) the user who added them. The API filters them out of every other viewer's thread.contacts and thread.contactMeta. Use for BCC-style semantics where other recipients must not see the hidden contact.