@devtron-labs/devtron-fe-common-lib 0.0.97 → 0.0.98-beta-2
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 +5 -0
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/constants.d.ts +25 -0
- package/dist/Shared/types.d.ts +15 -1
- package/dist/{cssMode-9807600c.js → cssMode-8bca0036.js} +1 -1
- package/dist/{freemarker2-a98a7613.js → freemarker2-41c66518.js} +1 -1
- package/dist/{handlebars-c0053d6d.js → handlebars-f8901e8c.js} +1 -1
- package/dist/{html-f3a981ae.js → html-91f6b19e.js} +1 -1
- package/dist/{htmlMode-b78f2ee0.js → htmlMode-ed91f999.js} +1 -1
- package/dist/{index-27281b6f.js → index-dbe950c2.js} +2806 -2791
- package/dist/index.d.ts +1 -1
- package/dist/index.js +414 -410
- package/dist/{javascript-04ab0963.js → javascript-8cf34294.js} +1 -1
- package/dist/{jsonMode-3b633511.js → jsonMode-1c1590ab.js} +1 -1
- package/dist/{liquid-58d1493f.js → liquid-30064459.js} +1 -1
- package/dist/{mdx-ff13a9da.js → mdx-4535bde8.js} +1 -1
- package/dist/{python-17d433e7.js → python-227745ae.js} +1 -1
- package/dist/{razor-ea89ee1b.js → razor-86961a34.js} +1 -1
- package/dist/{tsMode-c29189b9.js → tsMode-5f2f1fe4.js} +1 -1
- package/dist/{typescript-95fb6627.js → typescript-3df50ea2.js} +1 -1
- package/dist/{xml-50ee6035.js → xml-b7967bfb.js} +1 -1
- package/dist/{yaml-b00a0181.js → yaml-d5b71803.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +0 -22
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrd
|
|
|
26
26
|
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
27
27
|
export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
|
|
28
28
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
29
|
+
export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
|
|
29
30
|
export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
|
|
30
31
|
export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
|
|
31
32
|
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
|
@@ -29,6 +29,7 @@ export declare const ModuleNameMap: {
|
|
|
29
29
|
};
|
|
30
30
|
export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
|
|
31
31
|
export declare const API_TOKEN_PREFIX = "API-TOKEN:";
|
|
32
|
+
export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
|
|
32
33
|
export declare enum PatchOperationType {
|
|
33
34
|
replace = "replace",
|
|
34
35
|
remove = "remove"
|
|
@@ -347,3 +348,27 @@ export declare const statusColor: {
|
|
|
347
348
|
};
|
|
348
349
|
export declare const APP_STATUS_HEADERS: string[];
|
|
349
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
|
+
};
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -124,7 +124,8 @@ 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"
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app",
|
|
128
|
+
EXTERNAL_FLUX_APP = "external_flux_app"
|
|
128
129
|
}
|
|
129
130
|
export interface HelmReleaseStatus {
|
|
130
131
|
status: string;
|
|
@@ -418,6 +419,19 @@ export declare enum AggregationKeys {
|
|
|
418
419
|
Namespaces = "Namespaces"
|
|
419
420
|
}
|
|
420
421
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
422
|
+
export declare enum GitOpsAuthModeType {
|
|
423
|
+
SSH = "SSH",
|
|
424
|
+
PASSWORD = "PASSWORD",
|
|
425
|
+
SSH_AND_PASSWORD = "PAT_AND_SSH"
|
|
426
|
+
}
|
|
427
|
+
export interface BaseGitOpsType {
|
|
428
|
+
authMode: GitOpsAuthModeType;
|
|
429
|
+
sshKey: string;
|
|
430
|
+
sshHost: string;
|
|
431
|
+
username: string;
|
|
432
|
+
token: string;
|
|
433
|
+
}
|
|
434
|
+
export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';
|
|
421
435
|
export interface AppInfoListType {
|
|
422
436
|
application: string;
|
|
423
437
|
appStatus: string;
|
|
@@ -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-dbe950c2.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-dbe950c2.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-dbe950c2.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-dbe950c2.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-dbe950c2.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|