@devtron-labs/devtron-fe-common-lib 0.1.10-beta-2 → 0.1.10-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.
- package/dist/Common/AppStatus/constants.d.ts +0 -5
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/Types.d.ts +2 -3
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
- package/dist/Shared/constants.d.ts +1 -26
- package/dist/Shared/types.d.ts +1 -9
- package/dist/{cssMode-8bed57e4.js → cssMode-25922973.js} +1 -1
- package/dist/{freemarker2-eeabcd8d.js → freemarker2-14b0e47e.js} +1 -1
- package/dist/{handlebars-8f2aadb9.js → handlebars-1537c7dc.js} +1 -1
- package/dist/{html-31e9eb53.js → html-f371fbb2.js} +1 -1
- package/dist/{htmlMode-b551639a.js → htmlMode-8a25a134.js} +1 -1
- package/dist/{index-8526aa1a.js → index-09519de6.js} +13949 -13937
- package/dist/index.d.ts +1 -2
- package/dist/index.js +438 -439
- package/dist/{javascript-b936d763.js → javascript-1fd1b6bd.js} +1 -1
- package/dist/{jsonMode-51969d4c.js → jsonMode-b9bdc4b7.js} +1 -1
- package/dist/{liquid-2756a9a6.js → liquid-df57a021.js} +1 -1
- package/dist/{mdx-b1c242c1.js → mdx-b3b80ae9.js} +1 -1
- package/dist/{python-3554a0be.js → python-8b4132f8.js} +1 -1
- package/dist/{razor-d3dda5ad.js → razor-ffce978e.js} +1 -1
- package/dist/{tsMode-a6842523.js → tsMode-4e611d22.js} +1 -1
- package/dist/{typescript-79009d2e.js → typescript-897f0cfb.js} +1 -1
- package/dist/{xml-e4a464d4.js → xml-2a3b0346.js} +1 -1
- package/dist/{yaml-7b499783.js → yaml-2d6ea175.js} +1 -1
- package/package.json +1 -1
package/dist/Common/Types.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export interface TippyCustomizedProps {
|
|
|
77
77
|
iconSize?: number;
|
|
78
78
|
onImageLoadError?: (e: any) => void;
|
|
79
79
|
onClose?: () => void;
|
|
80
|
-
infoText?:
|
|
80
|
+
infoText?: React.ReactNode;
|
|
81
81
|
showCloseButton?: boolean;
|
|
82
82
|
arrow?: boolean;
|
|
83
83
|
interactive?: boolean;
|
|
@@ -488,8 +488,7 @@ export declare enum DeploymentAppTypes {
|
|
|
488
488
|
HELM = "helm",
|
|
489
489
|
GITOPS = "argo_cd",
|
|
490
490
|
MANIFEST_DOWNLOAD = "manifest_download",
|
|
491
|
-
MANIFEST_PUSH = "manifest_push"
|
|
492
|
-
FLUX = "flux"
|
|
491
|
+
MANIFEST_PUSH = "manifest_push"
|
|
493
492
|
}
|
|
494
493
|
export interface VulnerabilityType {
|
|
495
494
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DescriptorProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, }: DescriptorProps) => JSX.Element;
|
|
3
|
+
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, }: DescriptorProps) => JSX.Element;
|
|
4
4
|
export default FeatureTitleWithInfo;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
1
2
|
import { ImageType } from '../../../Common';
|
|
2
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
3
4
|
|
|
4
5
|
export interface FeatureDescriptionModalProps {
|
|
5
6
|
title: string;
|
|
6
|
-
renderDescriptionContent?: () =>
|
|
7
|
+
renderDescriptionContent?: () => ReactNode;
|
|
7
8
|
closeModalText?: string;
|
|
8
9
|
docLink?: string;
|
|
9
10
|
closeModal?: () => void;
|
|
@@ -12,8 +13,12 @@ export interface FeatureDescriptionModalProps {
|
|
|
12
13
|
imageStyles?: React.CSSProperties;
|
|
13
14
|
}
|
|
14
15
|
export interface DescriptorProps extends FeatureDescriptionModalProps {
|
|
15
|
-
breadCrumbs
|
|
16
|
+
breadCrumbs?: Breadcrumb[];
|
|
16
17
|
additionalContainerClasses?: string;
|
|
17
18
|
iconClassName?: string;
|
|
18
19
|
children?: React.ReactNode;
|
|
20
|
+
showInfoIconTippy?: boolean;
|
|
21
|
+
docLinkText?: string;
|
|
22
|
+
dataTestId?: string;
|
|
23
|
+
additionalContent?: ReactNode;
|
|
19
24
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const AppListConstants: {
|
|
2
|
+
SAMPLE_NODE_REPO_URL: string;
|
|
3
|
+
CREATE_DEVTRON_APP_URL: string;
|
|
4
|
+
AppTabs: {
|
|
5
|
+
DEVTRON_APPS: string;
|
|
6
|
+
HELM_APPS: string;
|
|
7
|
+
ARGO_APPS: string;
|
|
8
|
+
};
|
|
9
|
+
AppType: {
|
|
10
|
+
DEVTRON_APPS: string;
|
|
11
|
+
HELM_APPS: string;
|
|
12
|
+
ARGO_APPS: string;
|
|
13
|
+
};
|
|
14
|
+
FilterType: {
|
|
15
|
+
PROJECT: string;
|
|
16
|
+
CLUTSER: string;
|
|
17
|
+
NAMESPACE: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
19
|
+
APP_STATUS: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default AppListConstants;
|
|
@@ -348,35 +348,10 @@ export declare const statusColor: {
|
|
|
348
348
|
};
|
|
349
349
|
export declare const APP_STATUS_HEADERS: string[];
|
|
350
350
|
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
|
351
|
-
export declare const AppListConstants: {
|
|
352
|
-
SAMPLE_NODE_REPO_URL: string;
|
|
353
|
-
CREATE_DEVTRON_APP_URL: string;
|
|
354
|
-
AppTabs: {
|
|
355
|
-
DEVTRON_APPS: string;
|
|
356
|
-
HELM_APPS: string;
|
|
357
|
-
ARGO_APPS: string;
|
|
358
|
-
FLUX_APPS: string;
|
|
359
|
-
};
|
|
360
|
-
AppType: {
|
|
361
|
-
DEVTRON_APPS: string;
|
|
362
|
-
HELM_APPS: string;
|
|
363
|
-
ARGO_APPS: string;
|
|
364
|
-
FLUX_APPS: string;
|
|
365
|
-
};
|
|
366
|
-
FilterType: {
|
|
367
|
-
PROJECT: string;
|
|
368
|
-
CLUTSER: string;
|
|
369
|
-
NAMESPACE: string;
|
|
370
|
-
ENVIRONMENT: string;
|
|
371
|
-
APP_STATUS: string;
|
|
372
|
-
TEMPLATE_TYPE: string;
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
351
|
export declare enum K8sResourcePayloadAppType {
|
|
376
352
|
DEVTRON_APP = 0,
|
|
377
353
|
HELM_APP = 1,
|
|
378
|
-
EXTERNAL_ARGO_APP = 2
|
|
379
|
-
EXTERNAL_FLUX_APP = 3
|
|
354
|
+
EXTERNAL_ARGO_APP = 2
|
|
380
355
|
}
|
|
381
356
|
/**
|
|
382
357
|
* Size variants for components
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -124,8 +124,7 @@ export declare enum AppType {
|
|
|
124
124
|
DEVTRON_APP = "devtron_app",
|
|
125
125
|
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
126
126
|
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
127
|
-
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
128
|
-
EXTERNAL_FLUX_APP = "external_flux_app"
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
129
128
|
}
|
|
130
129
|
export interface HelmReleaseStatus {
|
|
131
130
|
status: string;
|
|
@@ -141,11 +140,6 @@ interface MaterialInfo {
|
|
|
141
140
|
url: string;
|
|
142
141
|
webhookData: string;
|
|
143
142
|
}
|
|
144
|
-
export interface FluxAppStatusDetail {
|
|
145
|
-
status: string;
|
|
146
|
-
message: string;
|
|
147
|
-
reason: string;
|
|
148
|
-
}
|
|
149
143
|
export interface AppDetails {
|
|
150
144
|
appId?: number;
|
|
151
145
|
appName: string;
|
|
@@ -187,8 +181,6 @@ export interface AppDetails {
|
|
|
187
181
|
helmPackageName?: string;
|
|
188
182
|
appStatus?: string;
|
|
189
183
|
chartAvatar?: string;
|
|
190
|
-
fluxTemplateType?: string;
|
|
191
|
-
FluxAppStatusDetail?: FluxAppStatusDetail;
|
|
192
184
|
}
|
|
193
185
|
export declare enum RegistryType {
|
|
194
186
|
GIT = "git",
|
|
@@ -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-09519de6.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-09519de6.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-09519de6.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-09519de6.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-09519de6.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|