intentful
Version:
Create Custom Skills with less headache
20 lines (19 loc) • 824 B
TypeScript
import { Command, CommandModel, CommandProps } from './command';
import { LabeledRequestHandler } from '../../skill/models';
import { Calculable } from '../../types';
import { AbsoluteRelativePosition } from '../interfaces';
export interface SetPageCommandModel extends CommandModel {
componentId?: string;
position?: Calculable<AbsoluteRelativePosition>;
value: Calculable<number>;
}
export interface SetPageCommandProps extends CommandProps {
componentId?: string;
position?: Calculable<AbsoluteRelativePosition>;
value: Calculable<number>;
}
export declare class SetPageCommand extends Command<SetPageCommandModel, SetPageCommandProps> {
constructor(props: SetPageCommandProps);
commandSpecificModel(): SetPageCommandModel;
commandSpecificRequestHandlers(): LabeledRequestHandler[];
}