symbols.js 1.1 KB

1234567891011121314151617181920
  1. 'use strict';
  2. exports.arrayAtomicsBackupSymbol = Symbol('mongoose#Array#atomicsBackup');
  3. exports.arrayAtomicsSymbol = Symbol('mongoose#Array#_atomics');
  4. exports.arrayParentSymbol = Symbol('mongoose#Array#_parent');
  5. exports.arrayPathSymbol = Symbol('mongoose#Array#_path');
  6. exports.arraySchemaSymbol = Symbol('mongoose#Array#_schema');
  7. exports.documentArrayParent = Symbol('mongoose:documentArrayParent');
  8. exports.documentIsSelected = Symbol('mongoose#Document#isSelected');
  9. exports.documentIsModified = Symbol('mongoose#Document#isModified');
  10. exports.documentModifiedPaths = Symbol('mongoose#Document#modifiedPaths');
  11. exports.documentSchemaSymbol = Symbol('mongoose#Document#schema');
  12. exports.getSymbol = Symbol('mongoose#Document#get');
  13. exports.modelSymbol = Symbol('mongoose#Model');
  14. exports.objectIdSymbol = Symbol('mongoose#ObjectId');
  15. exports.populateModelSymbol = Symbol('mongoose.PopulateOptions#Model');
  16. exports.schemaTypeSymbol = Symbol('mongoose#schemaType');
  17. exports.sessionNewDocuments = Symbol('mongoose:ClientSession#newDocuments');
  18. exports.scopeSymbol = Symbol('mongoose#Document#scope');
  19. exports.validatorErrorSymbol = Symbol('mongoose:validatorError');