@devtron-labs/devtron-fe-common-lib 0.0.95-beta-7 → 0.0.96-beta-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/Common/Helper.d.ts +26 -5
- package/dist/Common/Reload.d.ts +0 -3
- package/dist/Shared/Components/index.d.ts +0 -4
- package/dist/Shared/Services/index.d.ts +0 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-55540cfb.js → cssMode-a32c8906.js} +1 -1
- package/dist/{freemarker2-2f7d677e.js → freemarker2-7d5f01d1.js} +1 -1
- package/dist/{handlebars-037c7ae3.js → handlebars-c2dee640.js} +1 -1
- package/dist/{html-1c36e1c4.js → html-d17b1070.js} +1 -1
- package/dist/{htmlMode-1f090173.js → htmlMode-1b133b78.js} +1 -1
- package/dist/{index-e5a62975.js → index-1afb6f33.js} +22601 -23739
- package/dist/index.js +406 -410
- package/dist/{javascript-26438d0f.js → javascript-44504b59.js} +1 -1
- package/dist/{jsonMode-e0fe3517.js → jsonMode-e2dfd3f2.js} +1 -1
- package/dist/{liquid-19e45287.js → liquid-72bb7213.js} +1 -1
- package/dist/{mdx-8d7ca125.js → mdx-833cc2df.js} +1 -1
- package/dist/{python-5cb1b3c0.js → python-c2589493.js} +1 -1
- package/dist/{razor-74d3225d.js → razor-75bfa36c.js} +1 -1
- package/dist/{tsMode-d3cd0798.js → tsMode-ad9463be.js} +1 -1
- package/dist/{typescript-1dbc960c.js → typescript-ce6399e9.js} +1 -1
- package/dist/{xml-d94b1f08.js → xml-81fc5ee1.js} +1 -1
- package/dist/{yaml-701af79d.js → yaml-55745872.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +0 -4
- package/dist/Shared/Components/ArtifactInfoModal/index.d.ts +0 -2
- package/dist/Shared/Components/ArtifactInfoModal/types.d.ts +0 -15
- package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +0 -4
- package/dist/Shared/Components/CommitChipCell/index.d.ts +0 -2
- package/dist/Shared/Components/CommitChipCell/types.d.ts +0 -6
- package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +0 -4
- package/dist/Shared/Components/ImageChipCell/index.d.ts +0 -2
- package/dist/Shared/Components/ImageChipCell/types.d.ts +0 -9
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +0 -4
- package/dist/Shared/Components/MaterialHistory/index.d.ts +0 -2
- package/dist/Shared/Components/MaterialHistory/types.d.ts +0 -8
- package/dist/Shared/Services/app.service.d.ts +0 -7
- package/dist/Shared/Services/app.types.d.ts +0 -96
- package/dist/Shared/Services/utils.d.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-ce6399e9.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ge = Object.defineProperty;
|
|
2
2
|
var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ze } from "./index-
|
|
4
|
+
import { m as Ze } from "./index-1afb6f33.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./index-
|
|
1
|
+
import { m as d } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./index-
|
|
1
|
+
import { m as d } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as a } from "./index-
|
|
1
|
+
import { m as a } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
-
import { t as K, m as E } from "./index-
|
|
4
|
+
import { t as K, m as E } from "./index-1afb6f33.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as a } from "./index-
|
|
1
|
+
import { m as a } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as i } from "./index-
|
|
1
|
+
import { m as i } from "./index-1afb6f33.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ArtifactType } from '../CICDHistory';
|
|
2
|
-
|
|
3
|
-
export type ArtifactInfoModalProps = Pick<ArtifactType, 'renderCIListHeader'> & {
|
|
4
|
-
ciArtifactId: number;
|
|
5
|
-
handleClose: () => void;
|
|
6
|
-
} & ({
|
|
7
|
-
envId: number | string;
|
|
8
|
-
fetchOnlyArtifactInfo?: false;
|
|
9
|
-
} | {
|
|
10
|
-
envId?: never;
|
|
11
|
-
/**
|
|
12
|
-
* If true, the env and trigger meta data is not fetched
|
|
13
|
-
*/
|
|
14
|
-
fetchOnlyArtifactInfo: true;
|
|
15
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CIMaterialType } from '../../Services/app.types';
|
|
2
|
-
|
|
3
|
-
export interface MaterialHistoryProps {
|
|
4
|
-
material: CIMaterialType;
|
|
5
|
-
pipelineName: string;
|
|
6
|
-
ciPipelineId?: string;
|
|
7
|
-
selectCommit?: (materialId: string, commit: string, ciPipelineId?: string) => void;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CIMaterialInfoType, GetCITriggerInfoParamsType } from './app.types';
|
|
2
|
-
|
|
3
|
-
export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => Promise<CIMaterialInfoType>;
|
|
4
|
-
/**
|
|
5
|
-
* The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
|
|
6
|
-
*/
|
|
7
|
-
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, 'ciArtifactId'>) => Promise<CIMaterialInfoType>;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ReleaseTag } from '../../Common';
|
|
2
|
-
|
|
3
|
-
interface WebhookDataType {
|
|
4
|
-
id: number;
|
|
5
|
-
eventActionType: string;
|
|
6
|
-
data: any;
|
|
7
|
-
}
|
|
8
|
-
interface MaterialHistoryDTO {
|
|
9
|
-
Commit: string;
|
|
10
|
-
Author: string;
|
|
11
|
-
Date: string;
|
|
12
|
-
Message: string;
|
|
13
|
-
Changes: unknown[];
|
|
14
|
-
WebhookData: WebhookDataType;
|
|
15
|
-
}
|
|
16
|
-
interface MaterialHistoryType {
|
|
17
|
-
commitURL: string;
|
|
18
|
-
commit: MaterialHistoryDTO['Commit'];
|
|
19
|
-
author: MaterialHistoryDTO['Author'];
|
|
20
|
-
date: MaterialHistoryDTO['Date'];
|
|
21
|
-
message: MaterialHistoryDTO['Message'];
|
|
22
|
-
changes: MaterialHistoryDTO['Changes'];
|
|
23
|
-
webhookData: MaterialHistoryDTO['WebhookData'];
|
|
24
|
-
showChanges: boolean;
|
|
25
|
-
isSelected: boolean;
|
|
26
|
-
excluded?: boolean;
|
|
27
|
-
}
|
|
28
|
-
interface CIMaterialDTO {
|
|
29
|
-
id: number;
|
|
30
|
-
gitMaterialId: number;
|
|
31
|
-
gitMaterialName: string;
|
|
32
|
-
type: string;
|
|
33
|
-
value: string;
|
|
34
|
-
active: boolean;
|
|
35
|
-
history: MaterialHistoryDTO[];
|
|
36
|
-
lastFetchTime: string;
|
|
37
|
-
url: string;
|
|
38
|
-
}
|
|
39
|
-
interface CIMaterialMetaType {
|
|
40
|
-
isRepoError?: boolean;
|
|
41
|
-
repoErrorMsg?: string;
|
|
42
|
-
isBranchError?: boolean;
|
|
43
|
-
branchErrorMsg?: string;
|
|
44
|
-
isMaterialLoading?: boolean;
|
|
45
|
-
regex?: string;
|
|
46
|
-
searchText?: string;
|
|
47
|
-
noSearchResultsMsg?: string;
|
|
48
|
-
noSearchResult?: boolean;
|
|
49
|
-
isRegex?: boolean;
|
|
50
|
-
isDockerFileError?: boolean;
|
|
51
|
-
dockerFileErrorMsg?: string;
|
|
52
|
-
showAllCommits?: boolean;
|
|
53
|
-
isMaterialSelectionError?: boolean;
|
|
54
|
-
materialSelectionErrorMsg?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface CIMaterialType extends Pick<CIMaterialDTO, 'id' | 'gitMaterialId' | 'gitMaterialName' | 'type' | 'value' | 'active' | 'lastFetchTime'>, CIMaterialMetaType {
|
|
57
|
-
gitURL: CIMaterialDTO['url'];
|
|
58
|
-
history: MaterialHistoryType[];
|
|
59
|
-
isSelected: boolean;
|
|
60
|
-
}
|
|
61
|
-
interface ImageCommentDTO {
|
|
62
|
-
id: number;
|
|
63
|
-
comment: string;
|
|
64
|
-
artifactId: number;
|
|
65
|
-
}
|
|
66
|
-
interface ImageCommentType extends ImageCommentDTO {
|
|
67
|
-
}
|
|
68
|
-
interface ImageTaggingDataDTO {
|
|
69
|
-
imageReleaseTags: ReleaseTag[];
|
|
70
|
-
appReleaseTags: string[];
|
|
71
|
-
imageComment: ImageCommentDTO;
|
|
72
|
-
tagsEditable: boolean;
|
|
73
|
-
}
|
|
74
|
-
interface ImageTaggingDataType extends Pick<ImageTaggingDataDTO, 'imageReleaseTags' | 'appReleaseTags' | 'tagsEditable'> {
|
|
75
|
-
imageComment: ImageCommentType;
|
|
76
|
-
}
|
|
77
|
-
export interface CIMaterialInfoDTO {
|
|
78
|
-
ciPipelineId: number;
|
|
79
|
-
ciMaterials: CIMaterialDTO[];
|
|
80
|
-
triggeredByEmail: string;
|
|
81
|
-
lastDeployedTime: string;
|
|
82
|
-
appId: number;
|
|
83
|
-
appName: string;
|
|
84
|
-
environmentId: number;
|
|
85
|
-
environmentName: string;
|
|
86
|
-
imageTaggingData: ImageTaggingDataDTO;
|
|
87
|
-
image: string;
|
|
88
|
-
}
|
|
89
|
-
export interface CIMaterialInfoType extends Pick<CIMaterialInfoDTO, 'triggeredByEmail' | 'lastDeployedTime' | 'appId' | 'appName' | 'environmentId' | 'environmentName' | 'image' | 'ciPipelineId'>, ImageTaggingDataType {
|
|
90
|
-
materials: CIMaterialType[];
|
|
91
|
-
}
|
|
92
|
-
export interface GetCITriggerInfoParamsType {
|
|
93
|
-
envId: number | string;
|
|
94
|
-
ciArtifactId: number | string;
|
|
95
|
-
}
|
|
96
|
-
export {};
|