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:
parent
2da5ea0363
commit
0e98fe9953
15827
api/assets/schemas.json
15827
api/assets/schemas.json
File diff suppressed because it is too large
Load Diff
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user