2019-06-04 14:29:48 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
exports.arrayAtomicsSymbol = Symbol('mongoose#Array#_atomics');
|
|
|
|
exports.arrayParentSymbol = Symbol('mongoose#Array#_parent');
|
|
|
|
exports.arrayPathSymbol = Symbol('mongoose#Array#_path');
|
|
|
|
exports.arraySchemaSymbol = Symbol('mongoose#Array#_schema');
|
|
|
|
exports.documentArrayParent = Symbol('mongoose:documentArrayParent');
|
2019-07-02 16:05:15 +02:00
|
|
|
exports.documentSchemaSymbol = Symbol('mongoose#Document#schema');
|
2019-06-04 14:29:48 +02:00
|
|
|
exports.getSymbol = Symbol('mongoose#Document#get');
|
|
|
|
exports.modelSymbol = Symbol('mongoose#Model');
|
|
|
|
exports.objectIdSymbol = Symbol('mongoose#ObjectId');
|
2019-07-02 16:05:15 +02:00
|
|
|
exports.populateModelSymbol = Symbol('mongoose.PopulateOptions#Model');
|
2019-06-04 14:29:48 +02:00
|
|
|
exports.schemaTypeSymbol = Symbol('mongoose#schemaType');
|
2019-07-02 16:05:15 +02:00
|
|
|
exports.validatorErrorSymbol = Symbol('mongoose:validatorError');
|