OptionalassignmentOptionalbackgroundWhiteboard background image list (passed through to the whiteboard editor).
OptionalclipOptionalconnectedThe currently connected room name.
OptionalcontrolledOptional external "controlled" file to open. When this changes, the host
opens the new file by calling onFileOpen. Used by presenter sync in
lesson rooms so students follow the teacher's file selection.
OptionaleditorsEditor components keyed by resource type.
OptionalemptyEmpty state config (inline variant only). When provided, the host shows
an empty state with a file list when file === null.
OptionalensureSwitch file-ops target to a different room.
The file currently open. When null and variant is inline, the
empty state is rendered (requires emptyState). When null and
variant is modal, nothing is rendered.
OptionalinitialThe fresh file data returned by createXxxFile() immediately after
upload. Pass alongside isNewFile so the editor opens with the real
metadata (notably authorId) instead of an empty {} placeholder.
OptionalisNewly created file — editors should initialize empty instead of fetching.
OptionalisWhether the underlying file-ops room connection is ready. Defaults to true.
OptionalnoteOptionalonFires when a file that was auto-created by emptyState.autoCreateOnMount
is abandoned — either the user closed it (e.g., via the title-bar
close button or "Open existing") or the host unmounted (e.g., the
parent navigated to a different tab). The consumer is expected to
inspect the file's current server-side state and delete it if it's
still in its auto-created pristine form (default name, empty
content) so the user's library doesn't accumulate orphan blanks.
Called when the user closes the host.
OptionalonError sink (file load, save, connection).
OptionalonCalled when a file is opened from the empty state (or via controlled sync).
OptionalonResolve a presigned URL for the file (used to pre-fetch note/assignment/clip content).
OptionalonResolve a presigned URL for a background file (passed through to the whiteboard editor).
OptionalonUpload a new background file from disk (passed through to the whiteboard editor).
How the host should render.
OptionalwhiteboardPer-editor prop overrides. These are merged into the editor component's props after the host's defaults. Use this to pass editor-specific configuration (colors, labels, feature flags) from the consuming page.
Props for FileSessionHost.