Repository navigation
收紧 Time Drops 路由和用户解码类型 - #63
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
旧存档和 WebSocket 消息保持兼容,用户无需迁移数据。旧路由默认值、可选用户字段及未知字段的拒绝规则沿用原逻辑。
路由、账户和公开用户视图的解码分别返回具名 Router、User 和 UserView,移除了两个返回 Map Tag Dynamic 的中间签名。继续用原有 decode-map-as 校验完整结构。未解析项从 27 降到 25,schema Dynamic 从 6 降到 4。
原 8 项测试通过,涵盖旧存档往返、WebSocket 状态恢复及公开视图的密码隔离。现有 CI 复跑完整门禁和构建。
删除确认回调直接继承 Alerts 签名,移除重复的动态事件标注。确认删除和关闭弹窗仍发送原操作。最新提交的完整 strict、原测试与 Vite 构建通过。