@devtron-labs/devtron-fe-common-lib 1.5.0 → 1.5.1-beta-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.
Files changed (86) hide show
  1. package/dist/{@code-editor-BhKgnbkm.js → @code-editor-B0vme9Gy.js} +8159 -6869
  2. package/dist/{@common-rjsf-DIkXvOXb.js → @common-rjsf-D8vkvmqW.js} +102 -90
  3. package/dist/{@framer-motion-CdgdF0KV.js → @framer-motion-CtC3e2uC.js} +1 -1
  4. package/dist/{@react-dates-CtQV2TLr.js → @react-dates-BlBjJ115.js} +31 -31
  5. package/dist/{@react-select-Cn3OpC9h.js → @react-select-CjYy5-X-.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CVJYfMx0.js → @react-virtualized-sticky-tree-DCAYOwGQ.js} +1 -1
  7. package/dist/{@vendor-CwAQS8iU.js → @vendor-CB7cq1II.js} +10317 -9365
  8. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +7 -7
  9. package/dist/Common/CodeEditor/types.d.ts +9 -10
  10. package/dist/Common/CodeEditor/utils.d.ts +3 -0
  11. package/dist/Common/Constants.d.ts +6 -0
  12. package/dist/Common/MultiSelectCustomization.d.ts +2 -0
  13. package/dist/Common/RJSF/utils.d.ts +3 -0
  14. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  15. package/dist/Common/SegmentedControl/constants.d.ts +2 -0
  16. package/dist/Common/SegmentedControl/types.d.ts +7 -1
  17. package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtilityContext.d.ts +3 -0
  18. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  19. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +7 -1
  20. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +1 -0
  21. package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +2 -0
  22. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +120 -51
  23. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +5 -2
  24. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +11 -0
  25. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  26. package/dist/Shared/Components/CICDHistory/constants.d.ts +2 -0
  27. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -2
  28. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +3 -0
  29. package/dist/Shared/Components/CMCS/constants.d.ts +23 -0
  30. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -0
  31. package/dist/Shared/Components/CMCS/index.d.ts +6 -0
  32. package/dist/Shared/Components/CMCS/types.d.ts +24 -0
  33. package/dist/Shared/Components/CMCS/utils.d.ts +17 -0
  34. package/dist/Shared/Components/CMCS/validations.d.ts +3 -0
  35. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +5 -0
  36. package/dist/Shared/Components/ConfirmationModal/types.d.ts +4 -0
  37. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +4 -0
  38. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +3 -0
  39. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +3 -0
  40. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +2 -0
  41. package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +7 -0
  42. package/dist/Shared/Components/FloatingVariablesSuggestions/index.d.ts +1 -0
  43. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +2 -0
  44. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +39 -0
  45. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  46. package/dist/Shared/Components/Plugin/types.d.ts +2 -2
  47. package/dist/Shared/Components/Plugin/utils.d.ts +0 -16
  48. package/dist/Shared/Components/ReactSelect/constants.d.ts +1 -0
  49. package/dist/Shared/Components/ReactSelect/utils.d.ts +6 -0
  50. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +8 -8
  51. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  52. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  53. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +3 -0
  54. package/dist/Shared/Components/ThemeSwitcher/constants.d.ts +6 -0
  55. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
  56. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +3 -0
  57. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +3 -0
  58. package/dist/Shared/Components/ToggleResolveScopedVariables/index.d.ts +1 -0
  59. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +10 -0
  60. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +2 -0
  61. package/dist/Shared/Components/UnsavedChanges/index.d.ts +1 -0
  62. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +3 -0
  63. package/dist/Shared/Components/UnsavedChangesDialog/index.d.ts +1 -0
  64. package/dist/Shared/Components/UnsavedChangesDialog/types.d.ts +5 -0
  65. package/dist/Shared/Components/index.d.ts +5 -0
  66. package/dist/Shared/Hooks/useForm/useForm.d.ts +7 -2
  67. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +3 -0
  68. package/dist/Shared/Providers/ThemeProvider/constants.d.ts +2 -0
  69. package/dist/Shared/Providers/ThemeProvider/index.d.ts +2 -0
  70. package/dist/Shared/Providers/ThemeProvider/types.d.ts +33 -0
  71. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +4 -0
  72. package/dist/Shared/Providers/index.d.ts +1 -0
  73. package/dist/Shared/Services/app.types.d.ts +72 -1
  74. package/dist/Shared/Services/index.d.ts +1 -0
  75. package/dist/Shared/validations.d.ts +4 -0
  76. package/dist/assets/@code-editor.css +1 -1
  77. package/dist/assets/ic-laptop.485e21b4.svg +3 -0
  78. package/dist/assets/ic-moon.17d37c40.svg +3 -0
  79. package/dist/assets/{ic-nav-rocket.9e50bb61.svg → ic-nav-rocket.433c9706.svg} +1 -1
  80. package/dist/assets/{ic-rotate-devtron.200e165b.svg → ic-rotate-devtron.5a8363d8.svg} +87 -86
  81. package/dist/assets/ic-sun.33e8214b.svg +3 -0
  82. package/dist/assets/ic-view-variable-toggle.93c3599f.svg +19 -0
  83. package/dist/index.d.ts +6 -0
  84. package/dist/index.js +723 -688
  85. package/package.json +3 -3
  86. package/dist/assets/ic-view-variable-toggle.c335dfa0.svg +0 -24
