absolutely massive typescript porting time

This commit is contained in:
41666 2019-06-02 18:58:15 -05:00
parent 01f238f515
commit 30d08a630f
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
159 changed files with 2563 additions and 3861 deletions

21
packages/roleypoly-types/role.d.ts vendored Normal file
View file

@ -0,0 +1,21 @@
export declare type PresentableRole = {
id: string,
color: number,
name: string,
position: number,
safe: boolean
}
export declare type Permissions = {
canManageRoles: boolean,
isAdmin: boolean,
faked?: boolean,
__faked?: Permissions
}
export declare type CachedRole = {
id: string,
position: number,
color?: number
}