Fixing type issues.

This commit is contained in:
mike12345567 2024-09-26 18:02:32 +01:00
parent 4fb5943b4c
commit 10e187014a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export interface SaveRoleRequest {
name: string
inherits?: string | string[]
permissionId: string
version: string
version?: string
uiMetadata?: RoleUIMetadata
}

View File

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