@devtron-labs/devtron-fe-common-lib 1.16.0-beta-5 → 1.16.0-pre-0
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/{@code-editor-b_sdr086.js → @code-editor-NdRFOYui.js} +8097 -8411
- package/dist/{@common-rjsf-Bs6LFW3z.js → @common-rjsf-BbpJlJFb.js} +2 -2
- package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DjiCMNqQ.js} +1 -1
- package/dist/{@react-dates-BVyHiOGU.js → @react-dates-CfRo6n5e.js} +1 -1
- package/dist/{@react-select-BQNFZu0Y.js → @react-select-DNDV8S9D.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-mXcyQzGx.js} +1 -1
- package/dist/{@vendor-DbxoIktR.js → @vendor-CA9d7Ztm.js} +19076 -19081
- package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Common/Constants.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -19
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Common/Modals/VisibleModal.d.ts +0 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
- package/dist/Common/Pagination/constants.d.ts +0 -4
- package/dist/Common/Pagination/index.d.ts +0 -1
- package/dist/Common/PopupMenu.d.ts +1 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -46
- package/dist/Pages/ResourceBrowser/constants.d.ts +0 -2
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
- package/dist/Shared/Components/BulkSelection/types.d.ts +9 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
- package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Popover/types.d.ts +2 -3
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/constants.d.ts +0 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +20 -47
- package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
- package/dist/Shared/Components/Table/utils.d.ts +0 -5
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
- package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Helpers.d.ts +1 -2
- package/dist/Shared/Providers/index.d.ts +2 -0
- package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
- package/dist/Shared/Services/types.d.ts +0 -1
- package/dist/Shared/types.d.ts +2 -13
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/change-source.abc9d12f.png +0 -0
- package/dist/assets/ic-check-all.0376437d.svg +21 -0
- package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
- package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
- package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
- package/dist/assets/ic-source-build.7d776b10.svg +22 -0
- package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
- package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
- package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
- package/dist/assets/select-image-source.fb911f42.png +0 -0
- package/dist/index.js +700 -709
- package/package.json +1 -2
- package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
- package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
- package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
- package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
- package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
- package/dist/assets/ic-check-square.e355731d.svg +0 -4
- package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
- package/dist/assets/ic-container.92a4c33a.svg +0 -3
- package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
- package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
- package/dist/assets/ic-download.468a0cb7.svg +0 -3
- package/dist/assets/ic-file-code.0926d194.svg +0 -3
- package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
- package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
- package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
- package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
- package/dist/assets/ic-logs.d310db72.svg +0 -3
- package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
- package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
- package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
- package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
- package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
- /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
- /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
import { DetailedHTMLProps, KeyboardEvent, LegacyRef, MutableRefObject, ReactElement } from 'react';
|
2
2
|
import { HTMLMotionProps } from 'framer-motion';
|
3
|
-
import { BackdropProps } from '../Backdrop';
|
4
3
|
import { ButtonProps } from '../Button';
|
5
4
|
export interface UsePopoverProps {
|
6
5
|
/**
|
@@ -75,9 +74,9 @@ export interface UsePopoverReturnType {
|
|
75
74
|
};
|
76
75
|
/**
|
77
76
|
* Props to be spread onto the overlay element of the popover.
|
78
|
-
* These props include
|
77
|
+
* These props include standard HTML attributes for a `div` element.
|
79
78
|
*/
|
80
|
-
overlayProps:
|
79
|
+
overlayProps: DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
81
80
|
/**
|
82
81
|
* Props to be spread onto the popover element itself.
|
83
82
|
* Includes motion-related props for animations and a `ref` to the popover's `div` element.
|
@@ -88,5 +88,5 @@ export declare const getPopoverActualPositionAlignment: ({ position, alignment,
|
|
88
88
|
popoverRect: DOMRect;
|
89
89
|
}) => {
|
90
90
|
fallbackPosition: "top" | "bottom" | "right" | "left";
|
91
|
-
fallbackAlignment: "
|
91
|
+
fallbackAlignment: "start" | "middle" | "end";
|
92
92
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, MultiValueRemoveProps, OptionProps, ValueContainerProps } from 'react-select';
|
2
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
3
3
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
4
4
|
export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
|
5
5
|
export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance
|
|
3
3
|
import { CreatableProps } from 'react-select/creatable';
|
4
4
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
5
5
|
import { ServerErrors } from '../../../Common/ServerError';
|
6
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
6
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
7
7
|
import { OptionType } from '../../../Common/Types';
|
8
8
|
import { ComponentSizeType } from '../../constants';
|
9
9
|
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
@@ -100,7 +100,7 @@ export declare enum SelectPickerVariantType {
|
|
100
100
|
BORDER_LESS = "border-less",
|
101
101
|
COMPACT = "compact"
|
102
102
|
}
|
103
|
-
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage'
|
103
|
+
export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
|
104
104
|
/**
|
105
105
|
* Config for the footer at the bottom of menu list. It is sticky by default
|
106
106
|
*
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
2
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
2
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
3
3
|
import { ComponentSizeType } from '../../constants';
|
4
4
|
import { DataAttributes } from '../../types';
|
5
5
|
import { IconName } from '../Icon';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BulkSelectionActionWidgetProps } from './types';
|
2
|
-
declare const BulkSelectionActionWidget: ({ count, handleClearBulkSelection, parentRef, BulkActionsComponent,
|
2
|
+
declare const BulkSelectionActionWidget: ({ count, handleClearBulkSelection, parentRef, BulkActionsComponent, }: BulkSelectionActionWidgetProps) => JSX.Element;
|
3
3
|
export default BulkSelectionActionWidget;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InternalTableProps } from './types';
|
2
|
-
declare const InternalTable: ({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent,
|
2
|
+
declare const InternalTable: ({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, }: InternalTableProps) => JSX.Element;
|
3
3
|
export default InternalTable;
|
@@ -5,4 +5,3 @@ export declare const BULK_ACTION_GUTTER_LABEL = "bulk-action-gutter";
|
|
5
5
|
export declare const EVENT_TARGET: EventTarget;
|
6
6
|
export declare const DRAG_SELECTOR_IDENTIFIER = "table-drag-selector";
|
7
7
|
export declare const SHIMMER_DUMMY_ARRAY: number[];
|
8
|
-
export declare const NO_ROWS_OR_GET_ROWS_ERROR: Error;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { default as Table } from './Table.component';
|
2
|
-
export type {
|
2
|
+
export type { CellComponentProps as TableCellComponentProps, Column as TableColumnType, TableProps, ViewWrapperProps as TableViewWrapperProps, } from './types';
|
3
3
|
export { FiltersTypeEnum, PaginationEnum, SignalEnum as TableSignalEnum } from './types';
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { Dispatch, FunctionComponent,
|
1
|
+
import { Dispatch, FunctionComponent, PropsWithChildren, SetStateAction } from 'react';
|
2
2
|
import { GenericFilterEmptyStateProps } from '../../../Common/EmptyState/types';
|
3
|
-
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps
|
3
|
+
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps } from '../../../Common/Hooks';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/index';
|
5
|
-
import { PageSizeOption } from '../../../Common/Pagination/types';
|
6
5
|
import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
|
7
6
|
import { useBulkSelection, UseBulkSelectionProps } from '../BulkSelection';
|
8
7
|
export interface UseFiltersReturnType extends UseStateFiltersReturnType<string> {
|
@@ -51,16 +50,11 @@ export type RowType = {
|
|
51
50
|
data: Record<string, unknown>;
|
52
51
|
};
|
53
52
|
export type RowsType = RowType[];
|
54
|
-
export
|
55
|
-
STATE = "state",
|
56
|
-
URL = "url",
|
57
|
-
NONE = "none"
|
58
|
-
}
|
59
|
-
export interface CellComponentProps<T = FiltersTypeEnum.NONE> extends Pick<BaseColumnType, 'field'>, AdditionalProps {
|
53
|
+
export interface CellComponentProps extends Pick<BaseColumnType, 'field'>, AdditionalProps {
|
60
54
|
signals: SignalsType;
|
61
55
|
value: unknown;
|
62
56
|
row: RowType;
|
63
|
-
filterData:
|
57
|
+
filterData: UseFiltersReturnType;
|
64
58
|
isRowActive: boolean;
|
65
59
|
}
|
66
60
|
export type Column = Pick<SortableTableHeaderCellProps, 'showTippyOnTruncate'> & BaseColumnType & {
|
@@ -77,26 +71,21 @@ export type Column = Pick<SortableTableHeaderCellProps, 'showTippyOnTruncate'> &
|
|
77
71
|
isSortable?: false;
|
78
72
|
comparator?: never;
|
79
73
|
});
|
80
|
-
export interface BulkActionsComponentProps {
|
81
|
-
onActionClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
82
|
-
bulkActionsData: unknown;
|
83
|
-
}
|
84
|
-
type BulkSelectionReturnValueType = ReturnType<typeof useBulkSelection>;
|
85
|
-
export interface BulkOperationModalProps<T = string> extends Pick<BulkSelectionReturnValueType, 'isBulkSelectionApplied'> {
|
86
|
-
action: T;
|
87
|
-
onClose: () => void;
|
88
|
-
selections: RowsType | null;
|
89
|
-
bulkOperationModalData: unknown;
|
90
|
-
}
|
91
74
|
type BulkSelectionConfigType = Pick<UseBulkSelectionProps<unknown>, 'getSelectAllDialogStatus'> & {
|
92
|
-
|
93
|
-
|
94
|
-
|
75
|
+
/** Make sure to wrap it in useCallback */
|
76
|
+
onBulkSelectionChanged: (selectedRows: RowsType) => void;
|
77
|
+
BulkActionsComponent: FunctionComponent<{}>;
|
78
|
+
};
|
95
79
|
export declare enum PaginationEnum {
|
96
80
|
PAGINATED = "paginated",
|
97
81
|
INFINITE = "infinite",
|
98
82
|
NOT_PAGINATED = "not-paginated"
|
99
83
|
}
|
84
|
+
export declare enum FiltersTypeEnum {
|
85
|
+
STATE = "state",
|
86
|
+
URL = "url",
|
87
|
+
NONE = "none"
|
88
|
+
}
|
100
89
|
export interface ConfigurableColumnsType {
|
101
90
|
allColumns: Column[];
|
102
91
|
visibleColumns: Column[];
|
@@ -104,14 +93,14 @@ export interface ConfigurableColumnsType {
|
|
104
93
|
}
|
105
94
|
interface GetRowsProps extends Pick<UseFiltersReturnType, 'offset' | 'pageSize' | 'searchKey' | 'sortBy' | 'sortOrder'> {
|
106
95
|
}
|
107
|
-
type AdditionalFilterPropsType<T extends Exclude<FiltersTypeEnum, FiltersTypeEnum.NONE>> = T extends FiltersTypeEnum.URL ? Pick<UseUrlFiltersProps<string, unknown>, 'parseSearchParams' | 'localStorageKey' | 'redirectionMethod' | 'initialSortKey'
|
108
|
-
export type ViewWrapperProps
|
96
|
+
type AdditionalFilterPropsType<T extends Exclude<FiltersTypeEnum, FiltersTypeEnum.NONE>> = T extends FiltersTypeEnum.URL ? Pick<UseUrlFiltersProps<string, unknown>, 'parseSearchParams' | 'localStorageKey' | 'redirectionMethod' | 'initialSortKey'> : Pick<UseStateFiltersProps<string>, 'initialSortKey'>;
|
97
|
+
export type ViewWrapperProps = PropsWithChildren<Pick<UseFiltersReturnType, 'offset' | 'handleSearch' | 'searchKey' | 'sortBy' | 'sortOrder' | 'clearFilters'> & AdditionalProps & Partial<ConfigurableColumnsType> & {
|
109
98
|
areRowsLoading: boolean;
|
110
|
-
|
111
|
-
} & (T extends FiltersTypeEnum.URL ? Pick<UseUrlFiltersReturnType<string>, 'updateSearchParams'> : {})>;
|
99
|
+
}>;
|
112
100
|
export type InternalTableProps = Required<Pick<ConfigurableColumnsType, 'visibleColumns' | 'setVisibleColumns'>> & {
|
113
101
|
id: `table__${string}`;
|
114
102
|
loading?: boolean;
|
103
|
+
paginationVariant: PaginationEnum;
|
115
104
|
/**
|
116
105
|
* Memoize columns before passing as props.
|
117
106
|
*
|
@@ -147,7 +136,7 @@ export type InternalTableProps = Required<Pick<ConfigurableColumnsType, 'visible
|
|
147
136
|
RowActionsOnHoverComponent?: FunctionComponent<{
|
148
137
|
row: RowType;
|
149
138
|
}>;
|
150
|
-
bulkSelectionReturnValue:
|
139
|
+
bulkSelectionReturnValue: ReturnType<typeof useBulkSelection> | null;
|
151
140
|
handleClearBulkSelection: () => void;
|
152
141
|
handleToggleBulkSelectionOnRow: (row: RowType) => void;
|
153
142
|
ViewWrapper?: FunctionComponent<ViewWrapperProps>;
|
@@ -177,44 +166,28 @@ export type InternalTableProps = Required<Pick<ConfigurableColumnsType, 'visible
|
|
177
166
|
* If filter is only being used for sorting, then send `noop` in this prop
|
178
167
|
*/
|
179
168
|
filter: (row: RowType, filterData: UseFiltersReturnType) => boolean;
|
180
|
-
clearFilters?: () => void;
|
181
169
|
} | {
|
182
170
|
filtersVariant: FiltersTypeEnum.STATE;
|
183
171
|
additionalFilterProps?: AdditionalFilterPropsType<FiltersTypeEnum.STATE>;
|
184
172
|
filter: (row: RowType, filterData: UseFiltersReturnType) => boolean;
|
185
|
-
clearFilters?: never;
|
186
173
|
} | {
|
187
174
|
filtersVariant: FiltersTypeEnum.NONE;
|
188
175
|
additionalFilterProps?: never;
|
189
176
|
filter?: never;
|
190
|
-
clearFilters?: never;
|
191
|
-
}) & ({
|
192
|
-
paginationVariant: PaginationEnum.PAGINATED;
|
193
|
-
pageSizeOptions?: PageSizeOption[];
|
194
|
-
} | {
|
195
|
-
paginationVariant: Omit<PaginationEnum, 'PAGINATED'>;
|
196
|
-
pageSizeOptions?: never;
|
197
177
|
});
|
198
178
|
export type UseResizableTableConfigWrapperProps = Omit<InternalTableProps, 'resizableConfig'>;
|
199
179
|
export type TableWithBulkSelectionProps = Omit<UseResizableTableConfigWrapperProps, 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow'>;
|
200
180
|
export type VisibleColumnsWrapperProps = Omit<TableWithBulkSelectionProps, 'visibleColumns' | 'setVisibleColumns'>;
|
201
181
|
export type FilterWrapperProps = Omit<VisibleColumnsWrapperProps, 'filterData'>;
|
202
|
-
export type TableProps = Pick<FilterWrapperProps, 'additionalFilterProps' | 'bulkSelectionConfig' | 'areColumnsConfigurable' | 'emptyStateConfig' | 'filtersVariant' | 'filter' | 'additionalProps' | 'columns' | 'getRows' | 'rows' | 'paginationVariant' | 'stylesConfig' | 'id' | 'RowActionsOnHoverComponent' | 'loading' | 'ViewWrapper'
|
203
|
-
export
|
204
|
-
export interface BulkSelectionActionWidgetProps extends Pick<BulkSelectionConfigType, 'BulkActionsComponent' | 'bulkActionsData'> {
|
182
|
+
export type TableProps = Pick<FilterWrapperProps, 'additionalFilterProps' | 'bulkSelectionConfig' | 'areColumnsConfigurable' | 'emptyStateConfig' | 'filtersVariant' | 'filter' | 'additionalProps' | 'columns' | 'getRows' | 'rows' | 'paginationVariant' | 'stylesConfig' | 'id' | 'RowActionsOnHoverComponent' | 'loading' | 'ViewWrapper'>;
|
183
|
+
export interface BulkSelectionActionWidgetProps extends Pick<BulkSelectionConfigType, 'BulkActionsComponent'> {
|
205
184
|
count: number;
|
206
185
|
handleClearBulkSelection: () => void;
|
207
186
|
parentRef: React.RefObject<HTMLDivElement>;
|
208
|
-
/** If it is null, we can say no bulk action has been selected yet */
|
209
|
-
setBulkActionState: Dispatch<SetStateAction<BulkActionStateType>>;
|
210
187
|
}
|
211
188
|
export type ConfigurableColumnsConfigType = Record<string, ConfigurableColumnsType['visibleColumns']>;
|
212
189
|
export interface GetFilteringPromiseProps {
|
213
190
|
searchSortTimeoutRef: React.MutableRefObject<number>;
|
214
191
|
callback: () => Promise<RowsType> | RowsType;
|
215
192
|
}
|
216
|
-
export interface TableContentProps extends Pick<InternalTableProps, 'filterData' | 'rows' | 'resizableConfig' | 'additionalProps' | 'visibleColumns' | 'stylesConfig' | 'loading' | 'bulkSelectionConfig' | 'bulkSelectionReturnValue' | 'handleClearBulkSelection' | 'handleToggleBulkSelectionOnRow' | 'paginationVariant' | 'RowActionsOnHoverComponent' | 'pageSizeOptions'> {
|
217
|
-
filteredRows: RowsType;
|
218
|
-
areFilteredRowsLoading: boolean;
|
219
|
-
}
|
220
193
|
export {};
|
@@ -1,11 +1,6 @@
|
|
1
1
|
import { InternalTableProps, RowsType } from './types';
|
2
|
-
declare const useTableWithKeyboardShortcuts: ({ bulkSelectionConfig, handleToggleBulkSelectionOnRow, bulkSelectionReturnValue, }: Pick<InternalTableProps, "bulkSelectionConfig" | "bulkSelectionReturnValue" | "handleToggleBulkSelectionOnRow">, visibleRows: RowsType
|
2
|
+
declare const useTableWithKeyboardShortcuts: ({ bulkSelectionConfig, handleToggleBulkSelectionOnRow, bulkSelectionReturnValue, }: Pick<InternalTableProps, "bulkSelectionConfig" | "bulkSelectionReturnValue" | "handleToggleBulkSelectionOnRow">, visibleRows: RowsType) => {
|
3
3
|
activeRowIndex: number;
|
4
4
|
setActiveRowIndex: import('react').Dispatch<import('react').SetStateAction<number>>;
|
5
|
-
shortcutContainerProps: {
|
6
|
-
onKeyDown: (event: import('react').KeyboardEvent<HTMLElement>) => void;
|
7
|
-
onKeyUp: (event: import('react').KeyboardEvent<HTMLElement>) => void;
|
8
|
-
onBlur: (event: import('react').FocusEvent<HTMLElement>) => void;
|
9
|
-
};
|
10
5
|
};
|
11
6
|
export default useTableWithKeyboardShortcuts;
|
@@ -4,8 +4,3 @@ export declare const getVisibleColumnsFromLocalStorage: ({ allColumns, id, }: Pi
|
|
4
4
|
export declare const setVisibleColumnsToLocalStorage: ({ id, visibleColumns, }: Pick<ConfigurableColumnsType, "visibleColumns"> & Pick<TableProps, "id">) => void;
|
5
5
|
export declare const getVisibleColumns: ({ areColumnsConfigurable, columns, id, }: Pick<TableProps, "areColumnsConfigurable" | "columns" | "id">) => Column[];
|
6
6
|
export declare const getFilteringPromise: ({ searchSortTimeoutRef, callback }: GetFilteringPromiseProps) => Promise<RowsType>;
|
7
|
-
export declare const getStickyColumnConfig: (gridTemplateColumns: string, columnIndex: number) => {
|
8
|
-
className: string;
|
9
|
-
left: string;
|
10
|
-
};
|
11
|
-
export declare const scrollToShowActiveElementIfNeeded: (activeElement: HTMLDivElement, parent: HTMLDivElement, topMargin: number) => void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
1
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
2
2
|
import { TargetPlatformsDTO } from '../../types';
|
3
3
|
export interface TargetPlatformBadgeListProps extends Required<Pick<TargetPlatformsDTO, 'targetPlatforms'>> {
|
4
4
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { SourceTypeCardProps } from './types';
|
2
|
-
declare const SourceTypeCard: ({ title, subtitle,
|
2
|
+
declare const SourceTypeCard: ({ title, subtitle, image, alt, dataTestId, type, handleCardAction, disableInfo, isDisabled, }: Readonly<SourceTypeCardProps>) => JSX.Element;
|
3
3
|
export default SourceTypeCard;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { WorkflowOptionsModalProps } from './types';
|
2
|
-
declare const WorkflowOptionsModal: ({
|
2
|
+
declare const WorkflowOptionsModal: ({ handleCloseWorkflowOptionsModal, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, isTemplateView, }: Readonly<WorkflowOptionsModalProps>) => JSX.Element;
|
3
3
|
export default WorkflowOptionsModal;
|
@@ -1,86 +1,52 @@
|
|
1
|
-
import {
|
1
|
+
import { PipelineType } from '../../../Common/Types';
|
2
2
|
import { CIPipelineNodeType } from '../../types';
|
3
|
+
export declare const WORKFLOW_OPTIONS_MODAL: {
|
4
|
+
ACTION_TEXT: string;
|
5
|
+
ACTION_NOTE: string;
|
6
|
+
CHANGE_CI_TEXT: string;
|
7
|
+
CHANGE_CI_NOTE: string;
|
8
|
+
};
|
9
|
+
export declare const WORKFLOW_OPTIONS_MODAL_TYPES: {
|
10
|
+
DEFAULT: string;
|
11
|
+
RECIEVE: string;
|
12
|
+
JOB: string;
|
13
|
+
};
|
3
14
|
export declare const SOURCE_TYPE_CARD_VARIANTS: {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
})[];
|
20
|
-
};
|
21
|
-
BUILD_FROM_SOURCE_CODE: {
|
22
|
-
title: string;
|
23
|
-
subtitle: string;
|
24
|
-
dataTestId: string;
|
25
|
-
type: CIPipelineNodeType.CI;
|
26
|
-
icons: ({
|
27
|
-
name: "ic-git-branch";
|
28
|
-
color: "N700";
|
29
|
-
} | {
|
30
|
-
name: "ic-build-color";
|
31
|
-
color: any;
|
32
|
-
})[];
|
33
|
-
};
|
34
|
-
JOB: {
|
35
|
-
title: string;
|
36
|
-
subtitle: string;
|
37
|
-
dataTestId: string;
|
38
|
-
type: CIPipelineNodeType.JOB_CI;
|
39
|
-
icons: {
|
40
|
-
name: "ic-job-color";
|
41
|
-
color: any;
|
42
|
-
}[];
|
43
|
-
};
|
15
|
+
SOURCE_CODE: {
|
16
|
+
title: string;
|
17
|
+
subtitle: string;
|
18
|
+
image: string;
|
19
|
+
alt: string;
|
20
|
+
dataTestId: string;
|
21
|
+
type: CIPipelineNodeType;
|
22
|
+
};
|
23
|
+
LINKED_PIPELINE: {
|
24
|
+
title: string;
|
25
|
+
subtitle: string;
|
26
|
+
image: string;
|
27
|
+
alt: string;
|
28
|
+
dataTestId: string;
|
29
|
+
type: CIPipelineNodeType;
|
44
30
|
};
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
name: "ic-webhook";
|
53
|
-
color: any;
|
54
|
-
} | {
|
55
|
-
name: "ic-deploy-color";
|
56
|
-
color: any;
|
57
|
-
})[];
|
58
|
-
};
|
59
|
-
LINKED_PIPELINE: {
|
60
|
-
title: string;
|
61
|
-
subtitle: string;
|
62
|
-
dataTestId: string;
|
63
|
-
type: CIPipelineNodeType.LINKED_CI;
|
64
|
-
icons: {
|
65
|
-
name: "ic-linked-build-color";
|
66
|
-
color: any;
|
67
|
-
}[];
|
68
|
-
};
|
31
|
+
EXTERNAL_SERVICE: {
|
32
|
+
title: string;
|
33
|
+
subtitle: string;
|
34
|
+
image: string;
|
35
|
+
alt: string;
|
36
|
+
dataTestId: string;
|
37
|
+
type: PipelineType;
|
69
38
|
};
|
70
39
|
JOB: {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
name: "ic-job-color";
|
78
|
-
color: any;
|
79
|
-
}[];
|
80
|
-
};
|
40
|
+
title: string;
|
41
|
+
subtitle: string;
|
42
|
+
image: string;
|
43
|
+
alt: string;
|
44
|
+
dataTestId: string;
|
45
|
+
type: CIPipelineNodeType;
|
81
46
|
};
|
82
47
|
};
|
83
48
|
export declare const NO_ENV_FOUND = "No environment found. Please create a CD Pipeline first.";
|
49
|
+
export declare const CHANGE_SAME_CI = "Cannot change to same source type";
|
84
50
|
export declare const REQUEST_IN_PROGRESS = "Request in progress";
|
85
51
|
export declare const TOAST_MESSAGES: {
|
86
52
|
SUCCESS_CHANGE_TO_WEBHOOK: string;
|
@@ -1,19 +1,20 @@
|
|
1
|
-
import { WorkflowNodeType } from '../../../Common/Types';
|
2
1
|
import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
|
3
2
|
import { AppConfigProps } from '../../../Pages/index';
|
4
|
-
|
5
|
-
import { IconsProps } from '../Icon';
|
6
|
-
export interface SourceTypeCardProps {
|
3
|
+
interface LinkedCDSourceVariant {
|
7
4
|
title: string;
|
8
5
|
subtitle: string;
|
6
|
+
image: string;
|
7
|
+
alt: string;
|
9
8
|
dataTestId: string;
|
10
|
-
type:
|
11
|
-
|
9
|
+
type: string;
|
10
|
+
}
|
11
|
+
export interface SourceTypeCardProps extends LinkedCDSourceVariant {
|
12
|
+
handleCardAction: (e: React.MouseEvent | React.KeyboardEvent) => void;
|
12
13
|
disableInfo: string;
|
13
|
-
|
14
|
-
onCardAction: (e: React.MouseEvent | React.KeyboardEvent) => void;
|
14
|
+
isDisabled?: boolean;
|
15
15
|
}
|
16
|
-
export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps, 'isTemplateView'
|
16
|
+
export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps, 'isTemplateView'>> {
|
17
|
+
handleCloseWorkflowOptionsModal: () => void;
|
17
18
|
addCIPipeline: (type: CIPipelineNodeType, workflowId?: number | string) => void;
|
18
19
|
addWebhookCD: (workflowId?: number | string) => void;
|
19
20
|
addLinkedCD: (changeCIPayload?: ChangeCIPayloadType) => void;
|
@@ -22,6 +23,7 @@ export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps,
|
|
22
23
|
changeCIPayload?: ChangeCIPayloadType;
|
23
24
|
workflows?: WorkflowType[];
|
24
25
|
getWorkflows?: () => void;
|
25
|
-
linkedCDSourceVariant?:
|
26
|
+
linkedCDSourceVariant?: LinkedCDSourceVariant;
|
26
27
|
isAppGroup?: boolean;
|
27
28
|
}
|
29
|
+
export {};
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { PipelineType
|
2
|
-
import { ChangeCIPayloadType
|
3
|
-
import { SourceTypeCardProps, WorkflowOptionsModalProps } from './types';
|
1
|
+
import { PipelineType } from '../../../Common/Types';
|
2
|
+
import { ChangeCIPayloadType } from '../../types';
|
4
3
|
export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloadType) => {
|
5
4
|
appId: number;
|
6
5
|
pipelines: {
|
@@ -13,13 +12,3 @@ export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloa
|
|
13
12
|
switchFromCiPipelineId: number;
|
14
13
|
}[];
|
15
14
|
};
|
16
|
-
export declare const getCurrentPipelineType: ({ workflows, changeCIPayload, }: Required<Pick<WorkflowOptionsModalProps, "workflows" | "changeCIPayload">>) => SourceTypeCardProps["type"];
|
17
|
-
export declare const getBuildWorkflowCardsConfig: ({ currentPipelineType, changeCIPayload, isAppGroup, }: {
|
18
|
-
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
19
|
-
} & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
|
20
|
-
export declare const getReceiveWorkflowCardsConfig: ({ currentPipelineType, linkedCDSourceVariant, isAppGroup, }: {
|
21
|
-
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
22
|
-
} & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
|
23
|
-
export declare const getJobWorkflowCardsConfig: ({ currentPipelineType, isAppGroup, }: {
|
24
|
-
currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
|
25
|
-
} & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
|
@@ -41,7 +41,6 @@ export * from './FlagImage';
|
|
41
41
|
export * from './FloatingVariablesSuggestions';
|
42
42
|
export * from './FramerComponents';
|
43
43
|
export * from './GenericInfoCard';
|
44
|
-
export * from './GenericModal';
|
45
44
|
export * from './GenericSectionErrorState';
|
46
45
|
export * from './GitCommitInfoGeneric';
|
47
46
|
export * from './GitProviderIcon';
|
@@ -65,7 +64,6 @@ export * from './ModalSidebarPanel';
|
|
65
64
|
export * from './NumbersCount';
|
66
65
|
export * from './PhoneInput';
|
67
66
|
export * from './Plugin';
|
68
|
-
export * from './Popover';
|
69
67
|
export * from './ProgressBar';
|
70
68
|
export { default as QRCode } from './QRCode';
|
71
69
|
export * from './ReactSelect';
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { Pair } from 'yaml';
|
|
5
5
|
import { MaterialHistoryType } from './Services/app.types';
|
6
6
|
import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
|
7
7
|
import { AggregatedNodes, PodMetadatum } from './Components';
|
8
|
-
import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions,
|
8
|
+
import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
|
9
9
|
interface HighlightSearchTextProps {
|
10
10
|
/**
|
11
11
|
* The text to be highlighted
|
@@ -102,5 +102,4 @@ export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, t
|
|
102
102
|
export declare const clearCookieOnLogout: () => void;
|
103
103
|
export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
|
104
104
|
export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
|
105
|
-
export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
|
106
105
|
export {};
|
@@ -1,4 +1,6 @@
|
|
1
1
|
export * from './ImageSelectionUtility';
|
2
2
|
export * from './MainContextProvider';
|
3
3
|
export * from './ThemeProvider';
|
4
|
+
export type { MainContext, ReloadVersionConfigTypes, SidePanelConfig } from './types';
|
5
|
+
export { SidePanelTab } from './types';
|
4
6
|
export * from './UserEmailProvider';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
2
|
-
import { SERVER_MODE } from '
|
3
|
-
import {
|
4
|
-
import {
|
2
|
+
import { SERVER_MODE } from '../../Common';
|
3
|
+
import { ServerInfo } from '../Components/Header/types';
|
4
|
+
import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '..';
|
5
5
|
export interface ReloadVersionConfigTypes {
|
6
6
|
bgUpdated: boolean;
|
7
7
|
handleAppUpdate: () => void;
|
@@ -66,7 +66,7 @@ type CommonMainContextProps = {
|
|
66
66
|
setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
|
67
67
|
setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
|
68
68
|
setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
|
69
|
-
}
|
69
|
+
};
|
70
70
|
export type MainContext = CommonMainContextProps & ({
|
71
71
|
isLicenseDashboard?: never;
|
72
72
|
serverMode: SERVER_MODE;
|
@@ -38,6 +38,5 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
|
|
38
38
|
isManifestScanningEnabled: boolean;
|
39
39
|
canOnlyViewPermittedEnvOrgLevel: boolean;
|
40
40
|
devtronManagedLicensingEnabled: boolean;
|
41
|
-
isResourceRecommendationEnabled?: boolean;
|
42
41
|
}
|
43
42
|
export {};
|
package/dist/Shared/types.d.ts
CHANGED
@@ -97,8 +97,7 @@ export declare enum Nodes {
|
|
97
97
|
Node = "Node",
|
98
98
|
Overview = "Overview",
|
99
99
|
MonitoringDashboard = "MonitoringDashboard",
|
100
|
-
UpgradeCluster = "UpgradeCluster"
|
101
|
-
ResourceRecommender = "ResourceRecommender"
|
100
|
+
UpgradeCluster = "UpgradeCluster"
|
102
101
|
}
|
103
102
|
export type NodeType = keyof typeof Nodes;
|
104
103
|
export interface Node {
|
@@ -761,15 +760,6 @@ interface CommonTabArgsType {
|
|
761
760
|
* @default false
|
762
761
|
*/
|
763
762
|
shouldRemainMounted?: boolean;
|
764
|
-
/**
|
765
|
-
* @default false
|
766
|
-
* If true, tab would contain alpha as badge next to the title
|
767
|
-
*/
|
768
|
-
isAlpha?: boolean;
|
769
|
-
/**
|
770
|
-
* On tab stop, i.e by pressing cross icon on alive tab [fixed tab expanding on click of tab and remains expanded on other tab click], tab will reset the tab to this default URL if provided
|
771
|
-
*/
|
772
|
-
defaultUrl?: string | null;
|
773
763
|
}
|
774
764
|
export type InitTabType = Omit<CommonTabArgsType, 'type'> & ({
|
775
765
|
type: 'fixed';
|
@@ -886,8 +876,7 @@ export declare enum CIPipelineNodeType {
|
|
886
876
|
CI = "CI",
|
887
877
|
LINKED_CI = "LINKED-CI",
|
888
878
|
JOB_CI = "JOB-CI",
|
889
|
-
LINKED_CD = "LINKED_CD"
|
890
|
-
CI_CD = "CI_CD"
|
879
|
+
LINKED_CD = "LINKED_CD"
|
891
880
|
}
|
892
881
|
export interface ChangeCIPayloadType {
|
893
882
|
appWorkflowId: number;
|