Member Junction
    Preparing search index...

    An account from the saved-account search. Deliberately thin: a list-cleanup workflow needs the identity, the domain for triage, and — load-bearing — the current label set, so a move can preserve it. Apollo returns far more fields and they are not modelled.

    interface ApolloAccount {
        id: string;
        labelIds: string[];
        labelNames: string[];
        name: string;
        primaryDomain: string;
    }
    Index

    Properties

    id: string
    labelIds: string[]

    Membership ids exactly as the search returned them (quirk #5). Kept for diagnostics, and as the input labelNames is resolved from.

    labelNames: string[]

    The account's CURRENT label names, resolved from labelIds. Every label write must start from this set or it clobbers the account's other memberships (quirk #1). An id with no matching label is dropped rather than passed through — a raw id inside a label_names write would create a junk label named after a hex string.

    name: string
    primaryDomain: string

    Apollo's primary_domain; '' when absent.