intentful
Version:
Create Custom Skills with less headache
19 lines (18 loc) • 737 B
TypeScript
import { Command, CommandModel, CommandProps } from './command';
import { LabeledRequestHandler } from '../../skill/models';
import { Calculable } from '../../types';
export interface SetValueCommandModel extends CommandModel {
componentId?: string;
property: Calculable<string>;
value: Calculable<unknown>;
}
export interface SetValueCommandProps extends CommandProps {
componentId?: string;
property: Calculable<string>;
value: Calculable<unknown>;
}
export declare class SetValueCommand extends Command<SetValueCommandModel, SetValueCommandProps> {
constructor(props: SetValueCommandProps);
commandSpecificModel(): SetValueCommandModel;
commandSpecificRequestHandlers(): LabeledRequestHandler[];
}