UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

15 lines 546 B
import type { EmptyObject, Nullable } from '@voiceflow/common'; import type { NodeType } from './constants.js'; import type { BaseNode, BaseStep, NodeNextID } from './utils/index.js'; export interface StepData { nodeID: Nullable<string>; diagramID: Nullable<string>; } export interface Step<Data = StepData> extends BaseStep<Data, EmptyObject, []> { type: NodeType.GOTO_NODE; } export interface Node extends BaseNode, NodeNextID { type: NodeType.GOTO_NODE; diagramID: Nullable<string>; } //# sourceMappingURL=goToNode.d.ts.map