New design for server roles editor.

This commit is contained in:
Paul
2021-07-03 22:17:53 +01:00
parent c4bbd1e40a
commit f81f7768f8
9 changed files with 145 additions and 76 deletions

View File

@@ -31,7 +31,8 @@ export type Screen =
{ type: "create_channel", target: Servers.Server }
)) |
({ id: "special_input" } & (
{ type: "create_group" | "create_server" | "set_custom_status" | "add_friend" }
{ type: "create_group" | "create_server" | "set_custom_status" | "add_friend" } |
{ type: "create_role", server: string, callback: (id: string) => void }
))
| {
id: "_input";