fix: expose work review brand types

This commit is contained in:
江林铖 2026-09-03 17:41:53 +08:00
parent 52c3a36b0f
commit cda8ba4f78

View File

@ -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