Sha256: c79fd38d41db48a59839a95a00f4b0795c49d27f9c1914a4296732b68302ecc5

Contents?: true

Size: 408 Bytes

Versions: 3

Compression:

Stored size: 408 Bytes

Contents

declare function apiBatchFetch(endpoint: string, requests: object[]): Promise<any>;
declare type Request = {
    api: string;
    params?: any;
    query: any;
    id?: number;
};
declare const ArSyncApi: {
    domain: string | null;
    _batchFetch: typeof apiBatchFetch;
    fetch: (request: Request) => Promise<unknown>;
    syncFetch: (request: Request) => Promise<unknown>;
};
export default ArSyncApi;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ar_sync-1.1.2 core/ArSyncApi.d.ts
ar_sync-1.1.1 core/ArSyncApi.d.ts
ar_sync-1.1.0 core/ArSyncApi.d.ts