@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.
Files changed (36) hide show
  1. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  2. package/dist/Common/SortableTableHeaderCell/types.d.ts +0 -5
  3. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
  4. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
  5. package/dist/Shared/Components/index.d.ts +0 -1
  6. package/dist/Shared/Helpers.d.ts +1 -0
  7. package/dist/Shared/constants.d.ts +1 -0
  8. package/dist/Shared/index.d.ts +0 -1
  9. package/dist/Shared/types.d.ts +16 -45
  10. package/dist/{cssMode-07d7773b.js → cssMode-ca85ea2b.js} +1 -1
  11. package/dist/{freemarker2-38252b9d.js → freemarker2-cef65e07.js} +1 -1
  12. package/dist/{handlebars-933ed526.js → handlebars-8ef696cc.js} +1 -1
  13. package/dist/{html-98cdc8f3.js → html-4b227a05.js} +1 -1
  14. package/dist/{htmlMode-347a2681.js → htmlMode-e058165f.js} +1 -1
  15. package/dist/{index-9369744f.js → index-ef2a9390.js} +15942 -16048
  16. package/dist/index.d.ts +0 -1
  17. package/dist/index.js +181 -180
  18. package/dist/{javascript-1c94db42.js → javascript-ce228b1b.js} +1 -1
  19. package/dist/{jsonMode-9888b5f5.js → jsonMode-b755564d.js} +1 -1
  20. package/dist/{liquid-7f732582.js → liquid-edc795e4.js} +1 -1
  21. package/dist/{mdx-bcbbf051.js → mdx-d4897164.js} +1 -1
  22. package/dist/{python-ccf185f2.js → python-498d4d83.js} +1 -1
  23. package/dist/{razor-ba6ad09d.js → razor-f688b99c.js} +1 -1
  24. package/dist/{tsMode-0d8e3cff.js → tsMode-bf7c4f29.js} +1 -1
  25. package/dist/{typescript-ba44fc90.js → typescript-cbfa06bd.js} +1 -1
  26. package/dist/{xml-bd46f314.js → xml-4b579586.js} +1 -1
  27. package/dist/{yaml-02afcbbb.js → yaml-8a037691.js} +1 -1
  28. package/package.json +1 -1
  29. package/dist/Shared/API/APIQueuing.d.ts +0 -11
  30. package/dist/Shared/API/index.d.ts +0 -1
  31. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +0 -4
  32. package/dist/Shared/Components/EnvironmentSelector/constants.d.ts +0 -5
  33. package/dist/Shared/Components/EnvironmentSelector/index.d.ts +0 -1
  34. package/dist/Shared/Components/EnvironmentSelector/service.d.ts +0 -3
  35. package/dist/Shared/Components/EnvironmentSelector/types.d.ts +0 -27
  36. 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, isSortable, }: SortableTableHeaderCellProps) => JSX.Element;
17
+ declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, }: SortableTableHeaderCellProps) => JSX.Element;
18
18
  export default SortableTableHeaderCell;
@@ -23,9 +23,4 @@ export interface SortableTableHeaderCellProps {
23
23
  * If true, the cell is disabled
24
24
  */
25
25
  disabled: boolean;
26
- /**
27
- * If false, the cell acts like normal table header cell
28
- * @default true
29
- */
30
- isSortable?: boolean;
31
26
  }
@@ -12,6 +12,4 @@ export declare const unitSelectorStyles: () => {
12
12
  loadingMessage: (base: any) => any;
13
13
  noOptionsMessage: (base: any) => any;
14
14
  placeholder: (base: any) => any;
15
- group: (base: any) => any;
16
- groupHeading: (base: any) => any;
17
15
  };
@@ -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';
@@ -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"
@@ -6,4 +6,3 @@ export * from './Providers';
6
6
  export * from './constants';
7
7
  export * from './Store';
8
8
  export * from './Hooks';
9
- export * from './API';
@@ -1,5 +1,5 @@
1
1
  import { PatchOperationType } from './constants';
2
- import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType, DeploymentAppTypes, ServerErrors } from '../Common';
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 interface AppInfoListType {
415
- application: string;
416
- appStatus: string;
417
- deploymentStatus: string;
418
- lastDeployed: string;
419
- lastDeployedImage?: string;
420
- lastDeployedBy?: string;
421
- appId: number;
422
- envId: number;
423
- pipelineId?: number;
424
- commits?: string[];
425
- ciArtifactId?: number;
426
- }
427
- export interface EnvListMinDTO {
428
- id: number;
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-9369744f.js";
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-9369744f.js";
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-9369744f.js";
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-9369744f.js";
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-9369744f.js";
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)