symbols.js 609 B

123456789101112
  1. 'use strict';
  2. exports.arrayAtomicsSymbol = Symbol('mongoose#Array#_atomics');
  3. exports.arrayParentSymbol = Symbol('mongoose#Array#_parent');
  4. exports.arrayPathSymbol = Symbol('mongoose#Array#_path');
  5. exports.arraySchemaSymbol = Symbol('mongoose#Array#_schema');
  6. exports.documentArrayParent = Symbol('mongoose:documentArrayParent');
  7. exports.getSymbol = Symbol('mongoose#Document#get');
  8. exports.modelSymbol = Symbol('mongoose#Model');
  9. exports.objectIdSymbol = Symbol('mongoose#ObjectId');
  10. exports.schemaTypeSymbol = Symbol('mongoose#schemaType');
  11. exports.validatorErrorSymbol = Symbol('mongoose:validatorError');