forked from r.muellner/velum-raycast
Review Word change authors on existing project runs
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user