@devtron-labs/devtron-fe-common-lib 0.5.2-beta-7 → 0.5.2-beta-8

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.
@@ -1,5 +1,5 @@
1
1
  import { SortingOrder } from '../../../Common/Constants';
2
- import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType } from '../../Services';
2
+ import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, EnvResourceType, TemplateListDTO } from '../../Services';
3
3
  import { ManifestTemplateDTO } from '../../../Pages/Applications';
4
4
  import { DeploymentHistoryDetail } from '../CICDHistory';
5
5
  import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
@@ -101,9 +101,13 @@ export type DiffHeadingDataType<DeploymentTemplate> = DeploymentTemplate extends
101
101
  export type AppEnvDeploymentConfigListParams<IsManifestView> = (IsManifestView extends true ? {
102
102
  currentList: ManifestTemplateDTO;
103
103
  compareList: ManifestTemplateDTO;
104
+ compareToTemplateOptions?: never;
105
+ compareWithTemplateOptions?: never;
104
106
  } : {
105
107
  currentList: AppEnvDeploymentConfigDTO;
106
108
  compareList: AppEnvDeploymentConfigDTO;
109
+ compareToTemplateOptions?: TemplateListDTO[];
110
+ compareWithTemplateOptions?: TemplateListDTO[];
107
111
  }) & {
108
112
  getNavItemHref: (resourceType: EnvResourceType, resourceName: string) => string;
109
113
  isManifestView?: IsManifestView;
@@ -28,7 +28,7 @@ export declare const mergeConfigDataArraysByName: (primaryArray: ConfigMapSecret
28
28
  *
29
29
  * @returns An object containing the combined deployment configuration list, a collapsible navigation list, and a navigation list.
30
30
  */
31
- export declare const getAppEnvDeploymentConfigList: <ManifestView extends boolean = false>({ currentList, compareList, getNavItemHref, isManifestView, convertVariables, }: AppEnvDeploymentConfigListParams<ManifestView>) => {
31
+ export declare const getAppEnvDeploymentConfigList: <ManifestView extends boolean = false>({ currentList, compareList, getNavItemHref, isManifestView, convertVariables, compareToTemplateOptions, compareWithTemplateOptions, }: AppEnvDeploymentConfigListParams<ManifestView>) => {
32
32
  configList: DeploymentConfigDiffProps["configList"];
33
33
  navList: DeploymentConfigDiffProps["navList"];
34
34
  collapsibleNavList: DeploymentConfigDiffProps["collapsibleNavList"];
@@ -1,7 +1,7 @@
1
1
  var Fe = Object.defineProperty;
2
2
  var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as je } from "./index-B3Nto1wx.js";
4
+ import { m as je } from "./index-SBUmCh1d.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-B3Nto1wx.js";
1
+ import { m as f } from "./index-SBUmCh1d.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 l } from "./index-B3Nto1wx.js";
1
+ import { m as l } from "./index-SBUmCh1d.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-B3Nto1wx.js";
1
+ import { m as s } from "./index-SBUmCh1d.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 Be = Object.defineProperty;
2
2
  var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as qe } from "./index-B3Nto1wx.js";
4
+ import { m as qe } from "./index-SBUmCh1d.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)