Skip to main content

Module state

Module state 

Source
Expand description

Global application state types.

Defines state structures used across the application via Dioxus context. Includes registry authentication, chat state, and Studio mode types.

§Key Types

TypePurpose
RegistryAuthStateGitHub OAuth for package registry
AppStateChat history for the REPL interface
StudioModeActive mode in the Studio playground
FileNodeVirtual file system tree for Studio
MathDocumentMath mode formula collection

Structs§

AppState
REPL chat state for the Landing page.
ChatMessage
A message in the REPL chat history.
FileNode
A node in the file tree representing a file or directory.
GitHubUser
GitHub user profile data from OAuth.
MathDocument
Math mode file format.
MathFormula
A formula entry for Math mode.
PackageDetails
Full package detail for the package page.
PackageVersion
Metadata for a specific package version.
RegistryAuthState
Authentication state for the package registry.
RegistryPackage
Summary information for a package listing.
ReplLine
A line in the REPL output history.

Enums§

Role
Message sender role in the chat interface.
StudioMode
The active mode in the Studio playground.