@devtron-labs/devtron-fe-common-lib 0.1.16-beta-5 → 0.1.16-beta-7

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 (51) hide show
  1. package/dist/Common/Api.d.ts +1 -1
  2. package/dist/Common/CIPipeline.Types.d.ts +4 -1
  3. package/dist/Common/Constants.d.ts +2 -2
  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/MultiSelectCustomization.d.ts +1 -1
  8. package/dist/Common/Types.d.ts +2 -2
  9. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +2 -1
  10. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +4 -0
  11. package/dist/Shared/Components/EditImageFormField/constants.d.ts +6 -0
  12. package/dist/Shared/Components/EditImageFormField/index.d.ts +2 -0
  13. package/dist/Shared/Components/EditImageFormField/types.d.ts +18 -0
  14. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  15. package/dist/Shared/Components/FilterChips/types.d.ts +6 -18
  16. package/dist/Shared/Components/Plugin/service.d.ts +3 -1
  17. package/dist/Shared/Components/Plugin/types.d.ts +5 -2
  18. package/dist/Shared/Components/Plugin/utils.d.ts +3 -0
  19. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  20. package/dist/Shared/Components/SelectPicker/type.d.ts +10 -1
  21. package/dist/Shared/Components/index.d.ts +1 -0
  22. package/dist/Shared/Hooks/index.d.ts +0 -1
  23. package/dist/Shared/Services/common.service.d.ts +2 -3
  24. package/dist/Shared/Services/types.d.ts +4 -15
  25. package/dist/Shared/constants.d.ts +1 -0
  26. package/dist/Shared/types.d.ts +1 -7
  27. package/dist/Shared/validations.d.ts +3 -0
  28. package/dist/assets/index.css +1 -1
  29. package/dist/{cssMode-a297ca6e.js → cssMode-5222472b.js} +1 -1
  30. package/dist/{freemarker2-05744383.js → freemarker2-86e00522.js} +1 -1
  31. package/dist/{handlebars-ab9e5510.js → handlebars-6a922d2a.js} +1 -1
  32. package/dist/{html-fb5fd277.js → html-b4158742.js} +1 -1
  33. package/dist/{htmlMode-7431ae7d.js → htmlMode-d8c49ab0.js} +1 -1
  34. package/dist/{index-487cba05.js → index-6d3a3314.js} +24111 -24005
  35. package/dist/index.js +390 -386
  36. package/dist/{javascript-097af821.js → javascript-80dc4c2a.js} +1 -1
  37. package/dist/{jsonMode-d511a4fb.js → jsonMode-771da968.js} +1 -1
  38. package/dist/{liquid-e8a241ee.js → liquid-12cc259d.js} +1 -1
  39. package/dist/{mdx-1d38e886.js → mdx-3e169bed.js} +1 -1
  40. package/dist/{python-6001c39d.js → python-7abb639f.js} +1 -1
  41. package/dist/{razor-122e5840.js → razor-0c1382cc.js} +1 -1
  42. package/dist/{tsMode-c0596bae.js → tsMode-bc8858f6.js} +1 -1
  43. package/dist/{typescript-12536e6a.js → typescript-0f031a62.js} +1 -1
  44. package/dist/{xml-d09d26cb.js → xml-86ca1795.js} +1 -1
  45. package/dist/{yaml-bf1a774e.js → yaml-71afa4d4.js} +1 -1
  46. package/package.json +1 -1
  47. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +0 -2
  48. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -9
  49. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +0 -31
  50. package/dist/Shared/Hooks/useGetResourceKindsOptions/useGetResourceKindsOptions.d.ts +0 -16
  51. package/dist/Shared/Hooks/useGetResourceKindsOptions/utils.d.ts +0 -4
@@ -4,7 +4,7 @@ import { ResponseType, APIOptions } from './Types';
4
4
  export declare const post: (url: string, data: object, options?: APIOptions, isMultipartRequest?: boolean) => Promise<ResponseType>;
5
5
  export declare const put: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
6
6
  export declare const patch: (url: string, data: object, options?: APIOptions) => Promise<ResponseType>;
