UNPKG

ketting

Version:

Opiniated HATEAOS / Rest client.

47 lines (37 loc) 1.06 kB
export { default as Client, default as Ketting, default } from './client'; export { default as Resource } from './resource'; export { Link, LinkNotFound, Links } from './link'; export { resolve } from './util/uri'; export { BaseState, BaseHeadState, State, HalState, SirenState, CjState, isState, } from './state'; export { ForeverCache } from './cache/forever'; export { ShortCache } from './cache/short'; export { NeverCache } from './cache/never'; export { default as basicAuth } from './http/basic-auth'; export { default as bearerAuth } from './http/bearer-auth'; export { default as oauth2 } from './http/oauth2'; export { Problem } from './http/error'; export { Action } from './action'; export { Field, BooleanField, BasicStringField, DateTimeField, FileField, HiddenField, NumberField, SelectFieldSingle, SelectFieldMulti, RangeStringField, TextAreaField, TextField } from './field'; export { FollowPromiseOne, FollowPromiseMany } from './follow-promise'; export { FetchMiddleware } from './http/fetcher';