ketting
Version:
Opiniated HATEAOS / Rest client.
36 lines (27 loc) • 785 B
text/typescript
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 {
State,
HalState,
BinaryState,
JsonApiState,
SirenState,
TextState,
CjState,
HtmlState,
isState,
} from './state';
export {
ForeverCache,
NeverCache,
ShortCache,
} from './cache';
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 * as Field from './field';
export { FollowPromiseOne, FollowPromiseMany } from './follow-promise';