SetEventDefLike
SetEventDefLike<
TName,TType,TOptions> =TOptions["default"]["id"] extendsundefined? (args,id) =>object: (args,id?) =>object&object
Defined in: packages/@livestore/common/dist/schema/state/sqlite/client-document-def.d.ts:219
Type Declaration
Section titled “Type Declaration”
readonlyEvent:object
Event.args
Section titled “Event.args”
readonlyargs:object
Event.args.id
Section titled “Event.args.id”id:
string
Event.args.value
Section titled “Event.args.value”value:
TType
Event.name
Section titled “Event.name”
readonlyname:`${TName}Set`
readonlyname:`${TName}Set`
options
Section titled “options”
readonlyoptions:object
options.clientOnly
Section titled “options.clientOnly”clientOnly:
true
options.deprecated
Section titled “options.deprecated”deprecated:
undefined
options.derived
Section titled “options.derived”derived:
true
options.facts
Section titled “options.facts”facts:
undefined
schema
Section titled “schema”
readonlyschema:Schema.Schema<any>
Type Parameters
Section titled “Type Parameters”TName extends string
TType
TOptions
Section titled “TOptions”TOptions extends ClientDocumentTableOptions<TType>