@devtron-labs/devtron-fe-common-lib 1.9.6-beta-1 → 1.9.6
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-0ze0wq4Z.js → @code-editor-C2lH000m.js} +6316 -6725
- package/dist/{@common-rjsf-BaGU4GjS.js → @common-rjsf-DPGnH55j.js} +2 -2
- package/dist/{@framer-motion--UCnj55s.js → @framer-motion-FKAND_5t.js} +1 -1
- package/dist/{@react-dates-B3_Y9Kyv.js → @react-dates-Cc7UHR4b.js} +243 -243
- package/dist/{@react-select-DMzK6fkF.js → @react-select-45zYr11O.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Ck5oyLp9.js → @react-virtualized-sticky-tree-Du399kou.js} +1 -1
- package/dist/{@vendor-DXbFZ041.js → @vendor-CSolG4o7.js} +24792 -30959
- package/dist/Common/Constants.d.ts +88 -94
- package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
- package/dist/Common/DeleteCINodeButton/types.d.ts +1 -2
- package/dist/Common/DeleteCINodeButton/utils.d.ts +2 -5
- package/dist/Common/Tooltip/constants.d.ts +0 -1
- package/dist/Common/Types.d.ts +0 -4
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +0 -38
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +1 -3
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -2
- package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
- package/dist/Shared/Components/GitProviderIcon/types.d.ts +3 -8
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -3
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/constants.d.ts +15 -7
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -2
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Services/app.service.d.ts +1 -4
- package/dist/Shared/Services/common.service.d.ts +1 -2
- package/dist/Shared/Services/index.d.ts +0 -1
- package/dist/Shared/validations.d.ts +0 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@vendor.css +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +801 -810
- package/package.json +1 -2
- package/dist/Common/GenericDescription/utils.d.ts +0 -1
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +0 -3
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +0 -2
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +0 -26
- package/dist/Shared/Components/GenericInfoCard/utils.d.ts +0 -2
- package/dist/Shared/Components/GitProviderIcon/utils.d.ts +0 -2
- package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +0 -2
- package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +0 -2
- package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +0 -3
- package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +0 -3
- package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +0 -3
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +0 -4
- package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +0 -19
- package/dist/Shared/Components/GraphVisualizer/constants.d.ts +0 -15
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +0 -2
- package/dist/Shared/Components/GraphVisualizer/types.d.ts +0 -12
- package/dist/Shared/Components/GraphVisualizer/utils.d.ts +0 -17
- package/dist/Shared/Services/template.service.d.ts +0 -2
- package/dist/assets/ic-card-stack.efd37c91.svg +0 -3
- package/dist/assets/ic-copy.416d85f3.svg +0 -3
- package/dist/assets/ic-new.2c179139.svg +0 -3
@@ -30,102 +30,96 @@ export declare const PATTERNS: {
|
|
30
30
|
ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: RegExp;
|
31
31
|
};
|
32
32
|
export declare const URLS: {
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
readonly GLOBAL_CONFIG: "/global-config";
|
64
|
-
readonly CONFIG_DRIFT: "config-drift";
|
65
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
66
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
67
|
-
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
33
|
+
LOGIN_SSO: string;
|
34
|
+
PERMISSION_GROUPS: string;
|
35
|
+
APP: string;
|
36
|
+
APP_LIST: string;
|
37
|
+
CHARTS_DISCOVER: string;
|
38
|
+
JOB: string;
|
39
|
+
CREATE_JOB: string;
|
40
|
+
GETTING_STARTED: string;
|
41
|
+
STACK_MANAGER_ABOUT: string;
|
42
|
+
APP_LIST_HELM: string;
|
43
|
+
APP_CI_DETAILS: string;
|
44
|
+
LOGS: string;
|
45
|
+
CREATE: string;
|
46
|
+
RELEASES: string;
|
47
|
+
DEVTRON_CHARTS: string;
|
48
|
+
APP_DEPLOYMNENT_HISTORY: string;
|
49
|
+
APP_DETAILS: string;
|
50
|
+
APP_DETAILS_K8: string;
|
51
|
+
DETAILS: string;
|
52
|
+
CD_DETAILS: string;
|
53
|
+
APP_TRIGGER: string;
|
54
|
+
GLOBAL_CONFIG_DOCKER: string;
|
55
|
+
DEPLOYMENT_HISTORY_CONFIGURATIONS: string;
|
56
|
+
GLOBAL_CONFIG_SCOPED_VARIABLES: string;
|
57
|
+
GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: string;
|
58
|
+
GLOBAL_CONFIG_DEPLOYMENT_CHARTS_UPLOAD_CHART: string;
|
59
|
+
NETWORK_STATUS_INTERFACE: string;
|
60
|
+
RESOURCE_BROWSER: string;
|
61
|
+
COMPARE_CLUSTERS: string;
|
62
|
+
CONFIG_DRIFT: string;
|
68
63
|
};
|
69
64
|
export declare const ROUTES: {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
readonly ENVIRONMENT_DATA: "global/environment-variables";
|
65
|
+
APP: string;
|
66
|
+
APP_ARTIFACT_PROMOTE_MATERIAL: string;
|
67
|
+
APP_TEMPLATE_DATA: string;
|
68
|
+
PROJECT_LIST_MIN: string;
|
69
|
+
USER_CHECK_ROLE: string;
|
70
|
+
IMAGE_TAGGING: string;
|
71
|
+
CREATE_RESOURCE: string;
|
72
|
+
K8S_RESOURCE_CREATE: string;
|
73
|
+
CI_CONFIG_GET: string;
|
74
|
+
CD_MATERIAL_GET: string;
|
75
|
+
DEPLOYMENT_TEMPLATE_LIST: string;
|
76
|
+
INFRA_CONFIG_PROFILE: string;
|
77
|
+
SCAN_RESULT: string;
|
78
|
+
NOTIFIER: string;
|
79
|
+
APP_LIST: string;
|
80
|
+
TELEMETRY_EVENT: string;
|
81
|
+
SERVER_INFO_API: string;
|
82
|
+
ATTRIBUTES_USER: string;
|
83
|
+
GET: string;
|
84
|
+
UPDATE: string;
|
85
|
+
ENVIRONMENT_LIST_MIN: string;
|
86
|
+
CLUSTER: string;
|
87
|
+
API_RESOURCE: string;
|
88
|
+
GVK: string;
|
89
|
+
NAMESPACE: string;
|
90
|
+
CLUSTER_NOTE: string;
|
91
|
+
APPLICATION_NOTE: string;
|
92
|
+
GIT_HOST_EVENT: string;
|
93
|
+
HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP: string;
|
94
|
+
DEPLOYMENT_STATUS: string;
|
95
|
+
MANUAL_SYNC: string;
|
96
|
+
CD_CONFIG: string;
|
97
|
+
CONFIG_CD_PIPELINE: string;
|
98
|
+
MODULE_CONFIGURED: string;
|
99
|
+
RESOURCE_HISTORY_DEPLOYMENT: string;
|
100
|
+
ATTRIBUTES: string;
|
101
|
+
ATTRIBUTES_CREATE: string;
|
102
|
+
ATTRIBUTES_UPDATE: string;
|
103
|
+
APP_LIST_MIN: string;
|
104
|
+
CLUSTER_LIST_MIN: string;
|
105
|
+
CLUSTER_LIST_RAW: string;
|
106
|
+
PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
|
107
|
+
PLUGIN_GLOBAL_LIST_V2: string;
|
108
|
+
PLUGIN_GLOBAL_LIST_TAGS: string;
|
109
|
+
PLUGIN_LIST_MIN: string;
|
110
|
+
DEPLOYMENT_CHARTS_LIST: string;
|
111
|
+
USER_LIST_MIN: string;
|
112
|
+
CONFIG_DATA: string;
|
113
|
+
K8S_RESOURCE: string;
|
114
|
+
K8S_RESOURCE_LIST: string;
|
115
|
+
FILE_UPLOAD: string;
|
116
|
+
PLUGIN_GLOBAL_VARIABLES: string;
|
117
|
+
CONFIG_COMPARE_SECRET: string;
|
118
|
+
SCOPED_GLOBAL_VARIABLES: string;
|
119
|
+
CD_TRIGGER_POST: string;
|
120
|
+
DELETE_RESOURCE: string;
|
121
|
+
NODE_CAPACITY: string;
|
122
|
+
ENVIRONMENT_DATA: string;
|
129
123
|
};
|
130
124
|
export declare enum KEY_VALUE {
|
131
125
|
KEY = "key",
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { DeleteCINodeButtonProps } from './types';
|
2
|
-
export declare const DeleteCINodeButton: ({ testId, showIconOnly, disabled, title, isJobView, deletePayloadConfig, onDelete, getWorkflows,
|
2
|
+
export declare const DeleteCINodeButton: ({ testId, showIconOnly, disabled, title, isJobView, deletePayloadConfig, onDelete, getWorkflows, }: DeleteCINodeButtonProps) => JSX.Element;
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { AppConfigProps } from '../../Pages/index';
|
2
1
|
interface DeletePayloadConfig {
|
3
2
|
appId: string;
|
4
3
|
appWorkflowId: number;
|
5
4
|
pipelineId: number;
|
6
5
|
pipelineName: string;
|
7
6
|
}
|
8
|
-
export interface DeleteCINodeButtonProps
|
7
|
+
export interface DeleteCINodeButtonProps {
|
9
8
|
testId: string;
|
10
9
|
title: string;
|
11
10
|
showIconOnly?: boolean;
|
@@ -1,5 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare function
|
3
|
-
isRegexMaterial?: boolean;
|
4
|
-
}): Promise<any>;
|
5
|
-
export declare function deleteWorkflow(appId: string, workflowId: number, isTemplateView: AppConfigProps['isTemplateView']): Promise<import('..').ResponseType<any>>;
|
1
|
+
export declare function savePipeline(request: any, isRegexMaterial?: boolean): Promise<any>;
|
2
|
+
export declare function deleteWorkflow(appId: string, workflowId: number): Promise<import('..').ResponseType<any>>;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import { ResourceKindType } from '../../../../../Shared/types';
|
2
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
3
2
|
export declare enum ConfigHeaderTabType {
|
4
3
|
VALUES = "values",
|
@@ -33,40 +32,3 @@ export interface OverrideStrategyTippyContentProps {
|
|
33
32
|
*/
|
34
33
|
children?: ReactNode;
|
35
34
|
}
|
36
|
-
export interface AppConfigProps {
|
37
|
-
appName: string;
|
38
|
-
resourceKind: Extract<ResourceKindType, ResourceKindType.devtronApplication | ResourceKindType.job>;
|
39
|
-
filteredEnvIds?: string;
|
40
|
-
isTemplateView?: boolean;
|
41
|
-
}
|
42
|
-
export declare enum GetTemplateAPIRouteType {
|
43
|
-
GIT_MATERIAL = "git-material",
|
44
|
-
CI_BUILD_CONFIG = "ci-build-config",
|
45
|
-
STAGE_STATUS = "stage-status",
|
46
|
-
CD_DEPLOY_CONFIG = "cd-deploy-config",
|
47
|
-
CD_ENV_LIST = "cd-env-list",
|
48
|
-
CONFIG_DEPLOYMENT_TEMPLATE = "config/deployment-template",
|
49
|
-
CONFIG_DEPLOYMENT_TEMPLATE_ENV = "config/deployment-template/env",
|
50
|
-
CONFIG_DATA = "config-data",
|
51
|
-
CONFIG_CM = "config/config-map",
|
52
|
-
CONFIG_CS = "config/secret",
|
53
|
-
WORKFLOW = "workflow",
|
54
|
-
WORKFLOW_LIST = "workflow/list",
|
55
|
-
OVERVIEW = "overview",
|
56
|
-
README = "readme",
|
57
|
-
CD_PIPELINE_LIST = "cd-pipeline/list",
|
58
|
-
EXTERNAL_CI_LIST = "external-ci/list",
|
59
|
-
EXTERNAL_CI = "external-ci",
|
60
|
-
CI_PIPELINE = "ci-pipeline",
|
61
|
-
CD_PIPELINE = "cd-pipeline",
|
62
|
-
CONFIG_STRATEGY = "config/strategy",
|
63
|
-
CHART_REF = "chartRef",
|
64
|
-
PIPELINE_SUGGEST_CI = "pipeline/suggest/ci",
|
65
|
-
PIPELINE_SUGGEST_CD = "pipeline/suggest/cd"
|
66
|
-
}
|
67
|
-
export interface GetTemplateAPIRouteProps {
|
68
|
-
type: GetTemplateAPIRouteType;
|
69
|
-
queryParams: {
|
70
|
-
id: string | number;
|
71
|
-
} & Record<string, any>;
|
72
|
-
}
|
package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
import { FloatingVariablesSuggestionsProps } from './types';
|
3
|
-
declare const _default: React.MemoExoticComponent<({ zIndex, appId, envId, clusterId, bounds, hideObjectVariables, showValueOnHover,
|
3
|
+
declare const _default: React.MemoExoticComponent<({ zIndex, appId, envId, clusterId, bounds, hideObjectVariables, showValueOnHover, }: FloatingVariablesSuggestionsProps) => JSX.Element>;
|
4
4
|
export default _default;
|
@@ -1,4 +1,2 @@
|
|
1
1
|
import { FloatingVariablesSuggestionsProps, ScopedVariableType } from './types';
|
2
|
-
export declare const getScopedVariables: (appId: FloatingVariablesSuggestionsProps["appId"], envId: FloatingVariablesSuggestionsProps["envId"], clusterId: FloatingVariablesSuggestionsProps["clusterId"],
|
3
|
-
hideObjectVariables?: boolean;
|
4
|
-
}) => Promise<ScopedVariableType[]>;
|
2
|
+
export declare const getScopedVariables: (appId: FloatingVariablesSuggestionsProps["appId"], envId: FloatingVariablesSuggestionsProps["envId"], clusterId: FloatingVariablesSuggestionsProps["clusterId"], hideObjectVariables?: boolean) => Promise<ScopedVariableType[]>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { AppConfigProps } from '../../../Pages/index';
|
2
1
|
import { DraggableBounds } from 'react-draggable';
|
3
2
|
export interface ScopedVariableType {
|
4
3
|
variableName: string;
|
@@ -8,7 +7,7 @@ export interface ScopedVariableType {
|
|
8
7
|
} | null;
|
9
8
|
isRedacted: boolean;
|
10
9
|
}
|
11
|
-
export interface FloatingVariablesSuggestionsProps
|
10
|
+
export interface FloatingVariablesSuggestionsProps {
|
12
11
|
zIndex: number;
|
13
12
|
appId?: string;
|
14
13
|
envId?: string;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { GitProviderIconProps } from './types';
|
2
|
-
export declare const GitProviderIcon: ({ gitProvider, size
|
2
|
+
export declare const GitProviderIcon: ({ gitProvider, size }: GitProviderIconProps) => JSX.Element;
|
@@ -1,15 +1,10 @@
|
|
1
1
|
import { GitProviderType } from '../../../Common/Constants';
|
2
2
|
import { IconsProps } from '../Icon';
|
3
|
-
export
|
3
|
+
export interface GitProviderIconProps {
|
4
|
+
gitProvider: GitProviderType;
|
4
5
|
/**
|
5
6
|
* The size of the icon in pixels.
|
6
7
|
* @default 20
|
7
8
|
*/
|
8
9
|
size?: IconsProps['size'];
|
9
|
-
}
|
10
|
-
gitProvider: GitProviderType;
|
11
|
-
gitRepoUrl?: never;
|
12
|
-
} | {
|
13
|
-
gitProvider?: never;
|
14
|
-
gitRepoUrl: string;
|
15
|
-
});
|
10
|
+
}
|
@@ -9,7 +9,6 @@ export declare const iconMap: {
|
|
9
9
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
10
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
11
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
|
-
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
12
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
13
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
15
14
|
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -18,7 +17,6 @@ export declare const iconMap: {
|
|
18
17
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
19
18
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
19
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
|
-
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
20
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
21
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
22
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -53,7 +51,6 @@ export declare const iconMap: {
|
|
53
51
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
52
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
53
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
|
-
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
54
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
55
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
56
|
'ic-open-box': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,7 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
export declare const CommonGroupedDropdownStyles: {
|
2
|
+
container: (base: any, state: any) => any;
|
3
|
+
control: (base: any, state: any) => any;
|
4
|
+
singleValue: (base: any) => any;
|
5
|
+
option: (base: any, state: any) => any;
|
6
|
+
valueContainer: (base: any) => any;
|
7
|
+
dropdownIndicator: (base: any, state: any) => any;
|
8
|
+
group: (base: any) => any;
|
9
|
+
groupHeading: (base: any) => any;
|
10
|
+
menuList: (base: any) => any;
|
11
|
+
multiValue: (base: any) => any;
|
12
|
+
multiValueLabel: (base: any) => any;
|
13
|
+
placeholder: (base: any) => any;
|
14
|
+
menu: (base: any) => any;
|
15
|
+
};
|
@@ -80,7 +80,7 @@ export declare enum SelectPickerVariantType {
|
|
80
80
|
DEFAULT = "default",
|
81
81
|
BORDER_LESS = "border-less"
|
82
82
|
}
|
83
|
-
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'
|
83
|
+
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'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | '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'> & {
|
84
84
|
/**
|
85
85
|
* Custom selected options count for use cases like filters
|
86
86
|
*/
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { WorkflowOptionsModalProps } from './types';
|
2
|
-
declare const WorkflowOptionsModal: ({ handleCloseWorkflowOptionsModal, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup,
|
2
|
+
declare const WorkflowOptionsModal: ({ handleCloseWorkflowOptionsModal, addCIPipeline, addWebhookCD, addLinkedCD, showLinkedCDSource, changeCIPayload, workflows, getWorkflows, resetChangeCIPayload, linkedCDSourceVariant, isAppGroup, }: Readonly<WorkflowOptionsModalProps>) => JSX.Element;
|
3
3
|
export default WorkflowOptionsModal;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { AppConfigProps } from '../../../Pages/index';
|
2
1
|
import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
|
3
2
|
interface LinkedCDSourceVariant {
|
4
3
|
title: string;
|
@@ -13,7 +12,7 @@ export interface SourceTypeCardProps extends LinkedCDSourceVariant {
|
|
13
12
|
disableInfo: string;
|
14
13
|
isDisabled?: boolean;
|
15
14
|
}
|
16
|
-
export interface WorkflowOptionsModalProps
|
15
|
+
export interface WorkflowOptionsModalProps {
|
17
16
|
handleCloseWorkflowOptionsModal: () => void;
|
18
17
|
addCIPipeline: (type: CIPipelineNodeType, workflowId?: number | string) => void;
|
19
18
|
addWebhookCD: (workflowId?: number | string) => void;
|
@@ -59,8 +59,6 @@ export * from './ThemeSwitcher';
|
|
59
59
|
export * from './TargetPlatforms';
|
60
60
|
export * from './UnsavedChanges';
|
61
61
|
export * from './UnsavedChangesDialog';
|
62
|
-
export * from './GraphVisualizer';
|
63
|
-
export * from './GenericInfoCard';
|
64
62
|
export * from './Icon';
|
65
63
|
export * from './StatusComponent';
|
66
64
|
export * from './RegistryIcon';
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { AppConfigProps } from '../../Pages/index';
|
2
1
|
import { ResponseType } from '../../Common';
|
3
2
|
import { CIMaterialInfoType, GetCITriggerInfoParamsType, AppEnvDeploymentConfigDTO, AppEnvDeploymentConfigPayloadType } from './app.types';
|
4
3
|
export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => Promise<CIMaterialInfoType>;
|
@@ -6,10 +5,8 @@ export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => P
|
|
6
5
|
* The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
|
7
6
|
*/
|
8
7
|
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, "ciArtifactId">) => Promise<CIMaterialInfoType>;
|
9
|
-
export declare const getAppEnvDeploymentConfig: ({ params, signal,
|
8
|
+
export declare const getAppEnvDeploymentConfig: ({ params, signal, }: {
|
10
9
|
params: AppEnvDeploymentConfigPayloadType;
|
11
10
|
signal?: AbortSignal;
|
12
|
-
isTemplateView: AppConfigProps["isTemplateView"];
|
13
|
-
appId: string | number | null;
|
14
11
|
}) => Promise<ResponseType<AppEnvDeploymentConfigDTO>>;
|
15
12
|
export declare const getCompareSecretsData: (params: AppEnvDeploymentConfigPayloadType[]) => Promise<AppEnvDeploymentConfigDTO[]>;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { AppConfigProps } from '../../Pages/index';
|
2
1
|
import { EnvironmentDataValuesDTO, GetPolicyApiUrlProps, GetResourceApiUrlProps, UpdatedUserPreferencesType, UserPreferencesType } from './types';
|
3
2
|
export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
|
4
3
|
export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
|
5
|
-
export declare const saveCDPipeline: (request: any
|
4
|
+
export declare const saveCDPipeline: (request: any) => Promise<import('../../Common').ResponseType<any>>;
|
6
5
|
export declare const getEnvironmentData: () => Promise<import('../../Common').ResponseType<EnvironmentDataValuesDTO>>;
|
7
6
|
export declare const getUserPreferences: () => Promise<UserPreferencesType>;
|
8
7
|
export declare const updateUserPreferences: (updatedUserPreferences: UpdatedUserPreferencesType, shouldThrowError?: boolean) => Promise<boolean>;
|
@@ -17,7 +17,6 @@ export declare const MESSAGES: {
|
|
17
17
|
INVALID_DATE: string;
|
18
18
|
DATE_BEFORE_CURRENT_TIME: string;
|
19
19
|
};
|
20
|
-
export declare const MAX_DESCRIPTION_LENGTH = 350;
|
21
20
|
export declare const validateLabelValue: (value: string) => string[];
|
22
21
|
export declare const validateLabelKey: (key: string, skipValidationIfSpecialPrefix?: boolean) => {
|
23
22
|
isValid: boolean;
|