Skip to content

DocumentCompareResult

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/ui-react/src/types/api-client.ts

Result of comparing two document versions or revisions

Properties

PropertyType
from`{
id: string;
version?: number;
title: string;
content: string;
createdAt: string;
createdBy?: { id: string; name: string; email: string };

}| |to|{ id: string; version?: number; title: string; content: string; createdAt: string; createdBy?: { id: string; name: string; email: string }; }| |diff|{ title?: { changed: boolean; from: string; to: string }; content?: Array<{ type: string; value: string; lineNumber?: number }>; metadata?: Array<{ field: string; changed: boolean; from: any; to: any }>; stats?: { additions: number; deletions: number; modifications: number; }; }` |

Was this page helpful?

Download as PDF