@epam/ai-dial-shared 0.27.0-rc.2 → 0.27.0-rc.20

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/index.esm.js CHANGED
@@ -114,6 +114,9 @@ var FormSchemaPropertyType;
114
114
  (function (FormSchemaPropertyType) {
115
115
  FormSchemaPropertyType["array"] = "array";
116
116
  FormSchemaPropertyType["number"] = "number";
117
+ FormSchemaPropertyType["type"] = "integer";
118
+ FormSchemaPropertyType["string"] = "string";
119
+ FormSchemaPropertyType["boolean"] = "boolean";
117
120
  })(FormSchemaPropertyType || (FormSchemaPropertyType = {}));
118
121
 
119
122
  const validateFeature = (feature) => {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@epam/ai-dial-shared",
3
3
  "description": "Shared elements that support developing DIAL",
4
4
  "homepage": "https://epam-rail.com",
5
- "version": "0.27.0-rc.2",
5
+ "version": "0.27.0-rc.20",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {
@@ -15,11 +15,14 @@ export interface FormSchemaButtonOption {
15
15
  submit?: boolean;
16
16
  };
17
17
  }
18
- export type MessageFormValueType = string[] | number | undefined;
18
+ export type MessageFormValueType = string[] | number | string | boolean | undefined;
19
19
  export type MessageFormValue = Record<string, MessageFormValueType>;
20
20
  export declare enum FormSchemaPropertyType {
21
21
  array = "array",
22
- number = "number"
22
+ number = "number",
23
+ type = "integer",
24
+ string = "string",
25
+ boolean = "boolean"
23
26
  }
24
27
  export interface FormSchemaProperty {
25
28
  [DialSchemaProperties.DialWidget]?: FormSchemaPropertyWidget;