@voiceflow/chat-types 1.4.29 → 2.0.0
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/build/project/index.d.ts +2 -3
- package/build/project/index.js.map +1 -1
- package/build/types.d.ts +4 -5
- package/build/utils.d.ts +1 -1
- package/package.json +3 -4
package/build/project/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Project } from '@voiceflow/base-types';
|
|
1
|
+
import { Models, Project } from '@voiceflow/base-types';
|
|
3
2
|
export interface ChatProject extends Project.BaseProject {
|
|
4
3
|
}
|
|
5
|
-
export declare const defaultChatProjectData: (data?: Partial<BasePlatformData>) => BasePlatformData;
|
|
4
|
+
export declare const defaultChatProjectData: (data?: Partial<Models.BasePlatformData>) => Models.BasePlatformData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/project/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/project/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;;;AAE1D,sDAAwD;AAIjD,MAAM,sBAAsB,GAAG,CAAC,OAAyC,EAAE,EAA2B,EAAE,CAAC,mBAC3G,oBAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,EACvC,CAAC;AAFU,QAAA,sBAAsB,0BAEhC"}
|
package/build/types.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Node as BaseNode, Text } from '@voiceflow/base-types';
|
|
1
|
+
import { Models, Node as BaseNode, Text } from '@voiceflow/base-types';
|
|
3
2
|
export interface Prompt extends BaseNode.Utils.DataID {
|
|
4
3
|
content: Text.SlateTextValue;
|
|
5
4
|
}
|
|
6
|
-
export interface IntentSlotDialog extends
|
|
5
|
+
export interface IntentSlotDialog extends Models.IntentSlotDialog {
|
|
7
6
|
prompt: Prompt[];
|
|
8
7
|
confirm: Prompt[];
|
|
9
8
|
}
|
|
10
|
-
export interface IntentSlot extends
|
|
9
|
+
export interface IntentSlot extends Models.IntentSlot {
|
|
11
10
|
dialog: IntentSlotDialog;
|
|
12
11
|
}
|
|
13
|
-
export interface Intent extends
|
|
12
|
+
export interface Intent extends Models.Intent {
|
|
14
13
|
slots?: IntentSlot[];
|
|
15
14
|
}
|
package/build/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/chat-types",
|
|
3
3
|
"description": "Voiceflow chat project types",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@voiceflow/
|
|
11
|
-
"@voiceflow/base-types": "^1.12.0"
|
|
10
|
+
"@voiceflow/base-types": "^2.0.0"
|
|
12
11
|
},
|
|
13
12
|
"files": [
|
|
14
13
|
"build"
|
|
@@ -37,5 +36,5 @@
|
|
|
37
36
|
"test:integration": "exit 0",
|
|
38
37
|
"test:unit": "exit 0"
|
|
39
38
|
},
|
|
40
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "53085c0019d5a5a745416f25b6932e43e6786cd1"
|
|
41
40
|
}
|