Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/routes/live/invoke/index.ts>ManifestFunction

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
type alias ManifestFunction
import { type ManifestFunction } from "https://deno.land/x/blocks@1.28.0-beta.4/routes/live/invoke/index.ts";

Type Parameters

TManifest extends AppManifest
TFunc extends string
definition: TFunc extends AvailableFunctions<TManifest> ? TManifest["functions"][TFunc] extends { default: infer TLoader; } ? TLoader extends (
req: any,
ctx: any,
props: infer Props,
) => PromiseOrValue<{ data: infer TReturn; }> ? { props: Props; return: TReturn; } : never : never : never