@devtron-labs/devtron-fe-common-lib 1.14.1-pre-7-beta-1 → 1.14.2-pre-1
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-CkMdOfQQ.js → @code-editor-zWEg20o7.js} +2443 -2390
- package/dist/{@common-rjsf-CSPmJewm.js → @common-rjsf-DjtgOsYa.js} +1 -1
- package/dist/Common/Constants.d.ts +1 -2
- package/dist/Common/Types.d.ts +3 -9
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +21 -4
- package/dist/Shared/Components/Icon/types.d.ts +2 -2
- package/dist/Shared/Components/LoadingCard.d.ts +5 -0
- package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
- package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
- package/dist/Shared/Components/Switch/types.d.ts +0 -4
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/types.d.ts +3 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
- package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +4 -0
- package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-checkbox-selected-error.b40237bc.svg} +3 -2
- package/dist/assets/{ic-cluster.f1c3fad1.svg → ic-cluster.71ba9e26.svg} +1 -1
- package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
- package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
- package/dist/assets/ic-filter.d6f03b78.svg +3 -0
- package/dist/assets/ic-flask.d0624c30.svg +3 -0
- package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
- package/dist/assets/ic-hibernate.263ffcea.svg +19 -0
- package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
- package/dist/assets/ic-magnifying-glass.cf47bce0.svg +3 -0
- package/dist/assets/ic-mechanical-operation.04a318d6.svg +17 -0
- package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
- package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
- package/dist/assets/ic-rocket-gear.f1e30f8a.svg +3 -0
- package/dist/assets/ic-strategy-blue-green-color.0b348d03.svg +6 -0
- package/dist/assets/ic-strategy-blue-green.4e57a068.svg +3 -0
- package/dist/assets/ic-strategy-canary-color.db010ee7.svg +5 -0
- package/dist/assets/ic-strategy-canary.aa75f27f.svg +3 -0
- package/dist/assets/ic-strategy-recreate-color.187facd4.svg +4 -0
- package/dist/assets/ic-strategy-recreate.77b19a53.svg +3 -0
- package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +6 -0
- package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +3 -0
- package/dist/assets/ic-sun.47c14f53.svg +3 -0
- package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +581 -580
- package/package.json +1 -1
- package/dist/assets/ic-cluster-isolated.93f843b9.svg +0 -3
- package/dist/assets/ic-environment-isolated.b772ae9d.svg +0 -3
- package/dist/assets/ic-environment.e639b8f3.svg +0 -4
- package/dist/assets/ic-mechanical-operation.3c3f4672.svg +0 -76
- package/dist/assets/ic-shapes.b7b5c28f.svg +0 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as n, as as y, au as k, at as W } from "./@vendor-CmCjU670.js";
|
2
2
|
import V, { forwardRef as J, useMemo as P } from "react";
|
3
3
|
import K, { getDefaultRegistry as q } from "@rjsf/core";
|
4
|
-
import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-
|
4
|
+
import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-zWEg20o7.js";
|
5
5
|
import Q, { components as D } from "react-select";
|
6
6
|
import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
7
7
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
|
@@ -55,7 +55,6 @@ export declare const URLS: {
|
|
55
55
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
56
56
|
readonly APP_CONFIG: "edit";
|
57
57
|
readonly GLOBAL_CONFIG: "/global-config";
|
58
|
-
readonly GLOBAL_CONFIG_MANAGE_CATEGORIES: "/global-config/cluster-env/manage-categories";
|
59
58
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
60
59
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
61
60
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
@@ -65,7 +64,6 @@ export declare const ROUTES: {
|
|
65
64
|
readonly APP: "app";
|
66
65
|
readonly APP_ARTIFACT_PROMOTE_MATERIAL: "app/artifact/promotion-request/material";
|
67
66
|
readonly APP_TEMPLATE_DATA: "app/template/data";
|
68
|
-
readonly ENVIRONMENT_CATEGORIES: "env/categories";
|
69
67
|
readonly PROJECT_LIST_MIN: "team/autocomplete";
|
70
68
|
readonly USER_CHECK_ROLE: "user/check/roles";
|
71
69
|
readonly IMAGE_TAGGING: "app/image-tagging";
|
@@ -293,6 +291,7 @@ export declare const API_STATUS_CODES: {
|
|
293
291
|
EXPECTATION_FAILED: number;
|
294
292
|
UNPROCESSABLE_ENTITY: number;
|
295
293
|
LOCKED: number;
|
294
|
+
FAILED_DEPENDENCY: number;
|
296
295
|
};
|
297
296
|
export declare enum SERVER_MODE {
|
298
297
|
EA_ONLY = "EA_ONLY",
|
package/dist/Common/Types.d.ts
CHANGED
@@ -2,7 +2,7 @@ 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, ButtonProps, ComponentLayoutType, StatusType, DocLinkProps } from '../Shared';
|
5
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
|
6
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
|
7
7
|
/**
|
8
8
|
* Generic response type object with support for overriding the result type
|
@@ -75,6 +75,7 @@ export interface CheckboxProps {
|
|
75
75
|
onClick?: (event: any) => void;
|
76
76
|
id?: string;
|
77
77
|
dataTestId?: string;
|
78
|
+
error?: boolean;
|
78
79
|
children?: ReactNode;
|
79
80
|
}
|
80
81
|
export interface TippyWithBaseDocLinkTypes<T extends boolean> extends Pick<DocLinkProps<T>, 'isExternalLink' | 'openInNewTab'> {
|
@@ -714,7 +715,7 @@ export interface AppEnvironment {
|
|
714
715
|
ciArtifactId?: number;
|
715
716
|
}
|
716
717
|
export interface Strategy {
|
717
|
-
deploymentTemplate:
|
718
|
+
deploymentTemplate: DeploymentStrategyType;
|
718
719
|
config: any;
|
719
720
|
default?: boolean;
|
720
721
|
}
|
@@ -957,11 +958,4 @@ export interface EnvAppsMetaDTO {
|
|
957
958
|
appCount: number;
|
958
959
|
apps: AppMeta[];
|
959
960
|
}
|
960
|
-
export interface ClusterEnvironmentCategoryDTO {
|
961
|
-
id: number;
|
962
|
-
name: string;
|
963
|
-
description?: string;
|
964
|
-
}
|
965
|
-
export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
|
966
|
-
}
|
967
961
|
export {};
|
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
|
|
6
6
|
envId: number;
|
7
7
|
abortControllerRef?: MutableRefObject<AbortController>;
|
8
8
|
}) => Promise<UploadFileDTO>;
|
9
|
-
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
9
|
+
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, strategy, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
|
2
2
|
import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
|
3
3
|
import { DeploymentStrategy } from '../../../../../Shared/Components';
|
4
|
-
import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
4
|
+
import { DeploymentStrategyType, EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
5
5
|
import { STAGE_MAP } from '../../../../index';
|
6
6
|
interface ConfigSecretType {
|
7
7
|
label: string;
|
@@ -108,6 +108,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
108
108
|
*/
|
109
109
|
runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
|
110
110
|
isRollbackTrigger?: boolean;
|
111
|
+
strategy?: DeploymentStrategyType;
|
111
112
|
}
|
112
113
|
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
|
113
114
|
cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
|
@@ -2,7 +2,7 @@ import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react'
|
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
|
-
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
5
|
+
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
6
6
|
import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
|
7
7
|
export declare enum HistoryComponentType {
|
8
8
|
CI = "CI",
|
@@ -593,7 +593,6 @@ export interface DeploymentHistory {
|
|
593
593
|
ci_artifact_id?: number;
|
594
594
|
runSource?: RunSourceType;
|
595
595
|
}
|
596
|
-
type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
|
597
596
|
export interface DeploymentStrategy {
|
598
597
|
deploymentTemplate: DeploymentStrategyType;
|
599
598
|
config: any;
|
@@ -10,6 +10,7 @@ export declare const iconMap: {
|
|
10
10
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
11
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
12
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
|
+
'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
14
|
'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
15
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
16
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -38,7 +39,6 @@ export declare const iconMap: {
|
|
38
39
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
40
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
41
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
|
-
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
42
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
43
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
44
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -64,16 +64,18 @@ export declare const iconMap: {
|
|
64
64
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
65
|
'ic-enterprise-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
66
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
|
-
'ic-environment-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
|
-
'ic-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
67
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
68
|
'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
69
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
70
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
|
+
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
72
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
73
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
74
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
75
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
|
+
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
|
+
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
|
+
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
79
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
80
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
81
|
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -93,6 +95,7 @@ export declare const iconMap: {
|
|
93
95
|
'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
96
|
'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
97
|
'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
|
+
'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
99
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
100
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
101
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -106,10 +109,12 @@ export declare const iconMap: {
|
|
106
109
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
110
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
111
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
|
+
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
113
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
114
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
115
|
'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
116
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
|
+
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
118
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
119
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
120
|
'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -120,6 +125,7 @@ export declare const iconMap: {
|
|
120
125
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
126
|
'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
122
127
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
128
|
+
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
123
129
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
124
130
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
125
131
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -130,11 +136,12 @@ export declare const iconMap: {
|
|
130
136
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
137
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
138
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
139
|
+
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
140
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
141
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
142
|
+
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
143
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
144
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
|
-
'ic-shapes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
145
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
139
146
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
140
147
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -145,7 +152,16 @@ export declare const iconMap: {
|
|
145
152
|
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
146
153
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
147
154
|
'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
155
|
+
'ic-strategy-blue-green-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
156
|
+
'ic-strategy-blue-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
157
|
+
'ic-strategy-canary-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
158
|
+
'ic-strategy-canary': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
159
|
+
'ic-strategy-recreate-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
160
|
+
'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
161
|
+
'ic-strategy-rolling-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
162
|
+
'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
148
163
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
164
|
+
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
149
165
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
150
166
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
151
167
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -155,6 +171,7 @@ export declare const iconMap: {
|
|
155
171
|
'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
156
172
|
'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
157
173
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
174
|
+
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
158
175
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
159
176
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
160
177
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FC, SVGProps } from 'react';
|
2
|
-
import { TooltipProps } from '
|
3
|
-
import { IconBaseColorType, IconBaseSizeType } from '../../
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip';
|
3
|
+
import { IconBaseColorType, IconBaseSizeType } from '../../types';
|
4
4
|
type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
|
5
5
|
export interface IconBaseProps {
|
6
6
|
/**
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { AppStatusProps } from './types';
|
2
|
-
export declare const AppStatus: ({ status, isJobView, isVirtualEnv, ...restProps }: AppStatusProps) => JSX.Element;
|
2
|
+
export declare const AppStatus: ({ status, isJobView, isVirtualEnv, hideMessage, ...restProps }: AppStatusProps) => JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DTSwitchProps } from './types';
|
2
|
-
declare const Switch: ({ ariaLabel,
|
2
|
+
declare const Switch: ({ ariaLabel, isDisabled, isLoading, isChecked, tooltipContent, shape, variant, iconColor, iconName, indeterminate, size, name, onChange, }: DTSwitchProps) => JSX.Element;
|
3
3
|
export default Switch;
|
@@ -56,6 +56,7 @@ export * from './InfoIconTippy';
|
|
56
56
|
export * from './InvalidYAMLTippy';
|
57
57
|
export * from './KeyValueTable';
|
58
58
|
export * from './License';
|
59
|
+
export { default as LoadingCard } from './LoadingCard';
|
59
60
|
export * from './LoginBanner';
|
60
61
|
export * from './MaterialHistory';
|
61
62
|
export * from './ModalSidebarPanel';
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1074,4 +1074,7 @@ export interface IntelligenceConfig {
|
|
1074
1074
|
prompt: string;
|
1075
1075
|
analyticsCategory: string;
|
1076
1076
|
}
|
1077
|
+
export type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE-GREEN' | 'ROLLINGUPDATE' | 'ONDELETE';
|
1078
|
+
export type DeploymentStrategyTypeWithDefault = DeploymentStrategyType | 'DEFAULT';
|
1079
|
+
export type PipelineIdsVsDeploymentStrategyMap = Record<number, DeploymentStrategyTypeWithDefault>;
|
1077
1080
|
export {};
|