UNPKG

@maicol07/coloquent

Version:

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

16 lines 486 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AxiosHttpClientResponse = void 0; class AxiosHttpClientResponse { constructor(axiosResponse) { this.axiosResponse = axiosResponse; } getData() { return this.axiosResponse.data; } getUnderlying() { return this.axiosResponse; } } exports.AxiosHttpClientResponse = AxiosHttpClientResponse; //# sourceMappingURL=AxiosHttpClientResponse.js.map