From 7c850dc06117c5f9c78aadf5d30d83e7680b65e2 Mon Sep 17 00:00:00 2001 From: flyinghermit Date: Wed, 11 Dec 2024 18:13:29 -0500 Subject: [PATCH] add subkind and permissionSets to UnifiedResourceApp --- 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 {