@devtron-labs/devtron-fe-common-lib 0.1.8-beta-16 → 0.1.8-beta-18

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 (32) hide show
  1. package/dist/Common/Constants.d.ts +0 -1
  2. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  3. package/dist/Shared/Components/ButtonWithSelector/types.d.ts +1 -0
  4. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  5. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  6. package/dist/Shared/Components/CICDHistory/service.d.ts +1 -0
  7. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  8. package/dist/Shared/Hooks/index.d.ts +0 -1
  9. package/dist/Shared/constants.d.ts +1 -0
  10. package/dist/Shared/types.d.ts +6 -0
  11. package/dist/{cssMode-c557a5cd.js → cssMode-38f46da5.js} +1 -1
  12. package/dist/{freemarker2-97d38891.js → freemarker2-3a1905e7.js} +1 -1
  13. package/dist/{handlebars-7a3ccb19.js → handlebars-ce298da6.js} +1 -1
  14. package/dist/{html-ea751008.js → html-8ab136f7.js} +1 -1
  15. package/dist/{htmlMode-944d22e3.js → htmlMode-78e96118.js} +1 -1
  16. package/dist/{index-bcaaf0c8.js → index-cfc3b5bc.js} +12536 -12565
  17. package/dist/index.js +353 -352
  18. package/dist/{javascript-67d15225.js → javascript-78bc74a3.js} +1 -1
  19. package/dist/{jsonMode-578e23af.js → jsonMode-13f2ddea.js} +1 -1
  20. package/dist/{liquid-c631b573.js → liquid-39c153be.js} +1 -1
  21. package/dist/{mdx-e5dece61.js → mdx-d50fd03d.js} +1 -1
  22. package/dist/{python-7c4633fb.js → python-e74e4686.js} +1 -1
  23. package/dist/{razor-262a8dea.js → razor-511648f3.js} +1 -1
  24. package/dist/{tsMode-16db595e.js → tsMode-b8dbb316.js} +1 -1
  25. package/dist/{typescript-5fe96baf.js → typescript-6a50be81.js} +1 -1
  26. package/dist/{xml-bbce11fe.js → xml-14a35ff2.js} +1 -1
  27. package/dist/{yaml-fa57c63a.js → yaml-43eb6852.js} +1 -1
  28. package/package.json +1 -1
  29. package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +0 -7
  30. package/dist/Shared/Hooks/UseDownload/index.d.ts +0 -2
  31. package/dist/Shared/Hooks/UseDownload/service.d.ts +0 -1
  32. package/dist/Shared/Hooks/UseDownload/types.d.ts +0 -7
@@ -228,7 +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
231
  BAD_REQUEST: number;
233
232
  UNAUTHORIZED: number;
234
233
  PERMISSION_DENIED: number;
@@ -14,5 +14,5 @@ import { ButtonWithSelectorProps } from './types';
14
14
  * </ButtonWithSelector>
15
15
  * ```
16
16
  */
17
- declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, }: ButtonWithSelectorProps) => JSX.Element;
17
+ declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, isLoading, }: ButtonWithSelectorProps) => JSX.Element;
18
18
  export default ButtonWithSelector;
@@ -8,4 +8,5 @@ export interface ButtonWithSelectorProps {
8
8
  popUpBodyClassName?: string;
9
9
  showPopUp?: boolean;
10
10
  disabled?: boolean;
11
+ isLoading?: boolean;
11
12
  }
@@ -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;
@@ -5,6 +5,7 @@ export { default as CDEmptyState } from './CDEmptyState';
5
5
  export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
6
6
  export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
7
7
  export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
8
+ export { default as DetectBottom } from './DetectBottom';
8
9
  export * from './types';
9
10
  export * from './service';
10
11
  export * from './History.components';
@@ -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>;
@@ -469,7 +469,7 @@ export interface ArtifactType {
469
469
  artifact: string;
470
470
  blobStorageEnabled: boolean;
471
471
  isArtifactUploaded?: boolean;
472
- downloadArtifactUrl?: string;
472
+ getArtifactPromise?: () => Promise<any>;
473
473
  isJobView?: boolean;
474
474
  isJobCI?: boolean;
475
475
  type: HistoryComponentType;
@@ -1,2 +1 @@
1
1
  export * from './UsePrompt';
2
- export * from './UseDownload';
@@ -31,6 +31,7 @@ export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
31
31
  export declare const API_TOKEN_PREFIX = "API-TOKEN:";
32
32
  export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
33
33
  export declare enum PatchOperationType {
34
+ add = "add",
34
35
  replace = "replace",
35
36
  remove = "remove"
36
37
  }
@@ -336,6 +336,12 @@ export type PatchQueryType<T extends string, K = unknown> = {
336
336
  */
337
337
  op: PatchOperationType.remove;
338
338
  value?: never;
339
+ } | {
340
+ /**
341
+ * Operation type for add
342
+ */
343
+ op: PatchOperationType.add;
344
+ value?: K;
339
345
  });
340
346
  export interface GroupedOptionsType {
341
347
  label: string;
@@ -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-bcaaf0c8.js";
4
+ import { m as Ne } from "./index-cfc3b5bc.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-bcaaf0c8.js";
1
+ import { m as F } from "./index-cfc3b5bc.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-bcaaf0c8.js";
1
+ import { m as i } from "./index-cfc3b5bc.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-bcaaf0c8.js";
1
+ import { m as d } from "./index-cfc3b5bc.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-bcaaf0c8.js";
4
+ import { m as Qe } from "./index-cfc3b5bc.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)