diff --git a/types/work-review.ts b/types/work-review.ts index 984fb2f..c43fca3 100644 --- a/types/work-review.ts +++ b/types/work-review.ts @@ -4,6 +4,10 @@ export type WorkReviewRole = 'manager' | 'final_reviewer' export type WorkReviewReviewMode = 'dual' | 'single_reviewer_test' +/** 作品过稿看板当前使用的品牌选项。 */ +export const WORK_REVIEW_BRANDS = ['亿家达', '卓禾', '欧意朗', '顾家', '索菲亚', '朴美'] as const +export type WorkReviewBrand = typeof WORK_REVIEW_BRANDS[number] + export type WorkReviewDecision = 'approved' | 'revision_required' export type WorkReviewAnnotationShape = 'point' | 'rectangle' | 'ellipse' | 'arrow' @@ -86,6 +90,8 @@ export type WorkReviewReviewerOption = WorkReviewPerson & { export type WorkReviewProject = { id: string title: string + /** 新提交作品必填;历史作品可能尚未补录。 */ + brand?: string | null description: string | null workDate: string status: WorkReviewStatus @@ -157,6 +163,7 @@ export type WorkReviewProcessedImage = { export type WorkReviewSubmissionInput = { title?: string + brand?: string description?: string workDate?: string reviewerEmployeeId?: string