@voiceflow/voice-types
Version:
Voiceflow voice project types
15 lines • 611 B
TypeScript
import type { BaseNode, Nullable } from '@voiceflow/base-types';
import type { NodeNoMatch, NodeNoReply, StepNoMatch, StepNoReply } from './utils.js';
export interface StepData<Voice> extends BaseNode.CardV2.StepData {
description: string;
noReply?: Nullable<StepNoReply<Voice>>;
noMatch?: Nullable<StepNoMatch<Voice>>;
}
export interface Step<Data = StepData<unknown>> extends BaseNode.CardV2.Step<Data> {
}
export interface Node extends BaseNode.CardV2.Node {
description: string;
noReply?: Nullable<NodeNoReply>;
noMatch?: Nullable<NodeNoMatch>;
}
//# sourceMappingURL=cardV2.d.ts.map