@voiceflow/base-types
Version:
Voiceflow base project types
16 lines • 414 B
TypeScript
import type { AnyRecord } from '@voiceflow/common';
import type { Variable } from './common.js';
export interface CommandMapping {
slot: string;
variable: Variable;
}
/**
* @deprecated use BaseCommand instead
*/
export type Command<T extends string = string, D extends AnyRecord = AnyRecord> = {
type: T;
} & D;
export interface BaseCommand {
type: string;
}
//# sourceMappingURL=command.d.ts.map