Member Junction
    Preparing search index...

    Event payload emitted after the user has confirmed a restore.

    The host component is responsible for applying the snapshot to a BaseEntity instance, calling BaseEntity.SetRestoreContext, and invoking Save(). This component never touches the database directly so it remains usable in any consumer context.

    interface RestoreCommitEvent {
        AllRows: RestoreFieldRow[];
        FieldValues: { FieldName: string; Value: unknown }[];
        Mode: RestorePreviewMode;
        Reason: string | null;
        SourceChangeID: string;
    }
    Index

    Properties

    AllRows: RestoreFieldRow[]

    The full preview rows (including unselected) for audit/logging.

    FieldValues: { FieldName: string; Value: unknown }[]

    Selected fields with their snapshot values, ready for BaseEntity.Set.

    Mode indicates UPDATE (live) vs INSERT (undelete).

    Reason: string | null

    Optional user-entered reason; persisted to RecordChange.RestoreReason.

    SourceChangeID: string

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