This commit is contained in:
2026-04-02 17:50:10 +08:00
parent 60697d80be
commit ce0aa4f789
373 changed files with 82520 additions and 46 deletions

43
backend/node_modules/mongoose/lib/validOptions.js generated vendored Normal file
View File

@@ -0,0 +1,43 @@
/*!
* Valid mongoose options
*/
'use strict';
const VALID_OPTIONS = Object.freeze([
'allowDiskUse',
'applyPluginsToChildSchemas',
'applyPluginsToDiscriminators',
'autoCreate',
'autoIndex',
'autoSearchIndex',
'bufferCommands',
'bufferTimeoutMS',
'cloneSchemas',
'createInitialConnection',
'debug',
'forceRepopulate',
'id',
'maxTimeMS',
'objectIdGetter',
'overwriteModels',
'returnDocument',
'returnOriginal',
'runValidators',
'sanitizeFilter',
'sanitizeProjection',
'selectPopulatedPaths',
'setDefaultsOnInsert',
'strict',
'strictPopulate',
'strictQuery',
'timestamps.createdAt.immutable',
'toJSON',
'toObject',
'transactionAsyncLocalStorage',
'translateAliases',
'updatePipeline'
]);
module.exports = VALID_OPTIONS;