@devtron-labs/devtron-fe-common-lib 1.5.1-beta-2 → 1.5.2
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-B0vme9Gy.js → @code-editor-BOeFXRpX.js} +5933 -7079
- package/dist/@common-rjsf-CwZhqVif.js +516 -0
- package/dist/{@framer-motion-CtC3e2uC.js → @framer-motion-CdgdF0KV.js} +1 -1
- package/dist/{@react-dates-BlBjJ115.js → @react-dates-CtQV2TLr.js} +31 -31
- package/dist/{@react-select-CjYy5-X-.js → @react-select-Cn3OpC9h.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DCAYOwGQ.js → @react-virtualized-sticky-tree-CVJYfMx0.js} +1 -1
- package/dist/{@vendor-CB7cq1II.js → @vendor-CwAQS8iU.js} +8897 -9849
- package/dist/Common/Constants.d.ts +0 -6
- package/dist/Common/Helper.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +0 -13
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -7
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +51 -120
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +2 -5
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +0 -5
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -4
- package/dist/Shared/Components/ReactSelect/utils.d.ts +3 -33
- package/dist/Shared/Components/index.d.ts +0 -5
- package/dist/Shared/Hooks/useForm/useForm.d.ts +2 -7
- package/dist/Shared/Services/app.types.d.ts +1 -72
- package/dist/Shared/Services/index.d.ts +0 -1
- package/dist/Shared/validations.d.ts +0 -4
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/{delete-medium.baa284da.svg → delete-medium.897114e0.svg} +1 -1
- package/dist/assets/{ic-not-authorized.2d8e208f.svg → ic-not-authorized.24862281.svg} +1 -1
- package/dist/assets/{ic-not-found.86f588bf.svg → ic-not-found.f5857c12.svg} +1 -1
- package/dist/assets/{ic-page-not-found.da74a367.svg → ic-page-not-found.3c4f114b.svg} +1 -1
- package/dist/assets/ic-view-variable-toggle.c335dfa0.svg +24 -0
- package/dist/index.js +684 -718
- package/package.json +3 -3
- package/dist/@common-rjsf-D8vkvmqW.js +0 -583
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +0 -3
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +0 -11
- package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +0 -3
- package/dist/Shared/Components/CMCS/constants.d.ts +0 -23
- package/dist/Shared/Components/CMCS/helpers.d.ts +0 -1
- package/dist/Shared/Components/CMCS/index.d.ts +0 -6
- package/dist/Shared/Components/CMCS/types.d.ts +0 -24
- package/dist/Shared/Components/CMCS/utils.d.ts +0 -17
- package/dist/Shared/Components/CMCS/validations.d.ts +0 -3
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +0 -4
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +0 -3
- package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +0 -3
- package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +0 -2
- package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +0 -7
- package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +0 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +0 -2
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +0 -39
- package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +0 -3
- package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +0 -1
- package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +0 -10
- package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +0 -2
- package/dist/Shared/Components/UnsavedChanges/index.d.ts +0 -1
- package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +0 -3
- package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +0 -1
- package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +0 -5
- package/dist/assets/ic-view-variable-toggle.93c3599f.svg +0 -19
@@ -23,11 +23,6 @@ export declare const PATTERNS: {
|
|
23
23
|
ALPHANUMERIC_WITH_SPECIAL_CHAR: RegExp;
|
24
24
|
ESCAPED_CHARACTERS: RegExp;
|
25
25
|
NUMBERS_WITH_SCOPE_VARIABLES: RegExp;
|
26
|
-
ALL_DIGITS_BETWEEN_0_AND_7: RegExp;
|
27
|
-
CONFIG_MAP_AND_SECRET_MULTIPLE_KEYS: RegExp;
|
28
|
-
CONFIG_MAP_AND_SECRET_KEY: RegExp;
|
29
|
-
CONFIGMAP_AND_SECRET_NAME: RegExp;
|
30
|
-
ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: RegExp;
|
31
26
|
};
|
32
27
|
export declare const URLS: {
|
33
28
|
LOGIN_SSO: string;
|
@@ -113,7 +108,6 @@ export declare const ROUTES: {
|
|
113
108
|
FILE_UPLOAD: string;
|
114
109
|
PLUGIN_GLOBAL_VARIABLES: string;
|
115
110
|
CONFIG_COMPARE_SECRET: string;
|
116
|
-
SCOPED_GLOBAL_VARIABLES: string;
|
117
111
|
CD_TRIGGER_POST: string;
|
118
112
|
DELETE_RESOURCE: string;
|
119
113
|
NODE_CAPACITY: string;
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -130,7 +130,7 @@ export declare const throttle: <T extends (...args: unknown[]) => unknown>(func:
|
|
130
130
|
* @param webhookEventName - WebhookEventNameType
|
131
131
|
* @returns - Icon
|
132
132
|
*/
|
133
|
-
export declare const getBranchIcon: (sourceType: any, _isRegex?: boolean, webhookEventName?: string) =>
|
133
|
+
export declare const getBranchIcon: (sourceType: any, _isRegex?: boolean, webhookEventName?: string) => JSX.Element;
|
134
134
|
export declare const getSanitizedIframe: (iframeString: string) => string;
|
135
135
|
/**
|
136
136
|
* This method adds default attributes to iframe - title, loading ="lazy", width="100%", height="100%"
|
@@ -4,19 +4,6 @@ import { HiddenType, MetaHiddenType } from './types';
|
|
4
4
|
* Override for the TranslatableString from RJSF
|
5
5
|
*/
|
6
6
|
export declare const translateString: (stringToTranslate: TranslatableString, params?: string[]) => string;
|
7
|
-
export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
|
8
|
-
menuList: (base: any) => any;
|
9
|
-
control: (base: any, state: any) => any;
|
10
|
-
option: (base: any, state: any) => any;
|
11
|
-
dropdownIndicator: (base: any, state: any) => any;
|
12
|
-
valueContainer: (base: any, state: any) => any;
|
13
|
-
loadingMessage: (base: any) => any;
|
14
|
-
noOptionsMessage: (base: any) => any;
|
15
|
-
multiValue: (base: any) => any;
|
16
|
-
singleValue: (base: any) => any;
|
17
|
-
input: (base: any) => any;
|
18
|
-
menu: (base: any) => any;
|
19
|
-
};
|
20
7
|
/**
|
21
8
|
* Returns the redirection props for a url
|
22
9
|
*/
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BuildInfraDescriptorProps } from './types';
|
2
|
-
declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode,
|
2
|
+
declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, }: BuildInfraDescriptorProps) => JSX.Element;
|
3
3
|
export default Descriptor;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
|
2
|
-
import {
|
3
|
-
import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, BuildInfraInheritActionsOnSubValues, InfraConfigWithSubValues } from './types';
|
2
|
+
import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType } from './types';
|
4
3
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
5
4
|
readonly STEP: "any";
|
6
5
|
readonly MIN: 0;
|
@@ -60,9 +59,4 @@ export declare const ACTION_TO_PERSISTED_VALUE_MAP: Readonly<Record<RequestLimit
|
|
60
59
|
export declare const DEFAULT_TOLERANCE_EFFECT = BuildInfraToleranceEffectType.NO_SCHEDULE;
|
61
60
|
export declare const DEFAULT_TOLERANCE_OPERATOR = BuildInfraToleranceOperatorType.EQUALS;
|
62
61
|
export declare const INFRA_CONFIG_NOT_SUPPORTED_BY_BUILD_X: Partial<Record<BuildInfraConfigTypes, true>>;
|
63
|
-
export declare const INFRA_CONFIG_CONTAINING_SUB_VALUES: Record<InfraConfigWithSubValues, true>;
|
64
|
-
export declare const INFRA_CONFIG_TO_CM_SECRET_COMPONENT_TYPE_MAP: Partial<Record<BuildInfraConfigTypes, CMSecretComponentType>>;
|
65
|
-
export declare const CM_SECRET_COMPONENT_TYPE_TO_INFRA_CONFIG_MAP: Partial<Record<CMSecretComponentType, InfraConfigWithSubValues>>;
|
66
|
-
export declare const CM_SECRET_COMPONENT_TYPE_TO_LOCATOR_MAP: Partial<Record<CMSecretComponentType, BuildInfraLocators.CONFIG_MAP | BuildInfraLocators.SECRET>>;
|
67
62
|
export declare const USE_BUILD_X_DRIVER_FALLBACK = true;
|
68
|
-
export declare const BUILD_INFRA_SUB_VALUES_INHERIT_ACTIONS: Record<BuildInfraInheritActionsOnSubValues, true>;
|
@@ -5,7 +5,6 @@ export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameFi
|
|
5
5
|
export { default as BuildInfraProfileDescriptionField } from './BuildInfraDescriptionField';
|
6
6
|
export { default as BuildInfraFormAction } from './BuildInfraFormAction';
|
7
7
|
export { default as useBuildInfraForm } from './UseBuildInfraForm';
|
8
|
-
export * from './BuildInfraUtilityContext';
|
9
8
|
export * from './services';
|
10
9
|
export * from './utils';
|
11
10
|
export * from './types';
|
@@ -1,5 +1,3 @@
|
|
1
|
-
import { BuildInfraPayloadType } from '../../index';
|
2
1
|
import { BuildInfraProfileResponseType, GetBuildInfraProfileType, UpsertBuildInfraProfileServiceParamsType } from './types';
|
3
2
|
export declare const getBuildInfraProfileByName: ({ name, fromCreateView, canConfigureUseK8sDriver, }: GetBuildInfraProfileType) => Promise<BuildInfraProfileResponseType>;
|
4
|
-
export declare const createBuildInfraProfileService: (payload: BuildInfraPayloadType) => Promise<import('../../../Common').ResponseType<Promise<import('../../../Common').ResponseType<unknown>>>>;
|
5
3
|
export declare const upsertBuildInfraProfile: ({ name, profileInput, canConfigureUseK8sDriver, }: UpsertBuildInfraProfileServiceParamsType) => Promise<import('../../../Common').ResponseType<Promise<import('../../../Common').ResponseType<unknown>>>>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { FormEvent, FunctionComponent, ReactNode
|
1
|
+
import { FormEvent, FunctionComponent, ReactNode } from 'react';
|
2
2
|
import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
|
3
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
4
|
-
import {
|
4
|
+
import { ValidationResponseType } from '../../../Shared';
|
5
5
|
import { ServerErrors } from '../../../Common';
|
6
6
|
/**
|
7
7
|
* Unique actions that will be dispatched and,
|
@@ -14,9 +14,7 @@ export declare enum BuildInfraConfigTypes {
|
|
14
14
|
MEMORY_REQUEST = "memory_request",
|
15
15
|
BUILD_TIMEOUT = "timeout",
|
16
16
|
NODE_SELECTOR = "node_selector",
|
17
|
-
TOLERANCE = "tolerations"
|
18
|
-
CONFIG_MAP = "cm",
|
19
|
-
SECRET = "cs"
|
17
|
+
TOLERANCE = "tolerations"
|
20
18
|
}
|
21
19
|
/**
|
22
20
|
* Combination of BuildInfraConfigTypes and BuildInfraMetaConfigTypes is going to derive error state and actions(actions will also be derived with BuildInfraInheritActions)
|
@@ -33,9 +31,7 @@ export declare enum BuildInfraLocators {
|
|
33
31
|
MEMORY = "memory",
|
34
32
|
BUILD_TIMEOUT = "timeout",
|
35
33
|
NODE_SELECTOR = "node selector",
|
36
|
-
TOLERANCE = "tolerance"
|
37
|
-
CONFIG_MAP = "cm",
|
38
|
-
SECRET = "cs"
|
34
|
+
TOLERANCE = "tolerance"
|
39
35
|
}
|
40
36
|
export type BuildInfraInheritActions = keyof typeof BUILD_INFRA_INHERIT_ACTIONS;
|
41
37
|
export declare enum BuildInfraProfileVariants {
|
@@ -56,7 +52,6 @@ export interface BuildInfraDescriptorProps {
|
|
56
52
|
tippyInfoText?: string;
|
57
53
|
tippyAdditionalContent?: ReactNode;
|
58
54
|
tooltipNode?: ReactNode;
|
59
|
-
tooltipHeading?: string;
|
60
55
|
}
|
61
56
|
export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
|
62
57
|
export interface BuildInfraActionType {
|
@@ -133,38 +128,20 @@ export type BuildInfraToleranceValueType = {
|
|
133
128
|
operator: BuildInfraToleranceOperatorType.EXISTS;
|
134
129
|
value?: never;
|
135
130
|
});
|
136
|
-
export type
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
}
|
141
|
-
|
142
|
-
|
143
|
-
unit
|
144
|
-
}
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
type BuildInfraCMCSConfigDTO = BuildInfraConfigTypeFormat<InfraConfigWithSubValues, CMSecretConfigData[], never>;
|
149
|
-
export type BuildInfraCMCSValueType = {
|
150
|
-
useFormProps: ConfigMapSecretUseFormProps;
|
151
|
-
id: ReturnType<typeof getUniqueId>;
|
152
|
-
isOverridden: boolean;
|
153
|
-
canOverride: boolean;
|
154
|
-
defaultValue: ConfigMapSecretUseFormProps | null;
|
155
|
-
defaultValueInitialResponse: CMSecretConfigData;
|
156
|
-
initialResponse: CMSecretConfigData;
|
131
|
+
export type BuildInfraConfigValuesType = {
|
132
|
+
key: NumericBuildInfraConfigTypes;
|
133
|
+
value: number;
|
134
|
+
unit: ConfigurationUnitType['name'];
|
135
|
+
} | {
|
136
|
+
key: BuildInfraConfigTypes.NODE_SELECTOR;
|
137
|
+
value: BuildInfraNodeSelectorValueType[];
|
138
|
+
unit?: never;
|
139
|
+
} | {
|
140
|
+
key: BuildInfraConfigTypes.TOLERANCE;
|
141
|
+
value: BuildInfraToleranceValueType[];
|
142
|
+
unit?: never;
|
157
143
|
};
|
158
|
-
|
159
|
-
value: BuildInfraCMCSValueType[];
|
160
|
-
}
|
161
|
-
interface BuildInfraCMCSPayloadConfigType extends Pick<BuildInfraCMCSConfigDTO, 'key' | 'unit'> {
|
162
|
-
value: CMSecretPayloadType[];
|
163
|
-
}
|
164
|
-
export type BuildInfraConfigDTO = NumericBuildInfraConfigValueDTO | NodeSelectorConfigDTO | ToleranceConfigDTO | BuildInfraCMCSConfigDTO;
|
165
|
-
export type BuildInfraConfigValuesType = NumericBuildInfraConfigValueDTO | NodeSelectorConfigDTO | ToleranceConfigDTO | BuildInfraCMCSConfigType;
|
166
|
-
export type BuildInfraConfigPayloadType = NumericBuildInfraConfigValueDTO | NodeSelectorConfigDTO | ToleranceConfigDTO | BuildInfraCMCSPayloadConfigType;
|
167
|
-
export interface BuildInfraProfileConfigBase {
|
144
|
+
interface BuildInfraProfileConfigBase {
|
168
145
|
id?: number;
|
169
146
|
/**
|
170
147
|
* This key holds value when we are inheriting values from other profiles in case of listing
|
@@ -174,8 +151,21 @@ export interface BuildInfraProfileConfigBase {
|
|
174
151
|
targetPlatform: string;
|
175
152
|
}
|
176
153
|
export type BuildInfraConfigInfoType = BuildInfraConfigValuesType & BuildInfraProfileConfigBase;
|
177
|
-
export type BuildInfraConfigurationDTO =
|
178
|
-
|
154
|
+
export type BuildInfraConfigurationDTO = BuildInfraConfigValuesType & Omit<BuildInfraProfileConfigBase, 'targetPlatform'>;
|
155
|
+
/**
|
156
|
+
* Maps target platform to its configuration values
|
157
|
+
*/
|
158
|
+
export type BuildInfraPlatformConfigurationMapDTO = Record<string, BuildInfraConfigurationDTO[]>;
|
159
|
+
export type BuildInfraConfigurationType = BuildInfraConfigInfoType & {
|
160
|
+
/**
|
161
|
+
* Used to display values in case of inheriting data
|
162
|
+
*/
|
163
|
+
defaultValue: BuildInfraConfigValuesType;
|
164
|
+
};
|
165
|
+
export type BuildInfraConfigurationMapTypeWithoutDefaultFallback = {
|
166
|
+
[key in BuildInfraConfigTypes]?: BuildInfraConfigInfoType;
|
167
|
+
};
|
168
|
+
export type BuildInfraConfigurationMapType = Record<BuildInfraConfigTypes, BuildInfraConfigurationType>;
|
179
169
|
export declare enum BuildXDriverType {
|
180
170
|
KUBERNETES = "kubernetes",
|
181
171
|
DOCKER_CONTAINER = "docker-container"
|
@@ -192,24 +182,6 @@ interface BuildInfraProfileBaseDTO {
|
|
192
182
|
*/
|
193
183
|
buildxDriverType?: BuildXDriverType;
|
194
184
|
}
|
195
|
-
export interface BuildInfraPayloadType extends BuildInfraProfileBaseDTO {
|
196
|
-
configurations: Record<string, BuildInfraConfigurationItemPayloadType[]>;
|
197
|
-
}
|
198
|
-
/**
|
199
|
-
* Maps target platform to its configuration values
|
200
|
-
*/
|
201
|
-
export type BuildInfraPlatformConfigurationMapDTO = Record<string, BuildInfraConfigurationDTO[]>;
|
202
|
-
export type BuildInfraConfigurationType = BuildInfraConfigInfoType & {
|
203
|
-
/**
|
204
|
-
* Used to display values in case of inheriting data
|
205
|
-
* This will be null in case of CM/CS
|
206
|
-
*/
|
207
|
-
defaultValue: BuildInfraConfigValuesType;
|
208
|
-
};
|
209
|
-
export type BuildInfraConfigurationMapTypeWithoutDefaultFallback = {
|
210
|
-
[key in BuildInfraConfigTypes]?: BuildInfraConfigInfoType;
|
211
|
-
};
|
212
|
-
export type BuildInfraConfigurationMapType = Record<BuildInfraConfigTypes, BuildInfraConfigurationType>;
|
213
185
|
export interface BuildInfraProfileBase extends Omit<BuildInfraProfileBaseDTO, 'buildxDriverType'> {
|
214
186
|
useK8sDriver?: boolean;
|
215
187
|
}
|
@@ -265,12 +237,11 @@ export declare enum ToleranceHeaderType {
|
|
265
237
|
VALUE = "VALUE",
|
266
238
|
EFFECT = "EFFECT"
|
267
239
|
}
|
268
|
-
export type BuildInfraCMCSErrorType = Record<InfraConfigWithSubValues, Record<BuildInfraCMCSValueType['id'], boolean>>;
|
269
240
|
/**
|
270
241
|
* Would be maintaining error state for name and description irrespective of platform
|
271
242
|
* For error states related to platform, we would not be letting user to switch platform if there are errors
|
272
243
|
*/
|
273
|
-
export type ProfileInputErrorType = Record<NumericBuildInfraConfigTypes | BuildInfraMetaConfigTypes | BuildInfraProfileAdditionalErrorKeysType.TARGET_PLATFORM, string> & Record<BuildInfraConfigTypes.NODE_SELECTOR, Record<BuildInfraNodeSelectorValueType['id'], Partial<Record<NodeSelectorHeaderType, string[]>>>> & Record<BuildInfraConfigTypes.TOLERANCE, Record<BuildInfraNodeSelectorValueType['id'], Partial<Record<ToleranceHeaderType, string[]
|
244
|
+
export type ProfileInputErrorType = Record<NumericBuildInfraConfigTypes | BuildInfraMetaConfigTypes | BuildInfraProfileAdditionalErrorKeysType.TARGET_PLATFORM, string> & Record<BuildInfraConfigTypes.NODE_SELECTOR, Record<BuildInfraNodeSelectorValueType['id'], Partial<Record<NodeSelectorHeaderType, string[]>>>> & Record<BuildInfraConfigTypes.TOLERANCE, Record<BuildInfraNodeSelectorValueType['id'], Partial<Record<ToleranceHeaderType, string[]>>>>;
|
274
245
|
export type TargetPlatformErrorFields = BuildInfraConfigTypes | BuildInfraProfileAdditionalErrorKeysType;
|
275
246
|
export interface ProfileInputDispatchDataType {
|
276
247
|
targetPlatform: string;
|
@@ -281,6 +252,7 @@ interface NumericBuildInfraConfigPayloadType {
|
|
281
252
|
}
|
282
253
|
export declare enum BuildInfraProfileInputActionType {
|
283
254
|
ADD_TARGET_PLATFORM = "add_target_platform",
|
255
|
+
TOGGLE_USE_K8S_DRIVER = "toggle_use_k8s_driver",
|
284
256
|
REMOVE_TARGET_PLATFORM = "remove_target_platform",
|
285
257
|
RENAME_TARGET_PLATFORM = "rename_target_platform",
|
286
258
|
RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot",
|
@@ -289,13 +261,12 @@ export declare enum BuildInfraProfileInputActionType {
|
|
289
261
|
EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item",
|
290
262
|
DELETE_TOLERANCE_ITEM = "delete_tolerance_item",
|
291
263
|
ADD_TOLERANCE_ITEM = "add_tolerance_item",
|
292
|
-
EDIT_TOLERANCE_ITEM = "edit_tolerance_item"
|
293
|
-
ADD_CM_CS_ITEM = "add_cm_cs_item",
|
294
|
-
SYNC_CM_CS_ITEM = "sync_cm_cs_item",
|
295
|
-
DELETE_CM_CS_ITEM = "delete_cm_cs_item"
|
264
|
+
EDIT_TOLERANCE_ITEM = "edit_tolerance_item"
|
296
265
|
}
|
297
|
-
export type BuildInfraInheritActionsOnSubValues = Extract<BuildInfraInheritActions, `activate_${BuildInfraLocators.CONFIG_MAP}` | `de_activate_${BuildInfraLocators.CONFIG_MAP}` | `activate_${BuildInfraLocators.SECRET}` | `de_activate_${BuildInfraLocators.SECRET}`>;
|
298
266
|
export type HandleProfileInputChangeType = {
|
267
|
+
action: BuildInfraProfileInputActionType.TOGGLE_USE_K8S_DRIVER;
|
268
|
+
data?: never;
|
269
|
+
} | {
|
299
270
|
action: NumericBuildInfraConfigTypes;
|
300
271
|
data: ProfileInputDispatchDataType & NumericBuildInfraConfigPayloadType;
|
301
272
|
} | {
|
@@ -304,19 +275,8 @@ export type HandleProfileInputChangeType = {
|
|
304
275
|
value: string;
|
305
276
|
};
|
306
277
|
} | {
|
307
|
-
action: BuildInfraProfileInputActionType.ADD_TARGET_PLATFORM;
|
308
|
-
data: ProfileInputDispatchDataType & {
|
309
|
-
handleCaptureSnapshot: (data: BuildInfraProfileData) => void;
|
310
|
-
};
|
311
|
-
} | {
|
312
|
-
action: Exclude<BuildInfraInheritActions, BuildInfraInheritActionsOnSubValues> | BuildInfraProfileInputActionType.REMOVE_TARGET_PLATFORM;
|
278
|
+
action: BuildInfraInheritActions | BuildInfraProfileInputActionType.ADD_TARGET_PLATFORM | BuildInfraProfileInputActionType.REMOVE_TARGET_PLATFORM;
|
313
279
|
data: ProfileInputDispatchDataType;
|
314
|
-
} | {
|
315
|
-
action: BuildInfraInheritActionsOnSubValues;
|
316
|
-
data: ProfileInputDispatchDataType & {
|
317
|
-
componentType: CMSecretComponentType;
|
318
|
-
id: string;
|
319
|
-
};
|
320
280
|
} | {
|
321
281
|
action: BuildInfraProfileInputActionType.RENAME_TARGET_PLATFORM;
|
322
282
|
data: {
|
@@ -347,24 +307,6 @@ export type HandleProfileInputChangeType = {
|
|
347
307
|
} | {
|
348
308
|
action: BuildInfraProfileInputActionType.EDIT_TOLERANCE_ITEM;
|
349
309
|
data: ProfileInputDispatchDataType & Pick<BuildInfraToleranceValueType, 'id' | 'key' | 'value' | 'effect' | 'operator'>;
|
350
|
-
} | {
|
351
|
-
action: BuildInfraProfileInputActionType.ADD_CM_CS_ITEM;
|
352
|
-
data: ProfileInputDispatchDataType & Pick<BuildInfraCMCSValueType, 'id'> & {
|
353
|
-
infraConfigType: InfraConfigWithSubValues;
|
354
|
-
};
|
355
|
-
} | {
|
356
|
-
action: BuildInfraProfileInputActionType.SYNC_CM_CS_ITEM;
|
357
|
-
data: ProfileInputDispatchDataType & {
|
358
|
-
id: BuildInfraCMCSValueType['id'];
|
359
|
-
value: ConfigMapSecretUseFormProps;
|
360
|
-
hasError: boolean;
|
361
|
-
componentType: CMSecretComponentType;
|
362
|
-
};
|
363
|
-
} | {
|
364
|
-
action: BuildInfraProfileInputActionType.DELETE_CM_CS_ITEM;
|
365
|
-
data: ProfileInputDispatchDataType & Pick<BuildInfraCMCSValueType, 'id'> & {
|
366
|
-
componentType: CMSecretComponentType;
|
367
|
-
};
|
368
310
|
};
|
369
311
|
export interface UseBuildInfraFormResponseType {
|
370
312
|
isLoading: boolean;
|
@@ -382,7 +324,7 @@ export interface BuildInfraConfigFormProps extends Pick<UseBuildInfraFormRespons
|
|
382
324
|
unitsMap?: BuildInfraProfileResponseType['configurationUnits'];
|
383
325
|
configurationContainerLabel?: ReactNode;
|
384
326
|
}
|
385
|
-
export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, 'marker' | 'heading'> {
|
327
|
+
export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, 'marker' | 'heading'>, Partial<Pick<BuildInfraProfileConfigBase, 'targetPlatform'>>, Pick<BuildInfraConfigFormProps, 'isGlobalProfile'> {
|
386
328
|
children?: ReactNode;
|
387
329
|
/**
|
388
330
|
* If true, means profile is inheriting values from other profile (e.g, default)
|
@@ -392,6 +334,11 @@ export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, '
|
|
392
334
|
* Would be false for last item
|
393
335
|
*/
|
394
336
|
showDivider?: boolean;
|
337
|
+
/**
|
338
|
+
* Would be used to dispatch inherit actions (activate_cpu, de_activate_cpu, etc)
|
339
|
+
*/
|
340
|
+
handleProfileInputChange: UseBuildInfraFormResponseType['handleProfileInputChange'];
|
341
|
+
locator: BuildInfraFormFieldType['locator'];
|
395
342
|
}
|
396
343
|
export interface ValidateRequestLimitType {
|
397
344
|
request: NumericBuildInfraConfigPayloadType;
|
@@ -402,7 +349,7 @@ export interface ValidateRequestLimitResponseType {
|
|
402
349
|
request: ValidationResponseType;
|
403
350
|
limit: ValidationResponseType;
|
404
351
|
}
|
405
|
-
export interface BuildInfraFormActionProps extends BuildInfraActionType {
|
352
|
+
export interface BuildInfraFormActionProps extends BuildInfraActionType, Pick<BuildInfraFormItemProps, 'targetPlatform'> {
|
406
353
|
handleProfileInputChange: UseBuildInfraFormResponseType['handleProfileInputChange'];
|
407
354
|
currentValue: number;
|
408
355
|
error?: string;
|
@@ -417,7 +364,6 @@ export interface BuildInfraFormActionProps extends BuildInfraActionType {
|
|
417
364
|
* @default false
|
418
365
|
*/
|
419
366
|
autoFocus?: boolean;
|
420
|
-
targetPlatform?: string;
|
421
367
|
}
|
422
368
|
export interface FooterProps {
|
423
369
|
/**
|
@@ -444,15 +390,9 @@ export interface BuildInfraInputFieldComponentProps {
|
|
444
390
|
currentValue: BuildInfraConfigValuesType['value'];
|
445
391
|
error?: string;
|
446
392
|
}
|
447
|
-
export
|
393
|
+
export interface BuildInfraProfileMetaFieldProps extends Pick<BuildInfraInputFieldComponentProps, 'error' | 'handleProfileInputChange'> {
|
448
394
|
currentValue: string;
|
449
|
-
}
|
450
|
-
handleProfileInputChange: BuildInfraInputFieldComponentProps['handleProfileInputChange'];
|
451
|
-
onChange?: never;
|
452
|
-
} | {
|
453
|
-
onChange: (e: SyntheticEvent) => void;
|
454
|
-
handleProfileInputChange?: never;
|
455
|
-
});
|
395
|
+
}
|
456
396
|
export interface InheritingHeaderProps extends Pick<BuildInfraConfigFormProps, 'isGlobalProfile'> {
|
457
397
|
defaultHeading: BuildInfraFormFieldType['heading'];
|
458
398
|
inheritingData: BuildInfraConfigValuesType[];
|
@@ -466,6 +406,9 @@ interface BaseBuildInfraProfileDTO {
|
|
466
406
|
defaultConfigurations: BuildInfraPlatformConfigurationMapDTO;
|
467
407
|
configurationUnits: BuildInfraUnitsMapType;
|
468
408
|
}
|
409
|
+
export interface BuildInfraListResponseType extends BaseBuildInfraProfileDTO {
|
410
|
+
profiles: BuildInfraProfileInfoDTO[];
|
411
|
+
}
|
469
412
|
export interface BuildInfraProfileDTO extends BaseBuildInfraProfileDTO {
|
470
413
|
profile: BuildInfraProfileInfoDTO;
|
471
414
|
}
|
@@ -475,10 +418,6 @@ export interface GetPlatformConfigurationsWithDefaultValuesParamsType {
|
|
475
418
|
profileConfigurationsMap: BuildInfraConfigurationMapTypeWithoutDefaultFallback;
|
476
419
|
defaultConfigurationsMap: BuildInfraConfigurationMapTypeWithoutDefaultFallback;
|
477
420
|
platformName: string;
|
478
|
-
/**
|
479
|
-
* @default false
|
480
|
-
*/
|
481
|
-
isDefaultProfile?: boolean;
|
482
421
|
}
|
483
422
|
export declare enum BuildInfraAPIVersionType {
|
484
423
|
ALPHA1 = "alpha1"
|
@@ -488,14 +427,6 @@ export interface ValidateNodeSelectorParamsType extends Pick<ReturnType<typeof u
|
|
488
427
|
selector: BuildInfraNodeSelectorValueType;
|
489
428
|
existingKeys: string[];
|
490
429
|
}
|
491
|
-
export interface BuildInfraCMCSFormProps {
|
492
|
-
parsedData: BuildInfraCMCSValueType;
|
493
|
-
useFormProps: ReturnType<typeof useForm<ConfigMapSecretUseFormProps>>;
|
494
|
-
componentType: CMSecretComponentType;
|
495
|
-
}
|
496
|
-
export interface BuildInfraUtilityContextType {
|
497
|
-
BuildInfraCMCSForm: FunctionComponent<BuildInfraCMCSFormProps>;
|
498
|
-
}
|
499
430
|
export interface GetBaseProfileObjectParamsType extends Pick<BuildInfraProfileTransformerParamsType, 'canConfigureUseK8sDriver' | 'fromCreateView' | 'profile'> {
|
500
431
|
}
|
501
432
|
export {};
|
@@ -1,10 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { BuildInfraConfigTypes, BuildInfraConfigValuesType, BuildInfraInheritActions, BuildInfraLocators, BuildInfraProfileResponseType, BuildInfraProfileTransformerParamsType, BuildXDriverType, CreateBuildInfraProfileType } from './types';
|
1
|
+
import { BuildInfraConfigValuesType, BuildInfraInheritActions, BuildInfraLocators, BuildInfraProfileInfoDTO, BuildInfraProfileResponseType, BuildInfraProfileTransformerParamsType, BuildXDriverType, CreateBuildInfraProfileType } from './types';
|
3
2
|
export declare const parsePlatformConfigIntoValue: (configuration: BuildInfraConfigValuesType, addUniqueId?: boolean) => BuildInfraConfigValuesType;
|
4
3
|
export declare const getParsedValueForUseK8sDriver: (buildxDriverType: BuildXDriverType) => boolean;
|
5
|
-
export declare const getDoesInfraConfigContainsSubValue: (infraConfig: BuildInfraConfigTypes) => infraConfig is InfraConfigWithSubValues;
|
6
4
|
export declare const getTransformedBuildInfraProfileResponse: ({ configurationUnits, defaultConfigurations, profile, fromCreateView, canConfigureUseK8sDriver, }: BuildInfraProfileTransformerParamsType) => BuildInfraProfileResponseType;
|
7
|
-
export declare const
|
8
|
-
export declare const getBuildInfraProfilePayload: (profileInput: CreateBuildInfraProfileType["profileInput"], canConfigureUseK8sDriver: boolean) => BuildInfraPayloadType;
|
5
|
+
export declare const getBuildInfraProfilePayload: (profileInput: CreateBuildInfraProfileType["profileInput"], canConfigureUseK8sDriver: boolean) => BuildInfraProfileInfoDTO;
|
9
6
|
export declare const getBuildInfraProfileEndpoint: () => string;
|
10
7
|
export declare const getBuildInfraInheritActionFromLocator: (locator: BuildInfraLocators, activateLocator: boolean) => BuildInfraInheritActions;
|
@@ -37,11 +37,6 @@ export type CollapsibleListItem<TabType extends TabOptions = 'navLink'> = Condit
|
|
37
37
|
* If true, the title will be rendered with line-through.
|
38
38
|
*/
|
39
39
|
strikeThrough?: boolean;
|
40
|
-
/**
|
41
|
-
* To be used as key for the list item.
|
42
|
-
* If not given title will be used as key.
|
43
|
-
*/
|
44
|
-
id?: string | number;
|
45
40
|
/**
|
46
41
|
* Configuration for the icon.
|
47
42
|
*/
|
@@ -45,10 +45,6 @@ type ButtonConfigAndVariantType<isConfig extends boolean> = {
|
|
45
45
|
export type ConfirmationModalProps<isConfig extends boolean = false> = {
|
46
46
|
title: string;
|
47
47
|
subtitle: ReactNode;
|
48
|
-
/**
|
49
|
-
* @default true
|
50
|
-
*/
|
51
|
-
shouldCloseOnEscape?: boolean;
|
52
48
|
} & ButtonConfigAndVariantType<isConfig> & CustomInputConfigOrChildrenType & (isConfig extends false ? {
|
53
49
|
handleClose: (e?: SyntheticEvent) => void;
|
54
50
|
showConfirmationModal: boolean;
|
@@ -1,41 +1,11 @@
|
|
1
|
-
import { MenuListProps, ValueContainerProps } from 'react-select';
|
1
|
+
import { MenuListProps, StylesConfig, ValueContainerProps } from 'react-select';
|
2
2
|
import { OptionType } from '../../../Common';
|
3
|
-
export declare const getCommonSelectStyle: (styleOverrides?: {}) =>
|
4
|
-
container: (base: any, state: any) => any;
|
5
|
-
menuList: (base: any) => any;
|
6
|
-
control: (base: any, state: any) => any;
|
7
|
-
option: (base: any, state: any) => any;
|
8
|
-
dropdownIndicator: (base: any, state: any) => any;
|
9
|
-
valueContainer: (base: any) => any;
|
10
|
-
loadingMessage: (base: any) => any;
|
11
|
-
noOptionsMessage: (base: any) => any;
|
12
|
-
placeholder: (base: any) => any;
|
13
|
-
group: (base: any) => any;
|
14
|
-
groupHeading: (base: any) => any;
|
15
|
-
singleValue: (base: any) => any;
|
16
|
-
input: (base: any) => any;
|
17
|
-
menu: (base: any) => any;
|
18
|
-
};
|
3
|
+
export declare const getCommonSelectStyle: (styleOverrides?: {}) => StylesConfig;
|
19
4
|
export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
|
20
5
|
export declare const SelectOption: (props: any) => JSX.Element;
|
21
6
|
export declare const LoadingIndicator: () => JSX.Element;
|
22
7
|
export declare const GroupHeading: (props: any) => JSX.Element;
|
23
|
-
export declare const commonSelectStyles:
|
24
|
-
container: (base: any, state: any) => any;
|
25
|
-
menuList: (base: any) => any;
|
26
|
-
control: (base: any, state: any) => any;
|
27
|
-
option: (base: any, state: any) => any;
|
28
|
-
dropdownIndicator: (base: any, state: any) => any;
|
29
|
-
valueContainer: (base: any) => any;
|
30
|
-
loadingMessage: (base: any) => any;
|
31
|
-
noOptionsMessage: (base: any) => any;
|
32
|
-
placeholder: (base: any) => any;
|
33
|
-
group: (base: any) => any;
|
34
|
-
groupHeading: (base: any) => any;
|
35
|
-
singleValue: (base: any) => any;
|
36
|
-
input: (base: any) => any;
|
37
|
-
menu: (base: any) => any;
|
38
|
-
};
|
8
|
+
export declare const commonSelectStyles: StylesConfig;
|
39
9
|
export declare const MenuListWithApplyButton: ({ handleApplyFilter, ...props }: MenuListProps & {
|
40
10
|
handleApplyFilter: () => void;
|
41
11
|
}) => JSX.Element;
|
@@ -49,10 +49,5 @@ export * from './DynamicDataTable';
|
|
49
49
|
export * from './TagsKeyValueTable';
|
50
50
|
export * from './FileUpload';
|
51
51
|
export * from './AnimatedDeployButton';
|
52
|
-
export * from './CMCS';
|
53
|
-
export * from './FloatingVariablesSuggestions';
|
54
|
-
export * from './ToggleResolveScopedVariables';
|
55
52
|
export * from './BulkOperations';
|
56
53
|
export * from './VirtualizedList';
|
57
|
-
export * from './UnsavedChanges';
|
58
|
-
export * from './UnsavedChangesDialog';
|
@@ -14,13 +14,9 @@ export declare const useForm: <T extends Record<keyof T, any> = {}>(options?: {
|
|
14
14
|
/** Defines when validation should occur:
|
15
15
|
* - 'onChange': Validation occurs when the user modifies the input
|
16
16
|
* - 'onBlur': Validation occurs when the input loses focus.
|
17
|
-
* @default
|
17
|
+
* @default 'onChange'
|
18
18
|
*/
|
19
|
-
validationMode?: "onChange" | "onBlur" | "onSubmit"
|
20
|
-
/**
|
21
|
-
* @default false - A boolean indicating whether to trigger validation on mount.
|
22
|
-
*/
|
23
|
-
shouldValidateOnMount?: boolean;
|
19
|
+
validationMode?: "onChange" | "onBlur" | "onSubmit";
|
24
20
|
}) => {
|
25
21
|
/** The current form data. */
|
26
22
|
data: T;
|
@@ -79,5 +75,4 @@ export declare const useForm: <T extends Record<keyof T, any> = {}>(options?: {
|
|
79
75
|
/** A boolean indicating if any field has been modified. */
|
80
76
|
isDirty: boolean;
|
81
77
|
};
|
82
|
-
getErrorsFromFormData: (formData: T) => Partial<Record<keyof T, string[]>>;
|
83
78
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OverrideMergeStrategyType } from '../../Pages/Applications';
|
2
|
-
import { ReleaseTag, UserApprovalMetadataType
|
2
|
+
import { ReleaseTag, UserApprovalMetadataType } from '../../Common';
|
3
3
|
interface WebhookDataType {
|
4
4
|
id: number;
|
5
5
|
eventActionType: string;
|
@@ -184,33 +184,6 @@ export interface ConfigMapSecretDataType {
|
|
184
184
|
configData: ConfigMapSecretDataConfigDatumDTO[];
|
185
185
|
isDeletable: boolean;
|
186
186
|
}
|
187
|
-
export interface CMSecretYamlData {
|
188
|
-
k: string;
|
189
|
-
v: string;
|
190
|
-
id: string | number;
|
191
|
-
}
|
192
|
-
export interface ConfigMapSecretUseFormProps {
|
193
|
-
name: string;
|
194
|
-
isSecret: boolean;
|
195
|
-
external: boolean;
|
196
|
-
externalType: CMSecretExternalType;
|
197
|
-
selectedType: string;
|
198
|
-
isFilePermissionChecked: boolean;
|
199
|
-
isSubPathChecked: boolean;
|
200
|
-
externalSubpathValues: string;
|
201
|
-
filePermission: string;
|
202
|
-
volumeMountPath: string;
|
203
|
-
roleARN: string;
|
204
|
-
yamlMode: boolean;
|
205
|
-
yaml: string;
|
206
|
-
currentData: CMSecretYamlData[];
|
207
|
-
secretDataYaml: string;
|
208
|
-
esoSecretYaml: string;
|
209
|
-
hasCurrentDataErr: boolean;
|
210
|
-
isResolvedData: boolean;
|
211
|
-
mergeStrategy: OverrideMergeStrategyType;
|
212
|
-
skipValidation: boolean;
|
213
|
-
}
|
214
187
|
export declare enum ConfigResourceType {
|
215
188
|
ConfigMap = "ConfigMap",
|
216
189
|
Secret = "Secret",
|
@@ -234,7 +207,6 @@ export interface ConfigMapSecretDataDTO {
|
|
234
207
|
variableSnapshot: Record<string, Record<string, string>>;
|
235
208
|
resolvedValue: string;
|
236
209
|
}
|
237
|
-
export type JobCMSecretDataDTO = ResponseType<Omit<ConfigMapSecretDataDTO['data'], 'isDeletable'>>;
|
238
210
|
export interface PipelineConfigDataDTO {
|
239
211
|
resourceType: ConfigResourceType.PipelineStrategy;
|
240
212
|
data: Record<string, any>;
|
@@ -291,47 +263,4 @@ export declare enum EnvResourceType {
|
|
291
263
|
Manifest = "manifest",
|
292
264
|
PipelineStrategy = "pipeline-strategy"
|
293
265
|
}
|
294
|
-
export declare enum CMSecretComponentType {
|
295
|
-
ConfigMap = 1,
|
296
|
-
Secret = 2
|
297
|
-
}
|
298
|
-
export declare enum CM_SECRET_STATE {
|
299
|
-
BASE = "",
|
300
|
-
INHERITED = "INHERITING",
|
301
|
-
OVERRIDDEN = "OVERRIDDEN",
|
302
|
-
ENV = "ENV",
|
303
|
-
UNPUBLISHED = "UNPUBLISHED"
|
304
|
-
}
|
305
|
-
export interface CMSecretConfigData extends ConfigDatum {
|
306
|
-
unAuthorized: boolean;
|
307
|
-
}
|
308
|
-
export interface ProcessCMCSCurrentDataParamsType {
|
309
|
-
configMapSecretData: CMSecretConfigData;
|
310
|
-
cmSecretStateLabel: CM_SECRET_STATE;
|
311
|
-
isSecret: boolean;
|
312
|
-
}
|
313
|
-
export interface GetConfigMapSecretFormInitialValuesParamsType {
|
314
|
-
cmSecretStateLabel: CM_SECRET_STATE;
|
315
|
-
configMapSecretData: CMSecretConfigData;
|
316
|
-
fallbackMergeStrategy: OverrideMergeStrategyType;
|
317
|
-
/**
|
318
|
-
* Leveraging the same in build infra as well
|
319
|
-
*/
|
320
|
-
isJob?: boolean;
|
321
|
-
componentType?: CMSecretComponentType;
|
322
|
-
skipValidation?: boolean;
|
323
|
-
}
|
324
|
-
export interface ESOSecretData {
|
325
|
-
secretStore: Record<string, any>;
|
326
|
-
secretStoreRef: Record<string, any>;
|
327
|
-
refreshInterval: string;
|
328
|
-
esoData: Record<string, any>[];
|
329
|
-
esoDataFrom: Record<string, any>[];
|
330
|
-
template: Record<string, any>;
|
331
|
-
}
|
332
|
-
export declare enum CODE_EDITOR_RADIO_STATE {
|
333
|
-
DATA = "data",
|
334
|
-
SAMPLE = "sample"
|
335
|
-
}
|
336
|
-
export type CMSecretPayloadType = Pick<CMSecretConfigData, 'data' | 'name' | 'type' | 'externalType' | 'external' | 'roleARN' | 'mountPath' | 'subPath' | 'esoSecretData' | 'filePermission' | 'esoSubPath' | 'mergeStrategy'>;
|
337
266
|
export {};
|
@@ -51,7 +51,3 @@ export declare const validateDisplayName: (name: string) => ValidationResponseTy
|
|
51
51
|
export declare const validateJSON: (json: string) => ValidationResponseType;
|
52
52
|
export declare const validateDateAndTime: (date: Date) => ValidationResponseType;
|
53
53
|
export declare const validateIframe: (input: string) => ValidationResponseType;
|
54
|
-
export declare const validateCMVolumeMountPath: (value: string) => {
|
55
|
-
isValid: boolean;
|
56
|
-
message: string;
|
57
|
-
};
|