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 license management, registry authentication, chat state, and Studio mode types.

§Key Types

TypePurpose
LicenseStateSubscription validation and plan tiers
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

§License Tiers

PlanCommercial FeaturesZ3 Verification
FreeNoNo
SupporterNoNo
ProYesYes
PremiumYesYes
LifetimeYesYes
EnterpriseYesYes

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.
LicenseState
License state management with async validation.
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§

LicensePlan
Subscription plan tiers.
Role
Message sender role in the chat interface.
StudioMode
The active mode in the Studio playground.