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