feat: chat layout setting

This commit is contained in:
Tristan Yang
2023-05-15 13:17:18 +08:00
parent 27204a1c11
commit a71a00d493
5 changed files with 75 additions and 15 deletions
+7 -2
View File
@@ -6,9 +6,14 @@ export interface Server extends SystemCommon {
name: string;
description: string;
}
export type ChatLayout = "SelfRight" | "Left"
export interface SystemCommon {
show_user_online_status: boolean,
webclient_auto_update: boolean,
show_user_online_status?: boolean,
webclient_auto_update?: boolean,
contact_verification_enable?: boolean,
chat_layout_mode?: ChatLayout,
max_file_expiry_mode?: "Off" | "Day1" | "Day7" | "Day30" | "Day90" | "Day180"
}
export interface GithubAuthConfig {
client_id?: string;