OptionalallowedSites embed blocks may show. Defaults to DEFAULT_ALLOWED_EMBED_ORIGINS from @hiyve/courses.
OptionalblockBlock types your app adds.
OptionalchildrenOptionalcolorsColor overrides.
The signed-in user.
OptionallabelsText overrides.
OptionalmaxLargest file, in bytes, anyone can upload through the course components — lesson media, submissions, recordings, photos, comment attachments and your custom blocks' uploads. A larger file is refused with a message before anything is sent. No limit by default; set it to what your storage accepts.
OptionalnowClock in epoch ms. Defaults to Date.now.
OptionalonA client completed a lesson that needs the provider's approval — a good moment to notify the provider.
OptionalonThe provider enrolled a client.
OptionalonA client completed every lesson in a course.
OptionalonCalled when something goes wrong loading or saving.
OptionalonA client wants to join a live session block's room. Route them to it.
OptionalonA client asked a question or left a note on a lesson — a good moment to notify the provider.
OptionalonA client completed a lesson.
OptionalonThe provider approved a lesson or sent it back — a good moment to notify the client.
OptionalonThe provider replied on a lesson — a good moment to notify the client.
OptionalonLessons opened to a client — a good moment to notify the client.
OptionalonA client replied to a review — a good moment to notify the provider.
OptionalonA client submitted work — a good moment to notify the provider.
OptionalonThe provider commented on or gave a status to a submission — a good moment to notify the client.
OptionalresolveA user's display name, for provider names and clients without one on record.
Where courses are kept.
Props for
CourseProvider.