@devtron-labs/devtron-fe-common-lib 0.2.7-beta-1 → 0.2.8-beta-1

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 (40) hide show
  1. package/dist/Pages/CDPipeline/index.d.ts +1 -0
  2. package/dist/Pages/CDPipeline/types.d.ts +84 -0
  3. package/dist/Pages/index.d.ts +1 -0
  4. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  5. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  6. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  7. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  8. package/dist/Shared/Components/CICDHistory/types.d.ts +18 -19
  9. package/dist/Shared/Components/CICDHistory/utils.d.ts +0 -1
  10. package/dist/Shared/Components/CommitChipCell/types.d.ts +1 -1
  11. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  12. package/dist/Shared/Components/ImageChipCell/types.d.ts +5 -13
  13. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +2 -3
  14. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +3 -0
  15. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +108 -0
  16. package/dist/Shared/Components/TabGroup/index.d.ts +2 -0
  17. package/dist/Shared/Components/index.d.ts +1 -1
  18. package/dist/Shared/Helpers.d.ts +0 -5
  19. package/dist/Shared/constants.d.ts +0 -3
  20. package/dist/Shared/types.d.ts +1 -0
  21. package/dist/assets/index.css +1 -1
  22. package/dist/{cssMode-2d35baf3.js → cssMode-865cd9aa.js} +1 -1
  23. package/dist/{freemarker2-801eccf9.js → freemarker2-6ebe8432.js} +1 -1
  24. package/dist/{handlebars-6e296d28.js → handlebars-b7faeee6.js} +1 -1
  25. package/dist/{html-4f435985.js → html-fe2f11b4.js} +1 -1
  26. package/dist/{htmlMode-f2200298.js → htmlMode-14fd66d2.js} +1 -1
  27. package/dist/{index-23d0960d.js → index-f088f721.js} +20683 -20624
  28. package/dist/index.js +203 -205
  29. package/dist/{javascript-275bb580.js → javascript-ec7e847a.js} +1 -1
  30. package/dist/{jsonMode-6da1b613.js → jsonMode-327213cb.js} +1 -1
  31. package/dist/{liquid-0076c56f.js → liquid-b9b5d544.js} +1 -1
  32. package/dist/{mdx-a22f2078.js → mdx-c3efbd06.js} +1 -1
  33. package/dist/{python-e377e35a.js → python-056b8010.js} +1 -1
  34. package/dist/{razor-2583e71e.js → razor-abeae3b8.js} +1 -1
  35. package/dist/{tsMode-078c6213.js → tsMode-aea366fd.js} +1 -1
  36. package/dist/{typescript-fe07d2c4.js → typescript-03aacbdb.js} +1 -1
  37. package/dist/{xml-b10e934c.js → xml-8904f0be.js} +1 -1
  38. package/dist/{yaml-70947680.js → yaml-e7fcdebe.js} +1 -1
  39. package/package.json +1 -1
  40. package/dist/Shared/Components/ShowMoreText/index.d.ts +0 -1
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,84 @@
1
+ import { BuildStageType, FormType } from '../../Common/CIPipeline.Types';
2
+ import { DeploymentAppTypes } from '../../Common/Types';
3
+ import { DeploymentStrategy } from '../../Shared/Components';
4
+ import { EnvListMinDTO } from '../../Shared/types';
5
+
6
+ interface ConfigSecretType {
7
+ label: string;
8
+ value: string;
9
+ type: string;
10
+ }
11
+ export interface Environment extends Pick<EnvListMinDTO, 'id' | 'active' | 'namespace' | 'isClusterCdActive'>, Partial<Pick<EnvListMinDTO, 'isVirtualEnvironment' | 'allowedDeploymentTypes' | 'description' | 'isDigestEnforcedForEnv'>> {
12
+ name: string;
13
+ clusterName: string;
14
+ clusterId: string;
15
+ }
16
+ export interface PipelineBuildStageType extends BuildStageType {
17
+ triggerType?: string;
18
+ }
19
+ export interface SavedDeploymentStrategy extends DeploymentStrategy {
20
+ isCollapsed?: boolean;
21
+ defaultConfig?: any;
22
+ yamlStr?: any;
23
+ jsonStr?: any;
24
+ }
25
+ export interface CustomTagType {
26
+ tagPattern: string;
27
+ counterX: string;
28
+ }
29
+ export declare enum ReleaseMode {
30
+ NEW_DEPLOYMENT = "create",
31
+ MIGRATE_HELM = "link"
32
+ }
33
+ export interface CDFormType {
34
+ name: string;
35
+ ciPipelineId: number;
36
+ environmentId: number;
37
+ environmentName: string;
38
+ namespace: string;
39
+ environments: Environment[];
40
+ deploymentAppType: string;
41
+ deploymentAppName?: string;
42
+ releaseMode: ReleaseMode;
43
+ triggerType: string;
44
+ preBuildStage?: PipelineBuildStageType;
45
+ postBuildStage?: PipelineBuildStageType;
46
+ strategies: DeploymentStrategy[];
47
+ savedStrategies: SavedDeploymentStrategy[];
48
+ preStageConfigMapSecretNames: {
49
+ configMaps: ConfigSecretType[];
50
+ secrets: ConfigSecretType[];
51
+ };
52
+ postStageConfigMapSecretNames: {
53
+ configMaps: ConfigSecretType[];
54
+ secrets: ConfigSecretType[];
55
+ };
56
+ requiredApprovals: string;
57
+ userApprovalConfig?: {
58
+ requiredCount: number;
59
+ };
60
+ isClusterCdActive: boolean;
61
+ deploymentAppCreated: boolean;
62
+ clusterId: string;
63
+ clusterName: string;
64
+ runPreStageInEnv: boolean;
65
+ runPostStageInEnv: boolean;
66
+ allowedDeploymentTypes: DeploymentAppTypes[];
67
+ containerRegistryName: string;
68
+ repoName: string;
69
+ selectedRegistry: any;
70
+ generatedHelmPushAction: string;
71
+ }
72
+ export interface PipelineFormType extends Partial<FormType>, Partial<CDFormType> {
73
+ name: string;
74
+ triggerType: string;
75
+ preBuildStage?: PipelineBuildStageType;
76
+ postBuildStage?: PipelineBuildStageType;
77
+ defaultTag?: string[];
78
+ customTag?: CustomTagType;
79
+ enableCustomTag?: boolean;
80
+ customTagStage?: string;
81
+ isDigestEnforcedForPipeline?: boolean;
82
+ isDigestEnforcedForEnv?: boolean;
83
+ }
84
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './GlobalConfigurations';
2
2
  export * from './ResourceBrowser';
