feat(build): generate event constants

Discover data-slhx-on event names from hemplate Surface inputs and emit generated events modules plus symbol rows without adding runtime trigger semantics.

req: codegen/006
This commit is contained in:
slhx agent
2026-05-25 22:24:50 +02:00
parent d25361d34d
commit abe39ec750
2 changed files with 80 additions and 1 deletions
+3
View File
@@ -237,6 +237,9 @@ a `data-*` handle param is statically known or runtime-extracted.
### req: codegen/005
005 Generated module `atoms` exports `Atom<T>` for values that must be addressable, bootstrapped, or synced. Ordinary Rust fields on app/components are not automatically atoms.
### req: codegen/006
006 `slhx-build` discovers `data-slhx-on` event names from hemplate Surface inputs and emits generated event constants. Event constants are metadata for checked Rust authoring and diagnostics; they do not create a trigger mini-language or new browser runtime semantics. [north_star]
---
## public_api