API REFERENCE
SyGridStateApplyReport
Fields, allowed values, and APIs that use SyGridStateApplyReport.
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.
export interface SyGridStateApplyReport {
readonly ok: boolean;
readonly issues: readonly SyGridStateEnvelopeIssue[];
readonly appliedSlices: readonly SyGridStateSliceKey[];
readonly requestedAbsentSlices: readonly SyGridStateSliceKey[];
readonly unrestorableSlices: readonly SyGridStateSliceKey[];
readonly columns: ColumnsSliceApplyResult['report'] | null;
readonly filter: FilterSliceApplyResult['report'] | null;
readonly rows: RowsSlicesApplyResult['report'] | null;
readonly uiUnavailable: readonly UiRestorePlan['unavailable'][number][];
readonly afterDataPending: boolean;
readonly appliedMigrations: readonly string[];
readonly droppedSlices: readonly { slice: string; reason: string }[];
}APIs using this type
- setState
Restores complete or selected state slices and returns applied/issue reports. Only slices in appliedSlices were actually applied.