3
+ export * from './CDPipeline';
@@ -1,5 +1,5 @@
1
1
  import { ArtifactType, CIListItemType } from './types';
2
2
 
3
3
  export declare const CIListItem: ({ type, userApprovalMetadata, triggeredBy, children, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, isSuperAdmin, promotionApprovalMetadata, appliedFiltersTimestamp, selectedEnvironmentName, renderCIListHeader, }: CIListItemType) => JSX.Element;
4
- declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, downloadArtifactUrl, ciPipelineId, artifactId, isJobView, isJobCI, imageComment, imageReleaseTags, type, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, rootClassName, renderCIListHeader, }: ArtifactType) => JSX.Element;
4
+ declare const Artifacts: ({ status, artifact, blobStorageEnabled, isArtifactUploaded, downloadArtifactUrl, ciPipelineId, artifactId, isJobView, isJobCI, imageComment, imageReleaseTags, type, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, jobCIClass, renderCIListHeader, }: ArtifactType) => JSX.Element;
5
5
  export default Artifacts;
@@ -1,4 +1,4 @@
1
1
  import { LogStageAccordionProps } from './types';
2
2
 
3
- declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, }: LogStageAccordionProps) => JSX.Element;
3
+ declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, }: LogStageAccordionProps) => JSX.Element;
4
4
  export default LogStageAccordion;
@@ -1,4 +1,4 @@
1
1
  import { LogsRendererType } from './types';
2
2
 
3
- export declare const LogsRenderer: ({ triggerDetails, isBlobStorageConfigured, parentType, fullScreenView, }: LogsRendererType) => JSX.Element;
3
+ export declare const LogsRenderer: ({ triggerDetails, isBlobStorageConfigured, parentType, }: LogsRendererType) => JSX.Element;
4
4
  export default LogsRenderer;
@@ -2,5 +2,5 @@ import { default as React } from 'react';
2
2
  import { TriggerDetailsType, TriggerOutputProps } from './types';
3
3
 
4
4
  export declare const TriggerDetails: React.MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, }: TriggerDetailsType) => JSX.Element>;
