Kind: Interface
Source: atloria-monorepo/apps/api/src/document/dto/compare-document.dto.ts
Comparison result response
Properties
| Property | Type |
|---|---|
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?