Skip to content
module@warp-drive/schema-dsl

Interface DerivedOptions ​

ts
interface DerivedOptions {
  options?: Record<string, unknown>;
  type: string;
}

Defined in: fields/derived.ts:13

Options accepted by the derived decorator.

Properties ​

options? ​

ts
options?: Record<string, unknown>;

Defined in: fields/derived.ts:29

Options to pass to the derivation. Must comply with the specific derivation's options schema.


type ​

ts
type: string;

Defined in: fields/derived.ts:21

The name of a Derivation registered with the schema service, used to compute this field's value. Compiles onto the DerivedField's type.

Released under the MIT License.