adjusted modules to new permissionRoles api structure

This commit is contained in:
Florian Scholdei
2019-05-08 13:17:06 +02:00
parent b86d17914c
commit af3fdae490
3 changed files with 146 additions and 86 deletions

View File

@@ -1,9 +1,12 @@
//@flow
import type { Links } from "./hal";
export type Role = {
name: string,
creationDate: number | null,
lastModified: number | null,
type: string,
verb: string[]
verbs: string[],
creationDate?: number,
lastModified?: number,
system: boolean,
_links: Links
};