diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-11 08:33:02 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-02-11 08:33:02 +0100 |
commit | 1767bf10d0b10a50f59ab3aa1a5e3586e273ac08 (patch) | |
tree | a2e258efc3ad94277e6af8c2a00bfd958d39e15c /src | |
parent | fix models + move schemas in api and gateway (diff) | |
download | server-1767bf10d0b10a50f59ab3aa1a5e3586e273ac08.tar.xz |
:bug: fix member model
Diffstat (limited to 'src')
-rw-r--r-- | src/models/Member.ts | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/models/Member.ts b/src/models/Member.ts index c0c5516d..8b63260a 100644 --- a/src/models/Member.ts +++ b/src/models/Member.ts @@ -1,14 +1,11 @@ -import { Role } from "./Role"; -import { User } from "./User"; - export interface Member { - user: User; - nick: string; - roles: Role[]; + id: bigint; + nick?: string; + roles: bigint[]; joined_at: number; - premium_since: number; + premium_since?: number; deaf: boolean; mute: boolean; pending: boolean; - permissions: string; + permissions: bigint; } |