Prettier
This commit is contained in:
@@ -3,5 +3,5 @@ export interface ApplicationAuthorizeSchema {
|
||||
guild_id: string;
|
||||
permissions: string;
|
||||
captcha_key?: string;
|
||||
code?: string; // 2fa code
|
||||
}
|
||||
code?: string; // 2fa code
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export interface ApplicationCreateSchema {
|
||||
name: string;
|
||||
team_id?: string | number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ export interface ApplicationModifySchema {
|
||||
bot_public?: boolean;
|
||||
bot_require_code_grant?: boolean;
|
||||
flags?: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export interface BotModifySchema {
|
||||
avatar?: string;
|
||||
username?: string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ChannelPermissionOverwrite } from "@fosscord/util";
|
||||
|
||||
export interface ChannelPermissionOverwriteSchema
|
||||
extends ChannelPermissionOverwrite {}
|
||||
extends ChannelPermissionOverwrite {}
|
||||
|
||||
@@ -3,4 +3,4 @@ export type ChannelReorderSchema = {
|
||||
position?: number;
|
||||
lock_permissions?: boolean;
|
||||
parent_id?: string;
|
||||
}[];
|
||||
}[];
|
||||
|
||||
@@ -5,4 +5,4 @@ export const PayloadSchema = {
|
||||
$d: new Tuple(Object, Number), // or number for heartbeat sequence
|
||||
$s: Number,
|
||||
$t: String,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { GuildCreateSchema } from "@fosscord/util";
|
||||
|
||||
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels" | "name"> {
|
||||
export interface GuildUpdateSchema
|
||||
extends Omit<GuildCreateSchema, "channels" | "name"> {
|
||||
name?: string;
|
||||
banner?: string | null;
|
||||
splash?: string | null;
|
||||
|
||||
@@ -5,7 +5,7 @@ export interface MemberChangeProfileSchema {
|
||||
pronouns?: string;
|
||||
|
||||
/*
|
||||
* @items.type integer
|
||||
*/
|
||||
* @items.type integer
|
||||
*/
|
||||
theme_colors?: [number, number];
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type RolePositionUpdateSchema = {
|
||||
id: string;
|
||||
position: number;
|
||||
}[];
|
||||
}[];
|
||||
|
||||
@@ -6,4 +6,4 @@ export interface UserGuildSettingsSchema
|
||||
channel_overrides?: {
|
||||
[channel_id: string]: Partial<ChannelOverride>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ export interface UserProfileModifySchema {
|
||||
pronouns?: string;
|
||||
|
||||
/*
|
||||
* @items.type integer
|
||||
*/
|
||||
theme_colors?: [number, number]
|
||||
* @items.type integer
|
||||
*/
|
||||
theme_colors?: [number, number];
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { UserSettings } from "@fosscord/util";
|
||||
|
||||
export interface UserSettingsSchema extends Partial<UserSettings> {}
|
||||
export interface UserSettingsSchema extends Partial<UserSettings> {}
|
||||
|
||||
@@ -59,4 +59,4 @@ export * from "./UserSettingsSchema";
|
||||
export * from "./BotModifySchema";
|
||||
export * from "./ApplicationModifySchema";
|
||||
export * from "./ApplicationCreateSchema";
|
||||
export * from "./ApplicationAuthorizeSchema";
|
||||
export * from "./ApplicationAuthorizeSchema";
|
||||
|
||||
Reference in New Issue
Block a user