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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Intevel ツ
						Intevel ツ