

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;
  parseStatusDesc: string;
  picUrl: string;
  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
