alinea
Version:
Headless git-based CMS
11 lines (10 loc) • 505 B
TypeScript
import type { InferProjection, Projection } from 'alinea/core/Graph';
import type { EntryResolver, ResolveContext } from './EntryResolver.js';
export declare class LinkResolver {
resolver: EntryResolver;
private ctx;
private locale;
constructor(resolver: EntryResolver, ctx: ResolveContext, locale: string | null);
includedAtBuild(filePath: string): boolean;
resolveLinks<P extends Projection>(projection: P, entryIds: ReadonlyArray<string>): Promise<Array<InferProjection<P>>>;
}