summary refs log tree commit diff
path: root/dist/models/Role.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:41:40 +0100
commit775296d0048d290b959f07cde10a3ffc1430bad9 (patch)
treeb622b48450641cb044a1b3f4500306d95f748205 /dist/models/Role.d.ts
parent:bug: fix permission (diff)
downloadserver-775296d0048d290b959f07cde10a3ffc1430bad9.tar.xz
:bug: fix Event type
Diffstat (limited to 'dist/models/Role.d.ts')
-rw-r--r--dist/models/Role.d.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/dist/models/Role.d.ts b/dist/models/Role.d.ts

index bdb10557..6a3f1669 100644 --- a/dist/models/Role.d.ts +++ b/dist/models/Role.d.ts
@@ -1,6 +1,6 @@ /// <reference path="../util/MongoBigInt.d.ts" /> import { Schema, Document } from "mongoose"; -export interface Role extends Document { +export interface Role { id: bigint; guild_id: bigint; color: number; @@ -14,5 +14,8 @@ export interface Role extends Document { bot_id?: bigint; }; } +export interface RoleDocument extends Document, Role { + id: bigint; +} export declare const RoleSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>; -export declare const RoleModel: import("mongoose").Model<Role>; +export declare const RoleModel: import("mongoose").Model<RoleDocument>;