UNPKG

@maicol07/coloquent

Version:

Library for retrieving model objects from a JSON-API, with a fluent syntax inspired by Laravel Eloquent.

17 lines 485 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SortSpec = void 0; class SortSpec { constructor(attribute, positiveDirection = true) { this.attribute = attribute; this.positiveDirection = positiveDirection; } getAttribute() { return this.attribute; } getPositiveDirection() { return this.positiveDirection; } } exports.SortSpec = SortSpec; //# sourceMappingURL=SortSpec.js.map