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

Interface IdOptions ​

ts
interface IdOptions {
  sourceKey?: string;
}

Defined in: fields/id.ts:11

Options accepted by the id decorator.

Properties ​

sourceKey? ​

ts
sourceKey?: string;

Defined in: fields/id.ts:19

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

Released under the MIT License.