coloquent-test2
Version:
Library for retrieving model objects from a JSON-API, with a fluent syntax inspired by Laravel Eloquent.
18 lines • 646 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var SortSpec = /** @class */ (function () {
function SortSpec(attribute, positiveDirection) {
if (positiveDirection === void 0) { positiveDirection = true; }
this.attribute = attribute;
this.positiveDirection = positiveDirection;
}
SortSpec.prototype.getAttribute = function () {
return this.attribute;
};
SortSpec.prototype.getPositiveDirection = function () {
return this.positiveDirection;
};
return SortSpec;
}());
exports.SortSpec = SortSpec;
//# sourceMappingURL=SortSpec.js.map