@voiceflow/base-types 2.10.1 → 2.11.1

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.
@@ -12,6 +12,7 @@ export declare enum NodeType {
12
12
  RANDOM = "random",
13
13
  CAPTURE = "capture",
14
14
  CAPTURE_V2 = "captureV2",
15
+ GOTO = "goTo",
15
16
  API = "api",
16
17
  ZAPIER = "zapier",
17
18
  INTEGRATIONS = "integrations",
@@ -17,6 +17,8 @@ var NodeType;
17
17
  NodeType["RANDOM"] = "random";
18
18
  NodeType["CAPTURE"] = "capture";
19
19
  NodeType["CAPTURE_V2"] = "captureV2";
20
+ // navigation
21
+ NodeType["GOTO"] = "goTo";
20
22
  // integrations
21
23
  NodeType["API"] = "api";
22
24
  NodeType["ZAPIER"] = "zapier";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAuCX;AAvCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAvCW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAuCnB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,QA0CX;AA1CD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,aAAa;IACb,yBAAa,CAAA;IAEb,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EA1CW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA0CnB"}
@@ -0,0 +1,10 @@
1
+ import { IntentRequest } from "../request";
2
+ import { Nullable } from "../types";
3
+ import { NodeType } from './constants';
4
+ import { BaseNode, BaseNodeNoMatch } from './utils';
5
+ export interface Node extends BaseNode {
6
+ type: NodeType.GOTO;
7
+ request: IntentRequest;
8
+ diagramID?: Nullable<string>;
9
+ noMatch?: Nullable<BaseNodeNoMatch>;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=goTo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goTo.js","sourceRoot":"","sources":["../../../src/node/goTo.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ import * as Exit from './exit';
6
6
  import * as Flow from './flow';
7
7
  import * as General from './general';
8
8
  import * as GoogleSheets from './googleSheets';
9
+ import * as GoTo from './goTo';
9
10
  import * as If from './if';
10
11
  import * as IfV2 from './ifV2';
11
12
  import * as Integration from './integration';
@@ -30,6 +31,7 @@ export * as Exit from './exit';
30
31
  export * as Flow from './flow';
31
32
  export * as General from './general';
32
33
  export * as GoogleSheets from './googleSheets';
34
+ export * as GoTo from './goTo';
33
35
  export * as If from './if';
34
36
  export * as IfV2 from './ifV2';
35
37
  export * as Integration from './integration';
@@ -48,5 +50,5 @@ export * as Utils from './utils';
48
50
  export * as Visual from './visual';
49
51
  export * as Zapier from './zapier';
50
52
  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;
51
- 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;
53
+ 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 | GoTo.Node | _v1.Node;
52
54
  export declare type AnyCommonCommand = Intent.Command | Command.Command;
@@ -22,7 +22,7 @@ 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.Component = exports.Code = exports.Card = exports.CaptureV2 = 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.GoTo = exports.GoogleSheets = exports.General = exports.Flow = exports.Exit = exports.Directive = exports.Component = exports.Code = exports.Card = exports.CaptureV2 = 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"));
@@ -37,6 +37,7 @@ exports.Exit = __importStar(require("./exit"));
37
37
  exports.Flow = __importStar(require("./flow"));
38
38
  exports.General = __importStar(require("./general"));
39
39
  exports.GoogleSheets = __importStar(require("./googleSheets"));
40
+ exports.GoTo = __importStar(require("./goTo"));
40
41
  exports.If = __importStar(require("./if"));
41
42
  exports.IfV2 = __importStar(require("./ifV2"));
42
43
  exports.Integration = __importStar(require("./integration"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,6CAA6B;AAC7B,6CAA6B;AAC7B,qDAAqC;AACrC,qDAAqC;AACrC,yDAAyC;AACzC,+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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,6CAA6B;AAC7B,6CAA6B;AAC7B,qDAAqC;AACrC,qDAAqC;AACrC,yDAAyC;AACzC,+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,+CAA+B;AAC/B,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"}
@@ -1,4 +1,3 @@
1
- import { IntentRequest } from "../../request";
2
1
  import { SlotMappings } from './mappings';
3
2
  export declare enum EventType {
4
3
  INTENT = "intent"
@@ -12,12 +11,8 @@ export interface BaseEvent {
12
11
  export declare type Event<T extends string = string, D = unknown> = {
13
12
  type: T;
14
13
  } & D;
15
- export interface IntentEventGoTo {
16
- request: IntentRequest;
17
- }
18
14
  export interface IntentEvent extends BaseEvent, SlotMappings {
19
15
  type: EventType.INTENT;
20
- goTo?: IntentEventGoTo;
21
16
  intent: string;
22
17
  }
23
18
  export interface GeneralEvent extends BaseEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/node/utils/event.ts"],"names":[],"mappings":";;;AAIA,kBAAkB;AAClB,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAEpB;AA4BM,MAAM,aAAa,GAAG,CAAC,KAAgB,EAAwB,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,MAAM,CAAC;AAA5F,QAAA,aAAa,iBAA+E;AAEzG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAa,CAAC;AAEvD,MAAM,cAAc,GAAG,CAAC,KAAmB,EAAyB,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAAxG,QAAA,cAAc,kBAA0F"}
1
+ {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/node/utils/event.ts"],"names":[],"mappings":";;;AAEA,kBAAkB;AAClB,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAEpB;AAuBM,MAAM,aAAa,GAAG,CAAC,KAAgB,EAAwB,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,MAAM,CAAC;AAA5F,QAAA,aAAa,iBAA+E;AAEzG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAa,CAAC;AAEvD,MAAM,cAAc,GAAG,CAAC,KAAmB,EAAyB,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAAxG,QAAA,cAAc,kBAA0F"}
@@ -12,6 +12,7 @@ export declare enum NodeType {
12
12
  RANDOM = "random",
13
13
  CAPTURE = "capture",
14
14
  CAPTURE_V2 = "captureV2",
15
+ GOTO = "goTo",
15
16
  API = "api",
16
17
  ZAPIER = "zapier",
17
18
  INTEGRATIONS = "integrations",
@@ -14,6 +14,8 @@ export var NodeType;
14
14
  NodeType["RANDOM"] = "random";
15
15
  NodeType["CAPTURE"] = "capture";
16
16
  NodeType["CAPTURE_V2"] = "captureV2";
17
+ // navigation
18
+ NodeType["GOTO"] = "goTo";
17
19
  // integrations
18
20
  NodeType["API"] = "api";
19
21
  NodeType["ZAPIER"] = "zapier";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAuCX;AAvCD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EAvCW,QAAQ,KAAR,QAAQ,QAuCnB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/node/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QA0CX;AA1CD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAE3B,QAAQ;IACR,uBAAW,CAAA;IACX,4BAAgB,CAAA;IAChB,qBAAS,CAAA;IACT,0BAAc,CAAA;IACd,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IAExB,aAAa;IACb,yBAAa,CAAA;IAEb,eAAe;IACf,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAE/B,WAAW;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,2BAAe,CAAA;IAEf,QAAQ;IACR,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;AAC3B,CAAC,EA1CW,QAAQ,KAAR,QAAQ,QA0CnB"}
@@ -0,0 +1,10 @@
1
+ import { IntentRequest } from "../request";
2
+ import { Nullable } from "../types";
3
+ import { NodeType } from './constants';
4
+ import { BaseNode, BaseNodeNoMatch } from './utils';
5
+ export interface Node extends BaseNode {
6
+ type: NodeType.GOTO;
7
+ request: IntentRequest;
8
+ diagramID?: Nullable<string>;
9
+ noMatch?: Nullable<BaseNodeNoMatch>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=goTo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goTo.js","sourceRoot":"","sources":["../../../src/node/goTo.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ import * as Exit from './exit';
6
6
  import * as Flow from './flow';
7
7
  import * as General from './general';
8
8
  import * as GoogleSheets from './googleSheets';
9
+ import * as GoTo from './goTo';
9
10
  import * as If from './if';
10
11
  import * as IfV2 from './ifV2';
11
12
  import * as Integration from './integration';
@@ -30,6 +31,7 @@ export * as Exit from './exit';
30
31
  export * as Flow from './flow';
31
32
  export * as General from './general';
32
33
  export * as GoogleSheets from './googleSheets';
34
+ export * as GoTo from './goTo';
33
35
  export * as If from './if';
34
36
  export * as IfV2 from './ifV2';
35
37
  export * as Integration from './integration';
@@ -48,5 +50,5 @@ export * as Utils from './utils';
48
50
  export * as Visual from './visual';
49
51
  export * as Zapier from './zapier';
50
52
  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;
51
- 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;
53
+ 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 | GoTo.Node | _v1.Node;
52
54
  export declare type AnyCommonCommand = Intent.Command | Command.Command;
@@ -12,6 +12,7 @@ export * as Exit from './exit';
12
12
  export * as Flow from './flow';
13
13
  export * as General from './general';
14
14
  export * as GoogleSheets from './googleSheets';
15
+ export * as GoTo from './goTo';
15
16
  export * as If from './if';
16
17
  export * as IfV2 from './ifV2';
17
18
  export * as Integration from './integration';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/index.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,IAAI,MAAM,Q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-1,4 +1,3 @@
1
- import { IntentRequest } from "../../request";
2
1
  import { SlotMappings } from './mappings';
3
2
  export declare enum EventType {
4
3
  INTENT = "intent"
@@ -12,12 +11,8 @@ export interface BaseEvent {
12
11
  export declare type Event<T extends string = string, D = unknown> = {
13
12
  type: T;
14
13
  } & D;
15
- export interface IntentEventGoTo {
16
- request: IntentRequest;
17
- }
18
14
  export interface IntentEvent extends BaseEvent, SlotMappings {
19
15
  type: EventType.INTENT;
20
- goTo?: IntentEventGoTo;
21
16
  intent: string;
22
17
  }
23
18
  export interface GeneralEvent extends BaseEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/node/utils/event.ts"],"names":[],"mappings":"AAIA,kBAAkB;AAClB,MAAM,CAAN,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,KAAT,SAAS,QAEpB;AA4BD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAgB,EAAwB,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,MAAM,CAAC;AAEzG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAa,CAAC;AAE9D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAmB,EAAyB,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../src/node/utils/event.ts"],"names":[],"mappings":"AAEA,kBAAkB;AAClB,MAAM,CAAN,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,KAAT,SAAS,QAEpB;AAuBD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAgB,EAAwB,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,MAAM,CAAC;AAEzG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAa,CAAC;AAE9D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAmB,EAAyB,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@voiceflow/base-types",
3
3
  "description": "Voiceflow base project types",
4
- "version": "2.10.1",
4
+ "version": "2.11.1",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@voiceflow/common": "^7.19.1",
10
+ "@voiceflow/common": "^7.20.0",
11
11
  "slate": "0.63.0"
12
12
  },
13
13
  "files": [
@@ -34,11 +34,10 @@
34
34
  "lint:fix": "yarn lint --fix",
35
35
  "lint:quiet": "yarn lint --quiet",
36
36
  "lint:report": "yarn lint --format json -o sonar/report.json",
37
- "prepare": "yarn build",
38
37
  "test": "exit 0",
39
38
  "test:dependencies": "depcheck",
40
39
  "test:integration": "exit 0",
41
40
  "test:unit": "exit 0"
42
41
  },
43
- "gitHead": "86a45aefd3417d8ab67e367eb0bad6d3253d7148"
42
+ "gitHead": "6ef213499ff07a7a36a7002f49ebc19d8454a44c"
44
43
  }