1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-07 19:32:34 +01:00

Create Roles.ts

This commit is contained in:
Intevel ツ 2021-05-06 23:09:04 +02:00
parent a53d728104
commit 63b81db2a2

15
src/schema/Roles.ts Normal file
View File

@ -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
}