fix models + move schemas in api and gateway
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export interface Event {
|
||||
guild_id?: bigint;
|
||||
user_id?: bigint;
|
||||
channel_id?: bigint;
|
||||
created_at: number;
|
||||
data: any;
|
||||
event: string;
|
||||
|
||||
+1
-3
@@ -7,8 +7,6 @@ export interface Guild {
|
||||
afk_channel_id?: bigint;
|
||||
afk_timeout?: number;
|
||||
application_id?: bigint;
|
||||
approximate_member_count?: number;
|
||||
approximate_presence_count?: number;
|
||||
banner?: string;
|
||||
channels: Channel[];
|
||||
default_message_notifications?: number;
|
||||
@@ -25,11 +23,11 @@ export interface Guild {
|
||||
max_presences?: number;
|
||||
max_video_channel_users?: number; // ? default: 25, is this max 25 streaming or watching
|
||||
member_count?: number;
|
||||
presence_count?: number; // users online
|
||||
members?: Member[];
|
||||
mfa_level?: number;
|
||||
name: string;
|
||||
owner_id: bigint;
|
||||
permissions?: string;
|
||||
preferred_locale?: string; // only community guilds can choose this
|
||||
premium_subscription_count?: number;
|
||||
premium_tier?: number; // nitro boost level
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export interface Role {
|
||||
id: bigint;
|
||||
color: number;
|
||||
hoist: boolean;
|
||||
managed: boolean;
|
||||
@@ -6,4 +7,7 @@ export interface Role {
|
||||
name: string;
|
||||
permissions: bigint;
|
||||
position: number;
|
||||
tags?: {
|
||||
bot_id?: bigint;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user