Optionalfetchfetch used to read documents. Defaults to the global fetch.
Optionalinit: RequestInitOptionalinit: RequestInitThe connected client used to change saved documents, or null while not
connected. With @hiyve/react, useClient() returns it once a room or
no-video room is open.
OptionalisWhich providers this user accepts courses from. An enrollment is only
trusted when the provider it names wrote it; this narrows it further —
for example to the providers the user already works with. The id arrives
in its cleaned form (what cleanUserId from @hiyve/core returns), so
compare against cleaned ids. Everyone is accepted by default, which lets
anyone who can share a file with this user put a course in front of
them — set this in any app where that matters.
OptionallocationFolder to store documents in. Defaults to DEFAULT_HIYVE_COURSES_LOCATION.
OptionalnowClock, in epoch ms. Defaults to Date.now.
The app's HiyveStore.
The signed-in user.
Options for
createHiyveCourseStorage.