@devtron-labs/devtron-fe-common-lib 0.0.81-beta-2 → 0.0.81-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.
@@ -1,5 +1,5 @@
1
1
  import { ApiResourceType } from '../Pages';
2
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType } from './Types';
2
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, EnvironmentListHelmResponse } from './Types';
3
3
 
4
4
  export declare const getTeamListMin: () => Promise<TeamList>;
5
5
  interface UserRole extends ResponseType {
@@ -23,4 +23,5 @@ export declare const getDefaultConfig: () => Promise<ResponseType>;
23
23
  export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
24
24
  export declare function getClusterListMin(): Promise<ResponseType<any>>;
25
25
  export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
26
+ export declare function getNamespaceListMin(clusterIdsCsv: string): Promise<EnvironmentListHelmResponse>;
26
27
  export {};
@@ -47,6 +47,7 @@ export declare const ROUTES: {
47
47
  CLUSTER: string;
48
48
  API_RESOURCE: string;
49
49
  GVK: string;
50
+ NAMESPACE: string;
50
51
  };
51
52
  export declare enum KEY_VALUE {
52
53
  KEY = "key",
@@ -767,4 +767,18 @@ export interface DeploymentWindowProfileMetaData {
767
767
  excludedUserEmails: string[];
768
768
  warningMessage: string;
769
769
  }
770
+ export interface EnvironmentListHelmResult {
771
+ clusterId: number;
772
+ clusterName: string;
773
+ environments: EnvironmentHelmResult[];
774
+ }
775
+ export interface EnvironmentHelmResult {
776
+ environmentId: number;
777
+ environmentName: string;
778
+ namespace: string;
779
+ environmentIdentifier: string;
780
+ isVirtualEnvironment?: boolean;
781
+ allowedDeploymentTypes?: DeploymentAppTypes[];
782
+ }
783
+ export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
770
784
  export {};
@@ -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-af6b9920.js";
4
+ import { m as Ne } from "./index-2e2bf719.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-af6b9920.js";
1
+ import { m as F } from "./index-2e2bf719.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-af6b9920.js";
1
+ import { m as i } from "./index-2e2bf719.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-af6b9920.js";
1
+ import { m as d } from "./index-2e2bf719.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-af6b9920.js";
4
+ import { m as Qe } from "./index-2e2bf719.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)