Skip to main content

Type Alias: OneOptions<T>

OneOptions<T>: {foreignKey: keyof T | string | readonly (keyof T | string)[];nullable: boolean; }

Options for reference navigation properties.

Type Parameters

Type Parameter
T extends object

Type declaration

foreignKey?

optional foreignKey: keyof T | string | readonly (keyof T | string)[]

The foreign key properties that reference the target entity.

nullable?

optional nullable: boolean

The nullability of the property.

Defined in

packages/verse-core/src/model/builder.ts:797