@voiceflow/base-types
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -26,3 +26,6 @@ import { Nullable } from '@voiceflow/api-sdk'; | ||
export declare type AnyButton = IntentButton; | ||
export interface StepButton { | ||
export interface StepButtonsLayout { | ||
buttonsLayout?: Nullable<ButtonsLayout>; | ||
} | ||
export interface StepButton extends StepButtonsLayout { | ||
/** | ||
@@ -33,3 +36,2 @@ * @deprecated Use buttons | ||
buttons?: Nullable<AnyButton[]>; | ||
buttonsLayout?: Nullable<ButtonsLayout>; | ||
} |
import { Nullable } from '@voiceflow/api-sdk'; | ||
import { StepButtonsLayout } from '../button'; | ||
import { NodeType } from './constants'; | ||
@@ -15,4 +16,3 @@ import { BaseStep, BaseStepNoMatch, DataID } from './utils'; | ||
} | ||
export interface StepData { | ||
name: string; | ||
export interface StepData extends StepButtonsLayout { | ||
noMatch: BaseStepNoMatch; | ||
@@ -19,0 +19,0 @@ buttons: Button[]; |
{ | ||
"name": "@voiceflow/base-types", | ||
"description": "Voiceflow base project types", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Voiceflow", | ||
@@ -40,3 +40,3 @@ "bugs": { | ||
}, | ||
"gitHead": "debf4d5a5ae16afb7511bf1a98736bbec00def8e" | ||
"gitHead": "932a69dd6abdfc0a11c128195dba3c4bf1349c8e" | ||
} |
Sorry, the diff of this file is not supported yet
83080
1827