Skip to content

Commit 71ff524

Browse files
committed
feat: add InstallationType enum to Shared/types
1 parent d6f34ba commit 71ff524

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/Shared/Components/Header/types.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { ModuleStatus } from '@Shared/types'
17+
import { InstallationType, ModuleStatus } from '@Shared/types'
1818

1919
import { DOCUMENTATION, ResponseType, TippyCustomizedProps } from '../../../Common'
2020
import { ActionMenuProps } from '../ActionMenu'
2121

22-
export enum InstallationType {
23-
OSS_KUBECTL = 'oss_kubectl',
24-
OSS_HELM = 'oss_helm',
25-
ENTERPRISE = 'enterprise',
26-
}
27-
2822
export interface PageHeaderType {
2923
headerName?: string
3024
showTabs?: boolean
@@ -43,7 +37,6 @@ export interface PageHeaderType {
4337
tippyMessage?: string
4438
onClickTippyButton?: () => void
4539
}
46-
isEnterprise?: boolean
4740
}
4841

4942
export interface ServerInfo {

src/Shared/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ import {
3838
import { SelectPickerOptionType, WorkflowRunnerStatusDTO } from './Components'
3939
import { BASE_CONFIGURATION_ENV_ID, DEPLOYMENT_STATUS, EnvironmentTypeEnum, PatchOperationType } from './constants'
4040

41+
export enum InstallationType {
42+
OSS_KUBECTL = 'oss_kubectl',
43+
OSS_HELM = 'oss_helm',
44+
ENTERPRISE = 'enterprise',
45+
}
46+
4147
export enum EnvType {
4248
CHART = 'helm_charts',
4349
APPLICATION = 'apps',

0 commit comments

Comments
 (0)