@devtron-labs/devtron-fe-common-lib 0.2.22 → 0.2.23

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 (40) hide show
  1. package/dist/Common/Api.d.ts +5 -5
  2. package/dist/Common/CIPipeline.Types.d.ts +4 -1
  3. package/dist/Common/Constants.d.ts +2 -0
  4. package/dist/Common/CustomInput/Types.d.ts +2 -2
  5. package/dist/Common/Modals/VisibleModal.d.ts +1 -1
  6. package/dist/Common/Modals/VisibleModal2.d.ts +1 -1
  7. package/dist/Common/Types.d.ts +2 -2
  8. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +2 -1
  9. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +18 -0
  10. package/dist/Shared/Components/EditImageFormField/constants.d.ts +7 -0
  11. package/dist/Shared/Components/EditImageFormField/index.d.ts +2 -0
  12. package/dist/Shared/Components/EditImageFormField/types.d.ts +40 -0
  13. package/dist/Shared/Components/Header/types.d.ts +1 -12
  14. package/dist/Shared/Components/Plugin/service.d.ts +4 -2
  15. package/dist/Shared/Components/Plugin/types.d.ts +11 -3
  16. package/dist/Shared/Components/Plugin/utils.d.ts +3 -0
  17. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  18. package/dist/Shared/Components/SelectPicker/type.d.ts +10 -1
  19. package/dist/Shared/Components/index.d.ts +1 -0
  20. package/dist/Shared/constants.d.ts +1 -0
  21. package/dist/Shared/validations.d.ts +11 -0
  22. package/dist/assets/index.css +1 -1
  23. package/dist/{cssMode-BbazknOP.js → cssMode-CRUBjsi5.js} +1 -1
  24. package/dist/{freemarker2-Csqu4GrA.js → freemarker2-CLlxqsl-.js} +1 -1
  25. package/dist/{handlebars-D09EvY5c.js → handlebars-B6lyOnzG.js} +1 -1
  26. package/dist/{html-D7lxK3zD.js → html-lAmXB-IE.js} +1 -1
  27. package/dist/{htmlMode-DTpfX5xO.js → htmlMode--9UVZVdn.js} +1 -1
  28. package/dist/{index-BUfmSFDM.js → index-5BYTRdf3.js} +22176 -21983
  29. package/dist/index.js +420 -413
  30. package/dist/{javascript-VFG7UmKY.js → javascript-694ZVMg8.js} +1 -1
  31. package/dist/{jsonMode-ACOZNQ86.js → jsonMode-Dmh6ZoP5.js} +1 -1
  32. package/dist/{liquid-B-5X_h8L.js → liquid-cCgHRKYN.js} +1 -1
  33. package/dist/{mdx-CSGIly-a.js → mdx-BunKYBub.js} +1 -1
  34. package/dist/{python-BQw8hi2y.js → python-B1avY699.js} +1 -1
  35. package/dist/{razor-PzbGY6yz.js → razor-BEndl8O8.js} +1 -1
  36. package/dist/{tsMode-Cu_CpXy3.js → tsMode-DLdiu18i.js} +1 -1
  37. package/dist/{typescript-B-kgyWD4.js → typescript-DRxjI6mI.js} +1 -1
  38. package/dist/{xml-B7pWPDSs.js → xml-DlajdoYB.js} +1 -1
  39. package/dist/{yaml-CqfacoJE.js → yaml-Md-8DsZ-.js} +1 -1
  40. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { ResponseType, APIOptions } from './Types';
