feat(collections): 自动同步作品交付集验收状态

This commit is contained in:
yuzhe
2026-07-21 19:23:58 +08:00
parent e4d1d3bcea
commit 721e971dd8
22 changed files with 309 additions and 35 deletions

View File

@@ -119,6 +119,7 @@ export interface WorkCollection {
status: CollectionStatus;
work_count: number;
approved_count: number;
completed_at: string | null;
created_at: string;
}
@@ -190,7 +191,7 @@ export interface NoteDetail extends Note {
text_annotations: TextAnnotation[];
comments: WorkComment[];
project: Pick<Project, 'id' | 'name' | 'slug'>;
collection: Pick<WorkCollection, 'id' | 'name'>;
collection: Pick<WorkCollection, 'id' | 'name' | 'status'>;
versions: WorkVersion[];
review_events: ReviewEvent[];
}