module@warp-drive/schema-dsl
Interface DerivedOptions
ts
interface DerivedOptions {
options?: Record<string, unknown>;
type: string;
}Defined in: fields/derived.ts:11
Options accepted by the derived decorator.
Properties
options?
ts
optional options?: Record<string, unknown>;Defined in: fields/derived.ts:27
Options to pass to the derivation. Must comply with the specific derivation's options schema.
type
ts
type: string;Defined in: fields/derived.ts:19
The name of a Derivation registered with the schema service, used to compute this field's value. Compiles onto the DerivedField's type.