mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
21 lines
344 B
TypeScript
21 lines
344 B
TypeScript
|
|
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
|
|
}
|