@@ -1,16 +1,16 @@
1
1
  import { MODES } from '../Constants';
2
- import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
2
+ import { Action, CodeEditorInitialValueType, CodeEditorState } from './types';
3
3
  export declare const CodeEditorReducer: (state: CodeEditorState, action: Action) => {
4
4
  mode: any;
5
5
  diffMode: boolean;
6
- theme: CodeEditorThemesKeys;
6
+ theme: import('./types').CodeEditorThemesKeys;
7
7
  code: string;
8
8
  defaultCode: string;
9
9
  noParsing: boolean;
10
10
  } | {
11
11
  diffMode: any;
12
12
  mode: MODES;
13
- theme: CodeEditorThemesKeys;
13
+ theme: import('./types').CodeEditorThemesKeys;
14
14
  code: string;
15
15
  defaultCode: string;
16
16
  noParsing: boolean;
@@ -25,24 +25,24 @@ export declare const CodeEditorReducer: (state: CodeEditorState, action: Action)
25
25
  code: any;
26
26
  mode: MODES;
27
27
  diffMode: boolean;
28
- theme: CodeEditorThemesKeys;
28
+ theme: import('./types').CodeEditorThemesKeys;
29
29
  defaultCode: string;
30
30
  noParsing: boolean;
31
31
  } | {
32
32
  defaultCode: any;
33
33
  mode: MODES;
34
34
  diffMode: boolean;
35
- theme: CodeEditorThemesKeys;
35
+ theme: import('./types').CodeEditorThemesKeys;
36
36
  code: string;
37
37
  noParsing: boolean;
38
38
  } | {
39
39
  height: any;
40
40
  mode: MODES;
41
41
  diffMode: boolean;
42
- theme: CodeEditorThemesKeys;
42
+ theme: import('./types').CodeEditorThemesKeys;
43
43
  code: string;
44
44
  defaultCode: string;
45
45
  noParsing: boolean;
46
46
  };
47
47
  export declare const parseValueToCode: (value: string, mode: string, tabSize: number) => string;
48
- export declare const initialState: ({ mode, theme, value, defaultValue, diffView, noParsing, tabSize, }: CodeEditorInitialValueType) => CodeEditorState;
48
+ export declare const initialState: ({ mode, theme, value, defaultValue, diffView, noParsing, tabSize, appTheme, }: CodeEditorInitialValueType) => CodeEditorState;
@@ -1,9 +1,15 @@
1
+ import { AppThemeType } from '../../Shared/Providers';
1
2
  import { MODES } from '../Constants';
2
3
  export interface InformationBarProps {
3
4
  text: string;
4
5
  className?: string;
5
6
  children?: React.ReactNode;
6
7
  }
