@devtron-labs/devtron-fe-common-lib 1.20.4 → 1.20.5-alpha-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DLmaobU2.js → @code-editor-BO1bHk5C.js} +11043 -9481
- package/dist/{@common-rjsf-DS5LSU3C.js → @common-rjsf-BMcdpRk4.js} +30 -30
- package/dist/{@framer-motion-DZveCoIL.js → @framer-motion-DMkBQPN0.js} +92 -90
- package/dist/{@react-dates-CZ1bNWJM.js → @react-dates-BjZWpiVv.js} +1 -1
- package/dist/{@react-select-DS68hCUM.js → @react-select-DtwlfcIG.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-V-8klKy9.js → @react-virtualized-sticky-tree-M81Af3Qs.js} +1 -1
- package/dist/{@vendor-3ORIJA0h.js → @vendor-DceGoESd.js} +26335 -18086
- package/dist/Common/API/reactQueryHooks.d.ts +1 -1
- package/dist/Common/API/types.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +1 -0
- package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +15 -0
- package/dist/Common/Common.service.d.ts +4 -1
- package/dist/Common/Constants.d.ts +46 -14
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +8 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +2 -0
- package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
- package/dist/Common/Types.d.ts +58 -5
- package/dist/Common/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +13 -7
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +11 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +11 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/index.d.ts +3 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +3 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/Badge/utils.d.ts +2 -1
- package/dist/Shared/Components/Charts/Chart.component.d.ts +102 -0
- package/dist/Shared/Components/Charts/constants.d.ts +9 -0
- package/dist/Shared/Components/Charts/index.d.ts +4 -0
- package/dist/Shared/Components/Charts/plugins.d.ts +4 -0
- package/dist/Shared/Components/Charts/types.d.ts +114 -0
- package/dist/Shared/Components/Charts/utils.d.ts +70 -0
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
- package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
- package/dist/Shared/Components/ContextSwitcher/types.d.ts +0 -1
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +2 -1
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
- package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
- package/dist/Shared/Components/ExportToCsv/types.d.ts +64 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +21 -5
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -3
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +2 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +32 -0
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +6 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
- package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +6 -4
- package/dist/Shared/Components/TrailingItem/types.d.ts +4 -0
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/constants.d.ts +3 -0
- package/dist/Shared/Components/TreeView/types.d.ts +17 -3
- package/dist/Shared/Components/index.d.ts +6 -0
- package/dist/Shared/Helpers.d.ts +2 -0
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -5
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +5 -20
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +32 -2
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +9 -0
- package/dist/Shared/Services/common.service.d.ts +2 -0
- package/dist/Shared/Services/types.d.ts +6 -0
- package/dist/Shared/constants.d.ts +2 -1
- package/dist/Shared/types.d.ts +20 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-alibaba.518d61a4.svg +3 -0
- package/dist/assets/ic-argocd-app.9c5eba79.svg +61 -0
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +3 -0
- package/dist/assets/ic-aws.b094356f.svg +11 -0
- package/dist/assets/ic-bg-build.8609d0ea.svg +13 -0
- package/dist/assets/ic-bg-deploy.266711fe.svg +22 -0
- package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +22 -0
- package/dist/assets/ic-bg-project.84658405.svg +12 -0
- package/dist/assets/ic-bg-scan.2249360c.svg +28 -0
- package/dist/assets/ic-bg-webhook.b455152d.svg +13 -0
- package/dist/assets/ic-bot.65f403dd.svg +3 -0
- package/dist/assets/ic-building.2405d07b.svg +3 -0
- package/dist/assets/ic-clipboard.2869fa7d.svg +3 -0
- package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +3 -0
- package/dist/assets/ic-cloud.aa7acc8a.svg +3 -0
- package/dist/assets/ic-coins.2c15f406.svg +3 -0
- package/dist/assets/ic-database-backup.b9e7c558.svg +3 -0
- package/dist/assets/ic-devtron-text.67a413b6.svg +3 -0
- package/dist/assets/ic-edit-lines.57927b07.svg +3 -0
- package/dist/assets/ic-file-download.ca57c068.svg +5 -0
- package/dist/assets/ic-files-changed.04e6de3f.svg +3 -0
- package/dist/assets/ic-floppy-disk.6d392bcd.svg +3 -0
- package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +22 -0
- package/dist/assets/ic-google-cloud.a0198038.svg +6 -0
- package/dist/assets/ic-kubernetes.7e04c3d2.svg +4 -0
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +10 -0
- package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +3 -0
- package/dist/assets/ic-otc-cloud.43b31bd8.svg +5 -0
- package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +4 -0
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +3 -0
- package/dist/assets/ic-symbol-greater-than.8f71342d.svg +3 -0
- package/dist/assets/ic-trend-up.5752ef30.svg +3 -0
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1007 -957
- package/package.json +4 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
2
2
|
import { ServerErrors } from '../ServerError';
|
3
3
|
import { ResponseType } from '../Types';
|
4
|
-
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseQueryOptions<ResponseType<TQueryFnData
|
4
|
+
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
|
5
5
|
export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
|
6
6
|
export { useQueryClient };
|
@@ -18,6 +18,6 @@ export interface FetchInTimeParamsType<Data = object> {
|
|
18
18
|
options?: APIOptions;
|
19
19
|
isMultipartRequest?: boolean;
|
20
20
|
}
|
21
|
-
export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser'> {
|
21
|
+
export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser' | 'isProxyHost'> {
|
22
22
|
signal: AbortSignal;
|
23
23
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
import { BreadcrumbTextProps } from './Types';
|
3
3
|
export declare const BreadcrumbText: ({ heading, isActive, shouldTruncate }: BreadcrumbTextProps) => JSX.Element;
|
4
|
+
export declare const getBreadCrumbSeparator: (sep?: string) => JSX.Element;
|
4
5
|
declare const Store: ({ children }: {
|
5
6
|
children: any;
|
6
7
|
}) => JSX.Element;
|
@@ -34,3 +34,18 @@ export interface BreadcrumbTextProps {
|
|
34
34
|
*/
|
35
35
|
shouldTruncate?: boolean;
|
36
36
|
}
|
37
|
+
export interface NestedBreadCrumbProps {
|
38
|
+
/**
|
39
|
+
* It is the url to which the link should redirect
|
40
|
+
*/
|
41
|
+
redirectUrl: string;
|
42
|
+
/**
|
43
|
+
* It is the text of the link
|
44
|
+
*/
|
45
|
+
linkText: string;
|
46
|
+
/**
|
47
|
+
* It is the name of the profile
|
48
|
+
* If not given, would show "Create Profile"
|
49
|
+
*/
|
50
|
+
profileName: string;
|
51
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MutableRefObject } from 'react';
|
2
2
|
import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
|
3
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
|
3
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
|
4
4
|
import { ApiResourceType } from '../Pages';
|
5
5
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
6
6
|
export declare const SourceTypeMap: {
|
@@ -36,3 +36,6 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
|
|
36
36
|
abortControllerRef?: MutableRefObject<AbortController>;
|
37
37
|
}) => Promise<GlobalVariableOptionType[]>;
|
38
38
|
export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
|
39
|
+
export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
|
40
|
+
export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
|
41
|
+
export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
|
@@ -30,11 +30,7 @@ export declare const PATTERNS: {
|
|
30
30
|
export declare const URLS: {
|
31
31
|
readonly LOGIN: "/login";
|
32
32
|
readonly LOGIN_SSO: "/login/sso";
|
33
|
-
readonly PERMISSION_GROUPS: "/global-config/auth/groups";
|
34
|
-
readonly APP: "/app";
|
35
33
|
readonly APP_LIST: "list";
|
36
|
-
readonly CHARTS_DISCOVER: "/chart-store/discover";
|
37
|
-
readonly JOB: "/job";
|
38
34
|
readonly CREATE_JOB: "create-job";
|
39
35
|
readonly GETTING_STARTED: "getting-started";
|
40
36
|
readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
|
@@ -49,21 +45,56 @@ export declare const URLS: {
|
|
49
45
|
readonly DETAILS: "/details";
|
50
46
|
readonly CD_DETAILS: "cd-details";
|
51
47
|
readonly APP_TRIGGER: "trigger";
|
52
|
-
readonly GLOBAL_CONFIG_DOCKER: "/global-config/docker";
|
53
48
|
readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "/configuration";
|
54
|
-
readonly GLOBAL_CONFIG_SCOPED_VARIABLES: "/global-config/scoped-variables";
|
55
|
-
readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: "/global-config/deployment-charts";
|
56
|
-
readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_UPLOAD_CHART: "/global-config/deployment-charts/upload-chart";
|
57
49
|
readonly NETWORK_STATUS_INTERFACE: "/network-status-interface";
|
58
|
-
readonly RESOURCE_BROWSER: "/resource-browser";
|
59
50
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
60
51
|
readonly APP_CONFIG: "edit";
|
61
|
-
readonly GLOBAL_CONFIG: "/global-config";
|
62
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
63
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
64
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
65
52
|
readonly LICENSE_AUTH: "/license-auth";
|
66
|
-
readonly
|
53
|
+
readonly APPLICATION_MANAGEMENT: "/application-management";
|
54
|
+
readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
|
55
|
+
readonly APPLICATION_MANAGEMENT_APP: "/application-management/app";
|
56
|
+
readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
|
57
|
+
readonly APPLICATION_MANAGEMENT_CHART_STORE: "/application-management/chart-store";
|
58
|
+
readonly APPLICATION_MANAGEMENT_CHART_STORE_DISCOVER: "/application-management/chart-store/discover";
|
59
|
+
readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
|
60
|
+
readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
|
61
|
+
readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: "/application-management/templates/devtron-app/detail/:appId";
|
62
|
+
readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
|
63
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
|
64
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
|
65
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
|
66
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
|
67
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: "/application-management/configurations/build-infra/profiles";
|
68
|
+
readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
|
69
|
+
readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
|
70
|
+
readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
|
71
|
+
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
|
72
|
+
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
|
73
|
+
readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
|
74
|
+
readonly COST_VISIBILITY: "/cost-visibility";
|
75
|
+
readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
|
76
|
+
readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
|
77
|
+
readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
|
78
|
+
readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
|
79
|
+
readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
|
80
|
+
readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
|
81
|
+
readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
|
82
|
+
readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
|
83
|
+
readonly SECURITY_CENTER: "/security-center";
|
84
|
+
readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
|
85
|
+
readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
|
86
|
+
readonly DATA_PROTECTION: "/data-protection-management";
|
87
|
+
readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
|
88
|
+
readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: "/data-protection-management/backup-and-schedule";
|
89
|
+
readonly DATA_PROTECTION_RESTORES: "/data-protection-management/restores";
|
90
|
+
readonly DATA_PROTECTION_BACKUP_LOCATIONS: "/data-protection-management/backup-locations";
|
91
|
+
readonly GLOBAL_CONFIG: "/global-configuration";
|
92
|
+
readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
|
93
|
+
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
|
94
|
+
readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
|
95
|
+
readonly AI_RECOMMENDATIONS: "/ai-recommendations";
|
96
|
+
readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
|
97
|
+
readonly EXTERNAL_APPS: "ea";
|
67
98
|
};
|
68
99
|
export declare const ROUTES: {
|
69
100
|
readonly APP: "app";
|
@@ -327,6 +358,7 @@ export declare const DATE_TIME_FORMATS: {
|
|
327
358
|
DD_MMM_YYYY_HH_MM: string;
|
328
359
|
DD_MMM_YYYY: string;
|
329
360
|
'DD/MM/YYYY': string;
|
361
|
+
DD_MMM: string;
|
330
362
|
};
|
331
363
|
export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
|
332
364
|
export declare const VULNERABILITIES_SORT_PRIORITY: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
3
|
+
keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | ">" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -33,5 +33,5 @@ import { SearchBarProps } from './types';
|
|
33
33
|
* <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
|
34
34
|
* ```
|
35
35
|
*/
|
36
|
-
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, }: SearchBarProps) => JSX.Element;
|
36
|
+
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, variant, isLoading, }: SearchBarProps) => JSX.Element;
|
37
37
|
export default SearchBar;
|
@@ -53,4 +53,12 @@ export interface SearchBarProps {
|
|
53
53
|
* @note This is displayed in place of the dropdown indicator
|
54
54
|
*/
|
55
55
|
keyboardShortcut?: SupportedKeyboardKeysType;
|
56
|
+
/**
|
57
|
+
* @default 'default'
|
58
|
+
*/
|
59
|
+
variant?: 'default' | 'sidenav';
|
60
|
+
/**
|
61
|
+
* If true, would convert the magnifying glass icon to a loading spinner
|
62
|
+
*/
|
63
|
+
isLoading?: boolean;
|
56
64
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ComponentSizeType } from '../../Shared/constants';
|
1
2
|
export type Entity = {
|
2
3
|
color: string;
|
3
4
|
label: string;
|
@@ -20,5 +21,6 @@ export type SegmentedBarChartProps = {
|
|
20
21
|
swapLegendAndBar?: boolean;
|
21
22
|
showAnimationOnBar?: boolean;
|
22
23
|
isLoading?: boolean;
|
24
|
+
size?: ComponentSizeType;
|
23
25
|
} & EntityPropType;
|
24
26
|
export {};
|
package/dist/Common/Types.d.ts
CHANGED
@@ -2,9 +2,11 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
|
|
2
2
|
import { TippyProps } from '@tippyjs/react';
|
3
3
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
4
4
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
5
|
-
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
|
5
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
|
6
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
|
7
|
-
import { IllustrationName } from '../Shared/Components';
|
7
|
+
import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
|
8
|
+
import { ClusterStatusType } from '../Pages/ResourceBrowser';
|
9
|
+
import { ClusterProviderType } from '../Pages-Devtron-2.0/CostVisibility';
|
8
10
|
/**
|
9
11
|
* Generic response type object with support for overriding the result type
|
10
12
|
*
|
@@ -26,9 +28,6 @@ export interface ResponseType<T = any> {
|
|
26
28
|
}
|
27
29
|
export interface APIOptions {
|
28
30
|
timeout?: number;
|
29
|
-
/**
|
30
|
-
* @deprecated Use abortController instead
|
31
|
-
*/
|
32
31
|
signal?: AbortSignal;
|
33
32
|
abortControllerRef?: MutableRefObject<AbortController>;
|
34
33
|
/**
|
@@ -43,6 +42,11 @@ export interface APIOptions {
|
|
43
42
|
* @default false
|
44
43
|
*/
|
45
44
|
shouldParseServerErrorForUnauthorizedUser?: boolean;
|
45
|
+
/**
|
46
|
+
* @default false
|
47
|
+
* @description - If true, will override the default host (orchestrator or whatever defined initially in CoreAPI constructor) with the `proxy` host
|
48
|
+
*/
|
49
|
+
isProxyHost?: boolean;
|
46
50
|
}
|
47
51
|
export interface OptionType<T = string, K = string> {
|
48
52
|
value: T;
|
@@ -935,4 +939,53 @@ export interface ClusterEnvironmentCategoryDTO {
|
|
935
939
|
}
|
936
940
|
export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
|
937
941
|
}
|
942
|
+
export type AppsGroupedByProjectsType = {
|
943
|
+
projectId: number;
|
944
|
+
projectName: string;
|
945
|
+
appList: {
|
946
|
+
name: string;
|
947
|
+
}[];
|
948
|
+
}[];
|
949
|
+
export type EnvironmentsGroupedByClustersType = {
|
950
|
+
clusterName: EnvironmentType['cluster'];
|
951
|
+
envList: EnvironmentType[];
|
952
|
+
}[];
|
953
|
+
export type ClusterCostModuleConfigPayload = {
|
954
|
+
enabled: true;
|
955
|
+
config?: Record<string, any> & {
|
956
|
+
detectedProvider: ClusterProviderType;
|
957
|
+
};
|
958
|
+
} | {
|
959
|
+
enabled: false;
|
960
|
+
config?: never;
|
961
|
+
};
|
962
|
+
interface ClusterCostModuleDetailsDTO extends Pick<ClusterCostModuleConfigPayload, 'enabled' | 'config'> {
|
963
|
+
installationStatus: 'Success' | 'Installing' | 'Upgrading' | 'NotInstalled' | 'Failed';
|
964
|
+
installationError?: string;
|
965
|
+
}
|
966
|
+
export interface ClusterDetailDTO {
|
967
|
+
category: ClusterEnvironmentCategoryType;
|
968
|
+
cluster_name: string;
|
969
|
+
description: string;
|
970
|
+
id: number;
|
971
|
+
insecureSkipTlsVerify: boolean;
|
972
|
+
installationId: number;
|
973
|
+
isProd: boolean;
|
974
|
+
isVirtualCluster: boolean;
|
975
|
+
server_url: string;
|
976
|
+
sshTunnelConfig: any;
|
977
|
+
prometheus_url: string;
|
978
|
+
proxyUrl: string;
|
979
|
+
toConnectWithSSHTunnel: boolean;
|
980
|
+
clusterStatus: ClusterStatusType;
|
981
|
+
costModuleConfig: ClusterCostModuleDetailsDTO;
|
982
|
+
}
|
983
|
+
export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
|
984
|
+
serverUrl: ClusterDetailDTO['server_url'];
|
985
|
+
clusterName: ClusterDetailDTO['cluster_name'];
|
986
|
+
prometheusUrl: ClusterDetailDTO['prometheus_url'];
|
987
|
+
clusterId: ClusterDetailDTO['id'];
|
988
|
+
category: SelectPickerOptionType;
|
989
|
+
status: ClusterStatusType;
|
990
|
+
}
|
938
991
|
export {};
|
package/dist/Common/index.d.ts
CHANGED
@@ -2,6 +2,7 @@ export * from './AddCDButton';
|
|
2
2
|
export * from './API';
|
3
3
|
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
4
4
|
export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
|
5
|
+
export { NestedBreadCrumb } from './BreadCrumb/NestedBreadCrumb';
|
5
6
|
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
6
7
|
export * from './Checkbox';
|
7
8
|
export * from './CIPipeline.Types';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BuildInfraDescriptorProps } from './types';
|
2
|
-
declare const Descriptor: ({ additionalContainerClasses,
|
2
|
+
declare const Descriptor: ({ additionalContainerClasses, children, tooltipNode, tippyInfoText, tippyAdditionalContent, tooltipHeading, profileName, }: BuildInfraDescriptorProps) => JSX.Element;
|
3
3
|
export default Descriptor;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
|
2
1
|
import { CMSecretComponentType } from '../../../Shared/Services';
|
3
2
|
import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
|
4
3
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
@@ -37,7 +36,6 @@ export declare const BUILD_INFRA_TEXT: {
|
|
37
36
|
};
|
38
37
|
readonly INVALID_FORM_MESSAGE: "Valid input is required for all mandatory fields.";
|
39
38
|
};
|
40
|
-
export declare const BUILD_INFRA_BREADCRUMB: UseBreadcrumbProps;
|
41
39
|
export declare const BUILD_INFRA_LOCATOR_MARKER_MAP: Readonly<Record<BuildInfraLocators, BuildInfraFormFieldType['marker']>>;
|
42
40
|
export declare const BUILD_INFRA_LOCATOR_LABEL_MAP: Readonly<Record<BuildInfraLocators, string>>;
|
43
41
|
export declare const BUILD_INFRA_FORM_FIELDS: Readonly<BuildInfraFormFieldType[]>;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
|
2
2
|
import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
|
3
3
|
import { ServerErrors } from '../../../Common';
|
4
|
-
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
5
4
|
import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
|
6
5
|
/**
|
7
6
|
* Unique actions that will be dispatched and,
|
@@ -43,21 +42,28 @@ export declare enum BuildInfraProfileVariants {
|
|
43
42
|
NORMAL = "NORMAL",
|
44
43
|
CUSTOM = "CUSTOM"
|
45
44
|
}
|
46
|
-
export
|
45
|
+
export type BuildInfraDescriptorProps = {
|
47
46
|
/**
|
48
47
|
* In case we want to restrict the max-width
|
49
48
|
*/
|
50
49
|
additionalContainerClasses?: string;
|
51
|
-
breadCrumbs: Breadcrumb[];
|
52
50
|
/**
|
53
51
|
* Would stick at right of div
|
54
52
|
*/
|
55
53
|
children?: ReactNode;
|
56
|
-
|
57
|
-
|
58
|
-
|
54
|
+
} & ({
|
55
|
+
tooltipNode: ReactNode;
|
56
|
+
tippyInfoText?: never;
|
57
|
+
tooltipHeading?: never;
|
58
|
+
tippyAdditionalContent?: never;
|
59
|
+
profileName?: never;
|
60
|
+
} | {
|
61
|
+
tooltipNode?: never;
|
62
|
+
tippyInfoText: string;
|
59
63
|
tooltipHeading?: string;
|
60
|
-
|
64
|
+
tippyAdditionalContent?: ReactNode;
|
65
|
+
profileName?: string;
|
66
|
+
});
|
61
67
|
export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
|
62
68
|
export interface BuildInfraActionType {
|
63
69
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export { default as VirtualClusterSidebar } from './VirtualClusterSidebar';
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { RefObject } from 'react';
|
2
|
+
import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
|
2
3
|
import { Nodes, NodeType } from '../../Shared/types';
|
3
4
|
export interface GVKType {
|
4
5
|
Group: string;
|
@@ -136,8 +137,7 @@ export interface GVKOptionValueType {
|
|
136
137
|
kind: string;
|
137
138
|
apiVersion: string;
|
138
139
|
}
|
139
|
-
export interface ResourceRecommenderActionMenuProps {
|
140
|
-
children: ReactNode;
|
140
|
+
export interface ResourceRecommenderActionMenuProps extends Pick<TableViewWrapperProps<K8sResourceDetailDataType, FiltersTypeEnum.URL>, 'filteredRows'> {
|
141
141
|
lastScannedOn: string;
|
142
142
|
}
|
143
143
|
export {};
|
@@ -53,13 +53,13 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
|
|
53
53
|
export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
|
54
54
|
export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
|
55
55
|
export declare const RESOURCE_BROWSER_ROUTES: {
|
56
|
-
readonly OVERVIEW: "/resource-browser/:clusterId/overview";
|
57
|
-
readonly MONITORING_DASHBOARD: "/resource-browser/:clusterId/monitoring-dashboard";
|
58
|
-
readonly TERMINAL: "/resource-browser/:clusterId/terminal";
|
59
|
-
readonly CLUSTER_UPGRADE: "/resource-browser/:clusterId/cluster-upgrade";
|
60
|
-
readonly NODE_DETAIL: "/resource-browser/:clusterId/node/detail/:name";
|
61
|
-
readonly K8S_RESOURCE_DETAIL: "/resource-browser/:clusterId/:namespace/:kind/:group/:name";
|
62
|
-
readonly K8S_RESOURCE_LIST: "/resource-browser/:clusterId/:kind/:group";
|
63
|
-
readonly RESOURCE_RECOMMENDER: "/resource-browser/:clusterId/resource-recommender";
|
56
|
+
readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
|
57
|
+
readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
|
58
|
+
readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
|
59
|
+
readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
|
60
|
+
readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
|
61
|
+
readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
|
62
|
+
readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
|
63
|
+
readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
|
64
64
|
};
|
65
65
|
export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ApplicationManagementIcon: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './ApplicationManagementIcon';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Shared';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { IconName } from '../../../Shared/Components';
|
2
|
+
import { ClusterProviderType } from './types';
|
3
|
+
export declare const CLUSTER_PROVIDER_TO_ICON_NAME: Record<ClusterProviderType, IconName | null>;
|
4
|
+
export declare const CLUSTER_PROVIDER_TO_LABEL: Record<ClusterProviderType, string>;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { RJSFFormSchema } from '../../../Common/RJSF';
|
3
|
+
import { ClusterDetailListType } from '../../../Common/Types';
|
4
|
+
export declare enum CostBreakdownViewType {
|
5
|
+
CLUSTERS = "clusters",
|
6
|
+
ENVIRONMENTS = "environments",
|
7
|
+
PROJECTS = "projects",
|
8
|
+
APPLICATIONS = "applications"
|
9
|
+
}
|
10
|
+
export declare enum CostBreakdownItemViewParamsType {
|
11
|
+
ITEM_NAME = "itemName",
|
12
|
+
VIEW = "view",
|
13
|
+
DETAIL = "detail"
|
14
|
+
}
|
15
|
+
type RenderClusterFormParamsType = {
|
16
|
+
clusterDetails: ClusterDetailListType;
|
17
|
+
handleClose: () => void;
|
18
|
+
handleSuccess: () => void;
|
19
|
+
};
|
20
|
+
export interface CostVisibilityRenderContextType {
|
21
|
+
renderClusterForm: (params: RenderClusterFormParamsType) => JSX.Element;
|
22
|
+
}
|
23
|
+
export interface CostVisibilityRenderProviderProps extends CostVisibilityRenderContextType {
|
24
|
+
children: ReactNode;
|
25
|
+
}
|
26
|
+
export type ClusterProviderType = 'AWS' | 'GCP' | 'Azure' | 'Alibaba' | 'Scaleway' | 'Oracle' | 'OTC' | 'DigitalOcean' | 'Unknown';
|
27
|
+
export interface ClusterProviderDetailsType {
|
28
|
+
clusterProvider: ClusterProviderType;
|
29
|
+
costModuleSchema: RJSFFormSchema;
|
30
|
+
}
|
31
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Shared';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const GlobalOverview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './GlobalOverview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const InfrastructureManagementIcon: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './InfrastructureManagementIcon';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -37,6 +37,9 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
|
|
37
37
|
startIcon?: ActionMenuItemIconType;
|
38
38
|
/** Defines the item to be displayed at the end of the menu item. */
|
39
39
|
trailingItem?: TrailingItemType;
|
40
|
+
/** Prevents the menu from closing when the item is clicked. */
|
41
|
+
doNotCloseMenuOnClick?: boolean;
|
42
|
+
dataAttributesId?: number;
|
40
43
|
} & ConditionalActionMenuComponentType;
|
41
44
|
export type ActionMenuOptionType<T extends string | number> = {
|
42
45
|
/**
|