Q30: documents keep every version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 06:10:25 -04:00
1 parent 794fa372c9
commit 4c475e5ceb
9 files changed
+183 -23

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ export interface UpdateDocumentInput {
title: string;
content: string;
status: string;
/** Why it changed; kept with the new version. */
reason: string;
changedByType: "employee" | "agent";
changedById: string | null;
}
export interface DeleteDocumentInput {
+1
View File
@@ -406,6 +406,7 @@ export interface DocumentRecord {
projectId: string | null;
goalId: string | null;
taskId: string | null;
version: number;
createdAt: string;
updatedAt: string;
}