UNPKG

@paroicms/server

Version:
23 lines (22 loc) 937 B
import type { PaUrlQuery, TpDocValues } from "@paroicms/public-server-lib"; import type { RenderingContext } from "../liquidjs-tools/liquidjs-rendering/rendering-context.js"; export declare function makeDetachedTemplatePayload(renderingContext: RenderingContext, options: { language: string | undefined; urlQuery: PaUrlQuery | undefined; }): { doc: { kind: string; language: string; languageLabel: string; translations: import("@paroicms/public-server-lib").TpDocTranslation[]; urlQuery: PaUrlQuery | undefined; cluster: any; }; }; export declare function makeRegularTemplatePayload(renderingContext: RenderingContext, docValues: TpDocValues, options: { url: string; urlQuery: PaUrlQuery | undefined; frontendAppPath: string | undefined; }): { doc: import("@paroicms/public-server-lib").LiquidPayload<import("@paroicms/public-server-lib").TpDocPayload>; };