module@warp-drive/schema-dsl
Defined in: fields/alias.ts:12
Options accepted by the alias decorator, describing the field being aliased.
Properties
kind
ts
kind: string;Defined in: fields/alias.ts:19
The kind of the field being aliased, e.g. 'field', 'object', or 'array'.
name
ts
name: string;Defined in: fields/alias.ts:26
The name of the field being aliased.
sourceKey?
ts
optional sourceKey?: string;Defined in: fields/alias.ts:40
The sourceKey of the field being aliased, if it differs from name.
type?
ts
optional type?: string;Defined in: fields/alias.ts:33
The name of a Transformation associated with the aliased field.