feat(api): keep raw tokens out of prelude

Move generated metadata tokens behind a hidden compatibility export and tighten the public contract test so the beginner prelude stays focused on generated authoring, Html, forms, navigation, and IntoEffect.

req: dx/006

req: public_api/005
This commit is contained in:
slhx agent
2026-06-12 07:39:36 +02:00
parent 7be1c9c649
commit f32ae15c29
2 changed files with 18 additions and 5 deletions
+6
View File
@@ -145,6 +145,12 @@ fn public_prelude_does_not_export_low_level_primitives() {
"ResourceId",
"EffectBatch",
"BuildFingerprint",
"Atom",
"ComponentRef",
"EventName",
"GeneratedTarget",
"Handle",
"ParamName",
] {
assert!(
!exported.contains(&token),