Expand description
Props validation against a component definition — the catalog’s own mini
schema (PropSchema), so the reducer, the fixtures and the generator agree
without a JSON Schema engine. Mirrors src/validate.ts.
Re-exports§
pub use crate::expr::is_dynamic;
Structs§
Functions§
- is_
callable_ name - A function name a surface may call: a catalog function, or a HOST
function, which is always namespaced (
app.toast,harness.toast). - validate_
node validate_node_inagainst the core catalog alone.- validate_
node_ in - What
validate_propsleaves out, round 4 (VAPP-103;src/validate.ts validateNode): the node’sstyle(whitelisted keys, known tokens,$color.*colours), every function a prop (along its schema inview: never inside DATA),visibleor anonaction calls, and a Table’s slot columns. In this order. - validate_
props - Every issue in a node’s props against its component definition;
pathprefixes every issue path (the reducer passesprops).