@cloudbase/app
Version:
cloudbase javascript sdk core
10 lines (9 loc) • 429 B
TypeScript
import { ICallApiOptions, KV } from '@cloudbase/types';
import { ResponseObject } from '@cloudbase/adapter-interface';
export declare function callApi(callApiOptions: ICallApiOptions, opts: KV<any>): Promise<ResponseObject['data']>;
export declare function generateCallApis(apiName: string): {
[apiName: string]: typeof callApi;
};
export declare function generateApis(): {
[apiName: string]: typeof generateCallApis;
};