# WriteStateEvent (@salmonui/data/json)

> The WriteStateEvent interface of @salmonui/data/json: Which rows and cells a write-state change touched.

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

```ts
import type { WriteStateEvent } 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 WriteStateEvent {
    readonly rows: readonly RowId[];
    readonly cells: readonly CellKey[];
}
```

Which rows and cells a write-state change touched.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rows` | `readonly rows: readonly RowId[];` |  |  |
| `cells` | `readonly cells: readonly CellKey[];` |  |  |
