Member Junction
    Preparing search index...

    Result returned when the ListManagementDialog is closed

    interface ListManagementResult {
        action: "apply" | "cancel";
        added: ListOperationDetail[];
        newListsCreated: MJListEntity[];
        removed: ListOperationDetail[];
        summary?: {
            added: number;
            failed: number;
            removed: number;
            skipped: number;
        };
    }
    Index

    Properties

    action: "apply" | "cancel"

    Action taken by the user

    • 'apply': User confirmed changes
    • 'cancel': User cancelled without applying changes

    Lists and records that were added

    newListsCreated: MJListEntity[]

    New lists that were created during this session

    Lists and records that were removed

    summary?: { added: number; failed: number; removed: number; skipped: number }

    Aggregate outcome of the apply operation, so hosts can tell the user about silently-skipped duplicates or partial failures. Only present when action === 'apply'.

    Type Declaration

    • added: number

      Membership rows actually created

    • failed: number

      Records that failed to add/remove

    • removed: number

      Membership rows actually removed

    • skipped: number

      Records skipped because they were already in the target list(s)