🐛 export MongooseCache

This commit is contained in:
Flam3rboy committed 2021-02-13 21:52:06 +01:00
1 parent 54542ef34f
commit 4125b7810d
8 files changed
+13 -11

No files matched your search

+2 -2
View File
@@ -25,6 +25,6 @@ export * from "./util/UserFlags";
export * from "./models/Event";
import Config, { DefaultOptions } from "./util/Config";
import db from "./util/Database";
import db, { MongooseCache } from "./util/Database";
export { Config, db, DefaultOptions };
export { Config, db, DefaultOptions, MongooseCache };
+2
View File
@@ -7,6 +7,7 @@ export interface User extends Document {
username: string;
discriminator: string;
avatar: string | null;
fingerprints: string[];
phone?: string;
desktop: boolean;
mobile: boolean;
@@ -110,6 +111,7 @@ export const UserSchema = new Schema({
username: String,
discriminator: String,
avatar: String,
fingerprints: [String],
phone: String,
desktop: Boolean,
mobile: Boolean,