UNPKG

convex

Version:

Client for the Convex Cloud

21 lines 897 B
import { Value } from "../../values/index.js"; import { FunctionReference } from "../../server/api.js"; export declare function getFunctionAddress(functionReference: any): { functionHandle: string; name?: undefined; reference?: undefined; } | { name: any; functionHandle?: undefined; reference?: undefined; } | { reference: string; functionHandle?: undefined; name?: undefined; }; export declare function setupActionCalls(requestId: string): { runQuery: (query: FunctionReference<"query", "public" | "internal">, args?: Record<string, Value>) => Promise<any>; runMutation: (mutation: FunctionReference<"mutation", "public" | "internal">, args?: Record<string, Value>) => Promise<any>; runAction: (action: FunctionReference<"action", "public" | "internal">, args?: Record<string, Value>) => Promise<any>; }; //# sourceMappingURL=actions_impl.d.ts.map