opusdev/vector-similarity-api
1
1import { BSONValue } from './bson_value';2 3/** @public */4export interface MinKeyExtended {5 $minKey: 1;6}7 8/**9 * A class representation of the BSON MinKey type.10 * @public11 * @category BSONType12 */13export class MinKey extends BSONValue {14 get _bsontype(): 'MinKey' {15 return 'MinKey';16 }17 18 /** @internal */19 toExtendedJSON(): MinKeyExtended {20 return { $minKey: 1 };21 }22 23 /** @internal */24 static fromExtendedJSON(): MinKey {25 return new MinKey();26 }27 28 inspect(): string {29 return 'new MinKey()';30 }31}32 