Skip to main content

Interface: CreateModelOptions

Properties

collectionName

collectionName: string

Defined in

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


idKey

idKey: string

Defined in

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


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:21


keyGeneratorDelimiter

Optional keyGeneratorDelimiter: string

Defined in

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


maxExpiry

Optional maxExpiry: number

Defined in

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


modelKey

modelKey: string

Defined in

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


scopeName

scopeName: string

Defined in

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