8
+ export declare enum CodeEditorThemesKeys {
9
+ vsDarkDT = "vs-dark--dt",
10
+ vs = "vs",
11
+ networkStatusInterface = "network-status-interface"
12
+ }
7
13
  interface CodeEditorBaseInterface {
8
14
  value?: string;
9
15
  lineDecorationsWidth?: number;
@@ -22,7 +28,7 @@ interface CodeEditorBaseInterface {
22
28
  diffView?: boolean;
23
29
  loading?: boolean;
24
30
  customLoader?: JSX.Element;
25
- theme?: string;
31
+ theme?: CodeEditorThemesKeys;
26
32
  original?: string;
27
33
  focus?: boolean;
28
34
  validatorSchema?: any;
@@ -68,21 +74,14 @@ export interface Action {
68
74
  type: ActionTypes;
69
75
  value: any;
70
76
  }
71
- export declare enum CodeEditorThemesKeys {
72
- vsDarkDT = "vs-dark--dt",
73
- deleteDraft = "delete-draft",
74
- unpublished = "unpublished",
75
- vs = "vs",
76
- networkStatusInterface = "network-status-interface"
77
- }
78
- export interface CodeEditorInitialValueType {
77
+ export interface CodeEditorInitialValueType extends Pick<CodeEditorBaseInterface, 'theme'> {
79
78
  mode: string;
80
79
  diffView: boolean;
81
- theme?: string;
82
80
  value: string;
83
81
  defaultValue: string;
84
82
  noParsing?: boolean;
85
83
  tabSize: number;
84
+ appTheme: AppThemeType;
86
85
  }
87
86
  export interface CodeEditorState {
88
87
  mode: MODES;
@@ -0,0 +1,3 @@
1
+ import { AppThemeType } from '../../Shared/Providers';
2
+ import { CodeEditorInterface } from './types';
3
+ export declare const getCodeEditorThemeFromAppTheme: (editorTheme: CodeEditorInterface["theme"], appTheme: AppThemeType) => CodeEditorInterface["theme"];
@@ -23,6 +23,11 @@ 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;
26
31
  };
27
32
  export declare const URLS: {
28
33
  LOGIN_SSO: string;
@@ -108,6 +113,7 @@ export declare const ROUTES: {
108
113
  FILE_UPLOAD: string;
109
114
  PLUGIN_GLOBAL_VARIABLES: string;
110
115
  CONFIG_COMPARE_SECRET: string;
116
+ SCOPED_GLOBAL_VARIABLES: string;
111
117
  CD_TRIGGER_POST: string;
112
118
  DELETE_RESOURCE: string;
113
119
  NODE_CAPACITY: string;
@@ -23,6 +23,8 @@ export declare const multiSelectStyles: {
23
23
  option: (base: any, state: any) => any;
24
24
  container: (base: any, state: any) => any;
25
25
  valueContainer: (base: any, state: any) => any;
26
+ singleValue: (base: any) => any;
27
+ input: (base: any) => any;
26
28
  };
27
29
  export interface CustomSelect {
28
30
  sortSelected?: boolean;
@@ -13,6 +13,9 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
13
13
  loadingMessage: (base: any) => any;
14
14
  noOptionsMessage: (base: any) => any;
15
15
  multiValue: (base: any) => any;
16
+ singleValue: (base: any) => any;
17
+ input: (base: any) => any;
18
+ menu: (base: any) => any;
16
19
  };
17
20
  /**
18
21
  * Returns the redirection props for a url
@@ -1,3 +1,3 @@
1
1
  import { SegmentedControlProps } from './types';
2
- declare const SegmentedControl: ({ tabs, initialTab, onChange, tooltips, disabled, rootClassName, name, variant, }: SegmentedControlProps) => JSX.Element;
2
+ declare const SegmentedControl: ({ tabs, initialTab, onChange, tooltips, disabled, rootClassName, name, variant, size, }: SegmentedControlProps) => JSX.Element;
3
3
  export default SegmentedControl;
@@ -0,0 +1,2 @@
1
+ import { SegmentedControlProps } from './types';
2
+ export declare const SEGMENTED_CONTROL_SIZE_TO_CLASS_MAP: Record<SegmentedControlProps['size'], string>;
@@ -1,10 +1,12 @@
1
1
  import { OptionType } from '../Types';
2
+ import { ComponentSizeType } from '../../Shared/constants';
3
+ import { ReactNode } from 'react';
2
4
  export declare enum SegmentedControlVariant {
3
5
  GRAY_ON_WHITE = "gui-yaml-switch",
4
6
  WHITE_ON_GRAY = "gui-yaml-switch-window-bg"
5
7
  }
6
8
  export interface SegmentedControlProps {
7
- tabs: OptionType[];
9
+ tabs: OptionType<string, ReactNode>[];
8
10
  initialTab: string;
9
11
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
10
12
  name: string;
@@ -12,4 +14,8 @@ export interface SegmentedControlProps {
12
14
  disabled?: boolean;
13
15
  rootClassName?: string;
14
16
  variant?: SegmentedControlVariant;
17
+ /**
18
+ * @default ComponentSizeType.medium
19
+ */
20
+ size?: ComponentSizeType.medium | ComponentSizeType.large;
15
21
  }
@@ -0,0 +1,3 @@
1
+ import { BuildInfraUtilityContextType } from '../../index';
2
+ export declare const BuildInfraUtilityContext: import('react').Context<BuildInfraUtilityContextType>;
3
+ export declare const useBuildInfraUtilityContext: () => BuildInfraUtilityContextType;
@@ -1,3 +1,3 @@
1
1
  import { BuildInfraDescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, }: BuildInfraDescriptorProps) => JSX.Element;
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, tooltipHeading, }: BuildInfraDescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -1,5 +1,6 @@
1
1
  import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
2
- import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType } from './types';
2
+ import { CMSecretComponentType } from '../../../Shared/index';
3
+ import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, BuildInfraInheritActionsOnSubValues, InfraConfigWithSubValues } from './types';
3
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
4
5
  readonly STEP: "any";
