/
Stameskaaa
/
Server
Обзор
Документация
Войти
/
Stameskaaa
/
Server
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/mongoose/lib/validOptions.js
37 строк
662 B
Stameskaaa
first
19 июн 2024, 15:02
19 июн 2024, 15:02
ac1472e
Код
Авторство
О чём код?
/*! * Valid mongoose options */ 'use strict'; const VALID_OPTIONS = Object.freeze([ 'allowDiskUse', 'applyPluginsToChildSchemas', 'applyPluginsToDiscriminators', 'autoCreate', 'autoIndex', 'autoSearchIndex', 'bufferCommands', 'bufferTimeoutMS', 'cloneSchemas', 'debug', 'id', 'timestamps.createdAt.immutable', 'maxTimeMS', 'objectIdGetter', 'overwriteModels', 'returnOriginal', 'runValidators', 'sanitizeFilter', 'sanitizeProjection', 'selectPopulatedPaths', 'setDefaultsOnInsert', 'strict', 'strictPopulate', 'strictQuery', 'toJSON', 'toObject', 'translateAliases' ]); module.exports = VALID_OPTIONS;