@devtron-labs/devtron-fe-common-lib 0.1.9-beta-2 → 0.1.9-beta-3

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.
Files changed (29) hide show
  1. package/dist/Common/Constants.d.ts +0 -2
  2. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  3. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
  4. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -0
  5. package/dist/Shared/Components/CICDHistory/types.d.ts +2 -1
  6. package/dist/Shared/Helpers.d.ts +0 -1
  7. package/dist/Shared/Hooks/index.d.ts +0 -1
  8. package/dist/{cssMode-3d665e88.js → cssMode-5a4450e8.js} +1 -1
  9. package/dist/{freemarker2-7a9e3b85.js → freemarker2-f1548af9.js} +1 -1
  10. package/dist/{handlebars-4b13c070.js → handlebars-db84690c.js} +1 -1
  11. package/dist/{html-57d3acb4.js → html-aa9f668d.js} +1 -1
  12. package/dist/{htmlMode-cb01f0dc.js → htmlMode-7e7c4f2c.js} +1 -1
  13. package/dist/{index-9f2ad4b1.js → index-15e701a6.js} +13772 -13806
  14. package/dist/index.js +89 -90
  15. package/dist/{javascript-0fc51e82.js → javascript-c4457b8a.js} +1 -1
  16. package/dist/{jsonMode-87618d80.js → jsonMode-440c3f51.js} +1 -1
  17. package/dist/{liquid-e06355fc.js → liquid-d5379e07.js} +1 -1
  18. package/dist/{mdx-1446a40a.js → mdx-a40a16ca.js} +1 -1
  19. package/dist/{python-aa79ea6c.js → python-6491dcfa.js} +1 -1
  20. package/dist/{razor-a70b2222.js → razor-c0430e54.js} +1 -1
  21. package/dist/{tsMode-7296dd37.js → tsMode-febeee7a.js} +1 -1
  22. package/dist/{typescript-c8ad9f00.js → typescript-9b6066b7.js} +1 -1
  23. package/dist/{xml-4c0349ec.js → xml-dd2610dc.js} +1 -1
  24. package/dist/{yaml-27b6c9e5.js → yaml-8fd4f6ed.js} +1 -1
  25. package/package.json +1 -1
  26. package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +0 -8
  27. package/dist/Shared/Hooks/UseDownload/index.d.ts +0 -2
  28. package/dist/Shared/Hooks/UseDownload/service.d.ts +0 -1
  29. package/dist/Shared/Hooks/UseDownload/types.d.ts +0 -7
@@ -228,8 +228,6 @@ 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;
233
231
  BAD_REQUEST: number;
234
232
  UNAUTHORIZED: number;
235
233
  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, downloadArtifactUrl, ciPipelineId, artifactId, isJobView, isJobCI, imageComment, imageReleaseTags, type, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, jobCIClass, renderCIListHeader, }: ArtifactType) => 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
5
  export default Artifacts;
@@ -1,4 +1,4 @@
1
1
  import { DeploymentTemplateHistoryType } from '../types';
2
2
 
3
- declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
3
+ declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, comparisonBodyClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
4
4
  export default DeploymentHistoryDiffView;
@@ -23,5 +23,6 @@ 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>>;
26
27
  export declare const getTriggerHistory: ({ appId, envId, pagination, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryParamsType) => Promise<Pick<DeploymentHistoryResult, 'result'>>;
27
28
  export declare const getModuleConfigured: (moduleName: string) => Promise<ModuleConfigResponse>;
@@ -368,6 +368,7 @@ export interface DeploymentTemplateHistoryType {
368
368
  isUnpublished?: boolean;
369
369
  isDeleteDraft?: boolean;
370
370
  rootClassName?: string;
371
+ comparisonBodyClassName?: string;
371
372
  }
372
373
  export interface DeploymentHistoryDetailRes extends ResponseType {
373
374
  result?: DeploymentHistoryDetail;
@@ -469,7 +470,7 @@ export interface ArtifactType {
469
470
  artifact: string;
470
471
  blobStorageEnabled: boolean;
471
472
  isArtifactUploaded?: boolean;
472
- downloadArtifactUrl?: string;
473
+ getArtifactPromise?: () => Promise<any>;
473
474
  isJobView?: boolean;
474
475
  isJobCI?: boolean;
475
476
  type: HistoryComponentType;
@@ -32,5 +32,4 @@ 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;
36
35
  export {};
@@ -1,2 +1 @@
1
1
  export * from './UsePrompt';
2
- export * from './UseDownload';
@@ -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-9f2ad4b1.js";
4
+ import { m as Ne } from "./index-15e701a6.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-9f2ad4b1.js";
1
+ import { m as F } from "./index-15e701a6.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-9f2ad4b1.js";
1
+ import { m as i } from "./index-15e701a6.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-9f2ad4b1.js";
1
+ import { m as d } from "./index-15e701a6.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-9f2ad4b1.js";
4
+ import { m as Qe } from "./index-15e701a6.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)