UNPKG

@paroicms/server

Version:
18 lines (17 loc) 792 B
import { type ReadFieldValuesOrWAttached } from "@paroicms/public-anywhere-lib"; import type { SiteContext } from "../../site-context/site-context.types.js"; import { type PreprocessFieldsInput } from "./load-fields.queries.js"; export declare function getFieldValuesOfLNode(siteContext: SiteContext, options: { lNodeId: string; fieldNames?: string[]; preprocess?: PreprocessFieldsInput; ignoreUnknownFieldNames?: boolean; publishedOnly: boolean; }): Promise<ReadFieldValuesOrWAttached>; export declare function getFieldValuesOfOneList(siteContext: SiteContext, options: { parentLNodeId: string; listName?: string; fieldNames?: string[]; preprocess?: PreprocessFieldsInput; publishedOnly: boolean; }): Promise<Map<string, ReadFieldValuesOrWAttached>>;