Fixing type issues.
This commit is contained in:
parent
4fb5943b4c
commit
10e187014a
|
@ -6,7 +6,7 @@ export interface SaveRoleRequest {
|
|||
name: string
|
||||
inherits?: string | string[]
|
||||
permissionId: string
|
||||
version: string
|
||||
version?: string
|
||||
uiMetadata?: RoleUIMetadata
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ export interface RoleUIMetadata {
|
|||
|
||||
export interface Role extends Document {
|
||||
permissionId: string
|
||||
inherits?: string
|
||||
inherits?: string | string[]
|
||||
permissions: Record<string, PermissionLevel[]>
|
||||
version?: string
|
||||
name: string
|
||||
|
|
Loading…
Reference in New Issue