Review Word change authors on existing project runs

This commit is contained in:
muena
2026-09-27 08:47:34 +02:00
parent e9cda1c02f
commit 23af4993db
4 changed files with 13 additions and 6 deletions

View File

@@ -113,6 +113,7 @@ export async function reviseProjectRun(args: {
run.origin = previous.origin;
run.revisedFrom = previous.id;
run.commentAuthorCoverage = previous.commentAuthorCoverage;
run.reviewAuthorCoverage = previous.reviewAuthorCoverage;
run.mapping = plan.mapping;
run.matchModes = Object.fromEntries(Object.entries(previous.matchModes ?? {})
.filter(([key]) => key in plan.mapping));

View File

@@ -30,6 +30,8 @@ export type ProjectRun = {
revisedFrom?: string;
/** Word comment authors were reviewed with the explicit author recognizer. */
commentAuthorCoverage?: boolean;
/** Word tracked-change authors and deleted text were reviewed. */
reviewAuthorCoverage?: boolean;
};
const DOCUMENTS = new Set([".docx", ".xlsx", ".pptx", ".pdf"]);