summary refs log tree commit diff
path: root/dist/models/Event.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/Event.d.ts
parent:bug: fix permission (diff)
downloadserver-775296d0048d290b959f07cde10a3ffc1430bad9.tar.xz
:bug: fix Event type
Diffstat (limited to 'dist/models/Event.d.ts')
-rw-r--r--dist/models/Event.d.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/models/Event.d.ts b/dist/models/Event.d.ts

index 2e035b58..a3db8251 100644 --- a/dist/models/Event.d.ts +++ b/dist/models/Event.d.ts
@@ -12,7 +12,7 @@ import { VoiceState } from "./VoiceState"; import { ApplicationCommand } from "./Application"; import { Interaction } from "./Interaction"; import { Schema, Document } from "mongoose"; -export interface Event extends Document { +export interface Event { guild_id?: bigint; user_id?: bigint; channel_id?: bigint; @@ -20,8 +20,10 @@ export interface Event extends Document { event: EVENT; data?: any; } +export interface EventDocument extends Event, Document { +} export declare const EventSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>; -export declare const EventModel: import("mongoose").Model<Event>; +export declare const EventModel: import("mongoose").Model<EventDocument>; export interface InvalidatedEvent extends Event { event: "INVALIDATED"; }