7
- export declare const get: (url: string, options?: APIOptions) => Promise<ResponseType>;
7
+ export declare const get: <T = any>(url: string, options?: APIOptions) => Promise<ResponseType<T>>;
8
8
  export declare const trash: (url: string, data?: object, options?: APIOptions) => Promise<ResponseType>;
9
9
  /**
10
10
  * Aborts the previous request before triggering next request
@@ -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;
@@ -75,11 +75,10 @@ export declare const ROUTES: {
75
75
  CONFIG_CD_PIPELINE: string;
76
76
  MODULE_CONFIGURED: string;
77
77
  RESOURCE_HISTORY_DEPLOYMENT: string;
78
- APP_LIST_MIN: string;
79
- CLUSTER_LIST_MIN: string;
80
78
  PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
81
79
  PLUGIN_GLOBAL_LIST_V2: string;
82
80
  PLUGIN_GLOBAL_LIST_TAGS: string;
81
+ PLUGIN_LIST_MIN: string;
83
82
  };
84
83
  export declare enum KEY_VALUE {
85
84
  KEY = "key",
@@ -269,3 +268,4 @@ export declare const DATE_TIME_FORMATS: {
269
268
  DD_MMM_YYYY_HH_MM: string;
270
269
  DD_MMM_YYYY: string;
271
270
  };
271
+ export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
@@ -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
 
3
3
  export interface CustomInputProps {
4
4
  name: string;
@@ -17,7 +17,7 @@ export interface CustomInputProps {
17
17
  autoFocus?: boolean;
18
18
  rootClassName?: string;
19
19
  error?: string[] | string;
20
- helperText?: string;
20
+ helperText?: ReactNode;
21
21
  handleOnBlur?: (e: any) => void;
22
22
  readOnly?: boolean;
23
23
  noTrim?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
 
3
3
  export declare class VisibleModal extends React.Component<{
4
- className: string;
4
+ className?: string;
5
5
  parentClassName?: string;
6
6
  noBackground?: boolean;
7
7
  close?: (e: any) => void;
@@ -1,7 +1,7 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
 
3
3
  export declare class VisibleModal2 extends React.Component<{
4
- className: string;
4
+ className?: string;
5
5
  close?: (e: any) => void;
6
6
  }> {
7
7
  modalRef: HTMLElement;
@@ -4,7 +4,7 @@ export declare const Option: (props: any) => JSX.Element;
4
4
  export declare const SingleSelectOption: (props: any) => JSX.Element;
5
5
  /**
6
6
  * Multi value container
7
- */
7
+ */
8
8
  export declare const MultiValueContainer: (props: any) => JSX.Element;
9
9
  /**
10
10
  *
@@ -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,4 @@
1
+ import { EditImageFormFieldProps } from './types';
2
+
3
+ declare const EditImageFormField: ({ defaultIcon, errorMessage, handleError, url, handleURLChange, ariaLabelPrefix, dataTestIdPrefix, altText, }: EditImageFormFieldProps) => JSX.Element;
4
+ export default EditImageFormField;
@@ -0,0 +1,6 @@
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";
@@ -0,0 +1,2 @@
1
+ export { default as EditImageFormField } from './EditImageFormField';
2
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export interface EditImageFormFieldProps {
4
+ defaultIcon: ReactNode;
5
+ errorMessage: string;
6
+ handleError: (error: string) => void;
7
+ url: string;
8
+ handleURLChange: (url: string) => void;
9
+ altText: string;
10
+ ariaLabelPrefix: string;
11
+ dataTestIdPrefix: string;
12
+ }
13
+ export interface FallbackImageProps extends Pick<EditImageFormFieldProps, 'defaultIcon'> {
14
+ /**
15
+ * @default - false
16
+ */
17
+ showEditIcon?: boolean;
18
+ }
@@ -3,5 +3,5 @@ import { FilterChipsProps } from './types';
3
3
  /**
4
4
  * Component for rendering the applied filter chips
5
5
  */
