Update role endpoints
This commit is contained in:
parent
9877cafaf4
commit
fe916397ea
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
AccessibleRolesResponse,
|
||||
DestroyRoleResponse,
|
||||
DeleteRoleResponse,
|
||||
FetchRolesResponse,
|
||||
SaveRoleRequest,
|
||||
SaveRoleResponse,
|
||||
|
@ -8,7 +8,7 @@ import {
|
|||
import { BaseAPIClient } from "./types"
|
||||
|
||||
export interface RoleEndpoints {
|
||||
deleteRole: (id: string, rev: string) => Promise<DestroyRoleResponse>
|
||||
deleteRole: (id: string, rev: string) => Promise<DeleteRoleResponse>
|
||||
saveRole: (role: SaveRoleRequest) => Promise<SaveRoleResponse>
|
||||
getRoles: () => Promise<FetchRolesResponse>
|
||||
getRolesForApp: (appId: string) => Promise<any>
|
||||
|
|
Loading…
Reference in New Issue