@devtron-labs/devtron-fe-common-lib 0.0.84-beta-4 → 0.0.84-beta-6

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 (86) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/AppStatus/constants.d.ts +20 -0
  3. package/dist/Common/AppStatus/index.d.ts +0 -1
  4. package/dist/Common/Constants.d.ts +0 -19
  5. package/dist/Common/Dialogs/Types.d.ts +17 -2
  6. package/dist/Common/Helper.d.ts +0 -8
  7. package/dist/Common/Hooks/useStateFilters/types.d.ts +1 -1
  8. package/dist/Common/Modals/Modal.d.ts +3 -0
  9. package/dist/Common/Modals/OpaqueModal.d.ts +3 -0
  10. package/dist/Common/Pagination/index.d.ts +0 -1
  11. package/dist/Common/PopupMenu.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +1 -0
  13. package/dist/Common/index.d.ts +0 -1
  14. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +4 -0
  15. package/dist/Shared/Components/ImageWithFallback/index.d.ts +2 -0
  16. package/dist/Shared/Components/ImageWithFallback/types.d.ts +12 -0
  17. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +4 -0
  18. package/dist/Shared/Components/ModalSidebarPanel/index.d.ts +2 -0
  19. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +9 -0
  20. package/dist/Shared/Components/index.d.ts +2 -3
  21. package/dist/Shared/Helpers.d.ts +3 -6
  22. package/dist/Shared/Services/cluster.service.d.ts +3 -0
  23. package/dist/Shared/Services/index.d.ts +2 -0
  24. package/dist/Shared/Services/mock.d.ts +3 -0
  25. package/dist/Shared/Services/types.d.ts +4 -0
  26. package/dist/Shared/constants.d.ts +3 -299
  27. package/dist/Shared/index.d.ts +2 -1
  28. package/dist/Shared/types.d.ts +72 -199
  29. package/dist/Shared/validations.d.ts +4 -0
  30. package/dist/assets/index.css +1 -1
  31. package/dist/{cssMode-9390463e.js → cssMode-470a4d39.js} +1 -1
  32. package/dist/{freemarker2-45d9c87f.js → freemarker2-4b4a9677.js} +1 -1
  33. package/dist/{handlebars-0272cb91.js → handlebars-1dec518f.js} +1 -1
  34. package/dist/{html-f8322193.js → html-f35d75b9.js} +1 -1
  35. package/dist/{htmlMode-5eeed339.js → htmlMode-144f09d8.js} +1 -1
  36. package/dist/{index-3fdc8a6f.js → index-2de25627.js} +114628 -119531
  37. package/dist/index.js +330 -398
  38. package/dist/{javascript-08bc2f30.js → javascript-f39ff8ef.js} +1 -1
  39. package/dist/{jsonMode-4272a3ca.js → jsonMode-fa82b1a7.js} +1 -1
  40. package/dist/{liquid-ab223e02.js → liquid-954b0baa.js} +1 -1
  41. package/dist/{mdx-f3b3175b.js → mdx-c8f0533c.js} +1 -1
  42. package/dist/{python-fe4d4e69.js → python-0cf141be.js} +1 -1
  43. package/dist/{razor-37067534.js → razor-842ec90b.js} +1 -1
  44. package/dist/{tsMode-6ca5922c.js → tsMode-cb014fb6.js} +1 -1
  45. package/dist/{typescript-5a0fc241.js → typescript-913c30c2.js} +1 -1
  46. package/dist/{xml-1dbfa98d.js → xml-55c8215c.js} +1 -1
  47. package/dist/{yaml-527abc47.js → yaml-04c179da.js} +1 -1
  48. package/package.json +15 -17
  49. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -4
  50. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +0 -5
  51. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +0 -14
  52. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +0 -11
  53. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +0 -4
  54. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -4
  55. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -4
  56. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -4
  57. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -4
  58. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -4
  59. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/index.d.ts +0 -3
  60. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -36
  61. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +0 -11
  62. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +0 -4
  63. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +0 -3
  64. package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +0 -4
  65. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -3
  66. package/dist/Shared/Components/CICDHistory/History.components.d.ts +0 -5
  67. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +0 -4
  68. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +0 -5
  69. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +0 -3
  70. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +0 -6
  71. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -45
  72. package/dist/Shared/Components/CICDHistory/index.d.ts +0 -17
  73. package/dist/Shared/Components/CICDHistory/service.d.ts +0 -28
  74. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -588
  75. package/dist/Shared/Components/CICDHistory/utils.d.ts +0 -4
  76. package/dist/Shared/Components/Error/ErrorBar.d.ts +0 -4
  77. package/dist/Shared/Components/Error/index.d.ts +0 -2
  78. package/dist/Shared/Components/Error/types.d.ts +0 -9
  79. package/dist/Shared/Components/Error/utils.d.ts +0 -3
  80. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +0 -4
  81. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +0 -9
  82. package/dist/Shared/Components/GitCommitInfoGeneric/index.d.ts +0 -1
  83. package/dist/Shared/Components/GitCommitInfoGeneric/types.d.ts +0 -11
  84. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +0 -5
  85. package/dist/Shared/Store/IndexStore.d.ts +0 -48
  86. package/dist/Shared/Store/index.d.ts +0 -1