6
- declare const FilterChips: <T = Record<string, unknown>>({ filterConfig, clearFilters, onRemoveFilter, getFormattedLabel, getFormattedValue, className, clearButtonClassName, showClearAndRemove, shouldHideLabel, }: FilterChipsProps<T>) => JSX.Element;
6
+ declare const FilterChips: <T = Record<string, unknown>>({ filterConfig, clearFilters, onRemoveFilter, getFormattedLabel, getFormattedValue, className, clearButtonClassName, shouldHideLabel, }: FilterChipsProps<T>) => JSX.Element;
7
7
  export default FilterChips;
@@ -21,33 +21,17 @@ export interface FilterChipProps {
21
21
  * If passed, the label will be formatted accordingly
22
22
  */
23
23
  getFormattedValue?: (filterKey: string, filterValue: unknown) => ReactNode;
24
- showRemoveIcon: boolean;
25
24
  /**
26
25
  * If true, would hide the label
27
26
  * @default false
28
27
  */
29
28
  shouldHideLabel?: boolean;
30
29
  }
31
- export type FilterChipsProps<T = Record<string, unknown>> = Pick<FilterChipProps, 'getFormattedLabel' | 'getFormattedValue' | 'shouldHideLabel'> & {
30
+ export interface FilterChipsProps<T = Record<string, unknown>> extends Pick<FilterChipProps, 'getFormattedLabel' | 'getFormattedValue' | 'shouldHideLabel'> {
32
31
  /**
33
32
  * Current filter configuration
34
33
  */
35
34
  filterConfig: T;
36
- /**
37
- * Class name for the container
38
- */
39
- className?: string;
40
- } & ({
41
- /**
42
- * If false, anything related to removing filters is not shown
43
- * @default 'true'
44
- */
45
- showClearAndRemove: false;
46
- clearFilters?: never;
47
- onRemoveFilter?: never;
48
- clearButtonClassName?: never;
49
- } | {
50
- showClearAndRemove?: true;
51
35
  /**
52
36
  * Callback handler for removing the filters
53
37
  */
@@ -56,8 +40,12 @@ export type FilterChipsProps<T = Record<string, unknown>> = Pick<FilterChipProps
56
40
  * Handler for removing a applied filter
57
41
  */
58
42
  onRemoveFilter: (filterConfig: T) => void;
43
+ /**
44
+ * Class name for the container
45
+ */
46
+ className?: string;
59
47
  /**
60
48
  * Class name for the clear filter button
61
49
  */
62
50
  clearButtonClassName?: string;
63
- });
51
+ }
@@ -1,5 +1,7 @@
1
- import { GetPluginStoreDataReturnType, GetPluginStoreDataServiceParamsType, PluginDetailServiceParamsType } from './types';
1
+ import { ResponseType } from '../../../Common';
2
+ import { GetPluginStoreDataReturnType, GetPluginStoreDataServiceParamsType, MinParentPluginDTO, PluginDetailServiceParamsType } from './types';
2
3
 
3
4
  export declare const getPluginsDetail: ({ appId, parentPluginIds, pluginIds, shouldShowError, }: PluginDetailServiceParamsType) => Promise<Pick<GetPluginStoreDataReturnType, 'pluginStore'>>;
4
5
  export declare const getPluginStoreData: ({ searchKey, selectedTags, appId, offset, signal, }: GetPluginStoreDataServiceParamsType) => Promise<GetPluginStoreDataReturnType>;
5
6
  export declare const getAvailablePluginTags: (appId: number) => Promise<string[]>;
7
+ export declare const getParentPluginList: (appId?: number) => Promise<ResponseType<MinParentPluginDTO[]>>;
@@ -45,6 +45,9 @@ export interface ParentPluginDTO {
45
45
  type: PluginCreationType;
46
46
  icon: string;
47
47
  pluginVersions: PluginVersionsDTO;
48
+ pluginIdentifier: string;
49
+ }
50
+ export interface MinParentPluginDTO extends Pick<ParentPluginDTO, 'id' | 'name' | 'icon'> {
48
51
  }
