@devtron-labs/devtron-fe-common-lib 0.6.0-patch-1-beta-14 → 0.6.0-patch-1-beta-15
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/Constants.d.ts +0 -4
- package/dist/Pages/ResourceBrowser/Helper.d.ts +0 -11
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -31
- package/dist/Pages/ResourceBrowser/index.d.ts +0 -1
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -2
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/types.d.ts +0 -4
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +7 -0
- package/dist/{cssMode-M1Y9Kveo.js → cssMode-BmiLkE8x.js} +1 -1
- package/dist/{freemarker2-DFHdIRy9.js → freemarker2-wuFyeD23.js} +1 -1
- package/dist/{handlebars-D3nRxdU4.js → handlebars-CkmYR93d.js} +1 -1
- package/dist/{html-BLyZhTBG.js → html-Bk71jT26.js} +1 -1
- package/dist/{htmlMode-DAfmKWRj.js → htmlMode-lZcWWmDK.js} +1 -1
- package/dist/{index-C480g8oV.js → index-CG3gtSx2.js} +13950 -14042
- package/dist/index.d.ts +0 -1
- package/dist/index.js +595 -600
- package/dist/{javascript-BdnZ6IyG.js → javascript-DN9rHy2y.js} +1 -1
- package/dist/{jsonMode-C8WqxQsN.js → jsonMode-NmuOx7sE.js} +1 -1
- package/dist/{liquid-cjrN7uoQ.js → liquid-Cpu0SyUG.js} +1 -1
- package/dist/{mdx-DmM1s3iv.js → mdx-DUj-SyeE.js} +1 -1
- package/dist/{python-ltuT5SCI.js → python-Cf1sSlmU.js} +1 -1
- package/dist/{razor-DDrHqsOF.js → razor-CwEu_aK6.js} +1 -1
- package/dist/{tsMode-vQlSwK4Y.js → tsMode-CFp4rXec.js} +1 -1
- package/dist/{typescript-uoDdupI_.js → typescript-Cv7uKh6a.js} +1 -1
- package/dist/{xml-XgRfdLM5.js → xml-IlGL--8Q.js} +1 -1
- package/dist/{yaml-dAeR2S7e.js → yaml-BEdcQe8e.js} +1 -1
- package/package.json +1 -1
- package/dist/Pages/ResourceBrowser/constants.d.ts +0 -4
- package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +0 -3
- package/dist/Shared/Components/NumbersCount/index.d.ts +0 -1
- package/dist/Shared/Components/NumbersCount/types.d.ts +0 -13
|
@@ -46,7 +46,6 @@ export declare const URLS: {
|
|
|
46
46
|
GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: string;
|
|
47
47
|
NETWORK_STATUS_INTERFACE: string;
|
|
48
48
|
RESOURCE_BROWSER: string;
|
|
49
|
-
COMPARE_CLUSTERS: string;
|
|
50
49
|
};
|
|
51
50
|
export declare const ROUTES: {
|
|
52
51
|
APP: string;
|
|
@@ -55,8 +54,6 @@ export declare const ROUTES: {
|
|
|
55
54
|
PROJECT_LIST_MIN: string;
|
|
56
55
|
USER_CHECK_ROLE: string;
|
|
57
56
|
IMAGE_TAGGING: string;
|
|
58
|
-
CREATE_RESOURCE: string;
|
|
59
|
-
K8S_RESOURCE_CREATE: string;
|
|
60
57
|
CI_CONFIG_GET: string;
|
|
61
58
|
CD_MATERIAL_GET: string;
|
|
62
59
|
DEPLOYMENT_TEMPLATE_LIST: string;
|
|
@@ -95,7 +92,6 @@ export declare const ROUTES: {
|
|
|
95
92
|
DEPLOYMENT_CHARTS_LIST: string;
|
|
96
93
|
USER_LIST_MIN: string;
|
|
97
94
|
CONFIG_DATA: string;
|
|
98
|
-
K8S_RESOURCE: string;
|
|
99
95
|
K8S_RESOURCE_LIST: string;
|
|
100
96
|
};
|
|
101
97
|
export declare enum KEY_VALUE {
|
|
@@ -1,13 +1,2 @@
|
|
|
1
1
|
import { AggregationKeys, NodeType } from '../../Shared';
|
|
2
|
-
import { ApiResourceGroupType, CreateResourceRequestBodyParamsType, CreateResourceRequestBodyType } from './ResourceBrowser.Types';
|
|
3
2
|
export declare function getAggregator(nodeType: NodeType, defaultAsOtherResources?: boolean): AggregationKeys;
|
|
4
|
-
export declare const getK8sResourceListPayload: (clusterId: string, namespace: string, selectedResource: ApiResourceGroupType, filters: object) => {
|
|
5
|
-
clusterId: number;
|
|
6
|
-
k8sRequest: {
|
|
7
|
-
resourceIdentifier: {
|
|
8
|
-
namespace: string;
|
|
9
|
-
groupVersionKind: import('./ResourceBrowser.Types').GVKType;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const createResourceRequestBody: ({ clusterId, group, version, kind, name, namespace, updatedManifest, }: CreateResourceRequestBodyParamsType) => CreateResourceRequestBodyType;
|
|
@@ -54,7 +54,7 @@ export interface BulkOperation {
|
|
|
54
54
|
operation: (signal: AbortSignal, data?: unknown) => Promise<void>;
|
|
55
55
|
}
|
|
56
56
|
export type BulkOperationModalProps = {
|
|
57
|
-
operationType: 'restart' | 'delete'
|
|
57
|
+
operationType: 'restart' | 'delete';
|
|
58
58
|
clusterName: string;
|
|
59
59
|
operations: NonNullable<BulkOperation[]>;
|
|
60
60
|
handleModalClose: () => void;
|
|
@@ -64,34 +64,4 @@ export type BulkOperationModalProps = {
|
|
|
64
64
|
shouldAllowForceOperation?: true;
|
|
65
65
|
};
|
|
66
66
|
export type BulkOperationModalState = BulkOperationModalProps['operationType'] | 'closed';
|
|
67
|
-
export interface CreateResourceRequestBodyType {
|
|
68
|
-
appId: string;
|
|
69
|
-
clusterId: number;
|
|
70
|
-
k8sRequest: {
|
|
71
|
-
resourceIdentifier: Required<K8sRequestResourceIdentifierType>;
|
|
72
|
-
patch?: string;
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
export interface ResourceManifestDTO {
|
|
76
|
-
manifestResponse: {
|
|
77
|
-
manifest: Record<string, unknown>;
|
|
78
|
-
};
|
|
79
|
-
secretViewAccess: boolean;
|
|
80
|
-
}
|
|
81
|
-
export interface CreateResourceRequestBodyParamsType extends Pick<CreateResourceRequestBodyType, 'clusterId'>, Required<Pick<K8sRequestResourceIdentifierType, 'name' | 'namespace'>> {
|
|
82
|
-
updatedManifest?: string;
|
|
83
|
-
group: GVKType['Group'];
|
|
84
|
-
version: GVKType['Version'];
|
|
85
|
-
kind: GVKType['Kind'];
|
|
86
|
-
}
|
|
87
|
-
export interface CreateResourcePayload {
|
|
88
|
-
clusterId: number;
|
|
89
|
-
manifest: string;
|
|
90
|
-
}
|
|
91
|
-
export interface CreateResourceDTO {
|
|
92
|
-
kind: string;
|
|
93
|
-
name: string;
|
|
94
|
-
isUpdate: boolean;
|
|
95
|
-
error: string;
|
|
96
|
-
}
|
|
97
67
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ResponseType } from '../../Common/Types';
|
|
2
|
-
import {
|
|
2
|
+
import { K8sResourceDetailType, K8sResourceListPayloadType } from './ResourceBrowser.Types';
|
|
3
3
|
export declare const getK8sResourceList: (resourceListPayload: K8sResourceListPayloadType, signal?: AbortSignal) => Promise<ResponseType<K8sResourceDetailType>>;
|
|
4
|
-
export declare const createNewResource: (resourceListPayload: CreateResourcePayload) => Promise<ResponseType<CreateResourceDTO[]>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BulkSelectionProps } from './types';
|
|
2
|
-
declare const BulkSelection: <T>({ showPagination, disabled
|
|
2
|
+
declare const BulkSelection: <T>({ showPagination, disabled }: BulkSelectionProps) => JSX.Element;
|
|
3
3
|
export default BulkSelection;
|
|
@@ -28,10 +28,6 @@ export interface UseBulkSelectionReturnType<T> extends GetBulkSelectionCheckboxV
|
|
|
28
28
|
}
|
|
29
29
|
export interface BulkSelectionProps {
|
|
30
30
|
showPagination: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* @default true
|
|
33
|
-
*/
|
|
34
|
-
showChevronDownIcon?: boolean;
|
|
35
31
|
disabled?: boolean;
|
|
36
32
|
}
|
|
37
33
|
export interface BulkSelectionDropdownItemsType {
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -647,6 +647,13 @@ interface CommonTabArgsType {
|
|
|
647
647
|
isAlive?: boolean;
|
|
648
648
|
lastSyncMoment?: Dayjs;
|
|
649
649
|
componentKey?: string;
|
|
650
|
+
tippyConfig?: {
|
|
651
|
+
title: string;
|
|
652
|
+
descriptions: {
|
|
653
|
+
info: string;
|
|
654
|
+
value: string;
|
|
655
|
+
}[];
|
|
656
|
+
};
|
|
650
657
|
}
|
|
651
658
|
export interface InitTabType extends CommonTabArgsType {
|
|
652
659
|
idPrefix: string;
|
|
@@ -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-
|
|
4
|
+
import { m as je } from "./index-CG3gtSx2.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-CG3gtSx2.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-
|
|
1
|
+
import { m as l } from "./index-CG3gtSx2.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-
|
|
1
|
+
import { m as s } from "./index-CG3gtSx2.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-
|
|
4
|
+
import { m as qe } from "./index-CG3gtSx2.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|