something is working

This commit is contained in:
quoije
2022-09-15 01:55:36 -04:00
parent a0aa251c27
commit f38e69883c
1123 changed files with 251731 additions and 11 deletions
+33
View File
@@ -0,0 +1,33 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MaxKey = void 0;
/**
* A class representation of the BSON MaxKey type.
* @public
* @category BSONType
*/
var MaxKey = /** @class */ (function () {
function MaxKey() {
if (!(this instanceof MaxKey))
return new MaxKey();
}
/** @internal */
MaxKey.prototype.toExtendedJSON = function () {
return { $maxKey: 1 };
};
/** @internal */
MaxKey.fromExtendedJSON = function () {
return new MaxKey();
};
/** @internal */
MaxKey.prototype[Symbol.for('nodejs.util.inspect.custom')] = function () {
return this.inspect();
};
MaxKey.prototype.inspect = function () {
return 'new MaxKey()';
};
return MaxKey;
}());
exports.MaxKey = MaxKey;
Object.defineProperty(MaxKey.prototype, '_bsontype', { value: 'MaxKey' });
//# sourceMappingURL=max_key.js.map