@voiceflow/base-types
Version:
Voiceflow base project types
22 lines • 627 B
TypeScript
import type { NodeType } from './constants';
import type { BaseNode, BaseStep, DynamicOnlyStepPorts, NodeNextIDs } from './utils';
export declare enum RandomType {
DEFAULT = 1,
DO_DUPLICATES = 2
}
export interface StepData {
namedPaths: {
label: string;
}[];
noDuplicates: boolean;
}
export interface StepPorts extends DynamicOnlyStepPorts {
}
export interface Step<Data = StepData> extends BaseStep<Data, StepPorts> {
type: NodeType.RANDOM_V2;
}
export interface Node extends BaseNode, NodeNextIDs {
type: NodeType.RANDOM_V2;
random: RandomType;
}
//# sourceMappingURL=randomV2.d.ts.map