5
- declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, scrollToTop, scrollToBottom, }: TriggerOutputProps) => JSX.Element;
5
+ declare const TriggerOutput: ({ fullScreenView, triggerHistory, setTriggerHistory, setFullScreenView, setDeploymentHistoryList, deploymentHistoryList, deploymentAppType, isBlobStorageConfigured, appReleaseTags, tagsEditable, hideImageTaggingHardDelete, fetchIdData, setFetchTriggerIdData, selectedEnvironmentName, deploymentHistoryResult, renderRunSource, renderCIListHeader, renderDeploymentApprovalInfo, processVirtualEnvironmentDeploymentData, renderVirtualHistoryArtifacts, renderDeploymentHistoryTriggerMetaText, resourceId, }: TriggerOutputProps) => JSX.Element;
6
6
  export default TriggerOutput;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, useScrollable, SortingOrder } from '../../../Common';
2
+ import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, SortingOrder } from '../../../Common';
3
3
  import { DeploymentStageType } from '../../constants';
4
4
  import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
5
5
 
@@ -143,8 +143,12 @@ export interface CurrentStatusType {
143
143
  status: string;
144
144
  finishedOn: string;
145
145
  artifact: string;
146
+ message: string;
147
+ podStatus: string;
146
148
  stage: DeploymentStageType;
147
149
  type: HistoryComponentType;
150
+ isJobView?: boolean;
151
+ workerPodName?: string;
148
152
  }
