

export type TQAListItem = {
  answer: string,
  links: string[],
  pics: string[],
  questions: string[]
  qaId: number|string
}

export type TKnowledgeItem = {
  answerCnt: number;
  createTime: string;
  description: string;
  enableExactAnswer: boolean;
  fileSize: number;
  fileSizeStr: string;
  icon: string;
  isParsing: boolean;
  knowledgeId: number;
  linkUrl?: string;
  parseMsg: string;
  parseStatus: string;  // parseStatus (string, optional): 解析状态 unknown未知/wait_transfer待转存/unparsed待解析/parsing解析中/wait_audit待审核/audit_pass审核通过/parsed解析成功/audit_fail审核未通过/parse_fail解析失败 ,
  parseStatusDesc: string;
  picUrl: string|null; // 图片地址
  ossPath: string|null; // 视频地址
  title: string;
  type: string;
};

export type TKnowledgeStreamResponseData = {
  content: string;
  isParsing: boolean;
  knowledgeList: TKnowledgeItem[];
  msgTime: string;
  role: string;
  streamId: number;
  type: string;
};


export type TKnowledgeDetail = {
  
  qaList: TQAListItem[],
  
} & TKnowledgeItem
