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

Defined in: fields/field.ts:11

Options accepted by the field decorator.

Properties

sourceKey?

ts
optional sourceKey?: string;

Defined in: fields/field.ts:25

The name of the field as returned by the API, if it differs from the decorated property's name. Compiles onto the field's sourceKey.


type?

ts
optional type?: string;

Defined in: fields/field.ts:17

The name of a Transformation to compile onto the field's type.

Released under the MIT License.