5
6
  readonly MIN: 0;
@@ -59,4 +60,9 @@ export declare const ACTION_TO_PERSISTED_VALUE_MAP: Readonly<Record<RequestLimit
59
60
  export declare const DEFAULT_TOLERANCE_EFFECT = BuildInfraToleranceEffectType.NO_SCHEDULE;
60
61
  export declare const DEFAULT_TOLERANCE_OPERATOR = BuildInfraToleranceOperatorType.EQUALS;
61
62
  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>>;
62
67
  export declare const USE_BUILD_X_DRIVER_FALLBACK = true;
68
+ export declare const BUILD_INFRA_SUB_VALUES_INHERIT_ACTIONS: Record<BuildInfraInheritActionsOnSubValues, true>;
@@ -5,6 +5,7 @@ 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';
8
9
  export * from './services';
9
10
  export * from './utils';
10
11
  export * from './types';
@@ -1,3 +1,5 @@
1
+ import { BuildInfraPayloadType } from '../../index';
1
2
  import { BuildInfraProfileResponseType, GetBuildInfraProfileType, UpsertBuildInfraProfileServiceParamsType } from './types';
2
3
  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>>>>;
3
5
  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 } from 'react';
1
+ import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
3
3
  import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
- import { ValidationResponseType } from '../../../Shared';
4
+ import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
5
5
  import { ServerErrors } from '../../../Common';
