summary refs log tree commit diff
path: root/src/schema/Roles.ts
diff options
context:
space:
mode:
authorIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-06 23:09:04 +0200
committerIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-06 23:09:04 +0200
commit63b81db2a255ec34345a25a8aade4414dbba2ff4 (patch)
treef74b74e9a48e74786590a7b47d2d2ca1c58e8756 /src/schema/Roles.ts
parentUpdate templates.ts (diff)
downloadserver-63b81db2a255ec34345a25a8aade4414dbba2ff4.tar.xz
Create Roles.ts
Diffstat (limited to 'src/schema/Roles.ts')
-rw-r--r--src/schema/Roles.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/schema/Roles.ts b/src/schema/Roles.ts
new file mode 100644

index 00000000..f2961a88 --- /dev/null +++ b/src/schema/Roles.ts
@@ -0,0 +1,15 @@ +export const RoleCreateSchema = { + 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 +}; + +export interface RoleCreateSchema { + 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 +}