// 10 个示例项目评审专用数据封装 import seed from './seeds/tenProjectsSeed.json'; import { ProjectSession, ChatMessage, DeliverableItem } from '../types/workbench'; import { MockDocumentMeta } from './mockDocuments'; export interface SeedProjectMeta { id: number; code: string; name: string; shortName: string; customer: string; deviceType: string; intendedUse: string; targetMarket: string; activeWorkflowKey: string; version: number; creatorUserId: number; } export const TEN_PROJECTS_LIST: SeedProjectMeta[] = seed.projects as SeedProjectMeta[]; export const TEN_PROJECTS_SESSIONS: ProjectSession[] = seed.sessions as ProjectSession[]; export const TEN_PROJECTS_MESSAGES: ChatMessage[] = seed.messages as ChatMessage[]; export const TEN_PROJECTS_DELIVERABLES: DeliverableItem[] = seed.deliverables as DeliverableItem[]; export const TEN_PROJECTS_DOCUMENTS: Record = seed.documents as Record< string, MockDocumentMeta >;