1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 02:42:28 +01:00

Added missing props to ChannelModifySchema

This commit is contained in:
Madeline 2022-09-10 21:32:33 +10:00
parent 2da5ea0363
commit 0e98fe9953
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47
2 changed files with 237 additions and 15594 deletions

File diff suppressed because it is too large Load Diff

View File

@ -70,6 +70,10 @@ export interface ChannelModifySchema {
nsfw?: boolean; nsfw?: boolean;
rtc_region?: string; rtc_region?: string;
default_auto_archive_duration?: number; default_auto_archive_duration?: number;
default_reaction_emoji?: string | null;
flags?: number;
default_thread_rate_limit_per_user?: number;
video_quality_mode?: number;
} }
router.patch("/", route({ body: "ChannelModifySchema", permission: "MANAGE_CHANNELS" }), async (req: Request, res: Response) => { router.patch("/", route({ body: "ChannelModifySchema", permission: "MANAGE_CHANNELS" }), async (req: Request, res: Response) => {