Expand description
Framework-neutral component shape metadata and naming utilities.
McpInput describes model-controlled structured input at the metadata
level. Protocol handling and JSON Schema helpers live in component-shape-mcp.
Structs§
- Component
Capabilities - Shape-owned capability flags consumed by generators and integrations.
- Component
Field Name - Typed borrowed source field name used in component shape metadata.
- Component
Prototyping - Shape-owned metadata for prototyping generators.
- Component
Shape Use - Framework-neutral metadata describing a field’s component shape use.
- Component
Suffix - Preferred generated component helper suffix.
- Component
Suffix Error - Error returned when component suffix validation rejects a value.
- McpInput
- Shape-owned metadata for model-controlled MCP input.
- Rust
Expr - Rust expression syntax stored as static metadata.
- Rust
Path - Rust path syntax stored as static metadata.
- Rust
Syntax Error - Error returned when Rust syntax metadata fails to parse.
- Rust
Type - Rust type syntax stored as static metadata.
Enums§
- McpInput
Shape - Framework-neutral shape of structured MCP input accepted by a component.
- McpPrimitive
Kind - Primitive value kinds a component shape can expose to model-controlled tools.
- McpRange
Bound Kind - Primitive kinds that can be used as
{ "min": ..., "max": ... }MCP range bounds. - McpTool
Metadata Error - Validation error for generated MCP tool metadata.
- Render
Capability - Whether a component shape publishes render-component metadata.
- Rust
Syntax Kind - Kind of Rust syntax stored as static metadata.
- Value
Binding Capability - Whether a component shape publishes value-binding metadata.
- Value
Change - Normalized value change derived from a component event.
Traits§
- Component
Shape For - Marker that a component shape supports a value or field type.
- Component
Shape Metadata - Framework-neutral metadata published by a component shape.
- Declared
Component Shape - Marker for component shapes declared through a trusted declaration surface.
Functions§
- component_
suffix_ from_ suffix - Derive a generated helper suffix from a field name and shape suffix source.
- is_
valid_ component_ suffix - Returns whether a component/prototyping suffix is valid.
- validate_
component_ suffix - Validate a component/prototyping suffix.
- validate_
mcp_ tool_ metadata_ text - Validate human-readable MCP tool metadata text.
- validate_
mcp_ tool_ name - Validate the MCP tool-name subset used by generated integrations.