Expand description
Service projection definitions for the Ferro framework.
Re-exports§
pub use render::template::TemplateRenderer;pub use render::BaseContext;pub use render::Renderer;
Modules§
- render
- Rendering abstraction layer for service projections.
Structs§
- Action
Def - A business operation schema describing what an action does and what it needs.
- Field
Def - A field definition within a service projection.
- Field
Metadata - Metadata for a single model field.
- Guard
Def - A named boolean condition that guards action execution or state transitions.
- Input
Def - An input parameter definition for an action.
- Intent
Score - A scored intent with confidence and the structural signals that contributed.
- Model
Metadata - Intermediate representation of a model for ServiceDef derivation.
- Relationship
Def - A service-to-service relationship declaration.
- Service
Def - A service definition describing a domain entity and its fields.
- State
Def - A state within a state machine.
- State
Machine - A state machine schema describing lifecycle states and transitions.
- Transition
- A transition between two states, triggered by an event.
Enums§
- Cardinality
- Structural cardinality of a service-to-service relationship.
- Data
Type - Abstract data type categories for service fields.
- Error
- Field
Meaning - Semantic meaning of a field, driving rendering and behavior decisions.
- Intent
- Structurally-derivable intent classification for a service.
- Intent
Hint - Manual override for intent derivation when structural analysis is wrong.
- Navigation
Hint - Presentational hint for how a relationship should be rendered in UI.
- Warning
- Structural warnings from service and state machine validation.
Functions§
- derive_
intents - Derives ranked intents from a ServiceDef’s structural signals.
- infer_
meaning - Infers a
FieldMeaningfrom a field name using common naming conventions.