summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-18 11:53:22 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-18 11:53:22 +0200
commit9d6f2db94634da9c1bc0d614caeb4d7d85c19924 (patch)
treebeaa2520ebeb057ee040f6eb0be7397674b13980 /api/src
parent:ambulance: user settings route (diff)
downloadserver-9d6f2db94634da9c1bc0d614caeb4d7d85c19924.tar.xz
:sparkles: add default_auto_archive_duration to channel
Diffstat (limited to 'api/src')
-rw-r--r--api/src/schema/Channel.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/schema/Channel.ts b/api/src/schema/Channel.ts
index bffbaa69..cfbc7205 100644
--- a/api/src/schema/Channel.ts
+++ b/api/src/schema/Channel.ts
@@ -18,6 +18,8 @@ export const ChannelModifySchema = {
 		}
 	],
 	$parent_id: String,
+	$rtc_region: String,
+	$default_auto_archive_duration: Number,
 	$id: String, // kept for backwards compatibility does nothing (need for guild create)
 	$nsfw: Boolean
 };
@@ -49,6 +51,8 @@ export interface ChannelModifySchema {
 	parent_id?: string;
 	id?: string; // is not used (only for guild create)
 	nsfw?: boolean;
+	rtc_region?: string;
+	default_auto_archive_duration?: number;
 }
 
 export const ChannelGuildPositionUpdateSchema = [