Module

x/live/engine/core/resolver.ts>ResolveHooks

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
interface ResolveHooks
import { type ResolveHooks } from "https://dotland.deno.dev/x/live@1.107.0/engine/core/resolver.ts";

Properties

optional
onPropsResolveStart: <T, TContext extends BaseContext = BaseContext>(
resolve: (resolveId?: string) => Promise<Array<ResolvedKey<T, keyof T> | undefined>>,
props: T,
resolver: Resolver,
__resolveType: string,
ctx: TContext,
) => Promise<Array<ResolvedKey<T, keyof T> | undefined>>
optional
onResolveStart: <T, TContext extends BaseContext = BaseContext>(
resolve: () => Promise<T>,
props: T,
resolver: Resolver,
__resolveType: string,
ctx: TContext,
) => Promise<T>
optional
onDanglingReference: (__resolveType: string) => void