export type A2SwType = {
  id: number;
  img: string;
  name: string;
  path: string;
  info?: { title: string; txt: string };
};

export type A2VideoType = {
  id: number;
  title: string;
  txt: string;
};

export type A2GoodsType = {
  creatorId: number;
  creatorName: string;
  description: string;
  dictAge: string;
  dictLevel: string;
  dictSource: string;
  dictTexture: string;
  id: number;
  isBarrage: 0 | 1;
  name: string;
  num: string;
  tagCountry: string;
  tagType: string;
  thumb: string;
};

export type A2getGoodsDataType = {
  dictAge: string;
  dictTexture: string;
  searchKey: string;
  pageNum: number;
  pageSize: number;
  type: string;
};

export type A2SelectItemType = {
  value: number | "";
  label: string;
};

export type A2SelectType = {
  texture: A2SelectItemType[];
  age: A2SelectItemType[];
};

export type A2FileType = {
  createTime: string;
  creatorId?: any;
  creatorName: string;
  fileName: string;
  filePath: string;
  id: number;
  isFrame?: any;
  moduleName: string;
  type: "img" | "model" | "audio" | "video";
  updateTime: string;
};

export type A2FileObjType = {
  model: A2FileType[];
  video: A2FileType[];
  img: A2FileType[];
};

export type A2QuestionType = {
  answer: string;
  createTime: string;
  creatorId: number;
  creatorName: string;
  description: string;
  display: number;
  goodsId: number;
  goodsName: string;
  id: number;
  pcsAccuracy?: any;
  pcsAnswer: number;
  pcsTrue: number;
  question: string;
  updateTime: string;
};

export type A2QuestionResType = {
  id: number;
  txt: string;
  goodsId: number;
  title: string;
  ok: string;
  answer: { val: string; name: string }[];
  done: boolean;
  mySelect: string;
};

export type A2BarrageType = {
  auditName: string;
  authorName: string;
  createTime: string;
  creatorId: number;
  creatorName: string;
  display: number;
  goodsId: number;
  goodsName: string;
  id: number;
  name: string;
  status: number;
  updateTime: string;
};

export type A2Left2Type = {
  name: string;
  arr: {
    id: number;
    link: string;
    name: string;
  }[];
};

export type A2R_fSaveType = {
  authorName: string;
  goodsId: number;
  name: string;
  randCode: string;
};

// ----
export type Tab5ListType = {
  createTime: string;
  creatorId?: any;
  creatorName: string;
  id: number;
  link: string;
  name: string;
  tagCountry: string;
  tagType: string;
  thumb: string;
  updateTime: string;
}