Files
update_field_api/node_modules/@arco/clarizen-lib/dist/service.d.ts
T
2026-06-09 18:35:55 -03:00

7 lines
581 B
TypeScript

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