@@ -13,4 +13,4 @@ export declare const abortPreviousRequests: <T>(callback: () => Promise<T>, abor
13
13
  /**
14
14
  * Returns true if the error is due to a aborted request
15
15
  */
16
- export declare const getIsRequestAborted: (error: any) => any;
16
+ export declare const getIsRequestAborted: (error: any) => boolean;
@@ -28,4 +28,24 @@ export declare const StatusConstants: {
28
28
  normalCase: string;
29
29
  };
30
30
  };
31
+ export declare enum TIMELINE_STATUS {
32
+ DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
33
+ GIT_COMMIT = "GIT_COMMIT",
34
+ GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
35
+ KUBECTL_APPLY = "KUBECTL_APPLY",
36
+ KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
37
+ KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
38
+ HEALTHY = "HEALTHY",
39
+ APP_HEALTH = "APP_HEALTH",
40
+ DEPLOYMENT_FAILED = "FAILED",
41
+ FETCH_TIMED_OUT = "TIMED_OUT",
42
+ UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
43
+ DEGRADED = "DEGRADED",
44
+ DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
45
+ ABORTED = "ABORTED",
46
+ INPROGRESS = "INPROGRESS",
47
+ HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
48
+ HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
49
+ HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
50
+ }
31
51
  export declare const YET_TO_RUN = "Yet to run";
@@ -1,2 +1 @@
1
1
  export { default as AppStatus } from './AppStatus';
2
- export * from './utils';
@@ -7,7 +7,6 @@ export declare const DISCORD_LINK = "https://discord.devtron.ai/";
7
7
  export declare const DOCUMENTATION: {
8
8
  APP_TAGS: string;
9
9
  APP_OVERVIEW_TAGS: string;
10
- BLOB_STORAGE: string;
11
10
  };
