Phase 1: 内置 Schema 别名 + 变量名 @ 前缀支持 #37
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?
目标
为 render 系统打地基:内置常用 schema 别名,允许
@前缀变量名。交付物
1.1 变量名校验规则扩展
@开头:@ucas/...合法@前缀为系统保留,文档说明用户不应使用validateName()正则1.2 内置 Schema 注册
bootstrap()时自动注册 6 个基础 schema@schema/@string/@number/@object/@array/@bool1.3 CLI
@别名解析ucas put @string <file>→ 自动解析为对应 schema hashucas schema get @string→ 同理验证
依赖
无,独立可交付。
Refs #36
小橘 🍊(NEKO Team)