UNPKG

@maicol07/coloquent

Version:

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

31 lines (30 loc) 1.18 kB
/** * main */ export { Model } from "./Model"; export { Builder } from "./Builder"; export { PaginationStrategy } from "./PaginationStrategy"; export { SortDirection } from "./SortDirection"; /** * httpclient */ export { HttpClient } from "./httpclient/HttpClient"; export { HttpClientPromise } from "./httpclient/HttpClientPromise"; export { HttpClientResponse } from "./httpclient/HttpClientResponse"; export { AxiosHttpClient } from "./httpclient/axios/AxiosHttpClient"; export { AxiosHttpClientPromise } from "./httpclient/axios/AxiosHttpClientPromise"; export { AxiosHttpClientResponse } from "./httpclient/axios/AxiosHttpClientResponse"; /** * relation */ export { Relation } from "./relation/Relation"; export { ToManyRelation } from "./relation/ToManyRelation"; export { ToOneRelation } from "./relation/ToOneRelation"; /** * response */ export { Response } from "./response/Response"; export { RetrievalResponse } from "./response/RetrievalResponse"; export { SingularResponse } from "./response/SingularResponse"; export { PluralResponse } from "./response/PluralResponse"; export { SaveResponse } from "./response/SaveResponse";