feat(web): keep server duties and PATCH with hydrate ETag

Retain ledger author/reviewer/approver, fail-closed unknown users to
viewer, and send the opened revision ETag instead of a fresh GET.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-13 17:02:23 +00:00
co-authored by Cursor
parent 79797cab7c
commit eefdd4c4fd
15 changed files with 343 additions and 39 deletions
+6
View File
@@ -17,6 +17,12 @@ export type WorkflowDocumentSummary = {
lease_holder_id?: string;
lease_expires_at?: string;
lease_heartbeat_at?: string;
author_id?: number;
author_name?: string;
reviewer_id?: number;
reviewer_name?: string;
approver_id?: number;
approver_name?: string;
};
export type ControlledDocumentContent = {