summary refs log tree commit diff
path: root/dist/models/User.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-13 14:15:59 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-13 14:15:59 +0100
commita44da1024dc39e2d2fef296fc1d4e5894090fce0 (patch)
tree0e9338baa9e64e8a8841913d18eddc5a2bb1a333 /dist/models/User.d.ts
parent:sparkles: mongoose Schemas (diff)
downloadserver-a44da1024dc39e2d2fef296fc1d4e5894090fce0.tar.xz
:zap: Config and database update
Diffstat (limited to 'dist/models/User.d.ts')
-rw-r--r--dist/models/User.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/dist/models/User.d.ts b/dist/models/User.d.ts

index c23c0118..81ae1fab 100644 --- a/dist/models/User.d.ts +++ b/dist/models/User.d.ts
@@ -1,6 +1,8 @@ +/// <reference path="../util/MongoBigInt.d.ts" /> import { Activity } from "./Activity"; import { ClientStatus, Status } from "./Status"; -export interface User { +import { Schema, Document } from "mongoose"; +export interface User extends Document { id: bigint; username: string; discriminator: string; @@ -99,3 +101,5 @@ export interface UserSettings { theme: "dark" | "white"; timezone_offset: number; } +export declare const UserSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>; +export declare const UserModel: import("mongoose").Model<User>;