import type { CourseType, ResourceType } from '@/types'

export interface CollectionType {
  chapter_id: string
  course_id: string
  id: string
  info: ResourceType
  section_id: string
  semester_id: string
  semester: CollectionSemesterType
  source_id: string
  status: number
  type: number
}

export interface CollectionSemesterType {
  id: string
  name: string
}

export type AllCourseType = Pick<CourseType, 'id' | 'name' | 'course_id' | 'cover' | 'semester'>
