1 files changed, 34 insertions, 0 deletions
diff --git a/dist/util/MongoBigInt.d.ts b/dist/util/MongoBigInt.d.ts
new file mode 100644
index 00000000..fddcb496
--- /dev/null
+++ b/dist/util/MongoBigInt.d.ts
@@ -0,0 +1,34 @@
+import mongoose from "mongoose";
+declare class LongSchema extends mongoose.SchemaType {
+ $conditionalHandlers: {
+ $lt: (val: any) => any;
+ $lte: (val: any) => any;
+ $gt: (val: any) => any;
+ $gte: (val: any) => any;
+ $ne: (val: any) => any;
+ $in: (val: any) => any;
+ $nin: (val: any) => any;
+ $mod: (val: any) => any;
+ $all: (val: any) => any;
+ $bitsAnySet: (val: any) => any;
+ $bitsAllSet: (val: any) => any;
+ };
+ handleSingle(val: any): any;
+ handleArray(val: any): any;
+ checkRequired(val: any): boolean;
+ cast(val: any, scope?: any, init?: any): any;
+ castForQuery($conditional: string, value: any): any;
+}
+declare module "mongoose" {
+ namespace Types {
+ class Long extends mongoose.mongo.Long {
+ }
+ }
+ namespace Schema {
+ namespace Types {
+ class Long extends LongSchema {
+ }
+ }
+ }
+}
+export {};
|