UNPKG

intentful

Version:

Create Custom Skills with less headache

21 lines (20 loc) 560 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SetStateCommand = void 0; const command_1 = require("./command"); class SetStateCommand extends command_1.Command { constructor(props) { super('SetState', props); } commandSpecificModel() { return { componentId: this.props.componentId, state: this.props.state, value: this.props.value }; } commandSpecificRequestHandlers() { return []; } } exports.SetStateCommand = SetStateCommand;