UNPKG

@voiceflow/base-types

Version:

Voiceflow base project types

20 lines 465 B
import type { AnyRecord } from '@voiceflow/common'; export declare enum NoteType { INTENT = "INTENT" } export interface BaseNote { id: string; type: NoteType; text: string; meta?: AnyRecord; mentions: number[]; } export interface IntentNoteMeta { intentID: string; } export interface IntentNote extends BaseNote { type: NoteType.INTENT; meta: IntentNoteMeta; } export type AnyNote = IntentNote; //# sourceMappingURL=note.d.ts.map