Appearance
Home > @liquidrazor/list-display > DataPatch
DataPatch type
Signature:
typescript
export type DataPatch<TRow = any, TRowId = RowId> = {
type: "replaceAll";
rows: TRow[];
} | {
type: "append";
row: TRow;
} | {
type: "update";
row: TRow;
} | {
type: "remove";
id: TRowId;
};References: RowId