UNPKG

@herlinus/coloquent

Version:

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

13 lines 355 B
export class SortSpec { constructor(attribute, positiveDirection = true) { this.attribute = attribute; this.positiveDirection = positiveDirection; } getAttribute() { return this.attribute; } getPositiveDirection() { return this.positiveDirection; } } //# sourceMappingURL=SortSpec.js.map