Skip to content

CompareDocumentResult

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/api/src/document/dto/compare-document.dto.ts

Comparison result response

Properties

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

}| |to|{ id: string; version?: number; title: string; content: string; createdAt: Date; createdBy: { id: string; name: string; email: string; }; metadata?: any; }| |diff|{ title: { changed: boolean; from: string; to: string; }; content: DiffChange[]; metadata: MetadataDiff[]; stats: { additions: number; deletions: number; modifications: number; }; }` |

Was this page helpful?

Download as PDF