mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
Create Roles.ts
This commit is contained in:
parent
a53d728104
commit
63b81db2a2
15
src/schema/Roles.ts
Normal file
15
src/schema/Roles.ts
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user