@voiceflow/base-types
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -6,4 +6,3 @@ import { Nullable } from '@voiceflow/api-sdk'; | ||
JUMP = "jump", | ||
PUSH = "push", | ||
TOPIC = "topic" | ||
PUSH = "push" | ||
} | ||
@@ -17,2 +16,3 @@ export interface TypedBaseCommand<Event extends BaseEvent = BaseEvent> extends BaseCommand { | ||
nextID: Nullable<string>; | ||
diagramID?: Nullable<string>; | ||
} | ||
@@ -23,7 +23,2 @@ export interface PushCommand<Event extends BaseEvent = BaseEvent> extends TypedBaseCommand<Event> { | ||
} | ||
export interface TopicCommand<Event extends BaseEvent = BaseEvent> extends TypedBaseCommand<Event> { | ||
type: CommandType.TOPIC; | ||
nodeID: Nullable<string>; | ||
diagramID: Nullable<string>; | ||
} | ||
export declare type AnyCommand<Event extends BaseEvent = BaseEvent> = JumpCommand<Event> | PushCommand<Event> | TopicCommand<Event>; | ||
export declare type AnyCommand<Event extends BaseEvent = BaseEvent> = JumpCommand<Event> | PushCommand<Event>; |
@@ -9,4 +9,3 @@ "use strict"; | ||
CommandType["PUSH"] = "push"; | ||
CommandType["TOPIC"] = "topic"; | ||
})(CommandType = exports.CommandType || (exports.CommandType = {})); | ||
//# sourceMappingURL=command.js.map |
{ | ||
"name": "@voiceflow/base-types", | ||
"description": "Voiceflow base project types", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"author": "Voiceflow", | ||
@@ -40,3 +40,3 @@ "bugs": { | ||
}, | ||
"gitHead": "ccb888759cbae374080f41b522b0afa50ae297f4" | ||
"gitHead": "97bcd04ea07412758c5bc827056ff2f25a807f4c" | ||
} |
Sorry, the diff of this file is not supported yet
84663
1863