6
6
  /**
7
7
  * Unique actions that will be dispatched and,
@@ -14,7 +14,9 @@ export declare enum BuildInfraConfigTypes {
14
14
  MEMORY_REQUEST = "memory_request",
15
15
  BUILD_TIMEOUT = "timeout",
16
16
  NODE_SELECTOR = "node_selector",
17
- TOLERANCE = "tolerations"
17
+ TOLERANCE = "tolerations",
18
+ CONFIG_MAP = "cm",
19
+ SECRET = "cs"
18
20
  }
19
21
  /**
20
22
  * Combination of BuildInfraConfigTypes and BuildInfraMetaConfigTypes is going to derive error state and actions(actions will also be derived with BuildInfraInheritActions)
@@ -31,7 +33,9 @@ export declare enum BuildInfraLocators {
31
33
  MEMORY = "memory",
32
34
  BUILD_TIMEOUT = "timeout",
33
35
  NODE_SELECTOR = "node selector",
34
- TOLERANCE = "tolerance"
36
+ TOLERANCE = "tolerance",
37
+ CONFIG_MAP = "cm",
38
+ SECRET = "cs"
35
39
  }
36
40
  export type BuildInfraInheritActions = keyof typeof BUILD_INFRA_INHERIT_ACTIONS;
37
41
  export declare enum BuildInfraProfileVariants {
@@ -52,6 +56,7 @@ export interface BuildInfraDescriptorProps {
52
56
  tippyInfoText?: string;
53
57
  tippyAdditionalContent?: ReactNode;
54
58
  tooltipNode?: ReactNode;
59
+ tooltipHeading?: string;
55
60
  }
56
61
  export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
57
62
  export interface BuildInfraActionType {
@@ -128,20 +133,38 @@ export type BuildInfraToleranceValueType = {
128
133
  operator: BuildInfraToleranceOperatorType.EXISTS;
129
134
  value?: never;
130
135
  });
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;
136
+ export type InfraConfigWithSubValues = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.CONFIG_MAP | BuildInfraConfigTypes.SECRET>;
137
+ type BuildInfraConfigTypeFormat<Key, Value, Unit> = {
138
+ key: Key;
139
+ value: Value;
140
+ } & ([Unit] extends [never] ? {
141
+ unit?: Unit;
142
+ } : {
143
+ unit: Unit;
144
+ });
145
+ type NumericBuildInfraConfigValueDTO = BuildInfraConfigTypeFormat<NumericBuildInfraConfigTypes, number, ConfigurationUnitType['name']>;
146
+ type NodeSelectorConfigDTO = BuildInfraConfigTypeFormat<BuildInfraConfigTypes.NODE_SELECTOR, BuildInfraNodeSelectorValueType[], never>;
147
+ type ToleranceConfigDTO = BuildInfraConfigTypeFormat<BuildInfraConfigTypes.TOLERANCE, BuildInfraToleranceValueType[], never>;
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;
143
157
  };
144
- interface BuildInfraProfileConfigBase {
158
+ export interface BuildInfraCMCSConfigType extends Pick<BuildInfraCMCSConfigDTO, 'key' | 'unit'> {
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 {
145
168
  id?: number;
146
169
  /**
147
170
  * This key holds value when we are inheriting values from other profiles in case of listing
@@ -151,21 +174,8 @@ interface BuildInfraProfileConfigBase {
151
174
  targetPlatform: string;
152
175
  }
153
176
  export type BuildInfraConfigInfoType = BuildInfraConfigValuesType & BuildInfraProfileConfigBase;
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>;
177
+ export type BuildInfraConfigurationDTO = BuildInfraConfigDTO & Omit<BuildInfraProfileConfigBase, 'targetPlatform'>;
178
+ export type BuildInfraConfigurationItemPayloadType = Omit<BuildInfraProfileConfigBase, 'targetPlatform'> & BuildInfraConfigPayloadType;
169
179
  export declare enum BuildXDriverType {
170
180
  KUBERNETES = "kubernetes",
171
181
  DOCKER_CONTAINER = "docker-container"
@@ -182,6 +192,24 @@ interface BuildInfraProfileBaseDTO {
182
192
  */
183
193
  buildxDriverType?: BuildXDriverType;
184
194
  }
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>;
185
213
  export interface BuildInfraProfileBase extends Omit<BuildInfraProfileBaseDTO, 'buildxDriverType'> {
186
214
  useK8sDriver?: boolean;
187
215
  }
@@ -237,11 +265,12 @@ export declare enum ToleranceHeaderType {
237
265
  VALUE = "VALUE",
238
266
  EFFECT = "EFFECT"
239
267
  }
268
+ export type BuildInfraCMCSErrorType = Record<InfraConfigWithSubValues, Record<BuildInfraCMCSValueType['id'], boolean>>;
240
269
  /**
241
270
  * Would be maintaining error state for name and description irrespective of platform
242
271
  * For error states related to platform, we would not be letting user to switch platform if there are errors
243
272
  */
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[]>>>>;
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[]>>>> & BuildInfraCMCSErrorType;
245
274
  export type TargetPlatformErrorFields = BuildInfraConfigTypes | BuildInfraProfileAdditionalErrorKeysType;
