Commit
This commit is contained in:
commit
d1c8cae2c1
1417 changed files with 326736 additions and 0 deletions
42
node_modules/mongoose/lib/validOptions.js
generated
vendored
Normal file
42
node_modules/mongoose/lib/validOptions.js
generated
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
/*!
|
||||
* Valid mongoose options
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const VALID_OPTIONS = Object.freeze([
|
||||
'allowDiskUse',
|
||||
'applyPluginsToChildSchemas',
|
||||
'applyPluginsToDiscriminators',
|
||||
'autoCreate',
|
||||
'autoIndex',
|
||||
'autoSearchIndex',
|
||||
'bufferCommands',
|
||||
'bufferTimeoutMS',
|
||||
'cloneSchemas',
|
||||
'createInitialConnection',
|
||||
'debug',
|
||||
'forceRepopulate',
|
||||
'id',
|
||||
'timestamps.createdAt.immutable',
|
||||
'maxTimeMS',
|
||||
'objectIdGetter',
|
||||
'overwriteModels',
|
||||
'returnOriginal',
|
||||
'runValidators',
|
||||
'sanitizeFilter',
|
||||
'sanitizeProjection',
|
||||
'selectPopulatedPaths',
|
||||
'setDefaultsOnInsert',
|
||||
'skipOriginalStackTraces',
|
||||
'strict',
|
||||
'strictPopulate',
|
||||
'strictQuery',
|
||||
'toJSON',
|
||||
'toObject',
|
||||
'transactionAsyncLocalStorage',
|
||||
'translateAliases'
|
||||
]);
|
||||
|
||||
module.exports = VALID_OPTIONS;
|
||||
Loading…
Add table
Add a link
Reference in a new issue