API reference › @evolu/common › local‑first/Schema › UpdateValues
type UpdateValues<T> = {
id: StandardSchemaV1.InferOutput<T["id"]>;
} & {
readonly [K in Exclude<keyof T, "id">]?: StandardSchemaV1.InferOutput<T[K]>;
} & {
isDeleted?: SqliteBoolean;
};
Defined in: packages/common/src/local-first/Schema.ts:321
Update values: id required, all other columns optional. Includes
isDeleted for soft deletes.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
id | StandardSchemaV1.InferOutput<T["id"]> | packages/common/src/local-first/Schema.ts:322 |
Type Declaration
| Name | Type | Defined in |
|---|---|---|
isDeleted? | SqliteBoolean | packages/common/src/local-first/Schema.ts:326 |