@devtron-labs/devtron-fe-common-lib 0.1.15-beta-3 → 0.1.15-beta-4
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 +0 -5
- package/dist/Common/Types.d.ts +1 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +3 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +3 -0
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +96 -0
- package/dist/Shared/Components/CollapsibleList/index.d.ts +2 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +3 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +3 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +3 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +3 -0
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +2 -0
- package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +63 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +22 -0
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +23 -1
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +10 -0
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/Shared/Helpers.d.ts +2 -0
- package/dist/Shared/constants.d.ts +1 -26
- package/dist/Shared/types.d.ts +1 -9
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-058ab96c.js → cssMode-61d7a0cd.js} +1 -1
- package/dist/{freemarker2-64197048.js → freemarker2-64c02cde.js} +1 -1
- package/dist/{handlebars-90c1751f.js → handlebars-44b6b1bc.js} +1 -1
- package/dist/{html-c30667e4.js → html-bd84b6a4.js} +1 -1
- package/dist/{htmlMode-7a8b50c7.js → htmlMode-68e04c6e.js} +1 -1
- package/dist/{index-e2376136.js → index-db0ae279.js} +25331 -24877
- package/dist/index.d.ts +1 -2
- package/dist/index.js +433 -430
- package/dist/{javascript-df1177dd.js → javascript-1c9f10cf.js} +1 -1
- package/dist/{jsonMode-eb5f0a08.js → jsonMode-9b302c20.js} +1 -1
- package/dist/{liquid-4d1dbabc.js → liquid-1024c091.js} +1 -1
- package/dist/{mdx-a79fb1a5.js → mdx-daae2fbc.js} +1 -1
- package/dist/{python-d2ee4285.js → python-e00edc77.js} +1 -1
- package/dist/{razor-4a83f7e4.js → razor-c116a2cd.js} +1 -1
- package/dist/{tsMode-6ddb6fc9.js → tsMode-2f26913f.js} +1 -1
- package/dist/{typescript-5844ed4e.js → typescript-82427860.js} +1 -1
- package/dist/{xml-bd63fabc.js → xml-13708bdd.js} +1 -1
- package/dist/{yaml-111cdabf.js → yaml-f4e4d4f7.js} +1 -1
- package/package.json +1 -1
package/dist/Common/Types.d.ts
CHANGED
|
@@ -488,8 +488,7 @@ export declare enum DeploymentAppTypes {
|
|
|
488
488
|
HELM = "helm",
|
|
489
489
|
GITOPS = "argo_cd",
|
|
490
490
|
MANIFEST_DOWNLOAD = "manifest_download",
|
|
491
|
-
MANIFEST_PUSH = "manifest_push"
|
|
492
|
-
FLUX = "flux"
|
|
491
|
+
MANIFEST_PUSH = "manifest_push"
|
|
493
492
|
}
|
|
494
493
|
export interface VulnerabilityType {
|
|
495
494
|
name: string;
|
package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DeploymentTemplateHistoryType } from '../types';
|
|
2
2
|
|
|
3
|
-
declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
|
|
3
|
+
declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, comparisonBodyClassName, sortOrder, }: DeploymentTemplateHistoryType) => JSX.Element;
|
|
4
4
|
export default DeploymentHistoryDiffView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } 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
|
|
|
@@ -368,6 +368,8 @@ export interface DeploymentTemplateHistoryType {
|
|
|
368
368
|
isUnpublished?: boolean;
|
|
369
369
|
isDeleteDraft?: boolean;
|
|
370
370
|
rootClassName?: string;
|
|
371
|
+
comparisonBodyClassName?: string;
|
|
372
|
+
sortOrder?: SortingOrder;
|
|
371
373
|
}
|
|
372
374
|
export interface DeploymentHistoryDetailRes extends ResponseType {
|
|
373
375
|
result?: DeploymentHistoryDetail;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TippyProps } from '@tippyjs/react';
|
|
3
|
+
|
|
4
|
+
export interface CollapsibleListItem {
|
|
5
|
+
/**
|
|
6
|
+
* The title of the list item.
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* The subtitle of the list item.
|
|
11
|
+
*/
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Configuration for the icon.
|
|
15
|
+
*/
|
|
16
|
+
iconConfig?: {
|
|
17
|
+
/**
|
|
18
|
+
* A React component representing an icon to be displayed with the list item.
|
|
19
|
+
*/
|
|
20
|
+
Icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
21
|
+
/**
|
|
22
|
+
* Properties for the icon component.
|
|
23
|
+
*/
|
|
24
|
+
props?: React.SVGProps<SVGSVGElement>;
|
|
25
|
+
/**
|
|
26
|
+
* Properties for the tooltip component of the icon.
|
|
27
|
+
*/
|
|
28
|
+
tooltipProps?: TippyProps;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The URL of the nav link.
|
|
32
|
+
*/
|
|
33
|
+
href?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The callback function to handle click events on the nav link.
|
|
36
|
+
*/
|
|
37
|
+
onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
38
|
+
}
|
|
39
|
+
export interface CollapsibleListConfig {
|
|
40
|
+
/**
|
|
41
|
+
* The unique identifier for the collapsible list.
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The header text for the collapsible list.
|
|
46
|
+
*/
|
|
47
|
+
header: string;
|
|
48
|
+
/**
|
|
49
|
+
* Configuration for the header icon.
|
|
50
|
+
*/
|
|
51
|
+
headerIconConfig?: {
|
|
52
|
+
/**
|
|
53
|
+
* A React component representing an icon button to be displayed with the header.
|
|
54
|
+
*/
|
|
55
|
+
Icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
56
|
+
/**
|
|
57
|
+
* Properties for the header icon component.
|
|
58
|
+
*/
|
|
59
|
+
props?: React.SVGProps<SVGSVGElement>;
|
|
60
|
+
/**
|
|
61
|
+
* Properties for the header icon button component.
|
|
62
|
+
*/
|
|
63
|
+
btnProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
64
|
+
/**
|
|
65
|
+
* Properties for the tooltip component of the icon.
|
|
66
|
+
*/
|
|
67
|
+
tooltipProps?: TippyProps;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Text to display when there are no items in the list.
|
|
71
|
+
* @default 'No items found.'
|
|
72
|
+
*/
|
|
73
|
+
noItemsText?: string;
|
|
74
|
+
/**
|
|
75
|
+
* An array of items to be displayed in the collapsible list.
|
|
76
|
+
*/
|
|
77
|
+
items: CollapsibleListItem[];
|
|
78
|
+
/**
|
|
79
|
+
* Boolean indicating whether the list is expanded or not.
|
|
80
|
+
*/
|
|
81
|
+
isExpanded?: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface CollapsibleListProps {
|
|
84
|
+
/**
|
|
85
|
+
* An array of collapsible list configurations.
|
|
86
|
+
*/
|
|
87
|
+
config: CollapsibleListConfig[];
|
|
88
|
+
/**
|
|
89
|
+
* Function to handle the collapse button click event.
|
|
90
|
+
*
|
|
91
|
+
* @param id - The unique identifier for the item to collapse.
|
|
92
|
+
* @param e - The mouse event triggered by the button click.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
onCollapseBtnClick?: (id: string, e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
96
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { SortingOrder } from '../../../Common/Constants';
|
|
2
|
+
import { DeploymentHistoryDetail } from '../CICDHistory';
|
|
3
|
+
import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
|
|
4
|
+
import { SelectPickerProps } from '../SelectPicker';
|
|
5
|
+
|
|
6
|
+
export interface DeploymentConfigType {
|
|
7
|
+
list: DeploymentHistoryDetail;
|
|
8
|
+
heading: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface DeploymentConfigListItem {
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
primaryConfig: DeploymentConfigType;
|
|
14
|
+
secondaryConfig: DeploymentConfigType;
|
|
15
|
+
hasDiff?: boolean;
|
|
16
|
+
isDeploymentTemplate?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export type DeploymentConfigDiffSelectPickerProps = {
|
|
19
|
+
type: 'string';
|
|
20
|
+
id: string;
|
|
21
|
+
text: string | React.ReactNode;
|
|
22
|
+
selectPickerProps?: never;
|
|
23
|
+
} | {
|
|
24
|
+
type: 'selectPicker';
|
|
25
|
+
id: string;
|
|
26
|
+
text?: never;
|
|
27
|
+
selectPickerProps: SelectPickerProps;
|
|
28
|
+
};
|
|
29
|
+
export interface DeploymentConfigDiffNavigationItem extends Pick<CollapsibleListItem, 'href' | 'title' | 'onClick'> {
|
|
30
|
+
hasDiff?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface DeploymentConfigDiffNavigationCollapsibleItem extends Pick<CollapsibleListConfig, 'id' | 'header' | 'noItemsText'> {
|
|
33
|
+
items: DeploymentConfigDiffNavigationItem[];
|
|
34
|
+
}
|
|
35
|
+
export interface DeploymentConfigDiffProps {
|
|
36
|
+
isLoading?: boolean;
|
|
37
|
+
configList: DeploymentConfigListItem[];
|
|
38
|
+
headerText?: string;
|
|
39
|
+
scrollIntoViewId?: string;
|
|
40
|
+
selectorsConfig: {
|
|
41
|
+
primaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
42
|
+
secondaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
43
|
+
};
|
|
44
|
+
sortOrder?: SortingOrder;
|
|
45
|
+
onSortBtnClick?: () => void;
|
|
46
|
+
navList: DeploymentConfigDiffNavigationItem[];
|
|
47
|
+
collapsibleNavList: DeploymentConfigDiffNavigationCollapsibleItem[];
|
|
48
|
+
goBackURL?: string;
|
|
49
|
+
navHeading: string;
|
|
50
|
+
navHelpText?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText'> {
|
|
53
|
+
}
|
|
54
|
+
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortOrder' | 'onSortBtnClick'> {
|
|
55
|
+
}
|
|
56
|
+
export interface DeploymentConfigDiffAccordionProps {
|
|
57
|
+
id: string;
|
|
58
|
+
title: string;
|
|
59
|
+
children: React.ReactNode;
|
|
60
|
+
hasDiff?: boolean;
|
|
61
|
+
isExpanded?: boolean;
|
|
62
|
+
handleOnClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
63
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const AppListConstants: {
|
|
2
|
+
SAMPLE_NODE_REPO_URL: string;
|
|
3
|
+
CREATE_DEVTRON_APP_URL: string;
|
|
4
|
+
AppTabs: {
|
|
5
|
+
DEVTRON_APPS: string;
|
|
6
|
+
HELM_APPS: string;
|
|
7
|
+
ARGO_APPS: string;
|
|
8
|
+
};
|
|
9
|
+
AppType: {
|
|
10
|
+
DEVTRON_APPS: string;
|
|
11
|
+
HELM_APPS: string;
|
|
12
|
+
ARGO_APPS: string;
|
|
13
|
+
};
|
|
14
|
+
FilterType: {
|
|
15
|
+
PROJECT: string;
|
|
16
|
+
CLUTSER: string;
|
|
17
|
+
NAMESPACE: string;
|
|
18
|
+
ENVIRONMENT: string;
|
|
19
|
+
APP_STATUS: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default AppListConstants;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { KeyValueTableProps } from './KeyValueTable.types';
|
|
2
2
|
|
|
3
|
-
export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, }: KeyValueTableProps<K>) => JSX.Element;
|
|
3
|
+
export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, readOnly, showError, validationSchema, errorMessages, onError, }: KeyValueTableProps<K>) => JSX.Element;
|
|
@@ -60,8 +60,10 @@ export interface KeyValueTableProps<K extends string> {
|
|
|
60
60
|
isSortable?: boolean;
|
|
61
61
|
/** An optional React node for a custom header component. */
|
|
62
62
|
headerComponent?: ReactNode;
|
|
63
|
-
/** When true, data addition field will not be shown */
|
|
63
|
+
/** When true, data addition field will not be shown. */
|
|
64
64
|
isAdditionNotAllowed?: boolean;
|
|
65
|
+
/** When true, data add or update is disabled. */
|
|
66
|
+
readOnly?: boolean;
|
|
65
67
|
/**
|
|
66
68
|
* An optional function to handle changes in the table rows.
|
|
67
69
|
* @param rowId - The id of the row that changed.
|
|
@@ -74,4 +76,24 @@ export interface KeyValueTableProps<K extends string> {
|
|
|
74
76
|
* @param deletedRowIndex - The index of the row that was deleted.
|
|
75
77
|
*/
|
|
76
78
|
onDelete?: (deletedRowId: string | number) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Indicates whether to show errors.
|
|
81
|
+
*/
|
|
82
|
+
showError?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The function to use to validate the value of the cell.
|
|
85
|
+
* @param value - The value to validate.
|
|
86
|
+
* @returns Return true if the value is valid, otherwise false
|
|
87
|
+
* and set `showError` to `true` and provide errorMessages array to show error message.
|
|
88
|
+
*/
|
|
89
|
+
validationSchema?: (value: string) => boolean;
|
|
90
|
+
/**
|
|
91
|
+
* An array of error messages to be displayed in the cell error tooltip.
|
|
92
|
+
*/
|
|
93
|
+
errorMessages?: string[];
|
|
94
|
+
/**
|
|
95
|
+
* A callback function called when an error occurs.
|
|
96
|
+
* @param errorState - The error state, true when any cell has error, otherwise false.
|
|
97
|
+
*/
|
|
98
|
+
onError?: (errorState: boolean) => void;
|
|
77
99
|
}
|
|
@@ -81,5 +81,5 @@ import { SelectPickerProps } from './type';
|
|
|
81
81
|
* <SelectPicker ... showSelectedOptionsCount />
|
|
82
82
|
* ```
|
|
83
83
|
*/
|
|
84
|
-
declare const SelectPicker: ({ error, icon, renderMenuListFooter, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, ...props }: SelectPickerProps) => JSX.Element;
|
|
84
|
+
declare const SelectPicker: ({ error, icon, renderMenuListFooter, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, variant, ...props }: SelectPickerProps) => JSX.Element;
|
|
85
85
|
export default SelectPicker;
|
|
@@ -17,6 +17,10 @@ export interface SelectPickerOptionType extends OptionType<number | string, Reac
|
|
|
17
17
|
*/
|
|
18
18
|
endIcon?: ReactElement;
|
|
19
19
|
}
|
|
20
|
+
export declare enum SelectPickerVariantType {
|
|
21
|
+
DEFAULT = "default",
|
|
22
|
+
BORDERLESS = "borderless"
|
|
23
|
+
}
|
|
20
24
|
type SelectProps = ReactSelectProps<SelectPickerOptionType>;
|
|
21
25
|
export interface SelectPickerProps extends Pick<SelectProps, 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'isLoading' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder'>, Required<Pick<SelectProps, 'classNamePrefix' | 'inputId' | 'name'>> {
|
|
22
26
|
/**
|
|
@@ -70,5 +74,11 @@ export interface SelectPickerProps extends Pick<SelectProps, 'options' | 'value'
|
|
|
70
74
|
* @default 'ComponentSizeType.small'
|
|
71
75
|
*/
|
|
72
76
|
menuSize?: ComponentSizeType;
|
|
77
|
+
/**
|
|
78
|
+
* Variant of the select.
|
|
79
|
+
*
|
|
80
|
+
* @default SelectPickerVariantType.DEFAULT
|
|
81
|
+
*/
|
|
82
|
+
variant?: SelectPickerVariantType;
|
|
73
83
|
}
|
|
74
84
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { StylesConfig } from 'react-select';
|
|
2
2
|
import { SelectPickerOptionType, SelectPickerProps } from './type';
|
|
3
3
|
|
|
4
|
-
export declare const getCommonSelectStyle: ({ error, size, menuSize, }: Pick<SelectPickerProps, 'error' | 'size' | 'menuSize'>) => StylesConfig<SelectPickerOptionType>;
|
|
4
|
+
export declare const getCommonSelectStyle: ({ error, size, menuSize, variant, }: Pick<SelectPickerProps, 'error' | 'size' | 'menuSize' | 'variant'>) => StylesConfig<SelectPickerOptionType>;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
+
import { Pair } from 'yaml';
|
|
2
3
|
import { MaterialInfo, SortingOrder } from '../Common';
|
|
3
4
|
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
4
5
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
|
@@ -24,6 +25,7 @@ export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTrigge
|
|
|
24
25
|
export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrder?: SortingOrder, isCaseSensitive?: boolean) => number;
|
|
25
26
|
export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
|
|
26
27
|
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
28
|
+
export declare const yamlComparatorBySortOrder: (a: Pair, b: Pair, sortOrder?: SortingOrder) => number;
|
|
27
29
|
export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
|
|
28
30
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
29
31
|
export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
|
|
@@ -349,35 +349,10 @@ export declare const statusColor: {
|
|
|
349
349
|
};
|
|
350
350
|
export declare const APP_STATUS_HEADERS: string[];
|
|
351
351
|
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
|
352
|
-
export declare const AppListConstants: {
|
|
353
|
-
SAMPLE_NODE_REPO_URL: string;
|
|
354
|
-
CREATE_DEVTRON_APP_URL: string;
|
|
355
|
-
AppTabs: {
|
|
356
|
-
DEVTRON_APPS: string;
|
|
357
|
-
HELM_APPS: string;
|
|
358
|
-
ARGO_APPS: string;
|
|
359
|
-
FLUX_APPS: string;
|
|
360
|
-
};
|
|
361
|
-
AppType: {
|
|
362
|
-
DEVTRON_APPS: string;
|
|
363
|
-
HELM_APPS: string;
|
|
364
|
-
ARGO_APPS: string;
|
|
365
|
-
FLUX_APPS: string;
|
|
366
|
-
};
|
|
367
|
-
FilterType: {
|
|
368
|
-
PROJECT: string;
|
|
369
|
-
CLUTSER: string;
|
|
370
|
-
NAMESPACE: string;
|
|
371
|
-
ENVIRONMENT: string;
|
|
372
|
-
APP_STATUS: string;
|
|
373
|
-
TEMPLATE_TYPE: string;
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
352
|
export declare enum K8sResourcePayloadAppType {
|
|
377
353
|
DEVTRON_APP = 0,
|
|
378
354
|
HELM_APP = 1,
|
|
379
|
-
EXTERNAL_ARGO_APP = 2
|
|
380
|
-
EXTERNAL_FLUX_APP = 3
|
|
355
|
+
EXTERNAL_ARGO_APP = 2
|
|
381
356
|
}
|
|
382
357
|
/**
|
|
383
358
|
* Size variants for components
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -124,8 +124,7 @@ 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"
|
|
128
|
-
EXTERNAL_FLUX_APP = "external_flux_app"
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
129
128
|
}
|
|
130
129
|
export interface HelmReleaseStatus {
|
|
131
130
|
status: string;
|
|
@@ -141,11 +140,6 @@ interface MaterialInfo {
|
|
|
141
140
|
url: string;
|
|
142
141
|
webhookData: string;
|
|
143
142
|
}
|
|
144
|
-
export interface FluxAppStatusDetail {
|
|
145
|
-
status: string;
|
|
146
|
-
message: string;
|
|
147
|
-
reason: string;
|
|
148
|
-
}
|
|
149
143
|
export interface AppDetails {
|
|
150
144
|
appId?: number;
|
|
151
145
|
appName: string;
|
|
@@ -187,8 +181,6 @@ export interface AppDetails {
|
|
|
187
181
|
helmPackageName?: string;
|
|
188
182
|
appStatus?: string;
|
|
189
183
|
chartAvatar?: string;
|
|
190
|
-
fluxTemplateType?: string;
|
|
191
|
-
FluxAppStatusDetail?: FluxAppStatusDetail;
|
|
192
184
|
}
|
|
193
185
|
export declare enum RegistryType {
|
|
194
186
|
GIT = "git",
|