@voiceflow/base-types
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -24,3 +24,3 @@ import { AnyRecord, Nullable } from '../utils'; | ||
} | ||
export declare type IntentSlotDialog = { | ||
export interface IntentSlotDialog { | ||
prompt: any[]; | ||
@@ -30,9 +30,9 @@ confirm: any[]; | ||
confirmEnabled: boolean; | ||
}; | ||
export declare type IntentSlot = { | ||
} | ||
export interface IntentSlot { | ||
id: string; | ||
dialog: IntentSlotDialog; | ||
required: boolean; | ||
}; | ||
export declare type Intent = { | ||
} | ||
export interface Intent { | ||
key: string; | ||
@@ -44,4 +44,4 @@ name: string; | ||
_platform?: string; | ||
}; | ||
export declare type Slot = { | ||
} | ||
export interface Slot { | ||
key: string; | ||
@@ -54,11 +54,11 @@ name: string; | ||
inputs: string[]; | ||
}; | ||
export declare type SlotMapping = { | ||
} | ||
export interface SlotMapping { | ||
slot: Nullable<string>; | ||
variable: Nullable<Variable>; | ||
}; | ||
export declare type CommandMapping = { | ||
} | ||
export interface CommandMapping { | ||
slot: string; | ||
variable: Variable; | ||
}; | ||
} | ||
/** | ||
@@ -120,6 +120,6 @@ * @deprecated | ||
export declare type BasePlatformData = AnyRecord; | ||
export declare type PrototypeModel = { | ||
export interface PrototypeModel { | ||
slots: Slot[]; | ||
intents: Intent[]; | ||
}; | ||
} | ||
export {}; |
@@ -24,3 +24,3 @@ import { AnyRecord, Nullable } from '../utils'; | ||
} | ||
export declare type IntentSlotDialog = { | ||
export interface IntentSlotDialog { | ||
prompt: any[]; | ||
@@ -30,9 +30,9 @@ confirm: any[]; | ||
confirmEnabled: boolean; | ||
}; | ||
export declare type IntentSlot = { | ||
} | ||
export interface IntentSlot { | ||
id: string; | ||
dialog: IntentSlotDialog; | ||
required: boolean; | ||
}; | ||
export declare type Intent = { | ||
} | ||
export interface Intent { | ||
key: string; | ||
@@ -44,4 +44,4 @@ name: string; | ||
_platform?: string; | ||
}; | ||
export declare type Slot = { | ||
} | ||
export interface Slot { | ||
key: string; | ||
@@ -54,11 +54,11 @@ name: string; | ||
inputs: string[]; | ||
}; | ||
export declare type SlotMapping = { | ||
} | ||
export interface SlotMapping { | ||
slot: Nullable<string>; | ||
variable: Nullable<Variable>; | ||
}; | ||
export declare type CommandMapping = { | ||
} | ||
export interface CommandMapping { | ||
slot: string; | ||
variable: Variable; | ||
}; | ||
} | ||
/** | ||
@@ -120,6 +120,6 @@ * @deprecated | ||
export declare type BasePlatformData = AnyRecord; | ||
export declare type PrototypeModel = { | ||
export interface PrototypeModel { | ||
slots: Slot[]; | ||
intents: Intent[]; | ||
}; | ||
} | ||
export {}; |
{ | ||
"name": "@voiceflow/base-types", | ||
"description": "Voiceflow base project types", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"author": "Voiceflow", | ||
@@ -42,3 +42,3 @@ "bugs": { | ||
}, | ||
"gitHead": "c3661b8188f2156d7103fec54842369af7520521" | ||
"gitHead": "8b3953e48e461d3795a2e52f158891889cdca361" | ||
} |
195009