first commit

This commit is contained in:
dahyeon committed 2026-02-02 19:14:07 -08:00
commit b6256abbfb
397 files changed
+537630

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
import { BSONValue } from './bson_value';
/** @public */
export interface MinKeyExtended {
$minKey: 1;
}
/**
* A class representation of the BSON MinKey type.
* @public
* @category BSONType
*/
export class MinKey extends BSONValue {
get _bsontype(): 'MinKey' {
return 'MinKey';
}
/** @internal */
toExtendedJSON(): MinKeyExtended {
return { $minKey: 1 };
}
/** @internal */
static fromExtendedJSON(): MinKey {
return new MinKey();
}
inspect(): string {
return 'new MinKey()';
}
}