UNPKG

intentful

Version:

Create Custom Skills with less headache

20 lines (19 loc) 810 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { AudioTrack, Source } from '../interfaces'; export interface PlayMediaCommandModel extends CommandModel { audioTrack?: Calculable<AudioTrack>; componentId?: string; source: Calculable<Source>; } export interface PlayMediaCommandProps extends CommandProps { audioTrack?: Calculable<AudioTrack>; componentId?: string; source: Calculable<Source>; } export declare class PlayMediaCommand extends Command<PlayMediaCommandModel, PlayMediaCommandProps> { constructor(props: PlayMediaCommandProps); commandSpecificModel(): PlayMediaCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }