Member Junction
    Preparing search index...

    Cancelable event fired immediately after the user clicks Restore but before RestorePreviewPanelComponent.RestoreConfirmed emits.

    Consumers can set cancel = true (and optionally cancelReason) to abort the restore — useful for custom approval workflows, audit logging hooks, or for a consumer that wants to take over the actual save itself.

    interface BeforeRestoreCommitEvent {
        AllRows: RestoreFieldRow[];
        cancel: boolean;
        cancelReason?: string;
        Mode: RestorePreviewMode;
        Reason: string | null;
        SelectedFieldNames: string[];
        SourceChangeID: string;
    }
    Index

    Properties

    AllRows: RestoreFieldRow[]

    The full set of rows in the preview, including unselected.

    cancel: boolean

    Set to true to abort. RestoreConfirmed will not fire.

    cancelReason?: string

    Optional explanation surfaced by the consumer.

    The mode — 'live' (UPDATE) or 'undelete' (INSERT).

    Reason: string | null

    Optional reason text the user entered.

    SelectedFieldNames: string[]

    Selected field names (only fields the user kept checked).

    SourceChangeID: string

    ID of the source RecordChange row whose state is being restored.