Skip to main content

Module state

Macrosยง

listed_in_state ๐Ÿ”’
Implements InCourseState for a kind a CourseState holds a list of.

Structsยง

CourseState
Every editable entity of one course.
StateChanges
What changed between two course states. Pages are listed by id: their full snapshots hold exercises, which only the database has.

Enumsยง

CourseParts
Which parts of a course a tool reads; the course settings are always there, the other parts left out stay empty.
StagedEntity
The state one entity has after an agent write call.

Traitsยง

InCourseState ๐Ÿ”’
How a CourseState holds one kind of content entity.

Functionsยง

changed_by_id ๐Ÿ”’
load_live_course
Loads the parts of the course as published.
put_by_id ๐Ÿ”’
Replaces the item with itemโ€™s id, or appends item.