UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

20 lines 697 B
import type { SlateTextValue } from '../text'; import type { NodeType } from './constants'; import type { BaseNode, BaseStep, DataID, NodeNextID, StepCanvasNodeVisibility } from './utils'; export interface TextData extends DataID { content: SlateTextValue; /** @deprecated use TextTracePayload.delay instead */ messageDelayMilliseconds?: number; } export interface StepData extends StepCanvasNodeVisibility { texts: TextData[]; } export interface Step<Data = StepData> extends BaseStep<Data> { type: NodeType.TEXT; } export interface Node extends BaseNode, NodeNextID { type: NodeType.TEXT; texts: TextData[]; platform?: string; } //# sourceMappingURL=text.d.ts.map