@devtron-labs/devtron-fe-common-lib 0.1.8-patch-1 → 0.1.9-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/Constants.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +9 -0
- package/dist/Shared/Hooks/UseDownload/index.d.ts +2 -0
- package/dist/Shared/Hooks/UseDownload/service.d.ts +1 -0
- package/dist/Shared/Hooks/UseDownload/types.d.ts +7 -0
- package/dist/Shared/Hooks/index.d.ts +1 -0
- package/dist/{cssMode-84ca3e2c.js → cssMode-a1141169.js} +1 -1
- package/dist/{freemarker2-141b6cdf.js → freemarker2-5b2ef79e.js} +1 -1
- package/dist/{handlebars-51a2d1f1.js → handlebars-7b13b104.js} +1 -1
- package/dist/{html-72515273.js → html-9c320b4a.js} +1 -1
- package/dist/{htmlMode-141b2446.js → htmlMode-05212b32.js} +1 -1
- package/dist/{index-d866ee56.js → index-1538a81a.js} +13306 -13277
- package/dist/index.d.ts +0 -1
- package/dist/index.js +90 -89
- package/dist/{javascript-8a478693.js → javascript-78992fb9.js} +1 -1
- package/dist/{jsonMode-4c119d71.js → jsonMode-7ba58700.js} +1 -1
- package/dist/{liquid-3e6ff2ec.js → liquid-d4556770.js} +1 -1
- package/dist/{mdx-c337fa11.js → mdx-afde730f.js} +1 -1
- package/dist/{python-fa723189.js → python-7cf6deba.js} +1 -1
- package/dist/{razor-8a86821f.js → razor-8438b5b8.js} +1 -1
- package/dist/{tsMode-8f3da593.js → tsMode-f08059da.js} +1 -1
- package/dist/{typescript-3e2d1791.js → typescript-edb7df98.js} +1 -1
- package/dist/{xml-f309305e.js → xml-4b40d7dc.js} +1 -1
- package/dist/{yaml-8469c2d5.js → yaml-81cf59de.js} +1 -1
- package/package.json +1 -1
|
@@ -228,6 +228,8 @@ export declare enum ReactSelectInputAction {
|
|
|
228
228
|
export declare const ZERO_TIME_STRING = "0001-01-01T00:00:00Z";
|
|
229
229
|
export declare const EXCLUDED_FALSY_VALUES: readonly [any, any, "", number];
|
|
230
230
|
export declare const API_STATUS_CODES: {
|
|
231
|
+
OK: number;
|
|
232
|
+
NO_CONTENT: number;
|
|
231
233
|
BAD_REQUEST: number;
|
|
232
234
|
UNAUTHORIZED: number;
|
|
233
235
|
PERMISSION_DENIED: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArtifactType, CIListItemType } from './types';
|
|
2
2
|
|
|
3
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,
|
|
4
|
+
declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, downloadArtifactUrl, ciPipelineId, artifactId, isJobView, isJobCI, imageComment, imageReleaseTags, type, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, jobCIClass, renderCIListHeader, }: ArtifactType) => JSX.Element;
|
|
5
5
|
export default Artifacts;
|
|
@@ -23,6 +23,5 @@ export declare const preparePipelineConfigData: (rawData: any) => Record<string,
|
|
|
23
23
|
export declare const prepareConfigMapAndSecretData: (rawData: any, type: string, historyData: DeploymentHistoryDetail, skipDecode?: boolean) => Record<string, DeploymentHistorySingleValue>;
|
|
24
24
|
export declare const prepareHistoryData: (rawData: any, historyComponent: string, skipDecode?: boolean) => DeploymentHistoryDetail;
|
|
25
25
|
export declare const getDeploymentDiffSelector: (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
26
|
export declare const getTriggerHistory: ({ appId, envId, pagination, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryParamsType) => Promise<Pick<DeploymentHistoryResult, 'result'>>;
|
|
28
27
|
export declare const getModuleConfigured: (moduleName: string) => Promise<ModuleConfigResponse>;
|
|
@@ -469,7 +469,7 @@ export interface ArtifactType {
|
|
|
469
469
|
artifact: string;
|
|
470
470
|
blobStorageEnabled: boolean;
|
|
471
471
|
isArtifactUploaded?: boolean;
|
|
472
|
-
|
|
472
|
+
downloadArtifactUrl?: string;
|
|
473
473
|
isJobView?: boolean;
|
|
474
474
|
isJobCI?: boolean;
|
|
475
475
|
type: HistoryComponentType;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -32,4 +32,5 @@ export declare const renderValidInputButtonTippy: (children: ReactElement) => JS
|
|
|
32
32
|
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
|
33
33
|
export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
|
|
34
34
|
export declare const decode: (data: any, isEncoded?: boolean) => {};
|
|
35
|
+
export declare const getFileNameFromHeaders: (headers: Headers) => string;
|
|
35
36
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ServerErrors } from '../../../Common/ServerError';
|
|
2
|
+
import { HandleDownloadProps } from './types';
|
|
3
|
+
|
|
4
|
+
declare const useDownload: () => {
|
|
5
|
+
handleDownload: ({ downloadUrl, showFilePreparingToast, fileName, showSuccessfulToast, downloadSuccessToastContent, }: HandleDownloadProps) => Promise<void>;
|
|
6
|
+
isDownloading: boolean;
|
|
7
|
+
downloadError: ServerErrors | Error;
|
|
8
|
+
};
|
|
9
|
+
export default useDownload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDownloadResponse: (downloadUrl: string) => Promise<Response>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ne } from "./index-
|
|
4
|
+
import { m as Ne } from "./index-1538a81a.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 F } from "./index-
|
|
1
|
+
import { m as F } from "./index-1538a81a.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-1538a81a.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-1538a81a.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 $e = Object.defineProperty;
|
|
2
2
|
var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-1538a81a.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|