Update role endpoints

This commit is contained in:
Andrew Kingston 2024-12-05 15:49:51 +00:00
parent 9877cafaf4
commit fe916397ea
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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>