You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
498 B
30 lines
498 B
|
|
/*!
|
|
* Valid mongoose options
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const VALID_OPTIONS = Object.freeze([
|
|
'applyPluginsToChildSchemas',
|
|
'applyPluginsToDiscriminators',
|
|
'autoIndex',
|
|
'bufferCommands',
|
|
'cloneSchemas',
|
|
'debug',
|
|
'maxTimeMS',
|
|
'objectIdGetter',
|
|
'runValidators',
|
|
'selectPopulatedPaths',
|
|
'strict',
|
|
'toJSON',
|
|
'toObject',
|
|
'useCreateIndex',
|
|
'useFindAndModify',
|
|
'useNewUrlParser',
|
|
'usePushEach',
|
|
'useUnifiedTopology',
|
|
'typePojoToMixed'
|
|
]);
|
|
|
|
module.exports = VALID_OPTIONS;
|
|
|