From 1f416b972c6aa0cd4fc43a5790da56f8da21e82c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:08:14 +1000 Subject: Move schemas to /src/util/schemas --- src/util/schemas/RoleModifySchema.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/util/schemas/RoleModifySchema.ts (limited to 'src/util/schemas/RoleModifySchema.ts') diff --git a/src/util/schemas/RoleModifySchema.ts b/src/util/schemas/RoleModifySchema.ts new file mode 100644 index 00000000..adb0c1a6 --- /dev/null +++ b/src/util/schemas/RoleModifySchema.ts @@ -0,0 +1,10 @@ +export interface RoleModifySchema { + name?: string; + permissions?: string; + color?: number; + hoist?: boolean; // whether the role should be displayed separately in the sidebar + mentionable?: boolean; // whether the role should be mentionable + position?: number; + icon?: string; + unicode_emoji?: string; +} \ No newline at end of file -- cgit 1.5.1