12
11
  export declare const PATTERNS: {
13
12
  KUBERNETES_KEY_PREFIX: RegExp;
@@ -30,23 +29,12 @@ export declare const URLS: {
30
29
  LOGS: string;
31
30
  CREATE: string;
32
31
  RELEASES: string;
33
- DEVTRON_CHARTS: string;
34
- APP_DEPLOYMNENT_HISTORY: string;
35
- APP_DETAILS: string;
36
- APP_DETAILS_K8: string;
37
- DETAILS: string;
38
- CD_DETAILS: string;
39
- APP_TRIGGER: string;
40
- GLOBAL_CONFIG_DOCKER: string;
41
- DEPLOYMENT_HISTORY_CONFIGURATIONS: string;
42
32
  };
43
33
  export declare const ROUTES: {
44
- APP: string;
45
34
  APP_ARTIFACT_PROMOTE_MATERIAL: string;
46
35
  PROJECT_LIST_MIN: string;
47
36
  USER_CHECK_ROLE: string;
48
37
  IMAGE_TAGGING: string;
49
- CI_CONFIG_GET: string;
50
38
  CD_MATERIAL_GET: string;
51
39
  DEPLOYMENT_TEMPLATE_LIST: string;
52
40
  INFRA_CONFIG_PROFILE: string;
@@ -65,13 +53,6 @@ export declare const ROUTES: {
65
53
  CLUSTER_NOTE: string;
66
54
  APPLICATION_NOTE: string;
67
55
  GIT_HOST_EVENT: string;
68
- HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP: string;
69
- DEPLOYMENT_STATUS: string;
70
- MANUAL_SYNC: string;
71
- CD_CONFIG: string;
72
- CONFIG_CD_PIPELINE: string;
73
- MODULE_CONFIGURED: string;
74
- RESOURCE_HISTORY_DEPLOYMENT: string;
75
56
  };
76
57
  export declare enum KEY_VALUE {
77
58
  KEY = "key",
@@ -1,6 +1,19 @@
1
1
  import { ReactNode } from 'react';
2
2
 
3
- export interface DeleteDialogProps {
3
+ type WithOrWithoutDeleteConfirmationType = {
4
+ showDeleteConfirmation: true;
5
+ /**
6
+ * If added, confirmation input is shown
7
+ */
8
+ deleteConfirmationText: string;
9
+ } | {
10
+ showDeleteConfirmation?: never;
11
+ /**
12
+ * If added, confirmation input is shown
13
+ */
14
+ deleteConfirmationText?: never;
15
+ };
16
+ export type DeleteDialogProps = {
4
17
  title: string;
5
18
  description?: string;
6
19
  closeDelete: () => void;
@@ -12,7 +25,8 @@ export interface DeleteDialogProps {
12
25
  buttonPrimaryText?: string;
13
26
  shouldStopPropagation?: boolean;
14
27
  disabled?: boolean;
15
- }
28
+ children?: ReactNode;
29
+ } & WithOrWithoutDeleteConfirmationType;
16
30
  export interface ForceDeleteDialogType {
17
31
  onClickDelete: () => void;
18
32
  closeDeleteModal: () => void;
@@ -44,3 +58,4 @@ export interface DialogFormProps {
44
58
  onSave: (event: any) => void;
45
59
  headerClassName?: string;
46
60
  }
61
+ export {};
@@ -1,4 +1,3 @@
1
- import { scrollableInterface } from '../Shared';
2
1
  import { AsyncOptions, UseSearchString } from './Types';
3
2
  import { default as React, SyntheticEvent } from 'react';
4
3
 
@@ -87,12 +86,5 @@ export declare const compareObjectLength: (objA: any, objB: any) => boolean;
87
86
  * Return deep copy of the object
88
87
  */
89
88
  export declare function deepEqual(configA: any, configB: any): boolean;
90
- export declare function shallowEqual(objA: any, objB: any): boolean;
91
- export declare function useInterval(callback: any, delay: any): void;
92
- export declare function useScrollable(options: scrollableInterface): ((e: any) => void)[];
93
- export declare function useKeyDown(): any[];
94
- export declare const DropdownIndicator: (props: any) => JSX.Element;
95
- export declare function mapByKey<T = Map<any, any>>(arr: any[], id: string): T;
96
- export declare function asyncWrap(promise: any): any[];
97
89
  export declare const prefixZeroIfSingleDigit: (value?: number) => string | number;
98
90
  export {};
@@ -2,5 +2,5 @@ import { UseUrlFiltersProps, UseUrlFiltersReturnType } from '../useUrlFilters';
2
2
 
3
3
  export interface UseStateFiltersProps<T> extends Pick<UseUrlFiltersProps<T, never>, 'initialSortKey'> {
4
4
  }
5
- export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters'> {
5
+ export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'searchKey' | 'handleSearch'> {
6
6
  }
@@ -1,4 +1,7 @@
1
1
  import { ModalType } from '../Types';
2
2
  import { default as React } from 'react';
3
3
 
4
+ /**
5
+ * @deprecated Use VisibleModal instead
6
+ */
4
7
  export declare const Modal: ({ style, children, modal, rootClassName, onClick, callbackRef, preventWheelDisable, noBackDrop, }: ModalType) => React.ReactPortal;
@@ -5,6 +5,9 @@ export interface OpaqueModalProps {
5
5
  onHide?: any;
6
6
  noBackground?: boolean;
7
7
  }
8
+ /**
9
+ * @deprecated Use VisibleModal instead
10
+ */
8
11
  export declare class OpaqueModal extends React.Component<OpaqueModalProps> {
9
12
  modalRef: HTMLElement;
10
13
  componentDidMount(): void;
@@ -1,2 +1 @@
1
1
  export { default as Pagination } from './Pagination';
2
- export type { PaginationProps } from './types';
@@ -1,7 +1,7 @@
1
1
  import { PopupMenuBodyType, PopupMenuButtonType, PopupMenuType } from './Types';
2
2
 
3
3
  declare const PopupMenu: {
4
- ({ children, onToggleCallback, autoClose, autoPosition, }: PopupMenuType): any;
4
+ ({ children, onToggleCallback, autoClose, autoPosition, shouldPreventDefault }: PopupMenuType): any;
5
5
  Button: ({ children, disabled, rootClassName, tabIndex, onHover, isKebab, dataTestId, }: PopupMenuButtonType) => JSX.Element;
6
6
  Body: ({ children, rootClassName, style, autoWidth, preventWheelDisable, noBackDrop, }: PopupMenuBodyType) => JSX.Element;
7
7
  };
@@ -213,6 +213,7 @@ export interface PopupMenuType {
213
213
  onToggleCallback?: (isOpen: boolean) => void;
214
214
  autoClose?: boolean;
215
215
  autoPosition?: boolean;
216
+ shouldPreventDefault?: boolean;
216
217
  }
217
218
  export interface PopupMenuButtonType {
218
219
  children?: ReactNode;
@@ -55,4 +55,3 @@ export * from './Markdown';
55
55
  export * from './GenericDescription';
56
56
  export * from './SegmentedBarChart';
57
57
  export * from './CodeEditor';
58
- export * from './AppStatus';
@@ -0,0 +1,4 @@
1
+ import { ImageWithFallbackProps } from './types';
2
+
3
+ declare const ImageWithFallback: ({ imageProps, fallbackImage }: ImageWithFallbackProps) => JSX.Element;
4
+ export default ImageWithFallback;
@@ -0,0 +1,2 @@
1
+ export { default as ImageWithFallback } from './ImageWithFallback.component';
2
+ export type { ImageWithFallbackProps } from './types';
@@ -0,0 +1,12 @@
1
+ import { ImgHTMLAttributes } from 'react';
2
+
3
+ export interface ImageWithFallbackProps {
4
+ /**
5
+ * Props for the image
6
+ */
7
+ imageProps: ImgHTMLAttributes<HTMLImageElement>;
8
+ /**
9
+ * Fallback image; can be a url or a jsx element
10
+ */
11
+ fallbackImage: string | JSX.Element;
12
+ }
@@ -0,0 +1,4 @@
1
+ import { ModalSidebarPanelProps } from './types';
2
+
3
+ declare const ModalSidebarPanel: ({ rootClassName, heading, icon, children, documentationLink, }: ModalSidebarPanelProps) => JSX.Element;
4
+ export default ModalSidebarPanel;
@@ -0,0 +1,2 @@
1
+ export { default as ModalSidebarPanel } from './ModalSidebarPanel.component';
2
+ export type { ModalSidebarPanelProps } from './types';
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export interface ModalSidebarPanelProps {
4
+ rootClassName?: string;
5
+ heading: string;
6
+ icon?: JSX.Element;
7
+ children?: ReactNode;
8
+ documentationLink: string;
9
+ }
@@ -17,6 +17,5 @@ export * from './Header';
17
17
  export * from './AnnouncementBanner';
18
18
  export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
- export * from './CICDHistory';
21
- export * from './GitCommitInfoGeneric';
22
- export * from './Error';
20
+ export * from './ModalSidebarPanel';
21
+ export * from './ImageWithFallback';
@@ -1,6 +1,6 @@
1
- import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
2
- import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
1
+ import { GitTriggers, WebhookEventNameType } from './types';
3
2
  import { MaterialInfo, SortingOrder } from '../Common';
3
+ import { ReactElement } from 'react';
4
4
 
5
5
  interface HighlightSearchTextProps {
6
6
  /**
@@ -23,10 +23,7 @@ export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTrigge
23
23
  export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrder?: SortingOrder, isCaseSensitive?: boolean) => number;
24
24
  export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
25
25
  export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
26
- export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
27
26
  export declare const isNullOrUndefined: (value: unknown) => boolean;
28
27
  export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
29
- export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
30
- export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
31
- export declare const decode: (data: any, isEncoded?: boolean) => {};
28
+ export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
32
29
  export {};
@@ -0,0 +1,3 @@
1
+ import { ClusterType } from './types';
2
+
3
+ export declare const getClusterList: () => Promise<ClusterType[]>;
@@ -0,0 +1,2 @@
1
+ export * from './cluster.service';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import { ClusterType } from './types';
2
+
3
+ export declare const clusterListData: ClusterType[];
@@ -0,0 +1,4 @@
1
+ export interface ClusterType {
2
+ id: number;
3
+ name: string;
4
+ }
@@ -43,303 +43,7 @@ export declare enum DeploymentWithConfigType {
43
43
  LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG",
44
44
  SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG"
45
45
  }
46
- export declare enum TIMELINE_STATUS {
47
- DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
48
- GIT_COMMIT = "GIT_COMMIT",
49
- GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
50
- ARGOCD_SYNC = "ARGOCD_SYNC",
51
- ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED",
52
- KUBECTL_APPLY = "KUBECTL_APPLY",
53
- KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
54
- KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
55
- HEALTHY = "HEALTHY",
56
- APP_HEALTH = "APP_HEALTH",
57
- DEPLOYMENT_FAILED = "FAILED",
58
- FETCH_TIMED_OUT = "TIMED_OUT",
59
- UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
60
- DEGRADED = "DEGRADED",
61
- DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
62
- ABORTED = "ABORTED",
63
- INPROGRESS = "INPROGRESS",
64
- HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
65
- HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
66
- HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
46
+ export declare enum EnvironmentTypeEnum {
47
+ production = "Production",
48
+ nonProduction = "Non-Production"
67
49
  }
68
- export declare const EMPTY_STATE_STATUS: {
69
- DATA_NOT_AVAILABLE: string;
70
- API_TOKEN: {
71
- TITLE: string;
72
- SUBTITLE: string;
73
- };
74
- ARTIFACTS_EMPTY_STATE_TEXTS: {
75
- NoFilesFound: string;
76
- BlobStorageNotConfigured: string;
77
- StoreFiles: string;
78
- ConfigureBlobStorage: string;
79
- NoFilesGenerated: string;
80
- NoArtifactsGenerated: string;
81
- NoArtifactsError: string;
82
- FailedToFetchArtifacts: string;
83
- FailedToFetchArtifactsError: string;
84
- NoArtifactsFound: string;
85
- NoArtifactsFoundError: string;
86
- };
87
- CI_BUILD_HISTORY_PIPELINE_TRIGGER: {
88
- TITLE: string;
89
- SUBTITLE: string;
90
- };
91
- CI_BUILD_HISTORY_LINKED_PIPELINE: {
92
- TITLE: string;
93
- SUBTITLE: string;
94
- };
95
- CI_BUILD_HISTORY_NO_PIPELINE: {
96
- TITLE: string;
97
- SUBTITLE: string;
98
- };
99
- CI_DEATILS_NO_VULNERABILITY_FOUND: {
100
- TITLE: string;
101
- SUBTITLE: string;
102
- };
103
- CI_DETAILS_IMAGE_SCANNED_DISABLED: string;
104
- CI_DETAILS_IMAGE_NOT_SCANNED: {
105
- TITLE: string;
106
- SUBTITLE: string;
107
- };
108
- CD_DETAILS_NO_ENVIRONMENT: {
109
- TITLE: string;
110
- SUBTITLE: string;
111
- };
112
- CD_DETAILS_NO_DEPLOYMENT: {
113
- TITLE: string;
114
- SUBTITLE: string;
115
- };
116
- CHART: {
117
- NO_SOURCE_TITLE: string;
118
- NO_CHART_FOUND: string;
119
- };
120
- CHART_DEPLOYMENT_HISTORY: {
121
- SUBTITLE: string;
122
- };
123
- CHART_GROUP_DEPLOYMENT: {
124
- TITLE: string;
125
- SUBTITLE: string;
126
- };
127
- DEPLOYMENT_DETAILS_SETPS_FAILED: {
128
- TITLE: string;
129
- SUBTITLE: string;
130
- };
131
- DEPLOYMENT_DETAILS_SETPS_PROGRESSING: {
132
- TITLE: string;
133
- SUBTITLE: string;
134
- };
135
- DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE: {
136
- SUBTITLE: string;
137
- };
138
- DEPLOYMENT_HISTORY_CONFIG_LIST: {
139
- SUBTITLE: string;
140
- };
141
- GENERATE_API_TOKEN: {
142
- TITLE: string;
143
- SUBTITLE: string;
144
- };
145
- TRIGGER_URL: {
146
- TITLE: string;
147
- SUBTITLE: string;
148
- };
149
- CD_EMPTY_STATE: {
150
- TITLE: string;
151
- SUBTITLE: string;
152
- };
153
- CI_PROGRESS_VIEW: {
154
- TITLE: string;
155
- SUBTITLE: string;
156
- };
157
- RENDER_EMPTY_STATE: {
158
- TITILE: string;
159
- SUBTITLE: string;
160
- };
161
- RENDER_NO_ENVIORNMENT_STATE: {
162
- TITLE: string;
163
- SUBTITLE: string;
164
- };
165
- RENDER_SELECT_ENVIRONMENT_VIEW: {
166
- TITLE: string;
167
- SUBTITLE: string;
168
- };
169
- SAVED_VALUES_EMPTY_STATE: {
170
- TITLE: string;
171
- SUBTITLE: string;
172
- };
173
- LOADING_CLUSTER: {
174
- TITLE: string;
175
- SUBTITLE: string;
176
- };
177
- NO_MATCHING_RESULT: {
178
- TITLE: string;
179
- SUBTITLE: string;
180
- };
181
- CLUSTER_NODE_EMPTY_STATE: {
182
- TITLE: string;
183
- SUBTITLE: string;
184
- };
185
- CHART_EMPTY_STATE: {
186
- TITLE: string;
187
- SUBTITLE: string;
188
- };
189
- CHART_VALUES_GUIT_VIEW: {
190
- SUBTITLE: string;
191
- };
192
- DEVTRON_STACK_MANAGER: {
193
- TITLE: string;
194
- SUBTITLE: string;
195
- };
196
- NO_GROUPS: {
197
- TITLE: string;
198
- SUBTITLE: string;
199
- };
200
- NO_USER: {
201
- TITLE: string;
202
- SUBTITLE: string;
203
- };
204
- RENDER_LIST: {
205
- SUBTITLE: string;
206
- };
207
- CUSTOM_CHART_LIST: {
208
- TITLE: string;
209
- };
210
- BULK_ACTION_EDITS: {
211
- TITLE: string;
212
- SUBTITLE: string;
213
- };
214
- SECURITY_SCANS: {
215
- TITLE: string;
216
- SUBTITLE: string;
217
- };
218
- NOTIFICATION_TAB: {
219
- TITLE: string;
220
- SUBTITL: string;
221
- };
222
- CONFIGURATION_TAB: {
223
- TITLE: string;
224
- };
225
- EXTERNAL_LINK_COMPONENT: {
226
- TITLE: string;
227
- SUBTITLE: string;
228
- };
229
- CD_MATERIAL: {
230
- TITLE: string;
231
- };
232
- CI_DETAILS_NOT_FOUND: {
233
- TITLE: string;
234
- SUBTITLE: string;
235
- };
236
- TRIGGER_NOT_FOUND: {
237
- TITLE: string;
238
- SUBTITLE: string;
239
- };
240
- OVERVIEW: {
241
- DEPLOYMENT_TITLE: string;
242
- DEPLOYMENT_SUB_TITLE: string;
243
- APP_DESCRIPTION: string;
244
- JOB_DESCRIPTION: string;
245
- };
246
- };
247
- export declare const DEPLOYMENT_HISTORY_CONFIGURATION_LIST_MAP: {
248
- DEPLOYMENT_TEMPLATE: {
249
- DISPLAY_NAME: string;
250
- VALUE: string;
251
- };
252
- PIPELINE_STRATEGY: {
253
- DISPLAY_NAME: string;
254
- VALUE: string;
255
- };
256
- CONFIGMAP: {
257
- DISPLAY_NAME: string;
258
- VALUE: string;
259
- };
260
- SECRET: {
261
- DISPLAY_NAME: string;
262
- VALUE: string;
263
- };
264
- };
265
- export declare const EXTERNAL_TYPES: {
266
- [x: string]: {
267
- '': string;
268
- KubernetesSecret: string;
269
- AWSSecretsManager: string;
270
- AWSSystemManager: string;
271
- HashiCorpVault: string;
272
- ESO_HashiCorpVault: string;
273
- ESO_AWSSecretsManager: string;
274
- ESO_GoogleSecretsManager: string;
275
- ESO_AzureSecretsManager: string;
276
- KubernetesConfigMap?: undefined;
277
- } | {
278
- '': string;
279
- KubernetesConfigMap: string;
280
- KubernetesSecret?: undefined;
281
- AWSSecretsManager?: undefined;
282
- AWSSystemManager?: undefined;
283
- HashiCorpVault?: undefined;
284
- ESO_HashiCorpVault?: undefined;
285
- ESO_AWSSecretsManager?: undefined;
286
- ESO_GoogleSecretsManager?: undefined;
287
- ESO_AzureSecretsManager?: undefined;
288
- };
289
- };
290
- export declare const DEPLOYMENT_STATUS: {
291
- readonly SUCCEEDED: "succeeded";
292
- readonly HEALTHY: "healthy";
293
- readonly FAILED: "failed";
294
- readonly TIMED_OUT: "timed_out";
295
- readonly UNABLE_TO_FETCH: "unable_to_fetch";
296
- readonly INPROGRESS: "inprogress";
297
- readonly PROGRESSING: "progressing";
298
- readonly STARTING: "starting";
299
- readonly INITIATING: "initiating";
300
- readonly SUPERSEDED: "superseded";
301
- readonly QUEUED: "queued";
302
- readonly UNKNOWN: "unknown";
303
- readonly CHECKING: "checking";
304
- };
305
- export declare const statusIcon: {
306
- failed: string;
307
- queued: string;
308
- suspended: string;
309
- starting: string;
310
- initiating: string;
311
- unknown: string;
312
- degraded: string;
313
- healthy: string;
314
- notdeployed: string;
315
- missing: string;
316
- progressing: string;
317
- deploymentinitiated: string;
318
- hibernating: string;
319
- succeeded: string;
320
- timedout: string;
321
- unabletofetch: string;
322
- };
323
- export declare const statusColor: {
324
- suspended: string;
325
- unknown: string;
326
- queued: string;
327
- degraded: string;
328
- healthy: string;
329
- notdeployed: string;
330
- missing: string;
331
- progressing: string;
332
- initiating: string;
333
- starting: string;
334
- succeeded: string;
335
- running: string;
336
- failed: string;
337
- error: string;
338
- cancelled: string;
339
- aborted: string;
340
- timedout: string;
341
- unabletofetch: string;
342
- hibernating: string;
343
- };
344
- export declare const APP_STATUS_HEADERS: string[];
345
- export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
@@ -1,7 +1,8 @@
1
1
  export * from './Components';
2
2
  export * from './validations';
3
3
  export * from './Helpers';
4
+ export * from './constants';
4
5
  export * from './types';
5
6
  export * from './Providers';
6
7
  export * from './constants';
7
- export * from './Store';
8
+ export * from './Services';