49
52
  export interface PluginDetailDTO {
50
53
  parentPlugins: ParentPluginDTO[];
@@ -66,11 +69,11 @@ export interface PluginDetailPayloadType extends Pick<PluginDetailServiceParamsT
66
69
  export interface PluginListFiltersType extends Pick<BaseFilterQueryParams<unknown>, 'searchKey'> {
67
70
  selectedTags: string[];
68
71
  }
69
- interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon'> {
72
+ interface ParentPluginType extends Pick<ParentPluginDTO, 'id' | 'name' | 'description' | 'type' | 'icon' | 'pluginIdentifier'> {
70
73
  latestVersionId: MinimalPluginVersionDataDTO['id'];
71
74
  pluginVersions: MinimalPluginVersionDataDTO[];
72
75
  }
73
- interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type'> {
76
+ interface DetailedPluginVersionType extends Pick<MinimalPluginVersionDataDTO, 'id' | 'description' | 'name' | 'pluginVersion'>, Pick<DetailedPluginVersionDTO, 'tags' | 'isLatest' | 'inputVariables' | 'outputVariables' | 'updatedBy' | 'docLink'>, Pick<ParentPluginType, 'icon' | 'type' | 'pluginIdentifier'> {
74
77
  parentPluginId: ParentPluginType['id'];
75
78
  }
76
79
  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
 
3
5
  export declare const parsePluginDetailsDTOIntoPluginStore: (pluginData: ParentPluginDTO[]) => PluginDataStoreType;
@@ -14,6 +16,7 @@ export declare const pluginTagSelectStyles: {
14
16
  group: (base: any) => any;
15
17
  groupHeading: (base: any) => any;
16
18
  };
19
+ export declare const PluginTagOption: (props: OptionProps<OptionType, true>) => JSX.Element;
17
20
  /**
18
21
  * @description This method takes the initial plugin data store and updates the keys with the target parent plugin store and plugin version store
19
22
  */
@@ -81,5 +81,5 @@ import { SelectPickerProps } from './type';
81
81
  * <SelectPicker ... showSelectedOptionsCount />
82
82
  * ```
83
83
  */
84
- declare const SelectPicker: ({ error, icon, renderMenuListFooter, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, ...props }: SelectPickerProps) => JSX.Element;
84
+ declare const SelectPicker: ({ error, icon, renderMenuListFooter, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, ...props }: SelectPickerProps) => JSX.Element;
85
85
  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 { ReactElement, ReactNode } from 'react';
@@ -18,7 +19,7 @@ export interface SelectPickerOptionType extends OptionType<number | string, Reac
18
19
  endIcon?: ReactElement;
19
20
  }
20
21
  type SelectProps = ReactSelectProps<SelectPickerOptionType>;
21
- export interface SelectPickerProps extends Pick<SelectProps, 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'isLoading' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder'>, Required<Pick<SelectProps, 'classNamePrefix' | 'inputId' | 'name'>> {
22
+ export interface SelectPickerProps extends Pick<SelectProps, 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'isLoading' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'autoFocus' | 'onKeyDown'>, Required<Pick<SelectProps, 'classNamePrefix' | 'inputId' | 'name'>> {
22
23
  /**
23
24
  * Icon to be rendered in the control
24
25
  */
@@ -70,5 +71,13 @@ export interface SelectPickerProps extends Pick<SelectProps, 'options' | 'value'
70
71
  * @default 'ComponentSizeType.small'
71
72
  */
72
73
  menuSize?: ComponentSizeType;
74
+ /**
75
+ * If true, would show generic section error state as no options message
76
+ */
77
+ optionListError?: ServerErrors;
78
+ /**
79
+ * Would reload the option list when called in case optionListError is present
80
+ */
81
+ reloadOptionList?: () => void;
73
82
  }
74
83
  export {};
@@ -34,3 +34,4 @@ export * from './Plugin';
34
34
  export * from './KeyValueTable';
35
35
  export * from './SelectPicker';
36
36
  export * from './DetectBottom';
37
+ export * from './EditImageFormField';
@@ -1,3 +1,2 @@
1
1
  export * from './UsePrompt';
2
- export * from './useGetResourceKindsOptions';
3
2
  export * from './UseDownload';
@@ -1,4 +1,3 @@
1
- import { GetPolicyApiUrlProps, GetResourceApiUrlProps } from './types';
1
+ import { GetResourceApiUrlProps } from './types';
2
2
 
3
- export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, suffix, queryParams }: GetResourceApiUrlProps<T>) => string;
4
- export declare const getPolicyApiUrl: <T>({ kind, version, queryParams, suffix }: GetPolicyApiUrlProps<T>) => string;
3
+ export declare const getResourceApiUrl: <T>({ baseUrl, kind, version, queryParams }: GetResourceApiUrlProps<T>) => string;
@@ -1,5 +1,5 @@
1
1
  import { getUrlWithSearchParams } from '../../Common';
2
- import { PolicyKindType, ResourceKindType, ResourceVersionType } from '../types';
2
+ import { ResourceKindType, ResourceVersionType } from '../types';
3
3
 
4
4
  export interface ClusterType {
5
5
  id: number;
@@ -9,20 +9,9 @@ export interface ClusterType {
9
9
  */
10
10
  isVirtual: boolean;
11
11
  }
12
- /**
13
- * T => Type of query params
14
- * K => Type of kind
15
- * P => Type of version
16
- */
17
- interface BaseGetApiUrlProps<T, K extends ResourceKindType | PolicyKindType, P extends ResourceVersionType> {
12
+ export interface GetResourceApiUrlProps<T> {
18
13
  baseUrl: string;
19
- kind: K;
20
- version: P;
21
- suffix?: string;
14
+ kind: ResourceKindType;
15
+ version: ResourceVersionType;
22
16
  queryParams?: T extends Parameters<typeof getUrlWithSearchParams>[1] ? T : never;
23
17
  }
24
- export interface GetResourceApiUrlProps<T> extends BaseGetApiUrlProps<T, ResourceKindType, ResourceVersionType> {
25
- }
26
- export interface GetPolicyApiUrlProps<T> extends Omit<BaseGetApiUrlProps<T, PolicyKindType, ResourceVersionType>, 'baseUrl'> {
27
- }
28
- export {};
@@ -362,3 +362,4 @@ export declare enum ComponentSizeType {
362
362
  medium = "medium",
363
363
  large = "large"
364
364
  }
365
+ export declare const POP_UP_MENU_MODAL_ID = "popup";
@@ -360,21 +360,15 @@ export declare enum ResourceKindType {
360
360
  tenant = "tenant",
361
361
  installation = "installation",
362
362
  environment = "environment",
363
- cdPipeline = "cd-pipeline",
364
- project = "project"
363
+ cdPipeline = "cd-pipeline"
365
364
  }
366
365
  /**
367
366
  * Versions support for the resources on BE
368
- *
369
- * TODO: Rename to ApiVersionType
370
367
  */
371
368
  export declare enum ResourceVersionType {
372
369
  v1 = "v1",
373
370
  alpha1 = "alpha1"
374
371
  }
375
- export declare enum PolicyKindType {
376
- lockConfiguration = "lock-configuration"
377
- }
378
372
  export interface LastExecutionResultType {
379
373
  lastExecution: string;
380
374
  severityCount: {
@@ -12,6 +12,7 @@ export declare const MESSAGES: {
12
12
  VALID_POSITIVE_NUMBER: string;
13
13
  VALID_POSITIVE_INTEGER: string;
14
14
  MAX_SAFE_INTEGER: string;
15
+ INVALID_SEMANTIC_VERSION: string;
15
16
  };
16
17
  export declare const requiredField: (value: string) => ValidationResponseType;
17
18
  export declare const validateName: (name: string) => ValidationResponseType;
@@ -28,3 +29,5 @@ export declare const validateUniqueKeys: (keys: string[]) => {
28
29
  isValid: boolean;
29
30
  message: string;
30
31
  };
32
+ export declare const validateSemanticVersioning: (version: string) => ValidationResponseType;
33
+ export declare const validateDisplayName: (name: string) => ValidationResponseType;