UNPKG

intentful

Version:

Create Custom Skills with less headache

24 lines (23 loc) 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AVGItem = void 0; class AVGItem { constructor(type, props) { this.props = props; this.type = type; } toJSON() { return this.model(); } model() { return { ...this.commandSpecificModel(), type: this.type, bind: this.props.bind, description: this.props.description, style: this.props.style, when: this.props.when }; } } exports.AVGItem = AVGItem;