Make Typescript happy, testing CI build.

Adjust language names.
This commit is contained in:
Paul
2021-08-30 16:08:22 +01:00
parent 17c09baf89
commit b364fe50f6
7 changed files with 23 additions and 13 deletions

View File

@@ -79,16 +79,16 @@ export type Screen =
}
// Pop-overs
| { id: "image_viewer"; attachment?: Attachment; embed?: EmbedImage }
| { id: "modify_account"; field: "username" | "email" | "password" }
| { id: "profile"; user_id: string }
| { id: "channel_info"; channel: Channel }
| { id: "pending_requests"; users: User[] }
| {
id: "user_picker";
omit?: string[];
callback: (users: string[]) => Promise<void>;
}
| { id: "image_viewer"; attachment?: Attachment; embed?: EmbedImage }
| { id: "channel_info"; channel: Channel }
| { id: "pending_requests"; users: User[] }
| { id: "modify_account"; field: "username" | "email" | "password" }
| {
id: "server_identity";
server: Server;