Expand description
Public module-authoring contracts for the Lenso backend framework.
This crate is deliberately smaller than the backend workspace. It exposes
stable manifest declarations and lint helpers that module authors can use
without depending on internal platform-* crates.
Structs§
- Admin
Action - Admin
Action Confirmation - Admin
Action Input Field - Admin
Action Input Schema - Admin
Declarative Page - Admin
Declarative Section - Admin
Declarative Surface - Admin
Embedded Surface - Admin
Metric Binding - Admin
Sandbox Policy - Admin
Schema - A module’s declared admin surface: which entities it exposes for management.
- Console
Navigation - Console
Navigation Group - Console
Package - Console
Surface - Console
Workspace Ref - Cron
Parse Error - Cron
Schedule - Entity
Schema - One manageable entity (e.g. identity’s “users”).
- Event
Handler Declaration - Event
Surface - Field
Schema - One field of an entity.
- Lifecycle
Activation JobDeclaration - Lifecycle
Startup Check Declaration - Lifecycle
Surface - Module
Capability Reference - Module
Http Route - Module
Manifest - The serializable metadata a module exposes. Runtime config is deliberately
NOT here — it stays an internal
&'staticfield on [crate::Module] because the config registry needs the real (non-serde)RuntimeConfigTypeto validate. Only round-trippable fields belong here. - Module
Manifest Builder - Fluent builder for
ModuleManifest. Reusable by every loading source. - Module
Manifest Lint - Module
Route Lint - Runtime
Function Declaration - Runtime
Retry Policy Declaration - Runtime
Surface - Scheduled
Function Declaration - Story
Display Descriptor
Enums§
- Admin
Action Danger Level - Admin
Declarative Component - Admin
Embedded Entry - Admin
Embedded Runtime - Admin
Permission - Admin
Surface - A module’s admin surface.
- Console
Area - Field
Type - Minimal field-type vocabulary.
Jsonis the catch-all so any field renders. - Lifecycle
Activation RunPolicy - Lifecycle
Startup Check Kind - Module
Http Method - Module
Manifest Lint Severity - Module
Route Lint Severity - Module
Source - Story
Display Source