@paroicms/server
Version:
The ParoiCMS server
9 lines (8 loc) • 501 B
TypeScript
import { type ReadFieldValues, type ReadFieldValuesOrWAttached } from "@paroicms/public-anywhere-lib";
import type { ChangeSummary, HistoryDocumentValues } from "./history.types.js";
export declare function computeChangeSummary(options: {
currentFieldValues: ReadFieldValuesOrWAttached;
previousFieldValues: ReadFieldValues | undefined;
currentDocumentValues: HistoryDocumentValues | undefined;
previousDocumentValues: HistoryDocumentValues | undefined;
}): ChangeSummary | undefined;