@paroicms/server
Version:
The ParoiCMS server
7 lines (6 loc) • 746 B
TypeScript
import { type RoutingCluster, type RoutingClusterNode } from "@paroicms/public-anywhere-lib";
import type { LiquidPayload, TpClusterPayload, TpRoutingClusterNode } from "@paroicms/public-server-lib";
import type { RenderingContext } from "../liquidjs-tools/liquidjs-rendering/rendering-context.js";
export declare function toTpClusterPayload(renderingContext: RenderingContext, language: string, cluster: RoutingCluster): LiquidPayload<TpClusterPayload>;
export declare function toTpRoutingClusterNode(renderingContext: RenderingContext, clusterNode: RoutingClusterNode, language: string): TpRoutingClusterNode;
export declare function getClusterNodeOf(cluster: RoutingClusterNode, routingDocumentNodeId: string): RoutingClusterNode | undefined;