# LivePatch (@salmonui/data/stream)

> The LivePatch interface of @salmonui/data/stream.

Canonical: https://salmonui.dev/docs/reference/data/stream/LivePatch

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

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/stream (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/stream.md).

## Reference

Kind: interface

```ts
interface LivePatch<Row> {
    readonly upsert?: readonly Row[];
    readonly remove?: readonly RowId[];
    readonly append?: readonly Row[];
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `upsert` | `readonly upsert?: readonly Row[];` | optional |  |
| `remove` | `readonly remove?: readonly RowId[];` | optional |  |
| `append` | `readonly append?: readonly Row[];` | optional |  |
