mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 21:53:46 +00:00
🐛 export MongooseCache
This commit is contained in:
1 parent
54542ef34f
commit
4125b7810d
8 files changed
+13
-11
No files matched your search
+2
-2
@@ -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 };
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user