module@warp-drive/schema-dsl
Defined in: fields/attribute.ts:10
Options accepted by the attribute decorator.
Properties
sourceKey?
ts
optional sourceKey?: string;Defined in: fields/attribute.ts:18
The name of the field as returned by the API, if it differs from the decorated property's name. Compiles onto the LegacyAttributeField's sourceKey.
type?
ts
optional type?: string;Defined in: fields/attribute.ts:25
The name of a legacy transform to compile onto the field's type.