Skip to main content

Interface: ModelOptions

Properties

collectionName

Optional collectionName: string

Defined in

model/interfaces/create-model.interface.ts:6


idKey

Optional idKey: string

Defined in

model/interfaces/create-model.interface.ts:8


keyGenerator

Optional keyGenerator: (params: { metadata: ModelMetadata }) => string

Type declaration

▸ (params): string

Parameters
NameType
paramsObject
params.metadataModelMetadata
Returns

string

Defined in

model/interfaces/create-model.interface.ts:11


keyGeneratorDelimiter

Optional keyGeneratorDelimiter: string

Defined in

model/interfaces/create-model.interface.ts:12


maxExpiry

Optional maxExpiry: number

Defined in

model/interfaces/create-model.interface.ts:10


modelKey

Optional modelKey: string

Defined in

model/interfaces/create-model.interface.ts:9


scopeName

Optional scopeName: string

Defined in

model/interfaces/create-model.interface.ts:7