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

x/live/mod.ts>BlockModule

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
type alias BlockModule
import { type BlockModule } from "https://deno.land/x/live@1.77.0/mod.ts";

Type Parameters

optional
TDefaultExportFunc extends ResolverLike<T> = ResolverLike
optional
T = TDefaultExportFunc extends ResolverLike<infer TValue> ? TValue : any
optional
TSerializable = T
definition: { default: TDefaultExportFunc; invoke?: Resolver<TSerializable, BlockInvocation, any>; preview?: Resolver<PreactComponent, TSerializable, any>; Preview?: ComponentFunc; onBeforeResolveProps?: (props: any, hints: HintNode<any>) => any; }