3
- export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
4
- export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
5
- export declare const patch: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
6
- export declare const get: (url: string, options?: APIOptions) => Promise<ResponseType>;
7
- export declare const trash: (url: string, data?: object, options?: APIOptions) => Promise<ResponseType>;
3
+ export declare const post: <T = any, K = object>(url: string, data: K, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType<T>>;
4
+ export declare const put: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
5
+ export declare const patch: <T = any, K = object>(url: string, data: K, options?: APIOptions) => Promise<ResponseType<T>>;
6
+ export declare const get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
7
+ export declare const trash: <T = any, K = object>(url: string, data?: K, options?: APIOptions) => Promise<ResponseType<T>>;
8
8
  /**
9
9
  * Aborts the previous request before triggering next request
10
10
  */
@@ -77,6 +77,7 @@ export interface VariableType {
77
77
  format: string;
78
78
  description: string;
79
79
  defaultValue: string;
80
+ allowEmptyValue: boolean;
80
81
  variableType: RefVariableType;
81
82
  refVariableStepIndex: number;
82
83
  refVariableName: string;
@@ -98,7 +99,7 @@ interface ConditionDetails {
98
99
  conditionType: ConditionType;
99
100
  conditionalValue: string;
100
101
  }
101
- interface InlineStepDetailType {
102
+ export interface InlineStepDetailType {
102
103
  scriptType: ScriptType;
103
104
  isMountCustomScript?: boolean;
104
105
  script?: string;
@@ -117,6 +118,8 @@ interface InlineStepDetailType {
117
118
  inputVariables?: VariableType[];
118
119
  outputVariables?: VariableType[];
119
120
  conditionDetails: ConditionDetails[];
121
+ storeScriptAt?: string;
122
+ mountCodeToContainerPath?: string;
120
123
  }
121
124
  interface PluginRefStepDetailType {
122
125
  id: number;
@@ -85,6 +85,7 @@ export declare const ROUTES: {
85
85
  PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
86
86
  PLUGIN_GLOBAL_LIST_V2: string;
87
87
  PLUGIN_GLOBAL_LIST_TAGS: string;
88
+ PLUGIN_LIST_MIN: string;
88
89
  DEPLOYMENT_CHARTS_LIST: string;
89
90
  USER_LIST_MIN: string;
90
91
  CONFIG_DATA: string;
@@ -277,6 +278,7 @@ export declare const DATE_TIME_FORMATS: {
277
278
  DD_MMM_YYYY_HH_MM: string;
278
279
  DD_MMM_YYYY: string;
279
280
  };
281
+ export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
280
282
  export declare const VULNERABILITIES_SORT_PRIORITY: {
281
283
  critical: number;
282
284
  high: number;
@@ -1,4 +1,4 @@
1
- import { default as React, HTMLInputTypeAttribute, InputHTMLAttributes } from 'react';
1
+ import { default as React, HTMLInputTypeAttribute, InputHTMLAttributes, ReactNode } from 'react';
2
2
  export interface CustomInputProps {
3
3
  name: string;
4
4
  value: string | number;
@@ -16,7 +16,7 @@ export interface CustomInputProps {
16
16
  autoFocus?: boolean;
17
17
  rootClassName?: string;
18
18
  error?: string[] | string;
19
- helperText?: string;
19
+ helperText?: ReactNode;
20
20
  handleOnBlur?: (e: any) => void;
21
21
  readOnly?: boolean;
22
22
  noTrim?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
  export declare class VisibleModal extends React.Component<{
3
- className: string;
3
+ className?: string;
4
4
  parentClassName?: string;
5
5
  noBackground?: boolean;
6
6
  close?: (e: any) => void;
@@ -1,6 +1,6 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
  export declare class VisibleModal2 extends React.Component<{
3
- className: string;
3
+ className?: string;
4
4
  close?: (e: any) => void;
5
5
  }> {
6
6
  modalRef: HTMLElement;
@@ -177,10 +177,10 @@ export interface RadioGroupItemProps {
177
177
  export interface RadioGroupInterface {
178
178
  name: string;
179
179
  onChange: any;
180
- className?: string;
181
180
  initialTab: string;
182
- disabled: boolean;
183
181
  children: ReactNode;
182
+ disabled?: boolean;
183
+ className?: string;
184
184
  }
185
185
  export interface RadioInterface {
186
186
  children: ReactNode;
@@ -1,5 +1,6 @@
1
1
  interface DetectBottomProps {
2
2
  callback: () => void;
3
+ hasError?: boolean;
3
4
  }
4
- declare const DetectBottom: ({ callback }: DetectBottomProps) => JSX.Element;
5
+ declare const DetectBottom: ({ callback, hasError }: DetectBottomProps) => JSX.Element;
5
6
  export default DetectBottom;
@@ -0,0 +1,18 @@
1
+ import { EditImageFormFieldProps } from './types';
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * <EditImageFormField
6
+ * url={icon}
7
+ * defaultIcon={<ICSampleIcon className="w-100 h-100 dc__opacity-1 p-5" />}
8
+ * errorMessage={formError.icon}
9
+ * handleError={handleError}
10
+ * handleURLChange={handleURLChange}
11
+ * ariaLabelPrefix="Edit icon url"
12
+ * dataTestIdPrefix="edit-icon-url"
13
+ * altText="Form icon"
14
+ * />
15
+ * ```
16
+ */
17
+ declare const EditImageFormField: ({ defaultIcon, errorMessage, handleError, url, handleURLChange, ariaLabelPrefix, dataTestIdPrefix, altText, }: EditImageFormFieldProps) => JSX.Element;
18
+ export default EditImageFormField;
@@ -0,0 +1,7 @@
1
+ export declare const DEFAULT_MAX_IMAGE_SIZE: number;
2
+ export declare const DEFAULT_IMAGE_DIMENSIONS: {
3
+ readonly width: 72;
4
+ readonly height: 72;
5
+ };
6
+ export declare const EMPTY_PREVIEW_URL_ERROR_MESSAGE = "Please provide image URL to preview";
7
+ export declare const BASE_IMAGE_CLASS = "edit-image-form-field__figure-container--base-image";
@@ -0,0 +1,2 @@
1
+ export { default as EditImageFormField } from './EditImageFormField';
2
+ export * from './types';
@@ -0,0 +1,40 @@
1
+ import { ReactElement } from 'react';
2
+ export interface EditImageFormFieldProps {
3
+ /**
4
+ * Fallback icon to be shown when image is not available
5
+ */
6
+ defaultIcon: ReactElement;
7
+ /**
8
+ * Would be shown below input, there are two types of error messages:
9
+ * External - Error message handled from state above and would propagate to parent through handleError
10
+ * Internal - Error message handled internally and would not propagate to parent, like empty preview URL
11
+ */
12
+ errorMessage: string;
13
+ /**
14
+ * Would be called when there is an error in the image URL during handleChange or handlePreviewImage
15
+ */
16
+ handleError: (error: string) => void;
17
+ /**
18
+ * The current value of input field
19
+ */
20
+ url: string;
21
+ /**
22
+ * Would be called when the URL is changed in the input field
23
+ */
24
+ handleURLChange: (url: string) => void;
25
+ /**
26
+ * The alt text for the image
27
+ */
28
+ altText: string;
29
+ /**
30
+ * Prefix for aria-label
31
+ */
32
+ ariaLabelPrefix: string;
33
+ /**
34
+ * Prefix for data-testid
35
+ */
36
+ dataTestIdPrefix: string;
37
+ }
38
+ export interface FallbackImageProps extends Pick<EditImageFormFieldProps, 'defaultIcon'> {
39
+ showEditIcon: boolean;
40
+ }
@@ -1,21 +1,10 @@
1
+ import { ModuleStatus } from '../../types';
1
2
  import { ResponseType, TippyCustomizedProps } from '../../../Common';
2
3
  export declare enum InstallationType {
3
4
  OSS_KUBECTL = "oss_kubectl",
4
5
  OSS_HELM = "oss_helm",
5
6
  ENTERPRISE = "enterprise"
6
7
  }
7
- export declare enum ModuleStatus {
8
- HEALTHY = "healthy",
9
- NONE = "none",
10
- UNKNOWN = "unknown",
11
- UPGRADING = "upgrading",
12
- UPGRADE_FAILED = "upgradeFailed",
13
- INSTALLED = "installed",
14
- INSTALLING = "installing",
15
- INSTALL_FAILED = "installFailed",
16
- NOT_INSTALLED = "notInstalled",
17
- TIMEOUT = "timeout"
18
- }
19
8
  export interface PageHeaderType {
20
9
  headerName?: string;
21
10
  showTabs?: boolean;
@@ -1,4 +1,6 @@
1
- import { GetPluginStoreDataReturnType, GetPluginStoreDataServiceParamsType, PluginDetailServiceParamsType } from './types';
2
- export declare const getPluginsDetail: ({ appId, parentPluginIds, pluginIds, shouldShowError, }: PluginDetailServiceParamsType) => Promise<Pick<GetPluginStoreDataReturnType, "pluginStore">>;
1
+ import { ResponseType } from '../../../Common';
2
+ import { GetPluginStoreDataReturnType, GetPluginStoreDataServiceParamsType, MinParentPluginDTO, PluginDetailServiceParamsType } from './types';
3
+ export declare const getPluginsDetail: ({ appId, parentPluginIds, pluginIds, signal, shouldShowError, }: PluginDetailServiceParamsType) => Promise<Pick<GetPluginStoreDataReturnType, "pluginStore">>;
3
4
  export declare const getPluginStoreData: ({ searchKey, selectedTags, appId, offset, signal, }: GetPluginStoreDataServiceParamsType) => Promise<GetPluginStoreDataReturnType>;
4
5
  export declare const getAvailablePluginTags: (appId: number) => Promise<string[]>;
6
+ export declare const getParentPluginList: (appId?: number) => Promise<ResponseType<MinParentPluginDTO[]>>;
@@ -7,9 +7,13 @@ export declare enum PluginCreationType {
7
7
  SHARED = "SHARED",
8
8
  PRESET = "PRESET"
9
9
  }
10
- export interface GetPluginTagsPayloadType {
10
+ export interface PluginAPIBaseQueryParamsType {
11
11
  appId: number;
12
12
  }
13
+ export interface GetPluginTagsPayloadType extends PluginAPIBaseQueryParamsType {
14
+ }
15
+ export interface GetParentPluginListPayloadType extends PluginAPIBaseQueryParamsType {
16
+ }
13
17
  export interface PluginTagNamesDTO {
14
18
  tagNames: string[];
15
19
  }
@@ -44,6 +48,9 @@ export interface ParentPluginDTO {
44
48
  type: PluginCreationType;
45
49
  icon: string;
46
50
  pluginVersions: PluginVersionsDTO;
51
+ pluginIdentifier: string;
52
+ }
53
+ export interface MinParentPluginDTO extends Pick<ParentPluginDTO, 'id' | 'name' | 'icon'> {
47
54
  }
48
55
  export interface PluginDetailDTO {
49
56
  parentPlugins: ParentPluginDTO[];
@@ -57,6 +64,7 @@ export interface PluginDetailServiceParamsType {
57
64
  * @default true
58
65
  */
59
66
  shouldShowError?: boolean;
67
+ signal?: AbortSignal;
60
68
  }
61
69
  export interface PluginDetailPayloadType extends Pick<PluginDetailServiceParamsType, 'appId'> {
62
70
  pluginId?: PluginDetailServiceParamsType['pluginIds'];
@@ -65,11 +73,11 @@ export interface PluginDetailPayloadType extends Pick<PluginDetailServiceParamsT
65
73
  export interface PluginListFiltersType extends Pick<BaseFilterQueryParams<unknown>, 'searchKey'> {
66
74
  selectedTags: string[];
67
75
  }
68
- interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon'> {
76
+ interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon' | 'pluginIdentifier'> {
69
77
  latestVersionId: MinimalPluginVersionDataDTO['id'];
70
78
  pluginVersions: MinimalPluginVersionDataDTO[];
71
79
  }
72
- interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type'> {
80
+ interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type' | 'pluginIdentifier'> {
73
81
  parentPluginId: ParentPluginType['id'];
74
82
  }
75
83
  export interface PluginDataStoreType {
@@ -1,3 +1,5 @@
1
+ import { OptionProps } from 'react-select';
2
+ import { OptionType } from '../../../Common/Types';
1
3
  import { ParentPluginDTO, PluginDataStoreType } from './types';
2
4
  export declare const parsePluginDetailsDTOIntoPluginStore: (pluginData: ParentPluginDTO[]) => PluginDataStoreType;
3
5
  export declare const pluginTagSelectStyles: {
@@ -13,6 +15,7 @@ export declare const pluginTagSelectStyles: {
13
15
  group: (base: any) => any;
14
16
  groupHeading: (base: any) => any;
15
17
  };
18
+ export declare const PluginTagOption: (props: OptionProps<OptionType, true>) => JSX.Element;
16
19
  /**
17
20
  * @description This method takes the initial plugin data store and updates the keys with the target parent plugin store and plugin version store
18
21
  */
@@ -134,5 +134,5 @@ import { SelectPickerProps } from './type';
134
134
  * />
135
135
  * ```
136
136
  */
137
- declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
137
+ declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
138
138
  export default SelectPicker;
@@ -1,3 +1,4 @@
1
+ import { ServerErrors } from '../../../Common/ServerError';
1
2
  import { OptionType } from '../../../Common/Types';
2
3
  import { ComponentSizeType } from '../../constants';
3
4
  import { MutableRefObject, ReactElement, ReactNode } from 'react';
@@ -44,7 +45,7 @@ export declare enum SelectPickerVariantType {
44
45
  DEFAULT = "default",
45
46
  BORDER_LESS = "border-less"
46
47
  }
47
- 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'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
48
+ 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'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
48
49
  /**
49
50
  * Icon to be rendered in the control
50
51
  */
@@ -125,6 +126,14 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
125
126
  * @default false
126
127
  */
127
128
  fullWidth?: boolean;
129
+ /**
130
+ * If truthy, would show generic section error state as no options message
131
+ */
132
+ optionListError?: ServerErrors;
133
+ /**
134
+ * Would reload the option list when called in case optionListError is present
135
+ */
136
+ reloadOptionList?: () => void;
128
137
  } & (IsMulti extends true ? {
129
138
  isMulti: IsMulti | boolean;
130
139
  multiSelectProps?: Pick<CreatableProps<SelectPickerOptionType<OptionValue>, true, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption'> & {
@@ -36,5 +36,6 @@ export * from './ShowMoreText';
36
36
  export * from './CollapsibleList';
37
37
  export * from './DeploymentConfigDiff';
38
38
  export * from './DetectBottom';
39
+ export * from './EditImageFormField';
39
40
  export * from './Collapse';
40
41
  export * from './FilterButton';
@@ -391,6 +391,7 @@ export declare enum ComponentSizeType {
391
391
  medium = "medium",
392
392
  large = "large"
393
393
  }
394
+ export declare const POP_UP_MENU_MODAL_ID = "popup";
394
395
  /**
395
396
  * Identifiers for grouped / all resources
396
397
  */
@@ -13,6 +13,7 @@ export declare const MESSAGES: {
13
13
  VALID_POSITIVE_NUMBER: string;
14
14
  VALID_POSITIVE_INTEGER: string;
15
15
  MAX_SAFE_INTEGER: string;
16
+ INVALID_SEMANTIC_VERSION: string;
16
17
  };
17
18
  export declare const requiredField: (value: string) => ValidationResponseType;
18
19
  export declare const validateName: (name: string) => ValidationResponseType;
@@ -30,4 +31,14 @@ export declare const validateUniqueKeys: (keys: string[]) => {
30
31
  isValid: boolean;
31
32
  message: string;
32
33
  };
34
+ /**
35
+ * Rules for valid semantic version:
36
+ * 1. version.length < 128 and not empty
37
+ * 2. version should follow semantic versioning regex from https://semver.org/
38
+ */
39
+ export declare const validateSemanticVersioning: (version: string) => ValidationResponseType;
40
+ /**
41
+ * A valid display name should be between 3 and 50 characters
42
+ */
43
+ export declare const validateDisplayName: (name: string) => ValidationResponseType;
33
44
  export declare const validateJSON: (json: string) => ValidationResponseType;