Skip to content

收紧 Time Drops 路由和用户解码类型 - #63

Merged
tiye merged 8 commits into
mainfrom
refine/timedrops-router-decode
Nov 14, 2026
Merged

tiye merged 8 commits into
mainfrom
refine/timedrops-router-decode

Conversation

@tiye

@tiye tiye commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

旧存档和 WebSocket 消息保持兼容,用户无需迁移数据。旧路由默认值、可选用户字段及未知字段的拒绝规则沿用原逻辑。

路由、账户和公开用户视图的解码分别返回具名 Router、User 和 UserView,移除了两个返回 Map Tag Dynamic 的中间签名。继续用原有 decode-map-as 校验完整结构。未解析项从 27 降到 25,schema Dynamic 从 6 降到 4。

原 8 项测试通过,涵盖旧存档往返、WebSocket 状态恢复及公开视图的密码隔离。现有 CI 复跑完整门禁和构建。

删除确认回调直接继承 Alerts 签名,移除重复的动态事件标注。确认删除和关闭弹窗仍发送原操作。最新提交的完整 strict、原测试与 Vite 构建通过。

@tiye tiye changed the title 直接解码 Time Drops 路由为具名类型 收紧 Time Drops 路由和用户解码类型 Nov 13, 2026
@tiye
tiye merged commit 15b92ca into main Nov 14, 2026
1 check passed
@tiye
tiye deleted the refine/timedrops-router-decode branch November 14, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant