@putdotio/pas-js
Version:
Client-side JS client for Putio Analytics System
15 lines (14 loc) • 494 B
TypeScript
export interface IPutioAnalyticsAPIRetryItem {
id: string;
path: string;
body: object;
}
declare const createAPI: (baseURL: string, cache: {
set: (key: string, value: object) => object;
get: (key: string) => object;
clear: (key: string) => void;
}) => {
post: (path: string, body: object) => import("rxjs").Observable<import("rxjs/ajax").AjaxResponse>;
};
export declare type PutioAnalyticsAPI = ReturnType<typeof createAPI>;
export default createAPI;