Skip to main content
Version: s5

CourseItem

Course item

type CourseItem {
id: String!
position: Float!
createdAt: DateTimeISO!
updatedAt: DateTimeISO!
deletedAt: DateTimeISO
courseId: String
course: Course!
contentId: String
contentType: CourseItemContentType!
content: CourseItemContentUnion!
}

Fields

CourseItem.id ● String! non-null scalar

UUID of course item

CourseItem.position ● Float! non-null scalar

Position of course item in course

CourseItem.createdAt ● DateTimeISO! non-null scalar

Creation time given as the ISO Date string

CourseItem.updatedAt ● DateTimeISO! non-null scalar

Last update time given as the ISO Date string

CourseItem.deletedAt ● DateTimeISO scalar

Soft delete time given as the ISO Date string

CourseItem.courseId ● String scalar

UUID of course

CourseItem.course ● Course! non-null object

Courses of the course item

CourseItem.contentId ● String scalar

UUID of content object

CourseItem.contentType ● CourseItemContentType! non-null enum

Type of content object

CourseItem.content ● CourseItemContentUnion! non-null union

Content object associated with this course item

Member Of

Course object