UNPKG

@paroicms/server

Version:
12 lines (11 loc) 467 B
import { type UpdateFieldValues } from "@paroicms/public-anywhere-lib"; import type { SiteContext } from "../../site-context/site-context.types.js"; export declare function parseFieldValues(jsonVal: string): UpdateFieldValues; export declare function saveFieldValues(siteContext: SiteContext, options: { typeName: string; nodeId: string; language?: string; values: UpdateFieldValues; force?: boolean; skipHistory?: boolean; }): Promise<void>;