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