Expand description
Framework-agnostic schema and query planning primitives.
hyle deliberately has no React, DOM, async, or transport concepts.
It describes models and fields, derives backend query manifests, and resolves
raw backend sources into purified results plus lookup tables. UI frameworks should build
thin adapters on top of these serializable structures.
Re-exports§
pub use source::set_provider;pub use source::load_source;pub use source::find_item;pub use source::SourceProvider;pub use source::load_typed_item;pub use source::load_typed_rows;pub use source::FieldStorageType;pub use source::SourceDef;pub use source::SourceFieldDef;pub use source::deser_row;pub use query::parse_query_params;pub use query::Manifest;pub use query::MutateInput;pub use query::Query;pub use query::Sort;pub use raw::is_single;pub use raw::parse_index_items;pub use raw::row_from_form;pub use raw::row_from_value;pub use raw::ModelResult;pub use raw::Row;pub use raw::RowItem;pub use raw::Source;pub use raw::Value;pub use raw::rows_from_outcome;pub use raw::ModelRows;pub use view::Column;pub use view::display_value;pub use view::display_value_from_outcome;
Modules§
Structs§
Enums§
- Error
- Field
Type - Forma
Context - Which rendering context to use when deriving a query from a forma.
- Forma
Field Type - How a forma field type is described in a runtime forma definition. Strings correspond to primitive names or entity names (for references).
- Primitive
- Sort
Type
Functions§
- forma_
to_ query - Derive a
Queryfrom aFormadefinition. - make_
field - Build a
Fieldby kind name. Used by the WASMmake_fieldexport so the JSfieldbuilder helpers can delegate entirely to Rust.