stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
12 lines (11 loc) • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class Filter {
constructor(filter) {
var _a, _b, _c, _d, _e, _f;
this.filter = (_b = (_a = filter) === null || _a === void 0 ? void 0 : _a.filter, (_b !== null && _b !== void 0 ? _b : null));
this.filterType = (_d = (_c = filter) === null || _c === void 0 ? void 0 : _c.filter_type, (_d !== null && _d !== void 0 ? _d : null));
this.includedFields = (_f = (_e = filter) === null || _e === void 0 ? void 0 : _e.included_fields, (_f !== null && _f !== void 0 ? _f : null));
}
}
exports.Filter = Filter;