UNPKG

intentful

Version:

Create Custom Skills with less headache

20 lines (19 loc) 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Filter = void 0; class Filter { constructor(type, props) { this.type = type; this.props = props; } toJSON() { return this.model(); } model() { return { type: this.type, ...this.componentSpecificModel() }; } } exports.Filter = Filter;