API REFERENCE

SyGridRowsTransferredDetail

Fields, allowed values, and APIs that use SyGridRowsTransferredDetail.

Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

typescript
export interface SyGridRowsTransferredDetail {
  readonly transferId: string;
  readonly sourceZoneId: string;
  readonly targetZoneId: string;
  readonly mode: 'move' | 'copy';
  readonly report: SyGridRowTransferReport;
  readonly outcome:
    | { readonly outcome: 'applied'; readonly sourceWritten: boolean; readonly targetWritten: boolean }
    | { readonly outcome: 'reverted'; readonly failedSide: 'source' | 'target'; readonly error: string; readonly targetUndone: boolean }
    | { readonly outcome: 'compromised'; readonly [extra: string]: unknown };
  readonly commit: unknown;
}

APIs using this type

Contracts containing this type