import { invoke } from "https://deno.land/x/blocks@1.102.1/clients/withManifest.ts";
Receives the function id as a parameter (e.g #FUNC_ID
, the #
will be ignored)
or the function name as a parameter (e.g deco-sites/std/functions/vtexProductList.ts
) and invoke the target function passing the provided props
as the partial input for the function.
type
<TManifest extends AppManifest>(fetcher?: fetch) => unknown