# resolveConflicts (@salmonui/data)

> The resolveConflicts function of @salmonui/data: Builds the follow-up write: rows where at least one cell is keepLocal are re-sent on top of the server row (other cells take the server value), with the server row as previous so its version is the expected version. Rows that are all useServer or defer are not sent.

Canonical: https://salmonui.dev/docs/reference/data/resolveConflicts

```ts
import { resolveConflicts } from '@salmonui/data';
```

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

## Reference

Kind: function

```ts
function resolveConflicts<Row>(review: ConflictReview<Row>, options: ResolveConflictsOptions<Row>): WriteRequest<Row>;
```

Builds the follow-up write: rows where at least one cell is `keepLocal`
are re-sent on top of the server row (other cells take the server value),
with the server row as `previous` so its version is the expected version.
Rows that are all `useServer` or `defer` are not sent.
