/** * Brief 相关类型定义 * 与后端 BriefResponse 对齐 */ export interface BriefAttachment { id: string name: string url: string size?: string } export interface SellingPoint { content: string required: boolean } export interface BlacklistWord { word: string reason: string } export interface BriefResponse { id: string project_id: string project_name?: string | null file_url?: string | null file_name?: string | null selling_points?: SellingPoint[] | null blacklist_words?: BlacklistWord[] | null competitors?: string[] | null brand_tone?: string | null min_duration?: number | null max_duration?: number | null other_requirements?: string | null attachments?: BriefAttachment[] | null agency_attachments?: BriefAttachment[] | null created_at: string updated_at: string } export interface BriefCreateRequest { file_url?: string file_name?: string selling_points?: SellingPoint[] blacklist_words?: BlacklistWord[] competitors?: string[] brand_tone?: string min_duration?: number max_duration?: number other_requirements?: string attachments?: BriefAttachment[] agency_attachments?: BriefAttachment[] }