From 2fe38036684fc4ba5f5df73bcc1f5cbe34b0b4b2 Mon Sep 17 00:00:00 2001 From: Sakshyam Shah Date: Mon, 16 Dec 2024 11:13:50 -0500 Subject: [PATCH] add subkind and permissionSets to UnifiedResourceApp (#50253) --- web/packages/shared/components/UnifiedResources/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/packages/shared/components/UnifiedResources/types.ts b/web/packages/shared/components/UnifiedResources/types.ts index 22c0c52547181..500c57f423795 100644 --- a/web/packages/shared/components/UnifiedResources/types.ts +++ b/web/packages/shared/components/UnifiedResources/types.ts @@ -22,6 +22,7 @@ import { ResourceLabel } from 'teleport/services/agents'; import { ResourceIconName } from 'design/ResourceIcon'; import { Icon } from 'design/Icon'; +import { AppSubKind, PermissionSet } from 'teleport/services/apps'; import { DbProtocol } from 'shared/services/databases'; import { NodeSubKind } from 'shared/services'; @@ -37,6 +38,8 @@ export type UnifiedResourceApp = { friendlyName?: string; samlApp: boolean; requiresRequest?: boolean; + subKind?: AppSubKind; + permissionSets?: PermissionSet[]; }; export interface UnifiedResourceDatabase {