246
275
  export interface ProfileInputDispatchDataType {
247
276
  targetPlatform: string;
@@ -252,7 +281,6 @@ interface NumericBuildInfraConfigPayloadType {
252
281
  }
253
282
  export declare enum BuildInfraProfileInputActionType {
254
283
  ADD_TARGET_PLATFORM = "add_target_platform",
255
- TOGGLE_USE_K8S_DRIVER = "toggle_use_k8s_driver",
256
284
  REMOVE_TARGET_PLATFORM = "remove_target_platform",
257
285
  RENAME_TARGET_PLATFORM = "rename_target_platform",
258
286
  RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot",
@@ -261,12 +289,13 @@ export declare enum BuildInfraProfileInputActionType {
261
289
  EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item",
262
290
  DELETE_TOLERANCE_ITEM = "delete_tolerance_item",
263
291
  ADD_TOLERANCE_ITEM = "add_tolerance_item",
264
- EDIT_TOLERANCE_ITEM = "edit_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"
265
296
  }
297
+ export type BuildInfraInheritActionsOnSubValues = Extract<BuildInfraInheritActions, `activate_${BuildInfraLocators.CONFIG_MAP}` | `de_activate_${BuildInfraLocators.CONFIG_MAP}` | `activate_${BuildInfraLocators.SECRET}` | `de_activate_${BuildInfraLocators.SECRET}`>;
266
298
  export type HandleProfileInputChangeType = {
267
- action: BuildInfraProfileInputActionType.TOGGLE_USE_K8S_DRIVER;
268
- data?: never;
269
- } | {
270
299
  action: NumericBuildInfraConfigTypes;
271
300
  data: ProfileInputDispatchDataType & NumericBuildInfraConfigPayloadType;
272
301
  } | {
@@ -275,8 +304,19 @@ export type HandleProfileInputChangeType = {
275
304
  value: string;
276
305
  };
277
306
  } | {
278
- action: BuildInfraInheritActions | BuildInfraProfileInputActionType.ADD_TARGET_PLATFORM | BuildInfraProfileInputActionType.REMOVE_TARGET_PLATFORM;
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;
279
313
  data: ProfileInputDispatchDataType;
314
+ } | {
315
+ action: BuildInfraInheritActionsOnSubValues;
316
+ data: ProfileInputDispatchDataType & {
317
+ componentType: CMSecretComponentType;
318
+ id: string;
319
+ };
280
320
  } | {
281
321
  action: BuildInfraProfileInputActionType.RENAME_TARGET_PLATFORM;
282
322
  data: {
@@ -307,6 +347,24 @@ export type HandleProfileInputChangeType = {
307
347
  } | {
308
348
  action: BuildInfraProfileInputActionType.EDIT_TOLERANCE_ITEM;
309
349
  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
+ };
310
368
  };
311
369
  export interface UseBuildInfraFormResponseType {
312
370
  isLoading: boolean;
@@ -324,7 +382,7 @@ export interface BuildInfraConfigFormProps extends Pick<UseBuildInfraFormRespons
324
382
  unitsMap?: BuildInfraProfileResponseType['configurationUnits'];
325
383
  configurationContainerLabel?: ReactNode;
326
384
  }
327
- export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, 'marker' | 'heading'>, Partial<Pick<BuildInfraProfileConfigBase, 'targetPlatform'>>, Pick<BuildInfraConfigFormProps, 'isGlobalProfile'> {
385
+ export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, 'marker' | 'heading'> {
328
386
  children?: ReactNode;
329
387
  /**
330
388
  * If true, means profile is inheriting values from other profile (e.g, default)
@@ -334,11 +392,6 @@ export interface BuildInfraFormItemProps extends Pick<BuildInfraFormFieldType, '
334
392
  * Would be false for last item
335
393
  */
336
394
  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'];
342
395
  }
343
396
  export interface ValidateRequestLimitType {
344
397
  request: NumericBuildInfraConfigPayloadType;
@@ -349,7 +402,7 @@ export interface ValidateRequestLimitResponseType {
349
402
  request: ValidationResponseType;
350
403
  limit: ValidationResponseType;
351
404
  }
352
- export interface BuildInfraFormActionProps extends BuildInfraActionType, Pick<BuildInfraFormItemProps, 'targetPlatform'> {
405
+ export interface BuildInfraFormActionProps extends BuildInfraActionType {
353
406
  handleProfileInputChange: UseBuildInfraFormResponseType['handleProfileInputChange'];
354
407
  currentValue: number;
355
408
  error?: string;
@@ -364,6 +417,7 @@ export interface BuildInfraFormActionProps extends BuildInfraActionType, Pick<Bu
364
417
  * @default false
365
418
  */
366
419
  autoFocus?: boolean;
420
+ targetPlatform?: string;
367
421
  }
368
422
  export interface FooterProps {
369
423
  /**
@@ -390,9 +444,15 @@ export interface BuildInfraInputFieldComponentProps {
390
444
  currentValue: BuildInfraConfigValuesType['value'];
391
445
  error?: string;
392
446
  }
393
- export interface BuildInfraProfileMetaFieldProps extends Pick<BuildInfraInputFieldComponentProps, 'error' | 'handleProfileInputChange'> {
447
+ export type BuildInfraProfileMetaFieldProps = Pick<BuildInfraInputFieldComponentProps, 'error'> & {
394
448
  currentValue: string;
395
- }
449
+ } & ({
450
+ handleProfileInputChange: BuildInfraInputFieldComponentProps['handleProfileInputChange'];
451
+ onChange?: never;
452
+ } | {
453
+ onChange: (e: SyntheticEvent) => void;
454
+ handleProfileInputChange?: never;
455
+ });
396
456
  export interface InheritingHeaderProps extends Pick<BuildInfraConfigFormProps, 'isGlobalProfile'> {
397
457
  defaultHeading: BuildInfraFormFieldType['heading'];
398
458
  inheritingData: BuildInfraConfigValuesType[];
@@ -406,9 +466,6 @@ interface BaseBuildInfraProfileDTO {
406
466
  defaultConfigurations: BuildInfraPlatformConfigurationMapDTO;
407
467
  configurationUnits: BuildInfraUnitsMapType;
408
468
  }
409
- export interface BuildInfraListResponseType extends BaseBuildInfraProfileDTO {
410
- profiles: BuildInfraProfileInfoDTO[];
411
- }
412
469
  export interface BuildInfraProfileDTO extends BaseBuildInfraProfileDTO {
413
470
  profile: BuildInfraProfileInfoDTO;
414
471
  }
@@ -418,6 +475,10 @@ export interface GetPlatformConfigurationsWithDefaultValuesParamsType {
418
475
  profileConfigurationsMap: BuildInfraConfigurationMapTypeWithoutDefaultFallback;
419
476
  defaultConfigurationsMap: BuildInfraConfigurationMapTypeWithoutDefaultFallback;
420
477
  platformName: string;
478
+ /**
479
+ * @default false
480
+ */
481
+ isDefaultProfile?: boolean;
421
482
  }
422
483
  export declare enum BuildInfraAPIVersionType {
423
484
  ALPHA1 = "alpha1"
@@ -427,6 +488,14 @@ export interface ValidateNodeSelectorParamsType extends Pick<ReturnType<typeof u
427
488
  selector: BuildInfraNodeSelectorValueType;
428
489
  existingKeys: string[];
429
490
  }
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
+ }
430
499
  export interface GetBaseProfileObjectParamsType extends Pick<BuildInfraProfileTransformerParamsType, 'canConfigureUseK8sDriver' | 'fromCreateView' | 'profile'> {
431
500
  }
432
501
  export {};
@@ -1,7 +1,10 @@
1
- import { BuildInfraConfigValuesType, BuildInfraInheritActions, BuildInfraLocators, BuildInfraProfileInfoDTO, BuildInfraProfileResponseType, BuildInfraProfileTransformerParamsType, BuildXDriverType, CreateBuildInfraProfileType } from './types';
1
+ import { BuildInfraPayloadType, InfraConfigWithSubValues } from '../../index';
2
+ import { BuildInfraConfigTypes, BuildInfraConfigValuesType, BuildInfraInheritActions, BuildInfraLocators, BuildInfraProfileResponseType, BuildInfraProfileTransformerParamsType, BuildXDriverType, CreateBuildInfraProfileType } from './types';
2
3
  export declare const parsePlatformConfigIntoValue: (configuration: BuildInfraConfigValuesType, addUniqueId?: boolean) => BuildInfraConfigValuesType;
3
4
  export declare const getParsedValueForUseK8sDriver: (buildxDriverType: BuildXDriverType) => boolean;
5
+ export declare const getDoesInfraConfigContainsSubValue: (infraConfig: BuildInfraConfigTypes) => infraConfig is InfraConfigWithSubValues;
4
6
  export declare const getTransformedBuildInfraProfileResponse: ({ configurationUnits, defaultConfigurations, profile, fromCreateView, canConfigureUseK8sDriver, }: BuildInfraProfileTransformerParamsType) => BuildInfraProfileResponseType;
5
- export declare const getBuildInfraProfilePayload: (profileInput: CreateBuildInfraProfileType["profileInput"], canConfigureUseK8sDriver: boolean) => BuildInfraProfileInfoDTO;
7
+ export declare const getBuildxDriverTypeFromUseK8sDriver: (useK8sDriver: boolean) => BuildXDriverType;
8
+ export declare const getBuildInfraProfilePayload: (profileInput: CreateBuildInfraProfileType["profileInput"], canConfigureUseK8sDriver: boolean) => BuildInfraPayloadType;
6
9
  export declare const getBuildInfraProfileEndpoint: () => string;
7
10
  export declare const getBuildInfraInheritActionFromLocator: (locator: BuildInfraLocators, activateLocator: boolean) => BuildInfraInheritActions;
@@ -0,0 +1,11 @@
1
+ import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
2
+ import { ValidationResponseType } from '../../../Shared/validations';
3
+ /**
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
+ */
6
+ export declare const validateTargetPlatformName: (name: string, platformMap: Record<string, unknown>) => ValidationResponseType;
7
+ export declare const validateLabelValue: (value?: string) => Pick<ValidationResponseType, "isValid"> & {
8
+ messages: string[];
9
+ };
10
+ export declare const validateRequestLimit: ({ request, limit, unitsMap, }: ValidateRequestLimitType) => ValidateRequestLimitResponseType;
11
+ export declare const validateNodeSelector: ({ selector: { key, value, id }, existingKeys, profileInputErrors: currentInputErrors, }: ValidateNodeSelectorParamsType) => void;
@@ -1,3 +1,3 @@
1
1
  import { DeploymentTemplateHistoryType } from '../types';
2
- declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, codeEditorKey, }: DeploymentTemplateHistoryType) => JSX.Element;
2
+ declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, rootClassName, codeEditorKey, }: DeploymentTemplateHistoryType) => JSX.Element;
3
3
  export default DeploymentHistoryDiffView;
@@ -11,6 +11,8 @@ export declare const FILTER_STYLE: {
11
11
  option: (base: any, state: any) => any;
12
12
  container: (base: any, state: any) => any;
13
13
  valueContainer: (base: any, state: any) => any;
14
+ singleValue: (base: any) => any;
15
+ input: (base: any) => any;
14
16
  };
15
17
  export declare const GIT_BRANCH_NOT_CONFIGURED = "Not Configured";
16
18
  export declare const DEFAULT_GIT_BRANCH_VALUE = "--";
@@ -390,8 +390,6 @@ export interface DeploymentTemplateHistoryType {
390
390
  currentConfiguration: DeploymentHistoryDetail;
391
391
  baseTemplateConfiguration: DeploymentHistoryDetail;
392
392
  previousConfigAvailable: boolean;
393
- isUnpublished?: boolean;
394
- isDeleteDraft?: boolean;
395
393
  rootClassName?: string;
396
394
  codeEditorKey?: React.Key;
397
395
  }
@@ -0,0 +1,3 @@
1
+ import { ConfigMapSecretReadyOnlyProps } from './types';
2
+ declare const ConfigMapSecretReadyOnly: ({ componentType, isJob, configMapSecretData, cmSecretStateLabel, areScopeVariablesResolving, fallbackMergeStrategy, hideCodeEditor, containerClassName, displayKeys, isBorderLess, }: ConfigMapSecretReadyOnlyProps) => JSX.Element;
3
+ export default ConfigMapSecretReadyOnly;
@@ -0,0 +1,23 @@
1
+ import { CMSecretYamlData } from '../../Services';
2
+ import { ConfigMapSecretDataTypeOptionType } from './types';
3
+ export declare const CONFIG_MAP_SECRET_YAML_PARSE_ERROR = "Could not parse to valid YAML";
4
+ export declare const SECRET_TOAST_INFO: {
5
+ BOTH_STORE_AVAILABLE: string;
6
+ CHECK_KEY_SECRET_KEY: string;
7
+ BOTH_STORE_UNAVAILABLE: string;
8
+ CHECK_KEY_NAME: string;
9
+ BOTH_ESO_DATA_AND_DATA_FROM_AVAILABLE: string;
10
+ BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE: string;
11
+ };
12
+ export declare const configMapDataTypeOptions: ConfigMapSecretDataTypeOptionType[];
13
+ export declare const CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA: CMSecretYamlData[];
14
+ export declare const configMapSecretMountDataMap: {
15
+ environment: {
16
+ title: string;
17
+ value: string;
18
+ };
19
+ volume: {
20
+ title: string;
21
+ value: string;
22
+ };
23
+ };
@@ -0,0 +1 @@
1
+ export declare const renderHashiOrAwsDeprecatedInfo: () => JSX.Element;
@@ -0,0 +1,6 @@
1
+ export { default as ConfigMapSecretReadyOnly } from './ConfigMapSecretReadyOnly';
2
+ export * from './validations';
3
+ export * from './helpers';
4
+ export * from './types';
5
+ export * from './utils';
6
+ export * from './constants';