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
Name | Type |
---|---|
params | Object |
params.metadata | ModelMetadata |
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