# WriteStateSnapshot (@salmonui/data/json)

> The WriteStateSnapshot interface of @salmonui/data/json.

Canonical: https://salmonui.dev/docs/reference/data/json/WriteStateSnapshot

```ts
import type { WriteStateSnapshot } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

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

## Reference

Kind: interface

```ts
interface WriteStateSnapshot<Row> {
    readonly pending: ReadonlySet<RowId>;
    readonly rowErrors: Readonly<Record<RowId, readonly string[]>>;
    readonly cellErrors: Readonly<Record<CellKey, readonly string[]>>;
    readonly conflicts: readonly ConflictSnapshot<Row>[];
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `pending` | `readonly pending: ReadonlySet<RowId>;` |  |  |
| `rowErrors` | `readonly rowErrors: Readonly<Record<RowId, readonly string[]>>;` |  |  |
| `cellErrors` | `readonly cellErrors: Readonly<Record<CellKey, readonly string[]>>;` |  |  |
| `conflicts` | `readonly conflicts: readonly ConflictSnapshot<Row>[];` |  |  |
