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.
Re-exports§
pub use operation::ServiceOperationIdempotency;pub use operation::ServiceOperationMetadata;pub use operation::ServiceOperationSafeProbe;
Modules§
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.
- Artifact
Attestation Evidence - Artifact
Reference - Attestation
Reference - Attested
Verification Receipt - Catalog
Approval - Catalog
Attestation Trust Policy - Catalog
Contract Issue - Catalog
Module Metadata - Catalog
Release Record - Catalog
Snapshot - Catalog
Snapshot Envelope - Clean
Build Evidence - Console
Action Input Binding - Console
Contribution - Console
Navigation - Console
Navigation Group - Console
Permission Grant - Console
Permission Request - Console
Slot - Console
Slot Context - Console
Slot Context Field - Console
Surface - Console
UiArtifact - Console
UiArtifact Entry - 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.
- GitHub
Identity - Lifecycle
Activation JobDeclaration - Lifecycle
Startup Check Declaration - Lifecycle
Surface - Linked
Module Delivery - Linked
Provenance Receipt - Module
Capability Reference - Module
Compatibility Declaration - Module
Config Contract - Module
Config Field - Module
Config Validation - Module
Contract Issue - Module
Eligibility - Module
Http Route - Module
Lifecycle Record - Module
Lifecycle State - 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
Migration Declaration - Module
Release - Module
Requirement - Module
Route Lint - Module
Trust Policy - Module
Verification Cell - Module
Verification Receipt - Publisher
Governance Decision - Publisher
Record - Runtime
Function Declaration - Runtime
Retry Policy Declaration - Runtime
Surface - Scheduled
Function Declaration - Service
Module Delivery - Story
Display Descriptor - Trusted
Publishing Evidence - Verification
Check - Verification
Evaluation - Verification
Profile - Verification
Revocation - Verification
Toolchain Evidence - Verified
Catalog Snapshot - Verifier
Identity - Workflow
Compatibility Reason - Workflow
Compatibility Result - Workflow
Compensation Declaration - Workflow
Data Contract - Workflow
Definition - Workflow
Definition Reference - Workflow
Retry Policy Declaration - Workflow
Step Declaration
Enums§
- Admin
Action Danger Level - Admin
Declarative Component - Admin
Embedded Entry - Admin
Embedded Runtime - Admin
Permission - Admin
Surface - A module’s admin surface.
- Catalog
Action - Compatibility
Policy - Console
Action Input Value - Console
Contribution Action - Console
Contribution Kind - Console
Slot Context Field Type - Console
Surface Presentation - Console
UiArtifact Format - Declared
Compatibility State - Field
Type - Minimal field-type vocabulary.
Jsonis the catch-all so any field renders. - Lifecycle
Activation RunPolicy - Lifecycle
Startup Check Kind - Module
Config Activation - Module
Config Field Type - Module
Config Mutability - Module
Config Scope - Module
Delivery - Module
Delivery Kind - Module
Eligibility State - Module
Http Method - Module
Lifecycle Change - Module
Lifecycle Facet - Module
Manifest Lint Severity - Module
Migration Activation - Module
Route Lint Severity - Publisher
Governance Action - Publisher
Status - Security
Restore Policy - Service
Responsibility Profile - Stale
Snapshot Policy - Story
Display Source - Verification
Check Outcome - Verification
Operation - Verification
Outcome - Verification
Requirement - Verification
State - Workflow
Compatibility Category
Constants§
- CATALOG_
SNAPSHOT_ PROTOCOL - CONSOLE_
BRIDGE_ PROTOCOL - LINKED_
PROVENANCE_ RECEIPT_ PROTOCOL - MODULE_
MANIFEST_ PROTOCOL - MODULE_
RELEASE_ PROTOCOL - VERIFICATION_
PROFILE_ PROTOCOL - VERIFICATION_
RECEIPT_ PROTOCOL - WORKFLOW_
COMPATIBILITY_ PROTOCOL - WORKFLOW_
DEFINITION_ PROTOCOL
Functions§
- admit_
catalog_ snapshot - canonical_
json - digest_
json - evaluate_
module_ eligibility - evaluate_
publisher_ governance - evaluate_
workflow_ compatibility - Compares two versions of one engine-neutral Workflow Definition.
- lifecycle_
state - lint_
module_ http_ routes - lint_
module_ manifest - lint_
module_ manifest_ parts - module_
capability_ references - module_
manifest_ schema - module_
release_ schema - validate_
catalog_ snapshot - validate_
cron_ expression - verification_
evaluation - workflow_
compatibility_ artifact - Stable generated examples for every public Workflow compatibility category.
- workflow_
definition_ schema - Deterministic JSON Schema published for engine-neutral Workflow Definitions.