Skip to content

Commit

Permalink
feat: add stream step support for google assistant (VF-3675) (#303)
Browse files Browse the repository at this point in the history
**Fixes or implements VF-3675**

### Brief description. What is this change?
Adds missing stream fields for supporting google assistant adapter work

### Related PRs

<!-- List related PRs against other branches -->

- https://github.com/voiceflow/general-service/pull/356
- https://github.com/voiceflow/general-runtime/pull/337
- https://github.com/voiceflow/google-service/pull/266
- https://github.com/voiceflow/adapters/pull/20
  • Loading branch information
pmvrmc committed Jun 15, 2022
1 parent f09745a commit 3768bb5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/base-types/src/node/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export interface StepData {
src: string;
loop: boolean;
customPause?: boolean;
title?: string;
iconImage?: string;
description?: string;
backgroundImage?: string;
}

export enum TraceStreamAction {
Expand All @@ -32,6 +36,10 @@ export interface Node extends BaseNode {
type: NodeType.STREAM;
src: string;
loop: boolean;
title?: string;
iconImage?: string;
description?: string;
backgroundImage?: string;
nextID?: NodeID;
pauseID?: NodeID;
previousID?: NodeID;
Expand All @@ -41,6 +49,11 @@ export interface TraceFramePayload {
src: string;
token: string;
action: TraceStreamAction;
loop: boolean;
title?: string;
iconImage?: string;
description?: string;
backgroundImage?: string;
}

export interface TraceFrame extends BaseTraceFrame<TraceFramePayload> {
Expand Down

0 comments on commit 3768bb5

Please sign in to comment.