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

x/deco/clients/withManifest.ts>InvocationFunc

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 InvocationFunc
import { type InvocationFunc } from "https://deno.land/x/deco@1.40.2/clients/withManifest.ts";

Type Parameters

TManifest extends AppManifest
definition: <TInvocableKey extends AvailableFunctions<TManifest> | AvailableLoaders<TManifest> | AvailableActions<TManifest>, TFuncSelector extends TInvocableKey extends AvailableFunctions<TManifest> ? DotNestedKeys<ManifestFunction<TManifest, TInvocableKey>["return"]> : TInvocableKey extends AvailableActions<TManifest> ? DotNestedKeys<ManifestAction<TManifest, TInvocableKey>["return"]> : TInvocableKey extends AvailableLoaders<TManifest> ? DotNestedKeys<ManifestLoader<TManifest, TInvocableKey>["return"]> : never, TPayload extends Invoke<TManifest, TInvocableKey, TFuncSelector>>(key: TInvocableKey, props?: Invoke<TManifest, TInvocableKey, TFuncSelector>["props"]) => Promise<InvokeResult<TPayload, TManifest>>