123456789101112131415161718192021222324252627282930 |
- /*!
- * 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;
|