import { InterItemFunction, InterListFunction } from '@/api/interface';

// V1.0.1课程视频列表
// eslint-disable-next-line @typescript-eslint/naming-convention
export type queryCurriculumInfoListType = InterListFunction<
  {
    courseAttribute?: number;
    curriculumName?: string;
    oneCourseId?: number;
    twoCourseId?: number;
    isHot?: number;
  },
  {
    id: number;
    oneCourseId: number;
    twoCourseId: number;
    curriculumName: string;
    curriculumDesc: string;
    surfaceUrl: string;
    videoUrl: string;
    courseAttribute: number;
    requireAmout: number;
    requireIntegral: number;
    isHot: number;
    detailContent: string;
    createTime: string;
    updateTime: string;
  }
>;

// 课程列表
// eslint-disable-next-line @typescript-eslint/naming-convention
export type courseVideoListType = InterItemFunction<
  {
    flightSkillsId?: number;
    licenseId?: number;
    regionId?: number;
    curriculumName?: string;
  },
  {
    id: number;
    videoUrl: string;
    supplierName: string;
    curriculumDesc: string;
    curriculumName: string;
    price: string;
    free: number;
    peopleCount: number;
    surfaceUrl: string;
  }[]
>;
