From 10e187014a30a6b5b3703a90735f1984f0d5f632 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 26 Sep 2024 18:02:32 +0100 Subject: [PATCH] Fixing type issues. --- packages/types/src/api/web/role.ts | 2 +- packages/types/src/documents/app/role.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/api/web/role.ts b/packages/types/src/api/web/role.ts index 9a768e3ac3..4e56f6cd14 100644 --- a/packages/types/src/api/web/role.ts +++ b/packages/types/src/api/web/role.ts @@ -6,7 +6,7 @@ export interface SaveRoleRequest { name: string inherits?: string | string[] permissionId: string - version: string + version?: string uiMetadata?: RoleUIMetadata } diff --git a/packages/types/src/documents/app/role.ts b/packages/types/src/documents/app/role.ts index 6557b7e19d..22f4ab9cd3 100644 --- a/packages/types/src/documents/app/role.ts +++ b/packages/types/src/documents/app/role.ts @@ -9,7 +9,7 @@ export interface RoleUIMetadata { export interface Role extends Document { permissionId: string - inherits?: string + inherits?: string | string[] permissions: Record version?: string name: string