@devtron-labs/devtron-fe-common-lib 1.6.11-beta-1 → 1.6.11
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-Cuv9WrJn.js → @code-editor-DQOui2VT.js} +8809 -9064
- package/dist/{@common-rjsf-BayODhaU.js → @common-rjsf-MEDHbJFI.js} +1 -1
- package/dist/Common/AppStatus/utils.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +3 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -38
- package/dist/Shared/Components/CICDHistory/index.d.ts +1 -2
- package/dist/Shared/Components/CICDHistory/types.d.ts +25 -89
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -9
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -3
- package/dist/Shared/Helpers.d.ts +1 -3
- package/dist/Shared/constants.d.ts +24 -0
- package/dist/Shared/types.d.ts +0 -11
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-calendar.984accc5.svg +19 -0
- package/dist/assets/ic-person.f78738ac.svg +22 -0
- package/dist/assets/{ic-pulsate-status.2ca548fd.svg → ic-pulsate-status.cc755b3f.svg} +1 -0
- package/dist/index.js +540 -551
- package/package.json +1 -1
- package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +0 -3
- package/dist/assets/ic-aws-codecommit.43f0dd23.svg +0 -26
- package/dist/assets/ic-bitbucket.ffe914a0.svg +0 -30
- package/dist/assets/ic-calendar.1d9c66d2.svg +0 -19
- package/dist/assets/ic-environment.e639b8f3.svg +0 -4
- package/dist/assets/ic-git.89f79adf.svg +0 -17
- package/dist/assets/ic-github.bb1f1753.svg +0 -3
- package/dist/assets/ic-gitlab.de184b7f.svg +0 -31
- package/dist/assets/ic-help-filled.4468cdf1.svg +0 -4
- package/dist/assets/ic-person.d066bc6d.svg +0 -19
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as t, O as E } from "./@vendor-CWh7bjwl.js";
|
2
2
|
import P, { forwardRef as $ } from "react";
|
3
3
|
import L, { getDefaultRegistry as D } from "@rjsf/core";
|
4
|
-
import { T as v, c as H, a as U, i as k, b as T, d as S, S as M } from "./@code-editor-
|
4
|
+
import { T as v, c as H, a as U, i as k, b as T, d as S, S as M } from "./@code-editor-DQOui2VT.js";
|
5
5
|
import J, { components as C } from "react-select";
|
6
6
|
import { ReactComponent as V } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
7
7
|
import { getUiOptions as A, getTemplate as I, getSubmitButtonOptions as W, ADDITIONAL_PROPERTY_FLAG as B, errorId as q, englishStringTranslator as K, TranslatableString as Y, titleId as z, canExpand as G, deepEquals as Q } from "@rjsf/utils";
|
@@ -1,3 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { default as React } from 'react';
|
2
|
+
import { TriggerDetailsType, TriggerOutputProps } from './types';
|
3
|
+
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, renderTargetConfigInfo, }: TriggerDetailsType) => JSX.Element>;
|
2
4
|
declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom, renderTargetConfigInfo, appName, }: TriggerOutputProps) => JSX.Element;
|
3
5
|
export default TriggerOutput;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { WorkflowStageStatusType } from './types';
|
2
1
|
export declare const HISTORY_LABEL: {
|
3
2
|
APPLICATION: string;
|
4
3
|
ENVIRONMENT: string;
|
@@ -30,7 +29,6 @@ export declare const TERMINAL_STATUS_MAP: {
|
|
30
29
|
CANCELLED: string;
|
31
30
|
UNABLE_TO_FETCH: string;
|
32
31
|
TIMED_OUT: string;
|
33
|
-
WAITING_TO_START: string;
|
34
32
|
};
|
35
33
|
export declare const EVENT_STREAM_EVENTS_MAP: {
|
36
34
|
MESSAGE: string;
|
@@ -42,45 +40,10 @@ export declare const POD_STATUS: {
|
|
42
40
|
PENDING: string;
|
43
41
|
};
|
44
42
|
export declare const TIMEOUT_VALUE = "1";
|
45
|
-
export declare const
|
46
|
-
export declare const DEFAULT_NAMESPACE = "devtron-ci";
|
43
|
+
export declare const WORKER_POD_BASE_URL = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup";
|
47
44
|
export declare const DEFAULT_ENV = "devtron-ci";
|
48
45
|
export declare const LOGS_RETRY_COUNT = 3;
|
49
46
|
export declare const DEPLOYMENT_STATUS_QUERY_PARAM = "deployment-status";
|
50
47
|
export declare const MANIFEST_STATUS_HEADERS: string[];
|
51
48
|
export declare const LOGS_STAGE_IDENTIFIER = "STAGE_INFO";
|
52
49
|
export declare const LOGS_STAGE_STREAM_SEPARATOR = "|";
|
53
|
-
export declare const statusColor: {
|
54
|
-
[x: string]: string;
|
55
|
-
suspended: string;
|
56
|
-
unknown: string;
|
57
|
-
queued: string;
|
58
|
-
degraded: string;
|
59
|
-
healthy: string;
|
60
|
-
notdeployed: string;
|
61
|
-
missing: string;
|
62
|
-
progressing: string;
|
63
|
-
initiating: string;
|
64
|
-
starting: string;
|
65
|
-
succeeded: string;
|
66
|
-
running: string;
|
67
|
-
failed: string;
|
68
|
-
error: string;
|
69
|
-
cancelled: string;
|
70
|
-
aborted: string;
|
71
|
-
timedout: string;
|
72
|
-
unabletofetch: string;
|
73
|
-
hibernating: string;
|
74
|
-
};
|
75
|
-
export declare const PULSATING_STATUS_MAP: {
|
76
|
-
[key in keyof typeof statusColor]?: boolean;
|
77
|
-
};
|
78
|
-
export declare const WORKFLOW_STAGE_STATUS_TO_TEXT_MAP: Record<WorkflowStageStatusType, string>;
|
79
|
-
export declare const EXECUTION_FINISHED_TEXT_MAP: Partial<Record<WorkflowStageStatusType, string>>;
|
80
|
-
export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
81
|
-
readonly [x: string]: "cr-5" | "cg-5" | "co-5";
|
82
|
-
};
|
83
|
-
export declare const PROGRESSING_STATUS: {
|
84
|
-
readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
|
85
|
-
};
|
86
|
-
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export { default as Sidebar } from './Sidebar';
|
2
2
|
export { default as Artifacts } from './Artifacts';
|
3
3
|
export { default as TriggerOutput } from './TriggerOutput';
|
4
|
-
export { default as TriggerDetails } from './TriggerDetails';
|
5
4
|
export { default as CDEmptyState } from './CDEmptyState';
|
6
5
|
export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
|
7
6
|
export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
|
@@ -10,8 +9,8 @@ export * from './types';
|
|
10
9
|
export * from './service';
|
11
10
|
export * from './History.components';
|
12
11
|
export * from './utils';
|
12
|
+
export * from './TriggerOutput';
|
13
13
|
export { default as LogsRenderer } from './LogsRenderer';
|
14
14
|
export * from './DeploymentHistoryConfigDiff';
|
15
15
|
export * from './CiPipelineSourceConfig';
|
16
16
|
export * from './StatusFilterButtonComponent';
|
17
|
-
export { statusColor } from './constants';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties, ReactElement
|
1
|
+
import { CSSProperties, ReactElement } from 'react';
|
2
2
|
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
@@ -67,39 +67,7 @@ export interface TargetConfigType {
|
|
67
67
|
releaseChannelId?: string;
|
68
68
|
releaseChannelName?: string;
|
69
69
|
}
|
70
|
-
export
|
71
|
-
WORKFLOW = "workflow",
|
72
|
-
POD = "pod"
|
73
|
-
}
|
74
|
-
export declare enum WorkflowStageStatusType {
|
75
|
-
NOT_STARTED = "NOT_STARTED",
|
76
|
-
RUNNING = "RUNNING",
|
77
|
-
SUCCEEDED = "SUCCEEDED",
|
78
|
-
FAILED = "FAILED",
|
79
|
-
ABORTED = "ABORTED",
|
80
|
-
TIMEOUT = "TIMEOUT",
|
81
|
-
UNKNOWN = "UNKNOWN"
|
82
|
-
}
|
83
|
-
export declare enum WorkflowExecutionStageNameType {
|
84
|
-
PREPARATION = "Preparation",
|
85
|
-
EXECUTION = "Execution"
|
86
|
-
}
|
87
|
-
interface WorkflowExecutionStageCommonDTO {
|
88
|
-
status: WorkflowStageStatusType;
|
89
|
-
stageName: WorkflowExecutionStageNameType;
|
90
|
-
startTime: string;
|
91
|
-
endTime: string;
|
92
|
-
message: string;
|
93
|
-
}
|
94
|
-
export interface PodExecutionStageDTO extends WorkflowExecutionStageCommonDTO {
|
95
|
-
metadata: {
|
96
|
-
clusterId?: number;
|
97
|
-
};
|
98
|
-
}
|
99
|
-
export interface WorkflowExecutionStagesMapDTO {
|
100
|
-
workflowExecutionStages: Record<WorkflowExecutionStageType.WORKFLOW, WorkflowExecutionStageCommonDTO[]> & Record<WorkflowExecutionStageType.POD, PodExecutionStageDTO[]>;
|
101
|
-
}
|
102
|
-
export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, WorkflowExecutionStagesMapDTO {
|
70
|
+
export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'> {
|
103
71
|
id: number;
|
104
72
|
name: string;
|
105
73
|
status: string;
|
@@ -135,27 +103,6 @@ export interface History extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, Wo
|
|
135
103
|
runSource?: RunSourceType;
|
136
104
|
targetConfig?: TargetConfigType;
|
137
105
|
}
|
138
|
-
export interface ExecutionInfoType {
|
139
|
-
/**
|
140
|
-
* Triggered is assumed to be true always, so status will be Succeeded
|
141
|
-
* Extracted from Preparation start time, if there, in case of old data this will be execution start time
|
142
|
-
* If triggeredOn is not there will not show startTime next to Triggered label but will show other details if possible like commit info, etc.
|
143
|
-
* and capture error on sentry
|
144
|
-
*/
|
145
|
-
triggeredOn: string;
|
146
|
-
/**
|
147
|
-
* Extracted from startTime from Execution stage (since will work in both old and new format)
|
148
|
-
* If this is not given then, we won't be showing Execution started field
|
149
|
-
* If preparation field has failed, then we will be using finishedOn field to show the status
|
150
|
-
*/
|
151
|
-
executionStartedOn: string;
|
152
|
-
/**
|
153
|
-
* Will be the endTime of Execution stage.
|
154
|
-
*/
|
155
|
-
finishedOn?: string;
|
156
|
-
currentStatus: Exclude<WorkflowStageStatusType, WorkflowStageStatusType.NOT_STARTED>;
|
157
|
-
workerDetails: Pick<PodExecutionStageDTO, 'message' | 'status' | 'endTime'> & Pick<PodExecutionStageDTO['metadata'], 'clusterId'>;
|
158
|
-
}
|
159
106
|
export interface DeploymentHistoryResultObject {
|
160
107
|
cdWorkflows: History[];
|
161
108
|
appReleaseTagNames: string[];
|
@@ -182,7 +129,7 @@ export interface SidebarType extends RenderRunSourceType {
|
|
182
129
|
children?: React.ReactNode;
|
183
130
|
resourceId?: number;
|
184
131
|
}
|
185
|
-
export interface HistorySummaryCardType extends RenderRunSourceType
|
132
|
+
export interface HistorySummaryCardType extends RenderRunSourceType {
|
186
133
|
id: number;
|
187
134
|
status: string;
|
188
135
|
startedOn: string;
|
@@ -200,7 +147,7 @@ export interface HistorySummaryCardType extends RenderRunSourceType, Pick<Histor
|
|
200
147
|
*/
|
201
148
|
resourceId?: number;
|
202
149
|
}
|
203
|
-
export interface
|
150
|
+
export interface SummaryTooltipCardType {
|
204
151
|
status: string;
|
205
152
|
startedOn: string;
|
206
153
|
triggeredBy: number;
|
@@ -208,8 +155,6 @@ export interface DeploymentSummaryTooltipCardType {
|
|
208
155
|
ciMaterials: CiMaterial[];
|
209
156
|
gitTriggers: Map<number, GitTriggers>;
|
210
157
|
}
|
211
|
-
export interface BuildAndTaskSummaryTooltipCardProps extends Pick<History, 'workflowExecutionStages' | 'triggeredByEmail' | 'namespace' | 'podName' | 'stage'>, Pick<HistorySummaryCardType, 'gitTriggers' | 'ciMaterials'> {
|
212
|
-
}
|
213
158
|
export interface DeploymentTemplateList {
|
214
159
|
id: number;
|
215
160
|
name: string;
|
@@ -221,7 +166,6 @@ export interface CurrentStatusType {
|
|
221
166
|
artifact: string;
|
222
167
|
stage: DeploymentStageType;
|
223
168
|
type: HistoryComponentType;
|
224
|
-
executionInfo: ExecutionInfoType;
|
225
169
|
}
|
226
170
|
export interface StartDetailsType {
|
227
171
|
startedOn: string;
|
@@ -232,13 +176,16 @@ export interface StartDetailsType {
|
|
232
176
|
artifact: string;
|
233
177
|
type: HistoryComponentType;
|
234
178
|
environmentName?: string;
|
179
|
+
isJobView?: boolean;
|
180
|
+
triggerMetadata?: string;
|
181
|
+
renderDeploymentHistoryTriggerMetaText: (triggerMetaData: string) => JSX.Element;
|
235
182
|
/**
|
236
183
|
* Callback handler for showing the target config
|
237
184
|
*/
|
238
185
|
renderTargetConfigInfo?: () => ReactElement;
|
239
186
|
stage: DeploymentStageType;
|
240
187
|
}
|
241
|
-
export interface TriggerDetailsType extends Pick<StartDetailsType, 'renderTargetConfigInfo'
|
188
|
+
export interface TriggerDetailsType extends Pick<StartDetailsType, 'renderTargetConfigInfo'> {
|
242
189
|
status: string;
|
243
190
|
startedOn: string;
|
244
191
|
finishedOn: string;
|
@@ -255,46 +202,29 @@ export interface TriggerDetailsType extends Pick<StartDetailsType, 'renderTarget
|
|
255
202
|
isJobView?: boolean;
|
256
203
|
workerPodName?: string;
|
257
204
|
triggerMetadata?: string;
|
258
|
-
renderDeploymentHistoryTriggerMetaText: (triggerMetaData: string
|
205
|
+
renderDeploymentHistoryTriggerMetaText: (triggerMetaData: string) => JSX.Element;
|
259
206
|
}
|
260
|
-
export
|
207
|
+
export interface ProgressingStatusType {
|
208
|
+
status: string;
|
261
209
|
stage: DeploymentStageType;
|
262
210
|
type: HistoryComponentType;
|
263
|
-
/**
|
264
|
-
* @default 'In progress''
|
265
|
-
*/
|
266
|
-
label?: string;
|
267
|
-
};
|
268
|
-
export interface CurrentStatusIconProps {
|
269
|
-
status: string;
|
270
|
-
executionInfoCurrentStatus: WorkflowStageStatusType;
|
271
211
|
}
|
272
|
-
export interface WorkerStatusType
|
212
|
+
export interface WorkerStatusType {
|
273
213
|
message: string;
|
274
214
|
podStatus: string;
|
275
215
|
stage: DeploymentStageType;
|
276
216
|
finishedOn?: string;
|
277
217
|
workerPodName?: string;
|
278
|
-
workerMessageContainerClassName?: string;
|
279
|
-
titleClassName?: string;
|
280
|
-
viewWorkerPodClassName?: string;
|
281
|
-
/**
|
282
|
-
* @default false
|
283
|
-
*/
|
284
|
-
hideShowMoreMessageButton?: boolean;
|
285
218
|
}
|
286
|
-
export
|
219
|
+
export interface FinishedType {
|
220
|
+
status: string;
|
221
|
+
finishedOn: string;
|
287
222
|
artifact: string;
|
288
223
|
type: HistoryComponentType;
|
289
|
-
}
|
224
|
+
}
|
225
|
+
export interface TriggerDetailsStatusIconType {
|
290
226
|
status: string;
|
291
|
-
|
292
|
-
executionInfo?: never;
|
293
|
-
} | {
|
294
|
-
executionInfo: ExecutionInfoType;
|
295
|
-
status?: never;
|
296
|
-
finishedOn?: never;
|
297
|
-
});
|
227
|
+
}
|
298
228
|
export interface SyncStageResourceDetail {
|
299
229
|
id: number;
|
300
230
|
cdWorkflowRunnerId: number;
|
@@ -325,6 +255,12 @@ export interface DeploymentStatusDetailsType {
|
|
325
255
|
export interface DeploymentStatusDetailsResponse extends ResponseType {
|
326
256
|
result?: DeploymentStatusDetailsType;
|
327
257
|
}
|
258
|
+
export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
259
|
+
[x: string]: string;
|
260
|
+
};
|
261
|
+
export declare const PROGRESSING_STATUS: {
|
262
|
+
[x: string]: string;
|
263
|
+
};
|
328
264
|
interface DeploymentStatusDetailRow {
|
329
265
|
icon: string;
|
330
266
|
displayText: string;
|
@@ -387,7 +323,7 @@ export interface VirtualHistoryArtifactProps {
|
|
387
323
|
export type CIListItemType = Pick<History, 'promotionApprovalMetadata'> & {
|
388
324
|
userApprovalMetadata?: UserApprovalMetadataType;
|
389
325
|
triggeredBy?: string;
|
390
|
-
children:
|
326
|
+
children: any;
|
391
327
|
appliedFilters?: FilterConditionsListType[];
|
392
328
|
appliedFiltersTimestamp?: string;
|
393
329
|
selectedEnvironmentName?: string;
|
@@ -1,20 +1,12 @@
|
|
1
|
-
import { ReactElement } from 'react';
|
2
1
|
import { Node } from '../../types';
|
3
|
-
import { TriggerHistoryFilterCriteriaProps, DeploymentHistoryResultObject, TriggerHistoryFilterCriteriaType, StageStatusType,
|
2
|
+
import { TriggerHistoryFilterCriteriaProps, DeploymentHistoryResultObject, TriggerHistoryFilterCriteriaType, StageStatusType, NodeStatus, NodeFilters } from './types';
|
4
3
|
export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
|
5
4
|
export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
|
6
5
|
export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
|
7
6
|
export declare const renderIcon: (iconState: string) => JSX.Element;
|
8
7
|
export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
|
9
|
-
export declare const renderProgressingTriggerIcon: (baseClass?: string) => JSX.Element;
|
10
8
|
export declare const getTriggerStatusIcon: (triggerDetailStatus: string) => JSX.Element;
|
11
9
|
export declare const getLogSearchIndex: ({ stageIndex, lineNumberInsideStage, }: Record<"stageIndex" | "lineNumberInsideStage", number>) => string;
|
12
|
-
export declare const sanitizeWorkflowExecutionStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ExecutionInfoType | null;
|
13
|
-
export declare const getIconFromWorkflowStageStatusType: (status: WorkflowStageStatusType, baseClass?: string) => ReactElement;
|
14
|
-
export declare const getHistoryItemStatusIconFromWorkflowStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ReactElement;
|
15
|
-
export declare const getWorkerPodBaseUrl: (clusterId?: number, podNamespace?: string) => string;
|
16
|
-
export declare const getWorkflowNodeStatusTitle: (status: string) => string;
|
17
|
-
export declare const getFormattedTriggerTime: (time: string) => string;
|
18
10
|
export declare const getNodesCount: (nodes: Node[]) => {
|
19
11
|
allNodeCount: number;
|
20
12
|
healthyNodeCount: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ScanResultDTO, SeveritiesDTO, GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, VulnerabilityCountType } from './types';
|
2
2
|
import { SEVERITIES } from './constants';
|
3
3
|
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
4
|
-
color: "var(--
|
4
|
+
color: "var(--Y500)" | "var(--R500)" | "var(--G500)" | "var(--O500)" | "var(--N300)" | "var(--R700)";
|
5
5
|
label: "Critical" | "High" | "Medium" | "Low" | "Unknown" | "Failures" | "Successes" | "Exceptions";
|
6
6
|
value: number;
|
7
7
|
}[];
|
@@ -1,8 +1,6 @@
|
|
1
1
|
interface ShowMoreTextProps {
|
2
2
|
text: string;
|
3
3
|
textClass?: string;
|
4
|
-
containerClass?: string;
|
5
|
-
hideShowMore?: boolean;
|
6
4
|
}
|
7
|
-
declare const ShowMoreText: ({ text, textClass
|
5
|
+
declare const ShowMoreText: ({ text, textClass }: ShowMoreTextProps) => JSX.Element;
|
8
6
|
export default ShowMoreText;
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
|
-
import { PromptProps } from 'react-router-dom';
|
3
2
|
import { Pair } from 'yaml';
|
4
3
|
import { StrictRJSFSchema } from '@rjsf/utils';
|
5
4
|
import { MaterialHistoryType } from '@Shared/Services/app.types';
|
5
|
+
import { PromptProps } from 'react-router-dom';
|
6
6
|
import { MaterialInfo, SortingOrder, UserApprovalConfigType, ApprovalConfigDataType, UserApprovalInfo } from '../Common';
|
7
7
|
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
|
8
8
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
@@ -93,6 +93,4 @@ export declare const getUniqueId: (size?: number) => string;
|
|
93
93
|
*/
|
94
94
|
export declare const checkIfPathIsMatching: (currentPathName: string, customMessage?: string) => PromptProps["message"];
|
95
95
|
export declare const sanitizeTargetPlatforms: (targetPlatforms: TargetPlatformsDTO["targetPlatforms"]) => TargetPlatformItemDTO[];
|
96
|
-
export declare const isAWSCodeCommitURL: (url?: string) => boolean;
|
97
|
-
export declare const renderMaterialIcon: (url?: string) => JSX.Element;
|
98
96
|
export {};
|
@@ -327,6 +327,30 @@ export declare const statusIcon: {
|
|
327
327
|
timedout: string;
|
328
328
|
unabletofetch: string;
|
329
329
|
};
|
330
|
+
export declare const statusColor: {
|
331
|
+
suspended: string;
|
332
|
+
unknown: string;
|
333
|
+
queued: string;
|
334
|
+
degraded: string;
|
335
|
+
healthy: string;
|
336
|
+
notdeployed: string;
|
337
|
+
missing: string;
|
338
|
+
progressing: string;
|
339
|
+
initiating: string;
|
340
|
+
starting: string;
|
341
|
+
succeeded: string;
|
342
|
+
running: string;
|
343
|
+
failed: string;
|
344
|
+
error: string;
|
345
|
+
cancelled: string;
|
346
|
+
aborted: string;
|
347
|
+
timedout: string;
|
348
|
+
unabletofetch: string;
|
349
|
+
hibernating: string;
|
350
|
+
};
|
351
|
+
export declare const PULSATING_STATUS_MAP: {
|
352
|
+
[key in keyof typeof statusColor]?: boolean;
|
353
|
+
};
|
330
354
|
export declare const APP_STATUS_HEADERS: string[];
|
331
355
|
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
332
356
|
export declare const AppListConstants: {
|
package/dist/Shared/types.d.ts
CHANGED
@@ -796,17 +796,6 @@ export interface TargetPlatformItemDTO {
|
|
796
796
|
export interface TargetPlatformsDTO {
|
797
797
|
targetPlatforms: TargetPlatformItemDTO[];
|
798
798
|
}
|
799
|
-
/**
|
800
|
-
* These status are expected to be present in workflow nodes like ci node, linked ci node, job overview, etc.
|
801
|
-
*/
|
802
|
-
export declare enum WorkflowStatusEnum {
|
803
|
-
STARTING = "Starting",
|
804
|
-
RUNNING = "Running",
|
805
|
-
PROGRESSING = "Progressing",
|
806
|
-
WAITING_TO_START = "WaitingToStart",
|
807
|
-
TIMED_OUT = "TimedOut",
|
808
|
-
CANCELLED = "CANCELLED"
|
809
|
-
}
|
810
799
|
export declare enum CIPipelineNodeType {
|
811
800
|
EXTERNAL_CI = "EXTERNAL-CI",
|
812
801
|
CI = "CI",
|