@devtron-labs/devtron-fe-common-lib 1.11.0-pre-6 → 1.11.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.
- package/dist/{@code-editor-DIambKm6.js → @code-editor-DvXC6tWe.js} +24743 -24658
- package/dist/{@common-rjsf-DlZMNFKC.js → @common-rjsf-BzdfA2cI.js} +29 -29
- package/dist/{@framer-motion-iFP8gkbg.js → @framer-motion-CRC_R7iM.js} +3 -3
- package/dist/{@react-dates-C1YJpDXg.js → @react-dates-C-O0TUaC.js} +995 -996
- package/dist/{@react-select-rJh4_EaU.js → @react-select-CaCDGT85.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CMLds5Wa.js → @react-virtualized-sticky-tree-BINLYj4Y.js} +1 -1
- package/dist/{@vendor-HJw8T7OP.js → @vendor-DBDnc0ZN.js} +55137 -54300
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
- package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +3 -3
- package/dist/Common/CodeMirror/utils.d.ts +1 -1
- package/dist/Common/Constants.d.ts +2 -1
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/index.d.ts +3 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/index.d.ts +2 -2
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/index.d.ts +41 -41
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -3
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/index.d.ts +2 -2
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/Button/index.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CMCS/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
- package/dist/Shared/Components/Header/index.d.ts +1 -1
- package/dist/Shared/Components/Header/utils.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -5
- package/dist/Shared/Components/Icon/types.d.ts +2 -3
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
- package/dist/Shared/Components/{DevtronLicenseCard → License}/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/License.components.d.ts +5 -0
- package/dist/Shared/Components/License/index.d.ts +5 -0
- package/dist/Shared/Components/License/services.d.ts +1 -0
- package/dist/Shared/Components/{DevtronLicenseCard → License}/types.d.ts +13 -2
- package/dist/Shared/Components/License/utils.d.ts +7 -0
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/QRCode.d.ts +10 -0
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/index.d.ts +2 -2
- package/dist/Shared/Components/Security/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +2 -2
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +64 -64
- package/dist/Shared/Helpers.d.ts +4 -4
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -3
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -3
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -2
- package/dist/Shared/Providers/types.d.ts +1 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +2 -2
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +3 -17
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +594 -593
- package/package.json +5 -5
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +0 -3
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +0 -5
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +0 -1
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +0 -15
- package/dist/Shared/Components/DevtronLicenseCard/InstallationFingerprintInfo.d.ts +0 -3
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +0 -4
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +0 -7
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +0 -3
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +0 -6
- package/dist/assets/ic-file-key.a67da7ec.svg +0 -3
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +0 -7
- package/dist/assets/ic-terminal-fill.39b542cd.svg +0 -3
@@ -1,3 +1,3 @@
|
|
1
1
|
export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>;
|
2
|
+
export { getIsRequestAborted, abortPreviousRequests, handleRedirectToLicenseActivation } from './utils';
|
2
3
|
export { default as CoreAPI } from './CoreAPI';
|
3
|
-
export { abortPreviousRequests, getIsRequestAborted, handleRedirectToLicenseActivation } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './findAndReplace';
|
1
|
+
export * from './yamlParseLinter';
|
3
2
|
export * from './readOnlyTooltip';
|
3
|
+
export * from './findAndReplace';
|
4
4
|
export * from './yamlHighlight';
|
5
|
-
export * from './
|
5
|
+
export * from './DiffMinimap';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as CodeEditor } from './CodeEditor';
|
2
|
-
export type {
|
2
|
+
export type { CodeEditorProps, CodeEditorHeaderProps, CodeEditorStatusBarProps } from './types';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Dispatch, FunctionComponent, Key, MutableRefObject, ReactNode, SetStateAction, SVGProps } from 'react';
|
2
|
+
import { JSONSchema7 } from 'json-schema';
|
3
|
+
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
2
4
|
import { MergeView } from '@codemirror/merge';
|
3
5
|
import { SearchQuery } from '@codemirror/search';
|
4
|
-
import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
5
|
-
import { JSONSchema7 } from 'json-schema';
|
6
6
|
import { MODES } from '../Constants';
|
7
|
-
import { AppThemeType } from '../../Shared/Providers';
|
8
7
|
import { Never } from '../../Shared/types';
|
8
|
+
import { AppThemeType } from '../../Shared/Providers';
|
9
9
|
export interface CodeEditorStatusBarProps {
|
10
10
|
text: string;
|
11
11
|
className?: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
|
1
2
|
import { MergeView } from '@codemirror/merge';
|
2
3
|
import { SearchQuery } from '@codemirror/search';
|
3
|
-
import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
|
4
4
|
import { CodeEditorProps, FindReplaceToggleButtonProps, GetCodeEditorHeightReturnType } from './types';
|
5
5
|
export declare const parseValueToCode: (value: string, mode: string, tabSize: number) => string;
|
6
6
|
export declare const getCodeEditorHeight: (height: CodeEditorProps["height"]) => GetCodeEditorHeightReturnType;
|
@@ -12,7 +12,6 @@ export declare const DOCUMENTATION: {
|
|
12
12
|
BLOB_STORAGE: string;
|
13
13
|
GLOBAL_CONFIG_BUILD_INFRA: string;
|
14
14
|
ENTERPRISE_LICENSE: string;
|
15
|
-
KUBE_CONFIG: string;
|
16
15
|
};
|
17
16
|
export declare const PATTERNS: {
|
18
17
|
STRING: RegExp;
|
@@ -132,6 +131,7 @@ export declare const ROUTES: {
|
|
132
131
|
readonly RESOURCE_TEMPLATE: "resource/template";
|
133
132
|
readonly ENVIRONMENT_DATA: "global/environment-variables";
|
134
133
|
readonly DASHBOARD_EVENT: "dashboard-event";
|
134
|
+
readonly LICENSE_DATA: "license/data";
|
135
135
|
};
|
136
136
|
export declare enum KEY_VALUE {
|
137
137
|
KEY = "key",
|
@@ -297,6 +297,7 @@ export declare const API_STATUS_CODES: {
|
|
297
297
|
EXPECTATION_FAILED: number;
|
298
298
|
UNPROCESSABLE_ENTITY: number;
|
299
299
|
LOCKED: number;
|
300
|
+
UNPROCESSABLE_CONTENT: number;
|
300
301
|
};
|
301
302
|
export declare enum SERVER_MODE {
|
302
303
|
EA_ONLY = "EA_ONLY",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as PropagateTagInfo } from './PropagateTagInfo';
|
2
|
-
export * from './ResizableTagTextArea';
|
3
2
|
export * from './TagDetails';
|
4
3
|
export * from './TagLabelValueSelector';
|
5
|
-
export
|
4
|
+
export * from './ResizableTagTextArea';
|
6
5
|
export * from './Types';
|
6
|
+
export { validateTagKeyValue, validateTagValue } from './tags.utils';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("Alt" | "F" | "E" | "R" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "
|
3
|
+
keys: ("Escape" | "Control" | "Alt" | "F" | "E" | "R" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Shift" | "Meta" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { useClickOutside } from './UseClickOutside/UseClickOutside';
|
2
1
|
export { useGetUserRoles } from './UseGetUserRoles';
|
2
|
+
export { useClickOutside } from './UseClickOutside/UseClickOutside';
|
3
|
+
export { useWindowSize } from './UseWindowSize/UseWindowSize';
|
4
|
+
export * from './useUrlFilters';
|
3
5
|
export * from './UseRegisterShortcut';
|
4
6
|
export * from './useStateFilters';
|
5
|
-
export * from './useUrlFilters';
|
6
|
-
export { useWindowSize } from './UseWindowSize/UseWindowSize';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
2
2
|
import { FormProps } from './types';
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "className" | "children" | "disabled" | "id" | "name" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "noValidate" | "tagName" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "action" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
|
2
1
|
export { RJSFForm } from './Form';
|
3
2
|
export type * from './types';
|
4
|
-
export {
|
3
|
+
export { getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap, conformPathToPointers, } from './utils';
|
4
|
+
export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
|
2
1
|
export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
2
|
+
export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
|
3
3
|
export { BaseInput as BaseInputTemplate } from './BaseInput';
|
4
4
|
export * from './ButtonTemplates';
|
5
5
|
export { Field as FieldTemplate } from './Field';
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { RefObject } from 'react';
|
2
1
|
import { TooltipProps } from '../Tooltip';
|
3
2
|
import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
|
4
3
|
import { ComponentSizeType } from '../../Shared/constants';
|
4
|
+
import { RefObject } from 'react';
|
5
5
|
type SegmentTooltipProps = Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo' | 'placement'>;
|
6
6
|
export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
|
7
7
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { default as SortableTableHeaderCell } from './SortableTableHeaderCell';
|
2
|
-
export type { SortableTableHeaderCellProps } from './types';
|
3
2
|
export { default as useResizableTableConfig } from './useResizableTableConfig';
|
3
|
+
export type { SortableTableHeaderCellProps } from './types';
|
package/dist/Common/index.d.ts
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
export * from './AddCDButton';
|
2
|
-
export * from './API';
|
3
|
-
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
4
|
-
export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
|
5
|
-
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
6
|
-
export * from './Checkbox';
|
7
|
-
export * from './CIPipeline.Types';
|
8
|
-
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
9
|
-
export * from './CodeEditor/types';
|
10
|
-
export * from './Common.service';
|
11
1
|
export * from './Constants';
|
12
|
-
export * from './
|
13
|
-
export
|
14
|
-
export
|
15
|
-
export { default as DevtronCopyright } from './DevtronCopyright';
|
16
|
-
export * from './DevtronProgressing';
|
17
|
-
export * from './Dialogs';
|
18
|
-
export * from './DraggableWrapper';
|
19
|
-
export * from './Drawer/Drawer';
|
20
|
-
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
21
|
-
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
2
|
+
export * from './ServerError';
|
3
|
+
export * from './Types';
|
4
|
+
export { default as Reload } from './Reload';
|
22
5
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
23
6
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
24
|
-
export * from './GenericDescription';
|
25
|
-
export { default as Grid } from './Grid/Grid';
|
26
7
|
export * from './Helper';
|
27
|
-
export * from './
|
28
|
-
export * from './
|
29
|
-
export * from './ImageTags.Types';
|
30
|
-
export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
|
31
|
-
export * from './Markdown';
|
8
|
+
export * from './Progressing';
|
9
|
+
export * from './Drawer/Drawer';
|
32
10
|
export * from './Modals/Modal';
|
33
11
|
export * from './Modals/VisibleModal';
|
34
12
|
export * from './Modals/VisibleModal2';
|
35
|
-
export
|
36
|
-
export
|
37
|
-
export * from './Policy.Types';
|
38
|
-
export { default as PopupMenu } from './PopupMenu';
|
39
|
-
export * from './Progressing';
|
13
|
+
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
14
|
+
export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
|
40
15
|
export { default as RadioGroup } from './RadioGroup';
|
41
|
-
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
42
16
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
43
|
-
export { default as
|
44
|
-
export * from './
|
17
|
+
export { default as PopupMenu } from './PopupMenu';
|
18
|
+
export * from './TippyCustomized';
|
19
|
+
export * from './CustomTagSelector';
|
20
|
+
export * from './Dialogs';
|
21
|
+
export * from './MultiSelectCustomization';
|
22
|
+
export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
|
23
|
+
export * from './Common.service';
|
24
|
+
export * from './Checkbox';
|
25
|
+
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
26
|
+
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
45
27
|
export * from './SearchBar';
|
46
|
-
export * from './SegmentedBarChart';
|
47
|
-
export * from './SegmentedControl';
|
48
|
-
export { default as Select } from './Select/Select';
|
49
|
-
export * from './ServerError';
|
50
28
|
export * from './SortableTableHeaderCell';
|
51
|
-
export * from './TippyCustomized';
|
52
29
|
export { default as Toggle } from './Toggle/Toggle';
|
30
|
+
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
31
|
+
export * from './CIPipeline.Types';
|
32
|
+
export * from './Policy.Types';
|
33
|
+
export * from './ImageTags';
|
34
|
+
export * from './ImageTags.Types';
|
35
|
+
export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
|
36
|
+
export { default as Grid } from './Grid/Grid';
|
37
|
+
export { default as Select } from './Select/Select';
|
38
|
+
export { ClipboardButton } from './ClipboardButton/ClipboardButton';
|
39
|
+
export * from './Hooks';
|
40
|
+
export * from './RJSF';
|
41
|
+
export * from './DevtronProgressing';
|
42
|
+
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
43
|
+
export * from './AddCDButton';
|
44
|
+
export * from './DraggableWrapper';
|
45
|
+
export * from './Pagination';
|
46
|
+
export * from './Markdown';
|
47
|
+
export * from './GenericDescription';
|
48
|
+
export * from './SegmentedBarChart';
|
49
|
+
export * from './CodeEditor/types';
|
53
50
|
export * from './Tooltip';
|
54
|
-
export * from './
|
51
|
+
export * from './SegmentedControl';
|
52
|
+
export * from './API';
|
53
|
+
export * from './DeleteCINodeButton';
|
54
|
+
export { default as DevtronCopyright } from './DevtronCopyright';
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { CMSecretExternalType } from '../../../../../../Shared/
|
1
|
+
import { CMSecretExternalType } from '../../../../../../Shared/index';
|
2
2
|
export declare const hasHashiOrAWS: (externalType: CMSecretExternalType) => boolean;
|
3
3
|
export declare const hasESO: (externalType: CMSecretExternalType) => boolean;
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export
|
1
|
+
export * from './types';
|
2
|
+
export * from './service';
|
2
3
|
export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
|
4
|
+
export { GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE } from './constants';
|
3
5
|
export * from './GUIView';
|
4
|
-
export * from './service';
|
5
|
-
export * from './types';
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ServerErrors } from '../../../../../../Common/ServerError';
|
2
1
|
import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
|
2
|
+
import { ServerErrors } from '../../../../../../Common/ServerError';
|
3
3
|
import { OverrideMergeStrategyType } from '../types';
|
4
4
|
export type DeploymentChartOptionkind = 'base' | 'env' | 'chartVersion' | 'deployment';
|
5
5
|
export interface DeploymentChartVersionType {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from './ConfigMapSecret';
|
2
|
-
export * from './constants';
|
3
1
|
export * from './DeploymentTemplate';
|
4
|
-
export { default as OverrideStrategyTippyContent } from './OverrideStrategyTippyContent';
|
5
2
|
export * from './types';
|
3
|
+
export * from './constants';
|
4
|
+
export { default as OverrideStrategyTippyContent } from './OverrideStrategyTippyContent';
|
6
5
|
export { getDeploymentStageTitle } from './utils';
|
6
|
+
export * from './ConfigMapSecret';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { STAGE_MAP } from './constants';
|
2
|
-
export * from './services';
|
3
1
|
export * from './types';
|
2
|
+
export * from './services';
|
4
3
|
export { getAPIOptionsWithTriggerTimeout } from './utils';
|
4
|
+
export { STAGE_MAP } from './constants';
|
5
5
|
export { isImageActiveOnEnvironment } from './utils';
|
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
|
|
6
6
|
envId: number;
|
7
7
|
abortControllerRef?: MutableRefObject<AbortController>;
|
8
8
|
}) => Promise<UploadFileDTO>;
|
9
|
-
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef,
|
9
|
+
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
|
2
2
|
import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
|
3
|
+
import { STAGE_MAP } from '../../../../index';
|
3
4
|
import { DeploymentStrategy } from '../../../../../Shared/Components';
|
4
5
|
import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
|
5
|
-
import { STAGE_MAP } from '../../../../index';
|
6
6
|
interface ConfigSecretType {
|
7
7
|
label: string;
|
8
8
|
value: string;
|
@@ -100,7 +100,6 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
100
100
|
ciArtifactId: number;
|
101
101
|
appId: number;
|
102
102
|
stageType: DeploymentNodeType;
|
103
|
-
skipIfHibernated: boolean;
|
104
103
|
deploymentWithConfig?: string;
|
105
104
|
wfrId?: number;
|
106
105
|
/**
|
@@ -109,7 +108,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
109
108
|
runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
|
110
109
|
isRollbackTrigger?: boolean;
|
111
110
|
}
|
112
|
-
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'
|
111
|
+
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'> {
|
113
112
|
cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
|
114
113
|
isRollbackDeployment: boolean;
|
115
114
|
wfrIdForDeploymentWithSpecificTrigger?: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { APIOptions } from '../../../../../Common/Types';
|
2
1
|
import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
|
2
|
+
import { APIOptions } from '../../../../../Common/Types';
|
3
3
|
export declare const uploadCIPipelineFile: ({ file, appId, ciPipelineId, envId, allowedExtensions, maxUploadSize, abortControllerRef, }: {
|
4
4
|
appId: number;
|
5
5
|
ciPipelineId: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from './constants';
|
2
|
-
export
|
3
|
-
export * from './shared';
|
4
|
-
export type { UserGroupDTO, UserGroupType, UserListFilterParams, UserRoleGroup } from './types';
|
2
|
+
export type { UserListFilterParams, UserRoleGroup, UserGroupDTO, UserGroupType } from './types';
|
5
3
|
export { UserTypeToFetchType } from './types';
|
4
|
+
export * from './shared';
|
5
|
+
export * from './service';
|
6
6
|
export { getUserAndApiTokenOption } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UserRoleGroup } from '../../../types';
|
2
1
|
import { UserRoleGroupsTableProps } from './types';
|
2
|
+
import { UserRoleGroup } from '../../../types';
|
3
3
|
declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
|
4
4
|
modifierClassName: string;
|
5
5
|
showDelete: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
|
2
|
-
import { CMSecretComponentType } from '../../../Shared/
|
3
|
-
import {
|
2
|
+
import { CMSecretComponentType } from '../../../Shared/index';
|
3
|
+
import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, BuildInfraInheritActionsOnSubValues, InfraConfigWithSubValues } from './types';
|
4
4
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
5
5
|
readonly STEP: "any";
|
6
6
|
readonly MIN: 0;
|
@@ -1,12 +1,12 @@
|
|
1
|
+
export { default as BuildInfraDescriptor } from './Descriptor';
|
2
|
+
export { default as BuildInfraFooter } from './Footer';
|
1
3
|
export { default as BuildInfraConfigForm } from './BuildInfraConfigForm';
|
4
|
+
export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
|
2
5
|
export { default as BuildInfraProfileDescriptionField } from './BuildInfraDescriptionField';
|
3
6
|
export { default as BuildInfraFormAction } from './BuildInfraFormAction';
|
4
|
-
export { default as
|
7
|
+
export { default as useBuildInfraForm } from './UseBuildInfraForm';
|
5
8
|
export * from './BuildInfraUtilityContext';
|
6
|
-
export * from './constants';
|
7
|
-
export { default as BuildInfraDescriptor } from './Descriptor';
|
8
|
-
export { default as BuildInfraFooter } from './Footer';
|
9
9
|
export * from './services';
|
10
|
-
export * from './types';
|
11
|
-
export { default as useBuildInfraForm } from './UseBuildInfraForm';
|
12
10
|
export * from './utils';
|
11
|
+
export * from './types';
|
12
|
+
export * from './constants';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
|
2
2
|
import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
|
3
|
-
import { ServerErrors } from '../../../Common';
|
4
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
5
4
|
import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
|
5
|
+
import { ServerErrors } from '../../../Common';
|
6
6
|
/**
|
7
7
|
* Unique actions that will be dispatched and,
|
8
8
|
* Keeping values (cpu_limit, etc) in sync with backend
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ValidationResponseType } from '../../../Shared/validations';
|
2
1
|
import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
|
2
|
+
import { ValidationResponseType } from '../../../Shared/validations';
|
3
3
|
/**
|
4
4
|
* @description A valid platform name should not be empty and be less than 128 characters. Plus profile can not have duplicate platform names
|
5
5
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from './constants';
|
2
|
-
export { default as ForceDeleteOption } from './ForceDeleteOption';
|
3
|
-
export * from './Helper';
|
4
|
-
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
5
1
|
export * from './ResourceBrowser.Types';
|
6
|
-
export * from './
|
2
|
+
export * from './Helper';
|
3
|
+
export * from './constants';
|
7
4
|
export * from './types';
|
5
|
+
export * from './service';
|
6
|
+
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
7
|
+
export { default as ForceDeleteOption } from './ForceDeleteOption';
|
package/dist/Pages/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as BulkOperations } from './BulkOperations.component';
|
2
|
-
export type {
|
2
|
+
export type { BulkOperationModalProps, BulkOperation } from './types';
|
@@ -1,8 +1,8 @@
|
|
1
|
+
import { SegmentedBarChartProps } from '../../../Common/SegmentedBarChart';
|
1
2
|
import { ReactNode } from 'react';
|
2
3
|
import { APIOptions, DrawerProps } from '../../../Common/index';
|
3
|
-
import { SegmentedBarChartProps } from '../../../Common/SegmentedBarChart';
|
4
|
-
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
5
4
|
import { getProgressingStateForStatus } from '../Security';
|
5
|
+
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
6
6
|
interface BulkOperationAdditionalKeysType {
|
7
7
|
label: string;
|
8
8
|
value: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
2
|
-
import { LinkProps } from 'react-router-dom';
|
3
1
|
import { TooltipProps } from '@Common/Tooltip/types';
|
4
2
|
import { ComponentSizeType } from '../../constants';
|
3
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
4
|
+
import { LinkProps } from 'react-router-dom';
|
5
5
|
export declare enum ButtonVariantType {
|
6
6
|
primary = "primary",
|
7
7
|
secondary = "secondary",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
2
|
-
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
3
2
|
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
4
3
|
import { EnvResourceType } from '../../../Services';
|
4
|
+
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
5
5
|
import { History, HistoryLogsProps } from '../types';
|
6
6
|
export interface DeploymentHistoryConfigDiffQueryParams {
|
7
7
|
compareWfrId: number;
|
@@ -81,6 +81,6 @@ export declare const TERMINAL_STATUS_COLOR_CLASS_MAP: {
|
|
81
81
|
readonly [x: string]: "cr-5" | "cg-5" | "co-5";
|
82
82
|
};
|
83
83
|
export declare const PROGRESSING_STATUS: {
|
84
|
-
readonly [x: string]: "
|
84
|
+
readonly [x: string]: "running" | "progressing" | "starting" | "initiating" | "queued";
|
85
85
|
};
|
86
86
|
export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
|