DerivedSpec
DerivedSpec<
F> =object
Defined in: packages/schema/src/resource.ts:43
Where a derived value goes and what it reads (.derived()).
Type Parameters
Section titled “Type Parameters”F
Properties
Section titled “Properties”
optionalinto?: ((r) =>Ref) |DerivedTarget
Defined in: packages/schema/src/resource.ts:45
A read-only field of the record, or a field of another resource’s record of the same key.
optionaljob?:string
Defined in: packages/schema/src/resource.ts:47
The job enqueued with { resource, key, value } each time the value changes.
reads?
Section titled “reads?”
optionalreads?:string[]
Defined in: packages/schema/src/resource.ts:49
The other resources the compute function reads; their changes are captured.
track?
Section titled “track?”
optionaltrack?:boolean
Defined in: packages/schema/src/resource.ts:51
false analyses none of its queries: only the dependencies it names and its clock count.