@devtron-labs/devtron-fe-common-lib 0.0.82-beta-13 → 0.0.82-beta-15
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/Common/AppStatus/constants.d.ts +0 -20
- package/dist/Common/Constants.d.ts +17 -0
- package/dist/Common/Helper.d.ts +8 -0
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +14 -0
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +11 -0
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +10 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +29 -0
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +10 -0
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/GitCommitInfoGeneric.d.ts +12 -0
- package/dist/Shared/Components/CICDHistory/GitMaterialInfoHeader.d.ts +9 -0
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +4 -0
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +5 -0
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/constants.d.ts +284 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +6 -0
- package/dist/Shared/Components/CICDHistory/service.d.ts +29 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +558 -0
- package/dist/Shared/Components/CICDHistory/utils.d.ts +13 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +4 -0
- package/dist/Shared/Components/Error/types.d.ts +9 -0
- package/dist/Shared/Components/Error/utils.d.ts +3 -0
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +5 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/Helpers.d.ts +2 -1
- package/dist/Shared/constants.d.ts +57 -0
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +181 -44
- package/dist/abap-9f67f57a.js +1314 -0
- package/dist/apex-ff62e532.js +315 -0
- package/dist/assets/editor.worker-d26000ef.js +9 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/json.worker-f23a4654.js +40 -0
- package/dist/assets/yaml.worker-bbf7a2a6.js +467 -0
- package/dist/azcli-31e64a7f.js +74 -0
- package/dist/bat-0ffe897e.js +95 -0
- package/dist/bicep-3414a2b1.js +108 -0
- package/dist/cameligo-df1f3f25.js +168 -0
- package/dist/clojure-65b0f010.js +754 -0
- package/dist/coffee-437f0fba.js +228 -0
- package/dist/cpp-66843dd5.js +390 -0
- package/dist/csharp-621d9a49.js +320 -0
- package/dist/csp-de0d5244.js +57 -0
- package/dist/css-7cd5ed4c.js +186 -0
- package/dist/cssMode-497cae5d.js +1446 -0
- package/dist/cypher-70ad96fe.js +262 -0
- package/dist/dart-33ae3739.js +270 -0
- package/dist/dockerfile-f2274a50.js +132 -0
- package/dist/ecl-3b8294a3.js +454 -0
- package/dist/elixir-b9dcc73a.js +489 -0
- package/dist/flow9-bdde8316.js +141 -0
- package/dist/freemarker2-c52bf224.js +643 -0
- package/dist/fsharp-eac2e449.js +210 -0
- package/dist/go-d12ed8d4.js +208 -0
- package/dist/graphql-c7356b69.js +141 -0
- package/dist/handlebars-39fc636e.js +391 -0
- package/dist/hcl-e883a0d4.js +177 -0
- package/dist/html-801255cd.js +281 -0
- package/dist/htmlMode-492ccae1.js +1456 -0
- package/dist/index-8e795a39.js +129929 -0
- package/dist/index.js +365 -20898
- package/dist/ini-425ab711.js +68 -0
- package/dist/java-2bc0fd68.js +221 -0
- package/dist/javascript-01941c8d.js +75 -0
- package/dist/jsonMode-aa18a8d0.js +1867 -0
- package/dist/julia-1c932615.js +496 -0
- package/dist/kotlin-1ab839c8.js +245 -0
- package/dist/less-6fe856f5.js +168 -0
- package/dist/lexon-4955ac52.js +151 -0
- package/dist/liquid-4987bdc3.js +238 -0
- package/dist/lua-3cca0047.js +157 -0
- package/dist/m3-132e9cb6.js +210 -0
- package/dist/markdown-ea59a0c1.js +202 -0
- package/dist/mips-19811f4b.js +194 -0
- package/dist/msdax-69954a10.js +377 -0
- package/dist/mysql-82088e5d.js +876 -0
- package/dist/objective-c-1976eccc.js +188 -0
- package/dist/pascal-8ef177cb.js +245 -0
- package/dist/pascaligo-bc517b9e.js +158 -0
- package/dist/perl-8b93582c.js +599 -0
- package/dist/pgsql-00c11a6d.js +847 -0
- package/dist/php-4c8c276f.js +471 -0
- package/dist/pla-e9b4ffb1.js +131 -0
- package/dist/postiats-2071af8c.js +544 -0
- package/dist/powerquery-8e388ceb.js +890 -0
- package/dist/powershell-e35db398.js +233 -0
- package/dist/protobuf-a24b9176.js +422 -0
- package/dist/pug-2c94d9b8.js +393 -0
- package/dist/python-c3709d2a.js +259 -0
- package/dist/qsharp-d730d7fe.js +282 -0
- package/dist/r-be193556.js +245 -0
- package/dist/razor-284fc6a5.js +512 -0
- package/dist/redis-9690c6ac.js +298 -0
- package/dist/redshift-6bdcdeaa.js +806 -0
- package/dist/restructuredtext-a08c1d20.js +162 -0
- package/dist/ruby-2247692b.js +444 -0
- package/dist/rust-1dffb4d5.js +337 -0
- package/dist/sb-136598e9.js +110 -0
- package/dist/scala-b1100fed.js +353 -0
- package/dist/scheme-038c8094.js +114 -0
- package/dist/scss-700d1b52.js +244 -0
- package/dist/shell-86c16e0f.js +224 -0
- package/dist/solidity-c05fdf3c.js +1351 -0
- package/dist/sophia-cd645d71.js +190 -0
- package/dist/sparql-01d9ec9c.js +193 -0
- package/dist/sql-4c33df41.js +818 -0
- package/dist/st-52cf1408.js +414 -0
- package/dist/swift-13c792ba.js +315 -0
- package/dist/systemverilog-0bd8b730.js +556 -0
- package/dist/tcl-463d7c75.js +232 -0
- package/dist/tsMode-2501ec00.js +811 -0
- package/dist/twig-0d98f5ec.js +323 -0
- package/dist/typescript-922bae20.js +328 -0
- package/dist/vb-3a2b0a51.js +364 -0
- package/dist/wgsl-b2ddb3e4.js +420 -0
- package/dist/xml-ebe7b3ab.js +95 -0
- package/dist/yaml-91cea596.js +184 -0
- package/package.json +17 -16
|
@@ -28,24 +28,4 @@ export declare const StatusConstants: {
|
|
|
28
28
|
normalCase: string;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
export declare enum TIMELINE_STATUS {
|
|
32
|
-
DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
|
|
33
|
-
GIT_COMMIT = "GIT_COMMIT",
|
|
34
|
-
GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
|
|
35
|
-
KUBECTL_APPLY = "KUBECTL_APPLY",
|
|
36
|
-
KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
|
|
37
|
-
KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
|
|
38
|
-
HEALTHY = "HEALTHY",
|
|
39
|
-
APP_HEALTH = "APP_HEALTH",
|
|
40
|
-
DEPLOYMENT_FAILED = "FAILED",
|
|
41
|
-
FETCH_TIMED_OUT = "TIMED_OUT",
|
|
42
|
-
UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
|
|
43
|
-
DEGRADED = "DEGRADED",
|
|
44
|
-
DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
|
|
45
|
-
ABORTED = "ABORTED",
|
|
46
|
-
INPROGRESS = "INPROGRESS",
|
|
47
|
-
HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
|
|
48
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
|
|
49
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
|
|
50
|
-
}
|
|
51
31
|
export declare const YET_TO_RUN = "Yet to run";
|
|
@@ -7,6 +7,7 @@ export declare const DISCORD_LINK = "https://discord.devtron.ai/";
|
|
|
7
7
|
export declare const DOCUMENTATION: {
|
|
8
8
|
APP_TAGS: string;
|
|
9
9
|
APP_OVERVIEW_TAGS: string;
|
|
10
|
+
BLOB_STORAGE: string;
|
|
10
11
|
};
|
|
11
12
|
export declare const PATTERNS: {
|
|
12
13
|
KUBERNETES_KEY_PREFIX: RegExp;
|
|
@@ -27,12 +28,23 @@ export declare const URLS: {
|
|
|
27
28
|
APP_LIST_HELM: string;
|
|
28
29
|
CREATE: string;
|
|
29
30
|
RELEASES: string;
|
|
31
|
+
DEVTRON_CHARTS: string;
|
|
32
|
+
APP_DEPLOYMNENT_HISTORY: string;
|
|
33
|
+
APP_DETAILS: string;
|
|
34
|
+
APP_DETAILS_K8: string;
|
|
35
|
+
DETAILS: string;
|
|
36
|
+
CD_DETAILS: string;
|
|
37
|
+
APP_TRIGGER: string;
|
|
38
|
+
GLOBAL_CONFIG_DOCKER: string;
|
|
39
|
+
DEPLOYMENT_HISTORY_CONFIGURATIONS: string;
|
|
30
40
|
};
|
|
31
41
|
export declare const ROUTES: {
|
|
42
|
+
APP: string;
|
|
32
43
|
APP_ARTIFACT_PROMOTE_MATERIAL: string;
|
|
33
44
|
PROJECT_LIST_MIN: string;
|
|
34
45
|
USER_CHECK_ROLE: string;
|
|
35
46
|
IMAGE_TAGGING: string;
|
|
47
|
+
CI_CONFIG_GET: string;
|
|
36
48
|
CD_MATERIAL_GET: string;
|
|
37
49
|
DEPLOYMENT_TEMPLATE_LIST: string;
|
|
38
50
|
INFRA_CONFIG_PROFILE: string;
|
|
@@ -46,6 +58,11 @@ export declare const ROUTES: {
|
|
|
46
58
|
CLUSTER_NOTE: string;
|
|
47
59
|
APPLICATION_NOTE: string;
|
|
48
60
|
GIT_HOST_EVENT: string;
|
|
61
|
+
HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP: string;
|
|
62
|
+
DEPLOYMENT_STATUS: string;
|
|
63
|
+
MANUAL_SYNC: string;
|
|
64
|
+
CD_CONFIG: string;
|
|
65
|
+
MODULE_CONFIGURED: string;
|
|
49
66
|
};
|
|
50
67
|
export declare enum KEY_VALUE {
|
|
51
68
|
KEY = "key",
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { scrollableInterface } from '../Shared';
|
|
1
2
|
import { AsyncOptions, UseSearchString } from './Types';
|
|
2
3
|
import { default as React, SyntheticEvent } from 'react';
|
|
3
4
|
|
|
@@ -86,5 +87,12 @@ export declare const compareObjectLength: (objA: any, objB: any) => boolean;
|
|
|
86
87
|
* Return deep copy of the object
|
|
87
88
|
*/
|
|
88
89
|
export declare function deepEqual(configA: any, configB: any): boolean;
|
|
90
|
+
export declare function shallowEqual(objA: any, objB: any): boolean;
|
|
91
|
+
export declare function useInterval(callback: any, delay: any): void;
|
|
92
|
+
export declare function useScrollable(options: scrollableInterface): ((e: any) => void)[];
|
|
93
|
+
export declare function useKeyDown(): any[];
|
|
94
|
+
export declare const DropdownIndicator: (props: any) => JSX.Element;
|
|
95
|
+
export declare function mapByKey<T = Map<any, any>>(arr: any[], id: string): T;
|
|
96
|
+
export declare function asyncWrap(promise: any): any[];
|
|
89
97
|
export declare const prefixZeroIfSingleDigit: (value?: number) => string | number;
|
|
90
98
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ArtifactType, CIListItemType } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, }: CIListItemType) => JSX.Element;
|
|
4
|
+
declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, getArtifactPromise, ciPipelineId, artifactId, isJobView, isJobCI, imageComment, imageReleaseTags, type, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, jobCIClass, renderCIListHeader, }: ArtifactType) => JSX.Element;
|
|
5
|
+
export default Artifacts;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const CDEmptyState: ({ imgSource, title, subtitle, ActionButtonIcon, actionButtonClass, actionButtonIconRight, actionButtonText, actionHandler, dataTestId, }: {
|
|
4
|
+
imgSource?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
actionButtonClass?: string;
|
|
8
|
+
ActionButtonIcon?: React.FunctionComponent<any>;
|
|
9
|
+
actionButtonIconRight?: boolean;
|
|
10
|
+
actionButtonText?: string;
|
|
11
|
+
actionHandler?: () => void;
|
|
12
|
+
dataTestId?: string;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
export default CDEmptyState;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CIPipelineSourceConfigInterface {
|
|
2
|
+
sourceType: any;
|
|
3
|
+
sourceValue: any;
|
|
4
|
+
showTooltip?: boolean;
|
|
5
|
+
showIcons?: boolean;
|
|
6
|
+
baseText?: string;
|
|
7
|
+
regex?: any;
|
|
8
|
+
isRegex?: boolean;
|
|
9
|
+
primaryBranchAfterRegex?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CiPipelineSourceConfig: ({ sourceType, sourceValue, showTooltip, showIcons, baseText, regex, isRegex, primaryBranchAfterRegex, }: CIPipelineSourceConfigInterface) => JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DeploymentDetailStepsType } from './types';
|
|
2
|
+
|
|
3
|
+
declare const DeploymentDetailSteps: ({ deploymentStatus, deploymentAppType, isHelmApps, installedAppVersionHistoryId, isGitops, userApprovalMetadata, isVirtualEnvironment, processVirtualEnvironmentDeploymentData, renderDeploymentApprovalInfo, }: DeploymentDetailStepsType) => JSX.Element;
|
|
4
|
+
export default DeploymentDetailSteps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DeploymentTemplateList } from '../types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
4
|
+
interface TemplateConfiguration {
|
|
5
|
+
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
+
deploymentHistoryList: DeploymentTemplateList[];
|
|
7
|
+
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
|
8
|
+
}
|
|
9
|
+
declare const DeploymentHistoryConfigList: ({ setFullScreenView, deploymentHistoryList, setDeploymentHistoryList, }: TemplateConfiguration) => JSX.Element;
|
|
10
|
+
export default DeploymentHistoryConfigList;
|
package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DeploymentTemplateHistoryType } from '../types';
|
|
2
|
+
|
|
3
|
+
declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
|
|
4
|
+
export default DeploymentHistoryDiffView;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CompareWithBaseConfiguration } from './types';
|
|
2
|
+
|
|
3
|
+
declare const DeploymentHistoryHeader: ({ selectedDeploymentTemplate, setSelectedDeploymentTemplate, setFullScreenView, setLoader, setPreviousConfigAvailable, }: CompareWithBaseConfiguration) => JSX.Element;
|
|
4
|
+
export default DeploymentHistoryHeader;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DeploymentTemplateList } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface DeploymentHistoryParamsType {
|
|
4
|
+
appId: string;
|
|
5
|
+
pipelineId?: string;
|
|
6
|
+
historyComponent?: string;
|
|
7
|
+
baseConfigurationId?: string;
|
|
8
|
+
historyComponentName?: string;
|
|
9
|
+
envId?: string;
|
|
10
|
+
triggerId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CompareViewDeploymentType {
|
|
13
|
+
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
|
+
deploymentHistoryList: DeploymentTemplateList[];
|
|
15
|
+
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
|
16
|
+
}
|
|
17
|
+
export interface DeploymentTemplateOptions {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
author: string;
|
|
21
|
+
status: string;
|
|
22
|
+
}
|
|
23
|
+
export interface CompareWithBaseConfiguration {
|
|
24
|
+
selectedDeploymentTemplate: DeploymentTemplateOptions;
|
|
25
|
+
setSelectedDeploymentTemplate: (selected: any) => void;
|
|
26
|
+
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
27
|
+
setLoader: React.Dispatch<React.SetStateAction<boolean>>;
|
|
28
|
+
setPreviousConfigAvailable: React.Dispatch<React.SetStateAction<boolean>>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const dropdownStyles: {
|
|
2
|
+
menu: (base: any) => any;
|
|
3
|
+
control: (base: any) => any;
|
|
4
|
+
singleValue: (base: any) => any;
|
|
5
|
+
option: (base: any, state: any) => any;
|
|
6
|
+
valueContainer: (base: any) => any;
|
|
7
|
+
indicatorsContainer: (base: any) => any;
|
|
8
|
+
dropdownIndicator: (styles: any) => any;
|
|
9
|
+
};
|
|
10
|
+
export declare const Option: (props: any) => JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DeploymentStatusDetailBreakdownType } from './types';
|
|
2
|
+
|
|
3
|
+
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
|
|
4
|
+
export default DeploymentStatusDetailBreakdown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const GitCommitInfoGeneric: ({ materialSourceType, materialSourceValue, commitInfo, selectedCommitInfo, materialUrl, showMaterialInfoHeader, canTriggerBuild, index, isExcluded, }: {
|
|
2
|
+
materialSourceType: any;
|
|
3
|
+
materialSourceValue: any;
|
|
4
|
+
commitInfo: any;
|
|
5
|
+
selectedCommitInfo: any;
|
|
6
|
+
materialUrl: any;
|
|
7
|
+
showMaterialInfoHeader: any;
|
|
8
|
+
canTriggerBuild?: boolean;
|
|
9
|
+
index: any;
|
|
10
|
+
isExcluded?: boolean;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default GitCommitInfoGeneric;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const GitMaterialInfoHeader: ({ index, repoUrl, materialType, materialValue, style, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
index: any;
|
|
4
|
+
repoUrl?: string;
|
|
5
|
+
materialType?: string;
|
|
6
|
+
materialValue?: string;
|
|
7
|
+
style?: {};
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default GitMaterialInfoHeader;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const LogResizeButton: ({ fullScreenView, setFullScreenView }: LogResizeButtonType) => JSX.Element;
|
|
4
|
+
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
|
5
|
+
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, }: GitChangesType) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SidebarType } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
4
|
+
declare const Sidebar: React.MemoExoticComponent<({ type, filterOptions, triggerHistory, hasMore, setPagination, fetchIdData, handleViewAllHistory, children, }: SidebarType) => JSX.Element>;
|
|
5
|
+
export default Sidebar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TriggerDetailsType, TriggerOutputProps } from './types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
|
|
5
|
+
declare const TriggerOutput: ({ fullScreenView, syncState, triggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, selectedEnvironmentName, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, }: TriggerOutputProps) => JSX.Element;
|
|
6
|
+
export default TriggerOutput;
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
export declare const HISTORY_LABEL: {
|
|
2
|
+
APPLICATION: string;
|
|
3
|
+
ENVIRONMENT: string;
|
|
4
|
+
PIPELINE: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const FILTER_STYLE: {
|
|
7
|
+
control: (base: any) => any;
|
|
8
|
+
dropdownIndicator: (base: any) => any;
|
|
9
|
+
menuPortal: (base: any) => any;
|
|
10
|
+
};
|
|
11
|
+
export declare const statusColor: {
|
|
12
|
+
suspended: string;
|
|
13
|
+
unknown: string;
|
|
14
|
+
queued: string;
|
|
15
|
+
degraded: string;
|
|
16
|
+
healthy: string;
|
|
17
|
+
notdeployed: string;
|
|
18
|
+
missing: string;
|
|
19
|
+
progressing: string;
|
|
20
|
+
initiating: string;
|
|
21
|
+
starting: string;
|
|
22
|
+
succeeded: string;
|
|
23
|
+
running: string;
|
|
24
|
+
failed: string;
|
|
25
|
+
error: string;
|
|
26
|
+
cancelled: string;
|
|
27
|
+
aborted: string;
|
|
28
|
+
timedout: string;
|
|
29
|
+
unabletofetch: string;
|
|
30
|
+
hibernating: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const GIT_BRANCH_NOT_CONFIGURED = "Not Configured";
|
|
33
|
+
export declare const DEFAULT_GIT_BRANCH_VALUE = "--";
|
|
34
|
+
export declare const EMPTY_STATE_STATUS: {
|
|
35
|
+
DATA_NOT_AVAILABLE: string;
|
|
36
|
+
API_TOKEN: {
|
|
37
|
+
TITLE: string;
|
|
38
|
+
SUBTITLE: string;
|
|
39
|
+
};
|
|
40
|
+
ARTIFACTS_EMPTY_STATE_TEXTS: {
|
|
41
|
+
NoFilesFound: string;
|
|
42
|
+
BlobStorageNotConfigured: string;
|
|
43
|
+
StoreFiles: string;
|
|
44
|
+
ConfigureBlobStorage: string;
|
|
45
|
+
NoFilesGenerated: string;
|
|
46
|
+
NoArtifactsGenerated: string;
|
|
47
|
+
NoArtifactsError: string;
|
|
48
|
+
FailedToFetchArtifacts: string;
|
|
49
|
+
FailedToFetchArtifactsError: string;
|
|
50
|
+
NoArtifactsFound: string;
|
|
51
|
+
NoArtifactsFoundError: string;
|
|
52
|
+
};
|
|
53
|
+
CI_BUILD_HISTORY_PIPELINE_TRIGGER: {
|
|
54
|
+
TITLE: string;
|
|
55
|
+
SUBTITLE: string;
|
|
56
|
+
};
|
|
57
|
+
CI_BUILD_HISTORY_LINKED_PIPELINE: {
|
|
58
|
+
TITLE: string;
|
|
59
|
+
SUBTITLE: string;
|
|
60
|
+
};
|
|
61
|
+
CI_BUILD_HISTORY_NO_PIPELINE: {
|
|
62
|
+
TITLE: string;
|
|
63
|
+
SUBTITLE: string;
|
|
64
|
+
};
|
|
65
|
+
CI_DEATILS_NO_VULNERABILITY_FOUND: {
|
|
66
|
+
TITLE: string;
|
|
67
|
+
SUBTITLE: string;
|
|
68
|
+
};
|
|
69
|
+
CI_DETAILS_IMAGE_SCANNED_DISABLED: string;
|
|
70
|
+
CI_DETAILS_IMAGE_NOT_SCANNED: {
|
|
71
|
+
TITLE: string;
|
|
72
|
+
SUBTITLE: string;
|
|
73
|
+
};
|
|
74
|
+
CD_DETAILS_NO_ENVIRONMENT: {
|
|
75
|
+
TITLE: string;
|
|
76
|
+
SUBTITLE: string;
|
|
77
|
+
};
|
|
78
|
+
CD_DETAILS_NO_DEPLOYMENT: {
|
|
79
|
+
TITLE: string;
|
|
80
|
+
SUBTITLE: string;
|
|
81
|
+
};
|
|
82
|
+
CHART: {
|
|
83
|
+
NO_SOURCE_TITLE: string;
|
|
84
|
+
NO_CHART_FOUND: string;
|
|
85
|
+
};
|
|
86
|
+
CHART_DEPLOYMENT_HISTORY: {
|
|
87
|
+
SUBTITLE: string;
|
|
88
|
+
};
|
|
89
|
+
CHART_GROUP_DEPLOYMENT: {
|
|
90
|
+
TITLE: string;
|
|
91
|
+
SUBTITLE: string;
|
|
92
|
+
};
|
|
93
|
+
DEPLOYMENT_DETAILS_SETPS_FAILED: {
|
|
94
|
+
TITLE: string;
|
|
95
|
+
SUBTITLE: string;
|
|
96
|
+
};
|
|
97
|
+
DEPLOYMENT_DETAILS_SETPS_PROGRESSING: {
|
|
98
|
+
TITLE: string;
|
|
99
|
+
SUBTITLE: string;
|
|
100
|
+
};
|
|
101
|
+
DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE: {
|
|
102
|
+
SUBTITLE: string;
|
|
103
|
+
};
|
|
104
|
+
DEPLOYMENT_HISTORY_CONFIG_LIST: {
|
|
105
|
+
SUBTITLE: string;
|
|
106
|
+
};
|
|
107
|
+
GENERATE_API_TOKEN: {
|
|
108
|
+
TITLE: string;
|
|
109
|
+
SUBTITLE: string;
|
|
110
|
+
};
|
|
111
|
+
TRIGGER_URL: {
|
|
112
|
+
TITLE: string;
|
|
113
|
+
SUBTITLE: string;
|
|
114
|
+
};
|
|
115
|
+
CD_EMPTY_STATE: {
|
|
116
|
+
TITLE: string;
|
|
117
|
+
SUBTITLE: string;
|
|
118
|
+
};
|
|
119
|
+
CI_PROGRESS_VIEW: {
|
|
120
|
+
TITLE: string;
|
|
121
|
+
SUBTITLE: string;
|
|
122
|
+
};
|
|
123
|
+
RENDER_EMPTY_STATE: {
|
|
124
|
+
TITILE: string;
|
|
125
|
+
SUBTITLE: string;
|
|
126
|
+
};
|
|
127
|
+
RENDER_NO_ENVIORNMENT_STATE: {
|
|
128
|
+
TITLE: string;
|
|
129
|
+
SUBTITLE: string;
|
|
130
|
+
};
|
|
131
|
+
RENDER_SELECT_ENVIRONMENT_VIEW: {
|
|
132
|
+
TITLE: string;
|
|
133
|
+
SUBTITLE: string;
|
|
134
|
+
};
|
|
135
|
+
SAVED_VALUES_EMPTY_STATE: {
|
|
136
|
+
TITLE: string;
|
|
137
|
+
SUBTITLE: string;
|
|
138
|
+
};
|
|
139
|
+
LOADING_CLUSTER: {
|
|
140
|
+
TITLE: string;
|
|
141
|
+
SUBTITLE: string;
|
|
142
|
+
};
|
|
143
|
+
NO_MATCHING_RESULT: {
|
|
144
|
+
TITLE: string;
|
|
145
|
+
SUBTITLE: string;
|
|
146
|
+
};
|
|
147
|
+
CLUSTER_NODE_EMPTY_STATE: {
|
|
148
|
+
TITLE: string;
|
|
149
|
+
SUBTITLE: string;
|
|
150
|
+
};
|
|
151
|
+
CHART_EMPTY_STATE: {
|
|
152
|
+
TITLE: string;
|
|
153
|
+
SUBTITLE: string;
|
|
154
|
+
};
|
|
155
|
+
CHART_VALUES_GUIT_VIEW: {
|
|
156
|
+
SUBTITLE: string;
|
|
157
|
+
};
|
|
158
|
+
DEVTRON_STACK_MANAGER: {
|
|
159
|
+
TITLE: string;
|
|
160
|
+
SUBTITLE: string;
|
|
161
|
+
};
|
|
162
|
+
NO_GROUPS: {
|
|
163
|
+
TITLE: string;
|
|
164
|
+
SUBTITLE: string;
|
|
165
|
+
};
|
|
166
|
+
NO_USER: {
|
|
167
|
+
TITLE: string;
|
|
168
|
+
SUBTITLE: string;
|
|
169
|
+
};
|
|
170
|
+
RENDER_LIST: {
|
|
171
|
+
SUBTITLE: string;
|
|
172
|
+
};
|
|
173
|
+
CUSTOM_CHART_LIST: {
|
|
174
|
+
TITLE: string;
|
|
175
|
+
};
|
|
176
|
+
BULK_ACTION_EDITS: {
|
|
177
|
+
TITLE: string;
|
|
178
|
+
SUBTITLE: string;
|
|
179
|
+
};
|
|
180
|
+
SECURITY_SCANS: {
|
|
181
|
+
TITLE: string;
|
|
182
|
+
SUBTITLE: string;
|
|
183
|
+
};
|
|
184
|
+
NOTIFICATION_TAB: {
|
|
185
|
+
TITLE: string;
|
|
186
|
+
SUBTITL: string;
|
|
187
|
+
};
|
|
188
|
+
CONFIGURATION_TAB: {
|
|
189
|
+
TITLE: string;
|
|
190
|
+
};
|
|
191
|
+
EXTERNAL_LINK_COMPONENT: {
|
|
192
|
+
TITLE: string;
|
|
193
|
+
SUBTITLE: string;
|
|
194
|
+
};
|
|
195
|
+
CD_MATERIAL: {
|
|
196
|
+
TITLE: string;
|
|
197
|
+
};
|
|
198
|
+
CI_DETAILS_NOT_FOUND: {
|
|
199
|
+
TITLE: string;
|
|
200
|
+
SUBTITLE: string;
|
|
201
|
+
};
|
|
202
|
+
TRIGGER_NOT_FOUND: {
|
|
203
|
+
TITLE: string;
|
|
204
|
+
SUBTITLE: string;
|
|
205
|
+
};
|
|
206
|
+
OVERVIEW: {
|
|
207
|
+
DEPLOYMENT_TITLE: string;
|
|
208
|
+
DEPLOYMENT_SUB_TITLE: string;
|
|
209
|
+
APP_DESCRIPTION: string;
|
|
210
|
+
JOB_DESCRIPTION: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
export declare const DEPLOYMENT_HISTORY_CONFIGURATION_LIST_MAP: {
|
|
214
|
+
DEPLOYMENT_TEMPLATE: {
|
|
215
|
+
DISPLAY_NAME: string;
|
|
216
|
+
VALUE: string;
|
|
217
|
+
};
|
|
218
|
+
PIPELINE_STRATEGY: {
|
|
219
|
+
DISPLAY_NAME: string;
|
|
220
|
+
VALUE: string;
|
|
221
|
+
};
|
|
222
|
+
CONFIGMAP: {
|
|
223
|
+
DISPLAY_NAME: string;
|
|
224
|
+
VALUE: string;
|
|
225
|
+
};
|
|
226
|
+
SECRET: {
|
|
227
|
+
DISPLAY_NAME: string;
|
|
228
|
+
VALUE: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
export declare const EXTERNAL_TYPES: {
|
|
232
|
+
[x: string]: {
|
|
233
|
+
'': string;
|
|
234
|
+
KubernetesSecret: string;
|
|
235
|
+
AWSSecretsManager: string;
|
|
236
|
+
AWSSystemManager: string;
|
|
237
|
+
HashiCorpVault: string;
|
|
238
|
+
ESO_HashiCorpVault: string;
|
|
239
|
+
ESO_AWSSecretsManager: string;
|
|
240
|
+
ESO_GoogleSecretsManager: string;
|
|
241
|
+
ESO_AzureSecretsManager: string;
|
|
242
|
+
KubernetesConfigMap?: undefined;
|
|
243
|
+
} | {
|
|
244
|
+
'': string;
|
|
245
|
+
KubernetesConfigMap: string;
|
|
246
|
+
KubernetesSecret?: undefined;
|
|
247
|
+
AWSSecretsManager?: undefined;
|
|
248
|
+
AWSSystemManager?: undefined;
|
|
249
|
+
HashiCorpVault?: undefined;
|
|
250
|
+
ESO_HashiCorpVault?: undefined;
|
|
251
|
+
ESO_AWSSecretsManager?: undefined;
|
|
252
|
+
ESO_GoogleSecretsManager?: undefined;
|
|
253
|
+
ESO_AzureSecretsManager?: undefined;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
export declare const TERMINAL_STATUS_MAP: {
|
|
257
|
+
SUCCEEDED: string;
|
|
258
|
+
HEALTHY: string;
|
|
259
|
+
RUNNING: string;
|
|
260
|
+
PROGRESSING: string;
|
|
261
|
+
STARTING: string;
|
|
262
|
+
INITIATING: string;
|
|
263
|
+
QUEUED: string;
|
|
264
|
+
FAILED: string;
|
|
265
|
+
ERROR: string;
|
|
266
|
+
CANCELLED: string;
|
|
267
|
+
UNABLE_TO_FETCH: string;
|
|
268
|
+
TIMED_OUT: string;
|
|
269
|
+
};
|
|
270
|
+
export declare const EVENT_STREAM_EVENTS_MAP: {
|
|
271
|
+
MESSAGE: string;
|
|
272
|
+
START_OF_STREAM: string;
|
|
273
|
+
END_OF_STREAM: string;
|
|
274
|
+
ERROR: string;
|
|
275
|
+
};
|
|
276
|
+
export declare const POD_STATUS: {
|
|
277
|
+
PENDING: string;
|
|
278
|
+
};
|
|
279
|
+
export declare const TIMEOUT_VALUE = "1";
|
|
280
|
+
export declare const WORKER_POD_BASE_URL = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup";
|
|
281
|
+
export declare const DEFAULT_ENV = "devtron-ci";
|
|
282
|
+
export declare const LOGS_RETRY_COUNT = 3;
|
|
283
|
+
export declare const DEPLOYMENT_STATUS_QUERY_PARAM = "deployment-status";
|
|
284
|
+
export declare const MANIFEST_STATUS_HEADERS: string[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CDPipelines, DeploymentConfigurationsRes, DeploymentHistoryDetail, DeploymentHistoryDetailRes, DeploymentHistoryResult, DeploymentHistorySingleValue, DeploymentStatusDetailsResponse, HistoryDiffSelectorRes, ModuleConfigResponse, TriggerDetails } from './types';
|
|
2
|
+
import { ResponseType } from '../../../Common';
|
|
3
|
+
|
|
4
|
+
export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId, fetchIdData }: {
|
|
5
|
+
appId: any;
|
|
6
|
+
envId: any;
|
|
7
|
+
pipelineId: any;
|
|
8
|
+
triggerId: any;
|
|
9
|
+
fetchIdData: any;
|
|
10
|
+
}): Promise<TriggerDetails>;
|
|
11
|
+
export declare const getTagDetails: (params: any) => Promise<ResponseType<any>>;
|
|
12
|
+
export declare const cancelCiTrigger: (params: any, isForceAbort: any) => Promise<ResponseType<any>>;
|
|
13
|
+
export declare const cancelPrePostCdTrigger: (pipelineId: any, workflowRunner: any) => Promise<ResponseType<any>>;
|
|
14
|
+
export declare function getDeploymentStatusDetail(appId: string, envId: string, showTimeline: boolean, triggerId?: string, isHelmApps?: boolean, installedAppVersionHistoryId?: number): Promise<DeploymentStatusDetailsResponse>;
|
|
15
|
+
export declare function getManualSync(params: {
|
|
16
|
+
appId: string;
|
|
17
|
+
envId: string;
|
|
18
|
+
}): Promise<ResponseType>;
|
|
19
|
+
export declare const getDeploymentHistoryList: (appId: string, pipelineId: string, triggerId: string) => Promise<DeploymentConfigurationsRes>;
|
|
20
|
+
export declare const getDeploymentHistoryDetail: (appId: string, pipelineId: string, id: string, historyComponent: string, historyComponentName: string) => Promise<DeploymentHistoryDetailRes>;
|
|
21
|
+
export declare const prepareDeploymentTemplateData: (rawData: any) => Record<string, DeploymentHistorySingleValue>;
|
|
22
|
+
export declare const preparePipelineConfigData: (rawData: any) => Record<string, DeploymentHistorySingleValue>;
|
|
23
|
+
export declare const prepareConfigMapAndSecretData: (rawData: any, type: string, historyData: DeploymentHistoryDetail, skipDecode?: boolean) => Record<string, DeploymentHistorySingleValue>;
|
|
24
|
+
export declare const prepareHistoryData: (rawData: any, historyComponent: string, skipDecode?: boolean) => DeploymentHistoryDetail;
|
|
25
|
+
export declare const getDeploymentDiffSelector: (appId: string, pipelineId: string, historyComponent: any, baseConfigurationId: any, historyComponentName: any) => Promise<HistoryDiffSelectorRes>;
|
|
26
|
+
export declare function getCDBuildReport(appId: any, envId: any, pipelineId: any, workflowId: any): Promise<ResponseType<any>>;
|
|
27
|
+
export declare function getTriggerHistory(appId: number | string, envId: number | string, pipelineId: number | string, pagination: any): Promise<DeploymentHistoryResult>;
|
|
28
|
+
export declare const getCDPipelines: (appId: number | string) => Promise<CDPipelines>;
|
|
29
|
+
export declare const getModuleConfigured: (moduleName: string) => Promise<ModuleConfigResponse>;
|