Module

x/live/engine/core/mod.ts>ReleaseResolver

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

Constructors

new
ReleaseResolver(
hints?: ResolveHints,
oncePerRelease?: Record<string, SyncOnce<any>>,
)

Type Parameters

optional
TContext extends BaseContext = BaseContext

Properties

private
resolveHints: ResolveHints
protected
optional
danglingRecover: Resolver
protected
release: DecofileProvider
protected
optional
resolvables: ResolvableMap
protected
resolvers: ResolverMap<TContext>
protected
runOncePerRelease: Record<string, SyncOnce<any>>
resolve: <T = any>(
typeOrResolvable: string | Resolvable<T>,
context: Omit<TContext, keyof BaseContext>,
options?: ResolveOptions,
) => Promise<T>
resolverFor: (context: Omit<TContext, keyof BaseContext>, options?: ResolveOptions) => unknown