149
153
  export interface StartDetailsType {
150
154
  startedOn: string;
@@ -180,8 +184,12 @@ export interface TriggerDetailsType {
180
184
  }
181
185
  export interface ProgressingStatusType {
182
186
  status: string;
187
+ message: string;
188
+ podStatus: string;
183
189
  stage: DeploymentStageType;
184
190
  type: HistoryComponentType;
191
+ finishedOn?: string;
192
+ workerPodName?: string;
185
193
  }
186
194
  export interface WorkerStatusType {
187
195
  message: string;
@@ -198,6 +206,12 @@ export interface FinishedType {
198
206
  }
199
207
  export interface TriggerDetailsStatusIconType {
200
208
  status: string;
209
+ isDeploymentWindowInfo?: boolean;
210
+ }
211
+ export interface LogsRendererType {
212
+ triggerDetails: History;
213
+ isBlobStorageConfigured: boolean;
214
+ parentType: HistoryComponentType;
201
215
  }
202
216
  export interface SyncStageResourceDetail {
203
217
  id: number;
@@ -316,21 +330,6 @@ export interface TriggerOutputProps extends RenderRunSourceType {
316
330
  deploymentHistoryResult: Pick<DeploymentHistoryResult, 'result'>;
317
331
  setFetchTriggerIdData: React.Dispatch<React.SetStateAction<FetchIdDataStatus>>;
318
332
  setTriggerHistory: React.Dispatch<React.SetStateAction<Map<Number, History>>>;
319
- scrollToTop: ReturnType<typeof useScrollable>[1];
320
- scrollToBottom: ReturnType<typeof useScrollable>[2];
321
- }
322
- export interface HistoryLogsProps extends Pick<TriggerOutputProps, 'scrollToTop' | 'scrollToBottom' | 'setFullScreenView' | 'deploymentHistoryList' | 'setDeploymentHistoryList' | 'deploymentAppType' | 'isBlobStorageConfigured' | 'appReleaseTags' | 'tagsEditable' | 'hideImageTaggingHardDelete' | 'selectedEnvironmentName' | 'processVirtualEnvironmentDeploymentData' | 'renderDeploymentApprovalInfo' | 'renderCIListHeader' | 'renderVirtualHistoryArtifacts' | 'fullScreenView'> {
323
- triggerDetails: History;
324
- loading: boolean;
325
- userApprovalMetadata: UserApprovalMetadataType;
326
- triggeredByEmail: string;
327
- artifactId: number;
328
- ciPipelineId: number;
329
- resourceId?: number;
330
- renderRunSource: (runSource: RunSourceType, isDeployedInThisResource: boolean) => JSX.Element;
331
- }
332
- export interface LogsRendererType extends Pick<HistoryLogsProps, 'fullScreenView' | 'triggerDetails' | 'isBlobStorageConfigured'> {
333
- parentType: HistoryComponentType;
334
333
  }
335
334
  export interface DeploymentStatusDetailBreakdownType {
336
335
  deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
@@ -483,7 +482,7 @@ export interface ArtifactType {
483
482
  appReleaseTagNames?: string[];
484
483
  tagsEditable?: boolean;
485
484
  hideImageTaggingHardDelete?: boolean;
486
- rootClassName?: string;
485
+ jobCIClass?: string;
487
486
  renderCIListHeader: (renderCIListHeaderProps: RenderCIListHeaderProps) => JSX.Element;
488
487
  }
489
488
  export interface CIListItemType extends Pick<GitChangesType, 'promotionApprovalMetadata' | 'selectedEnvironmentName'> {
@@ -525,7 +524,7 @@ export interface DeploymentHistory {
525
524
  runSource?: RunSourceType;
526
525
  }
527
526
  type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
528
- interface DeploymentStrategy {
527
+ export interface DeploymentStrategy {
529
528
  deploymentTemplate: DeploymentStrategyType;
530
529
  config: any;
531
530
  default: boolean;
@@ -605,7 +604,7 @@ export interface StageDetailType extends Pick<StageInfoDTO, 'stage' | 'startTime
605
604
  logs: string[];
606
605
  isOpen: boolean;
607
606
  }
608
- export interface LogStageAccordionProps extends StageDetailType, Pick<LogsRendererType, 'fullScreenView'> {
607
+ export interface LogStageAccordionProps extends StageDetailType {
609
608
  handleStageClose: (index: number) => void;
610
609
  handleStageOpen: (index: number) => void;
611
610
  stageIndex: number;
@@ -5,4 +5,3 @@ export declare const getParsedTriggerHistory: (result: any) => DeploymentHistory
5
5
  export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
6
6
  export declare const renderIcon: (iconState: string) => JSX.Element;
7
7
  export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
8
- export declare const getTriggerStatusIcon: (triggerDetailStatus: string) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { SyntheticEvent } from 'react';
2
2
 
3
3
  export interface CommitChipCellProps {
4
- handleClick?: (e: SyntheticEvent) => void;
4
+ handleClick: (e: SyntheticEvent) => void;
5
5
  commits?: string[];
6
6
  }
@@ -1,4 +1,4 @@
1
1
  import { ImageChipCellProps } from './types';
2
2
 
3
- declare const ImageChipCell: ({ imagePath, registryType, handleClick, isExpanded: isExpandedProp, placement, }: ImageChipCellProps) => JSX.Element;
3
+ declare const ImageChipCell: ({ handleClick, imagePath, isExpanded, registryType }: ImageChipCellProps) => JSX.Element;
4
4
  export default ImageChipCell;
@@ -1,17 +1,9 @@
1
- import { default as Tippy } from '@tippyjs/react';
2
- import { ComponentProps, SyntheticEvent } from 'react';
1
+ import { SyntheticEvent } from 'react';
3
2
  import { RegistryType } from '../../types';
4
3
 
5
- type ImageChipCellButtonActionProps = {
4
+ export interface ImageChipCellProps {
6
5
  handleClick: (e: SyntheticEvent) => void;
7
- isExpanded: boolean;
8
- } | {
9
- handleClick?: never;
10
- isExpanded?: never;
11
- };
12
- export type ImageChipCellProps = {
13
6
  imagePath: string;
14
- registryType?: RegistryType;
15
- placement?: ComponentProps<typeof Tippy>['placement'];
16
- } & ImageChipCellButtonActionProps;
17
- export {};
7
+ isExpanded: boolean;
8
+ registryType: RegistryType;
9
+ }
@@ -1,6 +1,5 @@
1
1
  interface ShowMoreTextProps {
2
2
  text: string;
3
- textClass?: string;
4
3
  }
5
- declare const ShowMoreText: ({ text, textClass }: ShowMoreTextProps) => JSX.Element;
6
- export default ShowMoreText;
4
+ export declare const ShowMoreText: ({ text }: ShowMoreTextProps) => JSX.Element;
5
+ export {};
@@ -0,0 +1,3 @@
1
+ import { TabGroupProps } from './TabGroup.types';
2
+
3
+ export declare const TabGroup: ({ tabs, size, rightComponent, alignActiveBorderWithContainer, hideTopPadding, }: TabGroupProps) => JSX.Element;
@@ -0,0 +1,108 @@
1
+ import { LinkProps, NavLinkProps } from 'react-router-dom';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { DataAttributes } from '../../types';
4
+
5
+ type TabComponentProps<TabTypeProps> = TabTypeProps & DataAttributes;
6
+ type ConditionalTabType = {
7
+ /**
8
+ * Type of the tab, either `button`, `link` or `navLink`.
9
+ */
10
+ tabType: 'button';
11
+ /**
12
+ * Props passed to button component.
13
+ */
14
+ props?: TabComponentProps<Omit<React.ComponentProps<'button'>, 'className' | 'style'>>;
15
+ /**
16
+ * Indicates if the tab is currently active.
17
+ */
18
+ active?: boolean;
19
+ } | {
20
+ /**
21
+ * Type of the tab, either `button`, `link` or `navLink`.
22
+ */
23
+ tabType: 'navLink';
24
+ /**
25
+ * Props passed to nav link component.
26
+ */
27
+ props: TabComponentProps<Omit<NavLinkProps, 'className' | 'style' | 'activeClassName'>>;
28
+ /**
29
+ * Active state is determined by matching the URL.
30
+ */
31
+ active?: false;
32
+ } | {
33
+ /**
34
+ * Type of the tab, either `button`, `link` or `navLink`.
35
+ */
36
+ tabType: 'link';
37
+ /**
38
+ * Props passed to link component.
39
+ */
40
+ props: TabComponentProps<Omit<LinkProps, 'className' | 'style'>>;
41
+ /**
42
+ * Indicates if the tab is currently active.
43
+ */
44
+ active?: boolean;
45
+ };
46
+ export type TabProps = {
47
+ /**
48
+ * Unique identifier for the tab.
49
+ */
50
+ id: string | number;
51
+ /**
52
+ * Text label for the tab.
53
+ */
54
+ label: string;
55
+ /**
56
+ * Icon component to be displayed in the tab.
57
+ * This should be a functional component that renders an SVG.
58
+ */
59
+ icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
60
+ /**
61
+ * Type of the icon, determining whether it uses a stroke or fill style.
62
+ */
63
+ iconType?: 'stroke' | 'fill';
64
+ /**
65
+ * Badge number to be displayed on the tab, typically for notifications.
66
+ */
67
+ badge?: number;
68
+ /**
69
+ * Indicates if an indicator should be shown on the tab.
70
+ */
71
+ showIndicator?: boolean;
72
+ /**
73
+ * Indicates if a warning state should be displayed on the tab.
74
+ * @note error state will take precedence over warning state.
75
+ */
76
+ showWarning?: boolean;
77
+ /**
78
+ * Indicates if an error state should be displayed on the tab.
79
+ * @note error state will take precedence over warning state.
80
+ */
81
+ showError?: boolean;
82
+ } & ConditionalTabType;
83
+ export interface TabGroupProps {
84
+ /**
85
+ * Array of tabs to be rendered.
86
+ */
87
+ tabs: TabProps[];
88
+ /**
89
+ * Size of the tabs.
90
+ * @default ComponentSizeType.large
91
+ */
92
+ size?: ComponentSizeType.large | ComponentSizeType.medium;
93
+ /**
94
+ * Optional component to be rendered on the right side of the tab list.
95
+ */
96
+ rightComponent?: React.ReactNode;
97
+ /**
98
+ * Set to `true` to align the active tab's border with the bottom border of the parent container.
99
+ * @default false
100
+ */
101
+ alignActiveBorderWithContainer?: boolean;
102
+ /**
103
+ * Determines if the top padding of the tab group should be hidden.
104
+ * @default false
105
+ */
106
+ hideTopPadding?: boolean;
107
+ }
108
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './TabGroup.component';
2
+ export * from './TabGroup.types';
@@ -32,9 +32,9 @@ export * from './IframeContainer';
32
32
  export * from './Plugin';
33
33
  export * from './KeyValueTable';
34
34
  export * from './SelectPicker';
35
- export * from './ShowMoreText';
36
35
  export * from './CollapsibleList';
37
36
  export * from './DeploymentConfigDiff';
38
37
  export * from './DetectBottom';
38
+ export * from './TabGroup';
39
39
  export * from './Collapse';
40
40
  export * from './FilterButton';
@@ -38,9 +38,4 @@ export declare const decode: (data: any, isEncoded?: boolean) => {};
38
38
  export declare const isTimeStringAvailable: (time: string) => boolean;
39
39
  export declare const getTimeDifference: (startTime: string, endTime: string) => string;
40
40
  export declare const getFileNameFromHeaders: (headers: Headers) => string;
41
- /**
42
- * @description - Function to open a new tab with the given url
43
- * @param url - url to be opened in new tab
44
- */
45
- export declare const getHandleOpenURL: (url: string) => () => void;
46
41
  export {};
@@ -347,9 +347,6 @@ export declare const statusColor: {
347
347
  unabletofetch: string;
348
348
  hibernating: string;
349
349
  };
350
- export declare const PULSATING_STATUS_MAP: {
351
- [key in keyof typeof statusColor]?: boolean;
352
- };
353
350
  export declare const APP_STATUS_HEADERS: string[];
354
351
  export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
355
352
  export declare const AppListConstants: {
@@ -566,4 +566,5 @@ export type BaseFilterQueryParams<T> = {
566
566
  */
567
567
  showAll?: boolean;
568
568
  } & SortingParams<T>;
569
+ export type DataAttributes = Record<`data-${string}`, unknown>;
569
570
  export {};