#69 Phase 1c: 注册 18 个 @output/* schema + 默认 template + wrapEnvelope 函数 #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #69 (Phase 1 of #67)
Depends: Phase 1b
Scope
1. 在 bootstrap() 中注册 18 个 @output/* schema
每个 schema 带 title 和 description:
2. 注册别名
每个 schema 注册
@output/<name>别名到内置别名表(和 @string/@number 一样)。3. 注册默认 template
为每个 @output/* schema 注册默认 LiquidJS template 到
@ucas/template/text/<schema-hash>。4. 抽取 wrapEnvelope()
从别名解析 schema hash,返回
{ type, value }。关键约束
Verification
bun test通过(更新 bootstrap 相关测试的期望值)bun run build通过