View as Markdown

API reference: @salmonui/data/stream

LivePatchinterface

import type { LivePatch } from '@salmonui/data/stream';

Also exported from @salmonui/data.

interface LivePatch<Row> {
    readonly upsert?: readonly Row[];
    readonly remove?: readonly RowId[];
    readonly append?: readonly Row[];
}
LivePatch members (3)
NameSignatureDescription
upsertoptionalreadonly upsert?: readonly Row[];
removeoptionalreadonly remove?: readonly RowId[];
appendoptionalreadonly append?: readonly Row[];