@voiceflow/base-types 1.9.4 → 1.11.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/build/node/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _v1 from './_v1';
|
|
2
2
|
import * as Api from './api';
|
|
3
3
|
import * as Code from './code';
|
|
4
|
+
import * as Component from './component';
|
|
4
5
|
import * as Exit from './exit';
|
|
5
6
|
import * as Flow from './flow';
|
|
6
7
|
import * as General from './general';
|
|
@@ -21,6 +22,7 @@ export * as Buttons from './buttons';
|
|
|
21
22
|
export * as Capture from './capture';
|
|
22
23
|
export * as Card from './card';
|
|
23
24
|
export * as Code from './code';
|
|
25
|
+
export * as Component from './component';
|
|
24
26
|
export * from './constants';
|
|
25
27
|
export * as Directive from './directive';
|
|
26
28
|
export * as Exit from './exit';
|
|
@@ -44,6 +46,6 @@ export * as Text from './text';
|
|
|
44
46
|
export * as Utils from './utils';
|
|
45
47
|
export * as Visual from './visual';
|
|
46
48
|
export * as Zapier from './zapier';
|
|
47
|
-
export declare type AnyCommonStep = Set.Step | SetV2.Step | Flow.Step | Start.Step | Code.Step | Intent.Step | Command.Step | Api.Step | Exit.Step | Random.Step | Zapier.Step | GoogleSheets.Step | If.Step | IfV2.Step | General.Step | _v1.Step;
|
|
49
|
+
export declare type AnyCommonStep = Set.Step | SetV2.Step | Flow.Step | Component.Step | Start.Step | Code.Step | Intent.Step | Command.Step | Api.Step | Exit.Step | Random.Step | Zapier.Step | GoogleSheets.Step | If.Step | IfV2.Step | General.Step | _v1.Step;
|
|
48
50
|
export declare type AnyCommonNode = Set.Node | SetV2.Node | Flow.Node | Start.Node | Code.Node | Integration.Node | Exit.Node | Random.Node | General.Node | If.Node | IfV2.Node | _v1.Node;
|
|
49
51
|
export declare type AnyCommonCommand = Intent.Command | Command.Command;
|
package/build/node/index.js
CHANGED
|
@@ -22,13 +22,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
22
22
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.Zapier = exports.Visual = exports.Utils = exports.Text = exports.Stream = exports.Start = exports.Speak = exports.SetV2 = exports.Set = exports.Random = exports.Command = exports.Prompt = exports.Intent = exports.Interaction = exports.Integration = exports.IfV2 = exports.If = exports.GoogleSheets = exports.General = exports.Flow = exports.Exit = exports.Directive = exports.Code = exports.Card = exports.Capture = exports.Buttons = exports.Api = exports._v1 = void 0;
|
|
25
|
+
exports.Zapier = exports.Visual = exports.Utils = exports.Text = exports.Stream = exports.Start = exports.Speak = exports.SetV2 = exports.Set = exports.Random = exports.Command = exports.Prompt = exports.Intent = exports.Interaction = exports.Integration = exports.IfV2 = exports.If = exports.GoogleSheets = exports.General = exports.Flow = exports.Exit = exports.Directive = exports.Component = exports.Code = exports.Card = exports.Capture = exports.Buttons = exports.Api = exports._v1 = void 0;
|
|
26
26
|
exports._v1 = __importStar(require("./_v1"));
|
|
27
27
|
exports.Api = __importStar(require("./api"));
|
|
28
28
|
exports.Buttons = __importStar(require("./buttons"));
|
|
29
29
|
exports.Capture = __importStar(require("./capture"));
|
|
30
30
|
exports.Card = __importStar(require("./card"));
|
|
31
31
|
exports.Code = __importStar(require("./code"));
|
|
32
|
+
exports.Component = __importStar(require("./component"));
|
|
32
33
|
__exportStar(require("./constants"), exports);
|
|
33
34
|
exports.Directive = __importStar(require("./directive"));
|
|
34
35
|
exports.Exit = __importStar(require("./exit"));
|
package/build/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,6CAA6B;AAC7B,6CAA6B;AAC7B,qDAAqC;AACrC,qDAAqC;AACrC,+CAA+B;AAC/B,+CAA+B;AAC/B,yDAAyC;AACzC,8CAA4B;AAC5B,yDAAyC;AACzC,+CAA+B;AAC/B,+CAA+B;AAC/B,qDAAqC;AACrC,+DAA+C;AAC/C,2CAA2B;AAC3B,+CAA+B;AAC/B,6DAA6C;AAC7C,6DAA6C;AAC7C,iDAAiC;AACjC,mDAAmC;AACnC,kDAAkC;AAClC,mDAAmC;AACnC,6CAA6B;AAC7B,iDAAiC;AACjC,iDAAiC;AACjC,iDAAiC;AACjC,mDAAmC;AACnC,+CAA+B;AAC/B,iDAAiC;AACjC,mDAAmC;AACnC,mDAAmC"}
|
package/build/node/jump.d.ts
CHANGED
|
@@ -14,10 +14,11 @@ export interface Step<Data = StepData> extends BaseStep<Data> {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* The old implementation of commands, used only in alexa and google
|
|
17
|
-
* use Node.Utils.AnyCommand
|
|
17
|
+
* use Node.Utils.AnyCommand for other platforms
|
|
18
18
|
*/
|
|
19
19
|
export interface Command extends BaseCommand, Required<SlotMappings> {
|
|
20
20
|
type: NodeType.INTENT;
|
|
21
21
|
next: NodeID;
|
|
22
22
|
intent: string;
|
|
23
|
+
diagramID?: string;
|
|
23
24
|
}
|
package/build/node/push.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface Step<Data = StepData> extends BaseStep<Data> {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* The old implementation of commands, used only in alexa and google
|
|
15
|
-
* use Node.Utils.AnyCommand
|
|
15
|
+
* use Node.Utils.AnyCommand for other platforms
|
|
16
16
|
*/
|
|
17
17
|
export interface Command extends BaseCommand, Required<SlotMappings> {
|
|
18
18
|
type: NodeType.COMMAND;
|
|
@@ -12,6 +12,7 @@ export interface TypedBaseCommand<Event extends BaseEvent = BaseEvent> extends B
|
|
|
12
12
|
export interface JumpCommand<Event extends BaseEvent = BaseEvent> extends TypedBaseCommand<Event> {
|
|
13
13
|
type: CommandType.JUMP;
|
|
14
14
|
nextID: Nullable<string>;
|
|
15
|
+
diagramID?: Nullable<string>;
|
|
15
16
|
}
|
|
16
17
|
export interface PushCommand<Event extends BaseEvent = BaseEvent> extends TypedBaseCommand<Event> {
|
|
17
18
|
type: CommandType.PUSH;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/base-types",
|
|
3
3
|
"description": "Voiceflow base project types",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.2",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"test:integration": "exit 0",
|
|
38
38
|
"test:unit": "exit 0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b0177a7bf731d1fda685489f37beebd8211418a9"
|
|
41
41
|
}
|