Skip to content

Commit 0c520cf

Browse files
committed
feat: add isVirtual to environment and cluster type
1 parent a8c4fde commit 0c520cf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Shared/Services/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { ResourceKindType, ResourceVersionType } from '../types'
44
export interface ClusterType {
55
id: number
66
name: string
7+
/**
8+
* If true, denotes virtual cluster
9+
*/
10+
isVirtual: boolean
711
}
812

913
export interface GetResourceApiUrlProps<T> {

src/Shared/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,10 @@ export interface EnvironmentType {
508508
* Associated cluster for the environment
509509
*/
510510
cluster: string
511+
/**
512+
* If true, denotes virtual environment
513+
*/
514+
isVirtual: boolean
511515
}
512516

513517
export interface CreatedByDTO {

0 commit comments

Comments
 (0)