@devtron-labs/devtron-fe-common-lib 0.0.90-beta-1 → 0.0.90-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/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -5
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/constants.d.ts +1 -0
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +16 -45
- package/dist/{cssMode-07d7773b.js → cssMode-ca85ea2b.js} +1 -1
- package/dist/{freemarker2-38252b9d.js → freemarker2-cef65e07.js} +1 -1
- package/dist/{handlebars-933ed526.js → handlebars-8ef696cc.js} +1 -1
- package/dist/{html-98cdc8f3.js → html-4b227a05.js} +1 -1
- package/dist/{htmlMode-347a2681.js → htmlMode-e058165f.js} +1 -1
- package/dist/{index-9369744f.js → index-ef2a9390.js} +15942 -16048
- package/dist/index.d.ts +0 -1
- package/dist/index.js +181 -180
- package/dist/{javascript-1c94db42.js → javascript-ce228b1b.js} +1 -1
- package/dist/{jsonMode-9888b5f5.js → jsonMode-b755564d.js} +1 -1
- package/dist/{liquid-7f732582.js → liquid-edc795e4.js} +1 -1
- package/dist/{mdx-bcbbf051.js → mdx-d4897164.js} +1 -1
- package/dist/{python-ccf185f2.js → python-498d4d83.js} +1 -1
- package/dist/{razor-ba6ad09d.js → razor-f688b99c.js} +1 -1
- package/dist/{tsMode-0d8e3cff.js → tsMode-bf7c4f29.js} +1 -1
- package/dist/{typescript-ba44fc90.js → typescript-cbfa06bd.js} +1 -1
- package/dist/{xml-bd46f314.js → xml-4b579586.js} +1 -1
- package/dist/{yaml-02afcbbb.js → yaml-8a037691.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/API/APIQueuing.d.ts +0 -11
- package/dist/Shared/API/index.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -4
- package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +0 -5
- package/dist/Shared/Components/EnvironmentSelector/index.d.ts +0 -1
- package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -3
- package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -27
- package/dist/Shared/Components/EnvironmentSelector/utils.d.ts +0 -6
|
@@ -14,5 +14,5 @@ import { SortableTableHeaderCellProps } from './types';
|
|
|
14
14
|
* />
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled,
|
|
17
|
+
declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, }: SortableTableHeaderCellProps) => JSX.Element;
|
|
18
18
|
export default SortableTableHeaderCell;
|
|
@@ -8,8 +8,6 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
|
|
8
8
|
loadingMessage: (base: any) => any;
|
|
9
9
|
noOptionsMessage: (base: any) => any;
|
|
10
10
|
placeholder: (base: any) => any;
|
|
11
|
-
group: (base: any) => any;
|
|
12
|
-
groupHeading: (base: any) => any;
|
|
13
11
|
};
|
|
14
12
|
export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
|
|
15
13
|
export declare const SelectOption: (props: any) => JSX.Element;
|
|
@@ -25,6 +23,4 @@ export declare const commonSelectStyles: {
|
|
|
25
23
|
loadingMessage: (base: any) => any;
|
|
26
24
|
noOptionsMessage: (base: any) => any;
|
|
27
25
|
placeholder: (base: any) => any;
|
|
28
|
-
group: (base: any) => any;
|
|
29
|
-
groupHeading: (base: any) => any;
|
|
30
26
|
};
|
|
@@ -17,7 +17,6 @@ export * from './Header';
|
|
|
17
17
|
export * from './AnnouncementBanner';
|
|
18
18
|
export * from './ButtonWithLoader';
|
|
19
19
|
export * from './ButtonWithSelector';
|
|
20
|
-
export * from './EnvironmentSelector';
|
|
21
20
|
export * from './CICDHistory';
|
|
22
21
|
export * from './GitCommitInfoGeneric';
|
|
23
22
|
export * from './Error';
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrd
|
|
|
25
25
|
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
26
26
|
export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
|
|
27
27
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
28
|
+
export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
|
|
28
29
|
export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
|
|
29
30
|
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
|
30
31
|
export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
|
|
@@ -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"
|
package/dist/Shared/index.d.ts
CHANGED
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PatchOperationType } from './constants';
|
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes } from '../Common';
|
|
3
3
|
|
|
4
4
|
export declare enum EnvType {
|
|
5
5
|
CHART = "helm_charts",
|
|
@@ -411,53 +411,24 @@ export declare enum AggregationKeys {
|
|
|
411
411
|
Namespaces = "Namespaces"
|
|
412
412
|
}
|
|
413
413
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
414
|
-
export
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
export interface
|
|
428
|
-
|
|
429
|
-
active: boolean;
|
|
430
|
-
allowedDeploymentTypes: DeploymentAppTypes[] | null;
|
|
431
|
-
appCount: number;
|
|
432
|
-
cluster_id: number;
|
|
433
|
-
cluster_name: string;
|
|
434
|
-
default: boolean;
|
|
435
|
-
description: string;
|
|
436
|
-
environmentIdentifier: string;
|
|
437
|
-
environment_name: string;
|
|
438
|
-
isClusterCdActive: boolean;
|
|
439
|
-
isDigestEnforcedForEnv: boolean;
|
|
440
|
-
isVirtualEnvironment: boolean;
|
|
441
|
-
namespace: string;
|
|
414
|
+
export declare enum GitOpsAuthModeType {
|
|
415
|
+
SSH = "SSH",
|
|
416
|
+
PASSWORD = "PASSWORD",
|
|
417
|
+
SSH_AND_PASSWORD = "PAT_AND_SSH"
|
|
418
|
+
}
|
|
419
|
+
export interface BaseGitOpsType {
|
|
420
|
+
authMode: GitOpsAuthModeType;
|
|
421
|
+
sshKey: string;
|
|
422
|
+
sshHost: string;
|
|
423
|
+
username: string;
|
|
424
|
+
token: string;
|
|
425
|
+
}
|
|
426
|
+
export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';
|
|
427
|
+
export interface scrollableInterface {
|
|
428
|
+
autoBottomScroll: boolean;
|
|
442
429
|
}
|
|
443
430
|
export declare enum PromiseAllStatusType {
|
|
444
431
|
FULFILLED = "fulfilled",
|
|
445
432
|
REJECTED = "rejected"
|
|
446
433
|
}
|
|
447
|
-
export type ApiQueuingWithBatchResponseItem<T> = {
|
|
448
|
-
status: PromiseAllStatusType.FULFILLED;
|
|
449
|
-
value: T;
|
|
450
|
-
} | {
|
|
451
|
-
status: PromiseAllStatusType.REJECTED;
|
|
452
|
-
reason: ServerErrors;
|
|
453
|
-
};
|
|
454
|
-
export interface BatchConfigType {
|
|
455
|
-
lastIndex: number;
|
|
456
|
-
results: any[];
|
|
457
|
-
concurrentCount: number;
|
|
458
|
-
completedCalls: number;
|
|
459
|
-
}
|
|
460
|
-
export interface scrollableInterface {
|
|
461
|
-
autoBottomScroll: boolean;
|
|
462
|
-
}
|
|
463
434
|
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-
|
|
4
|
+
import { m as Ne } from "./index-ef2a9390.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-ef2a9390.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-ef2a9390.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-ef2a9390.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-ef2a9390.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|