@epam/ai-dial-shared 0.28.0-rc.0 → 0.28.0-rc.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/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.28.0-rc.0",
5
+ "version": "0.28.0-rc.2",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {
@@ -6,17 +6,17 @@ export declare enum DialSchemaProperties {
6
6
  DialWidget = "dial:widget",
7
7
  DialChatMessageInputDisabled = "dial:chatMessageInputDisabled"
8
8
  }
9
+ export type MessageFormValueType = number | string | boolean;
9
10
  export interface FormSchemaButtonOption {
10
11
  title: string;
11
- const: number;
12
+ const: MessageFormValueType;
12
13
  [DialSchemaProperties.DialWidgetOptions]?: {
13
14
  confirmationMessage?: string;
14
15
  populateText?: string;
15
16
  submit?: boolean;
16
17
  };
17
18
  }
18
- export type MessageFormValueType = string[] | number | string | boolean | undefined;
19
- export type MessageFormValue = Record<string, MessageFormValueType>;
19
+ export type MessageFormValue = Record<string, MessageFormValueType | undefined>;
20
20
  export declare enum FormSchemaPropertyType {
21
21
  array = "array",
22
22
  number = "number",