@devtron-labs/devtron-fe-common-lib 1.11.0-beta-8 → 1.11.0-beta-10
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-BpjsMGeV.js → @code-editor-CwOIzAA5.js} +25169 -25174
- package/dist/{@common-rjsf-Dsu9Bg36.js → @common-rjsf-DyzjJJpj.js} +29 -29
- package/dist/{@framer-motion-fHDEQv6l.js → @framer-motion-BaOj5B1h.js} +3 -3
- package/dist/{@react-dates-DcvJfxWS.js → @react-dates-CdRpENvm.js} +853 -852
- package/dist/{@react-select-Cn-uZXHc.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BJLK_tci.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-DORSSPJC.js → @vendor-SjXFleuT.js} +34001 -33965
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CIPipeline.Types.d.ts +20 -19
- 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 +1 -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 +3 -2
- 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/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
- 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/constants.d.ts +2 -2
- 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/utils.d.ts +4 -3
- 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/DynamicDataTableHeader.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +6 -2
- 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/Icon/Icon.d.ts +8 -0
- package/dist/Shared/Components/Icon/types.d.ts +3 -2
- 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/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
- package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +3 -3
- package/dist/Shared/Components/License/types.d.ts +2 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- 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 +65 -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 +3 -2
- 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 +2 -1
- 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 +4 -8
- 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 +17 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
- package/dist/assets/ic-cpu.07ca0915.svg +3 -0
- package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
- package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
- package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
- package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +847 -844
- package/package.json +5 -4
- package/dist/assets/ic-cpu.8be677ee.svg +0 -20
- package/dist/assets/ic-memory.c4159f96.svg +0 -19
@@ -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';
|
3
2
|
export { default as CoreAPI } from './CoreAPI';
|
3
|
+
export { abortPreviousRequests, getIsRequestAborted, handleRedirectToLicenseActivation } from './utils';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DynamicDataTableCellValidationState } from '../Shared/Components';
|
1
|
+
import { DynamicDataTableCellValidationState, KeyValueTableData } from '../Shared/Components';
|
2
2
|
export interface MaterialType {
|
3
3
|
name: string;
|
4
4
|
type: string;
|
@@ -123,7 +123,7 @@ export interface PortMapType {
|
|
123
123
|
portOnLocal: number;
|
124
124
|
portOnContainer: number;
|
125
125
|
}
|
126
|
-
interface ConditionDetails {
|
126
|
+
export interface ConditionDetails {
|
127
127
|
id: number;
|
128
128
|
conditionOnVariable: string;
|
129
129
|
conditionOperator: string;
|
@@ -220,10 +220,7 @@ export declare enum WORKFLOW_CACHE_CONFIG_ENUM {
|
|
220
220
|
}
|
221
221
|
export interface FormType {
|
222
222
|
name: string;
|
223
|
-
args:
|
224
|
-
key: string;
|
225
|
-
value: string;
|
226
|
-
}[];
|
223
|
+
args: KeyValueTableData[];
|
227
224
|
materials: MaterialType[];
|
228
225
|
gitHost: Githost;
|
229
226
|
webhookEvents: WebhookEvent[];
|
@@ -271,22 +268,26 @@ export declare enum InputOutputVariablesHeaderKeys {
|
|
271
268
|
FORMAT = "format",
|
272
269
|
VALUE = "val"
|
273
270
|
}
|
274
|
-
export
|
271
|
+
export declare enum ConditionDataTableHeaderKeys {
|
272
|
+
VARIABLE = "variable",
|
273
|
+
OPERATOR = "operator",
|
274
|
+
VALUE = "val"
|
275
|
+
}
|
276
|
+
type InputOutputVariablesErrorObj = Record<InputOutputVariablesHeaderKeys, DynamicDataTableCellValidationState>;
|
277
|
+
type ConditionDetailsErrorObj = Record<ConditionDataTableHeaderKeys, DynamicDataTableCellValidationState>;
|
278
|
+
interface StepDetailTaskErrorObj {
|
279
|
+
inputVariables?: Record<number, InputOutputVariablesErrorObj>;
|
280
|
+
outputVariables?: Record<number, InputOutputVariablesErrorObj>;
|
281
|
+
isInputVariablesValid?: boolean;
|
282
|
+
isOutputVariablesValid?: boolean;
|
283
|
+
conditionDetails?: Record<number, ConditionDetailsErrorObj>;
|
284
|
+
isConditionDetailsValid?: boolean;
|
285
|
+
}
|
275
286
|
export interface TaskErrorObj {
|
276
287
|
isValid: boolean;
|
277
288
|
name: ErrorObj;
|
278
|
-
inlineStepDetail?:
|
279
|
-
|
280
|
-
outputVariables?: Record<number, InputOutputVariablesErrorObj>;
|
281
|
-
isInputVariablesValid?: boolean;
|
282
|
-
isOutputVariablesValid?: boolean;
|
283
|
-
};
|
284
|
-
pluginRefStepDetail?: {
|
285
|
-
inputVariables?: Record<number, InputOutputVariablesErrorObj>;
|
286
|
-
outputVariables?: Record<number, InputOutputVariablesErrorObj>;
|
287
|
-
isInputVariablesValid?: boolean;
|
288
|
-
isOutputVariablesValid?: boolean;
|
289
|
-
};
|
289
|
+
inlineStepDetail?: StepDetailTaskErrorObj;
|
290
|
+
pluginRefStepDetail?: StepDetailTaskErrorObj;
|
290
291
|
}
|
291
292
|
export interface FormErrorObjectType {
|
292
293
|
name: ErrorObj;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './readOnlyTooltip';
|
1
|
+
export * from './DiffMinimap';
|
3
2
|
export * from './findAndReplace';
|
3
|
+
export * from './readOnlyTooltip';
|
4
4
|
export * from './yamlHighlight';
|
5
|
-
export * from './
|
5
|
+
export * from './yamlParseLinter';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as CodeEditor } from './CodeEditor';
|
2
|
-
export type {
|
2
|
+
export type { CodeEditorHeaderProps, CodeEditorProps, 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';
|
4
2
|
import { MergeView } from '@codemirror/merge';
|
5
3
|
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 { Never } from '../../Shared/types';
|
8
7
|
import { AppThemeType } from '../../Shared/Providers';
|
8
|
+
import { Never } from '../../Shared/types';
|
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';
|
2
1
|
import { MergeView } from '@codemirror/merge';
|
3
2
|
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,6 +12,7 @@ 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;
|
15
16
|
};
|
16
17
|
export declare const PATTERNS: {
|
17
18
|
STRING: RegExp;
|
@@ -297,7 +298,6 @@ export declare const API_STATUS_CODES: {
|
|
297
298
|
EXPECTATION_FAILED: number;
|
298
299
|
UNPROCESSABLE_ENTITY: number;
|
299
300
|
LOCKED: number;
|
300
|
-
UNPROCESSABLE_CONTENT: number;
|
301
301
|
};
|
302
302
|
export declare enum SERVER_MODE {
|
303
303
|
EA_ONLY = "EA_ONLY",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as PropagateTagInfo } from './PropagateTagInfo';
|
2
|
+
export * from './ResizableTagTextArea';
|
2
3
|
export * from './TagDetails';
|
3
4
|
export * from './TagLabelValueSelector';
|
4
|
-
export * from './ResizableTagTextArea';
|
5
|
-
export * from './Types';
|
6
5
|
export { validateTagKeyValue, validateTagValue } from './tags.utils';
|
6
|
+
export * from './Types';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("
|
3
|
+
keys: ("R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "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 { useGetUserRoles } from './UseGetUserRoles';
|
2
1
|
export { useClickOutside } from './UseClickOutside/UseClickOutside';
|
3
|
-
export {
|
4
|
-
export * from './useUrlFilters';
|
2
|
+
export { useGetUserRoles } from './UseGetUserRoles';
|
5
3
|
export * from './UseRegisterShortcut';
|
6
4
|
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, "name" | "id" | "children" | "disabled" | "className" | "onChange" | "target" | "onFocus" | "onBlur" | "onSubmit" | "onError" | "autoComplete" | "action" | "method" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "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';
|
1
2
|
export { RJSFForm } from './Form';
|
2
3
|
export type * from './types';
|
3
|
-
export { getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap,
|
4
|
-
export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
|
4
|
+
export { conformPathToPointers, getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap, } from './utils';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
2
1
|
export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
|
2
|
+
export { ArrayFieldTemplate } from './ArrayFieldTemplate';
|
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';
|
1
2
|
import { TooltipProps } from '../Tooltip';
|
2
3
|
import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
|
3
4
|
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 { default as useResizableTableConfig } from './useResizableTableConfig';
|
3
2
|
export type { SortableTableHeaderCellProps } from './types';
|
3
|
+
export { default as useResizableTableConfig } from './useResizableTableConfig';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
2
1
|
import { TippyProps } from '@tippyjs/react';
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
type BaseTooltipProps = {
|
4
4
|
/**
|
5
5
|
* If true, show tippy on truncate
|
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';
|
1
11
|
export * from './Constants';
|
2
|
-
export * from './
|
3
|
-
export
|
4
|
-
export
|
12
|
+
export * from './CustomTagSelector';
|
13
|
+
export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
|
14
|
+
export * from './DeleteCINodeButton';
|
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';
|
5
22
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
6
23
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
24
|
+
export * from './GenericDescription';
|
25
|
+
export { default as Grid } from './Grid/Grid';
|
7
26
|
export * from './Helper';
|
8
|
-
export * from './
|
9
|
-
export * from './
|
27
|
+
export * from './Hooks';
|
28
|
+
export * from './ImageTags';
|
29
|
+
export * from './ImageTags.Types';
|
30
|
+
export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
|
31
|
+
export * from './Markdown';
|
10
32
|
export * from './Modals/Modal';
|
11
33
|
export * from './Modals/VisibleModal';
|
12
34
|
export * from './Modals/VisibleModal2';
|
13
|
-
export
|
14
|
-
export
|
35
|
+
export * from './MultiSelectCustomization';
|
36
|
+
export * from './Pagination';
|
37
|
+
export * from './Policy.Types';
|
38
|
+
export { default as PopupMenu } from './PopupMenu';
|
39
|
+
export * from './Progressing';
|
15
40
|
export { default as RadioGroup } from './RadioGroup';
|
41
|
+
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
16
42
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
17
|
-
export { default as
|
18
|
-
export * from './
|
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';
|
43
|
+
export { default as Reload } from './Reload';
|
44
|
+
export * from './RJSF';
|
27
45
|
export * from './SearchBar';
|
46
|
+
export * from './SegmentedBarChart';
|
47
|
+
export * from './SegmentedControl';
|
48
|
+
export { default as Select } from './Select/Select';
|
49
|
+
export * from './ServerError';
|
28
50
|
export * from './SortableTableHeaderCell';
|
51
|
+
export * from './TippyCustomized';
|
29
52
|
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';
|
50
53
|
export * from './Tooltip';
|
51
|
-
export * from './
|
52
|
-
export * from './API';
|
53
|
-
export * from './DeleteCINodeButton';
|
54
|
-
export { default as DevtronCopyright } from './DevtronCopyright';
|
54
|
+
export * from './Types';
|
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/Services';
|
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 * from './types';
|
2
|
-
export * from './service';
|
3
|
-
export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
|
4
1
|
export { GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE } from './constants';
|
2
|
+
export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
|
5
3
|
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 { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
|
2
1
|
import { ServerErrors } from '../../../../../../Common/ServerError';
|
2
|
+
import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
|
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 './
|
2
|
-
export * from './types';
|
1
|
+
export * from './ConfigMapSecret';
|
3
2
|
export * from './constants';
|
3
|
+
export * from './DeploymentTemplate';
|
4
4
|
export { default as OverrideStrategyTippyContent } from './OverrideStrategyTippyContent';
|
5
|
+
export * from './types';
|
5
6
|
export { getDeploymentStageTitle } from './utils';
|
6
|
-
export * from './ConfigMapSecret';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ResourceKindType } from '../../../../../Shared/types';
|
2
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
2
|
+
import { ResourceKindType } from '../../../../../Shared/types';
|
3
3
|
export declare enum ConfigHeaderTabType {
|
4
4
|
VALUES = "values",
|
5
5
|
INHERITED = "inherited",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export
|
1
|
+
export { STAGE_MAP } from './constants';
|
2
2
|
export * from './services';
|
3
|
+
export * from './types';
|
3
4
|
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, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
|
9
|
+
export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, 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';
|
4
3
|
import { DeploymentStrategy } from '../../../../../Shared/Components';
|
5
4
|
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,6 +100,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
100
100
|
ciArtifactId: number;
|
101
101
|
appId: number;
|
102
102
|
stageType: DeploymentNodeType;
|
103
|
+
skipIfHibernated: boolean;
|
103
104
|
deploymentWithConfig?: string;
|
104
105
|
wfrId?: number;
|
105
106
|
/**
|
@@ -108,7 +109,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
|
|
108
109
|
runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
|
109
110
|
isRollbackTrigger?: boolean;
|
110
111
|
}
|
111
|
-
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'
|
112
|
+
export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
|
112
113
|
cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
|
113
114
|
isRollbackDeployment: boolean;
|
114
115
|
wfrIdForDeploymentWithSpecificTrigger?: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
|
2
1
|
import { APIOptions } from '../../../../../Common/Types';
|
2
|
+
import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/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 type { UserListFilterParams, UserRoleGroup, UserGroupDTO, UserGroupType } from './types';
|
3
|
-
export { UserTypeToFetchType } from './types';
|
4
|
-
export * from './shared';
|
5
2
|
export * from './service';
|
3
|
+
export * from './shared';
|
4
|
+
export type { UserGroupDTO, UserGroupType, UserListFilterParams, UserRoleGroup } from './types';
|
5
|
+
export { UserTypeToFetchType } from './types';
|
6
6
|
export { getUserAndApiTokenOption } from './utils';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { SelectPickerOptionType } from '../../../Shared/Components';
|
2
1
|
import { GroupBase } from 'react-select';
|
2
|
+
import { SelectPickerOptionType } from '../../../Shared/Components';
|
3
3
|
export declare const getUserAndApiTokenOptions: () => Promise<GroupBase<SelectPickerOptionType<string>>[]>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { UserRoleGroupsTableProps } from './types';
|
2
1
|
import { UserRoleGroup } from '../../../types';
|
2
|
+
import { UserRoleGroupsTableProps } 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 { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes,
|
2
|
+
import { CMSecretComponentType } from '../../../Shared/Services';
|
3
|
+
import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } 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';
|
3
1
|
export { default as BuildInfraConfigForm } from './BuildInfraConfigForm';
|
4
|
-
export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
|
5
2
|
export { default as BuildInfraProfileDescriptionField } from './BuildInfraDescriptionField';
|
6
3
|
export { default as BuildInfraFormAction } from './BuildInfraFormAction';
|
7
|
-
export { default as
|
4
|
+
export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
|
8
5
|
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 './utils';
|
11
10
|
export * from './types';
|
12
|
-
export
|
11
|
+
export { default as useBuildInfraForm } from './UseBuildInfraForm';
|
12
|
+
export * from './utils';
|
@@ -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';
|
3
4
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
4
5
|
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 { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
|
2
1
|
import { ValidationResponseType } from '../../../Shared/validations';
|
2
|
+
import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
|
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 './ResourceBrowser.Types';
|
2
|
-
export * from './Helper';
|
3
1
|
export * from './constants';
|
4
|
-
export * from './types';
|
5
|
-
export * from './service';
|
6
|
-
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
7
2
|
export { default as ForceDeleteOption } from './ForceDeleteOption';
|
3
|
+
export * from './Helper';
|
4
|
+
export { default as NodeDrainOptions } from './NodeDrainOptions';
|
5
|
+
export * from './ResourceBrowser.Types';
|
6
|
+
export * from './service';
|
7
|
+
export * from './types';
|
package/dist/Pages/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export { default as AnimatedTimer } from './AnimatedTimer.component';
|