@devtron-labs/devtron-fe-common-lib 0.0.84-beta-6 → 0.0.84-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.
- package/dist/Common/Modals/VisibleModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +2 -1
- package/dist/Shared/Services/common.service.d.ts +3 -0
- package/dist/Shared/Services/index.d.ts +1 -0
- package/dist/Shared/Services/types.d.ts +9 -0
- package/dist/Shared/types.d.ts +13 -1
- package/dist/{cssMode-470a4d39.js → cssMode-6a1f7423.js} +1 -1
- package/dist/{freemarker2-4b4a9677.js → freemarker2-9760ca6d.js} +1 -1
- package/dist/{handlebars-1dec518f.js → handlebars-9eedc82a.js} +1 -1
- package/dist/{html-f35d75b9.js → html-b1cc5f95.js} +1 -1
- package/dist/{htmlMode-144f09d8.js → htmlMode-ccd66896.js} +1 -1
- package/dist/{index-2de25627.js → index-ac6c66a9.js} +5708 -5702
- package/dist/index.js +261 -259
- package/dist/{javascript-f39ff8ef.js → javascript-7725d02c.js} +1 -1
- package/dist/{jsonMode-fa82b1a7.js → jsonMode-b05959fb.js} +1 -1
- package/dist/{liquid-954b0baa.js → liquid-45c43981.js} +1 -1
- package/dist/{mdx-c8f0533c.js → mdx-cb86fc8b.js} +1 -1
- package/dist/{python-0cf141be.js → python-f607d204.js} +1 -1
- package/dist/{razor-842ec90b.js → razor-6d5ed9ce.js} +1 -1
- package/dist/{tsMode-cb014fb6.js → tsMode-b1270315.js} +1 -1
- package/dist/{typescript-913c30c2.js → typescript-f3fdaa7d.js} +1 -1
- package/dist/{xml-55c8215c.js → xml-1ad0105a.js} +1 -1
- package/dist/{yaml-04c179da.js → yaml-a6d99078.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare class VisibleModal extends React.Component<{
|
|
4
4
|
className: string;
|
|
@@ -12,5 +12,6 @@ export declare class VisibleModal extends React.Component<{
|
|
|
12
12
|
escFunction(event: any): void;
|
|
13
13
|
componentDidMount(): void;
|
|
14
14
|
componentWillUnmount(): void;
|
|
15
|
+
handleBodyClick: (e: SyntheticEvent) => void;
|
|
15
16
|
render(): React.ReactPortal;
|
|
16
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare class VisibleModal2 extends React.Component<{
|
|
4
4
|
className: string;
|
|
@@ -9,5 +9,6 @@ export declare class VisibleModal2 extends React.Component<{
|
|
|
9
9
|
escFunction(event: any): void;
|
|
10
10
|
componentDidMount(): void;
|
|
11
11
|
componentWillUnmount(): void;
|
|
12
|
+
handleBodyClick: (e: SyntheticEvent) => void;
|
|
12
13
|
render(): React.ReactPortal;
|
|
13
14
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import { ResourceKindType, ResourceVersionType } from '../types';
|
|
2
|
+
import { getUrlWithSearchParams } from '../../Common';
|
|
3
|
+
|
|
1
4
|
export interface ClusterType {
|
|
2
5
|
id: number;
|
|
3
6
|
name: string;
|
|
4
7
|
}
|
|
8
|
+
export interface GetResourceApiUrlProps<T> {
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
kind: ResourceKindType;
|
|
11
|
+
version: ResourceVersionType;
|
|
12
|
+
queryParams?: T extends Parameters<typeof getUrlWithSearchParams>[1] ? T : never;
|
|
13
|
+
}
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -170,7 +170,9 @@ export declare enum ResourceKindType {
|
|
|
170
170
|
cluster = "cluster",
|
|
171
171
|
release = "release",
|
|
172
172
|
releaseTrack = "release-track",
|
|
173
|
-
tenant = "tenant"
|
|
173
|
+
tenant = "tenant",
|
|
174
|
+
installation = "installation",
|
|
175
|
+
environment = "environment"
|
|
174
176
|
}
|
|
175
177
|
/**
|
|
176
178
|
* Versions support for the resources on BE
|
|
@@ -292,3 +294,13 @@ export interface EnvironmentType {
|
|
|
292
294
|
*/
|
|
293
295
|
cluster: string;
|
|
294
296
|
}
|
|
297
|
+
export interface CreatedByDTO {
|
|
298
|
+
icon: boolean;
|
|
299
|
+
id: number;
|
|
300
|
+
name: string;
|
|
301
|
+
}
|
|
302
|
+
export declare enum DependencyType {
|
|
303
|
+
UPSTREAM = "upstream",
|
|
304
|
+
DOWNSTREAM = "downstream",
|
|
305
|
+
LEVEL = "level"
|
|
306
|
+
}
|
|
@@ -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-ac6c66a9.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-ac6c66a9.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-ac6c66a9.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-ac6c66a9.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-ac6c66a9.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|