UNPKG

@platform/cell.client

Version:

A strongly typed HTTP client for operating with a CellOS service end-point.

19 lines (18 loc) 666 B
import { IMemoryCache } from '@platform/cache/lib/types'; import * as t from '@platform/cell.types'; import { Subject } from 'rxjs'; export { Subject, IMemoryCache }; export * from '@platform/cell.types'; export * from '@platform/http/lib/types'; export * from '@platform/types'; export * from '@platform/http.types'; export * from '../types'; export declare type ClientHttpInput = string | number | t.IHttpClientOptions; export declare type ClientOptions = { http?: ClientHttpInput | t.IHttpClient; cache?: IMemoryCache; event$?: Subject<t.TypedSheetEvent>; }; export declare type ClientTypesystemOptions = ClientOptions & { pool?: t.ISheetPool; };