mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
add stylelint
This commit is contained in:
parent
47a2e5694e
commit
928c9cf07c
83 changed files with 10807 additions and 1770 deletions
22
packages/roleypoly-types/role.js.flow
Normal file
22
packages/roleypoly-types/role.js.flow
Normal file
|
@ -0,0 +1,22 @@
|
|||
// @flow
|
||||
|
||||
export type PresentableRole = {
|
||||
id: string,
|
||||
color: number,
|
||||
name: string,
|
||||
position: number,
|
||||
safe: boolean
|
||||
}
|
||||
|
||||
export type Permissions = {
|
||||
canManageRoles: boolean,
|
||||
isAdmin: boolean,
|
||||
faked?: boolean,
|
||||
__faked?: Permissions
|
||||
}
|
||||
|
||||
export type CachedRole = {
|
||||
id: string,
|
||||
position: number,
|
||||
color?: number
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue