StateSetters
StateSetters<
TTableDef> =Dispatch<TTableDef[State.SQLite.ClientDocumentTableDefSymbol]["options"]["partialSet"] extendsfalse?SetStateAction<TTableDef["Value"]> :SetStateActionPartial<TTableDef["Value"]>>
Defined in: packages/@livestore/react/src/useClientDocument.ts:182
The setter function type for useClientDocument, determined by the table’s partialSet option.
- If
partialSet: false(default), requires full state replacement - If
partialSet: true, accepts partial updates merged with existing state
Type Parameters
Section titled “Type Parameters”TTableDef
Section titled “TTableDef”TTableDef extends State.SQLite.ClientDocumentTableDef.TraitAny
The client-document table definition type