first commit
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import type { HttpClient, QueryParamValue } from "./http.js";
|
||||
import type { JsonObject } from "./types.js";
|
||||
export type OperationCall = <T = JsonObject>(body?: JsonObject, query?: Record<string, QueryParamValue>) => Promise<T>;
|
||||
export type ServiceCall = <T = JsonObject>(operation: string, body?: JsonObject, query?: Record<string, QueryParamValue>) => Promise<T>;
|
||||
export type NamespaceService = ServiceCall & Record<string, OperationCall>;
|
||||
export declare function createNamespaceService(http: HttpClient, namespace: string): NamespaceService;
|
||||
//# sourceMappingURL=service.d.ts.map
|
||||
Reference in New Issue
Block a user