Simple Chat Room in NodeJS, expressJS and mongoDB in Docker Swarm
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.

31 lines
498 B

5 years ago
/*!
* 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;