文档(会员契约): 澄清 status 兜底只作用于 Rust 客户端

- ProfileMembershipResponse.status 注释改为“Rust 反序列化未知取值按 active 兜底,TS 侧不归一化”
- 同步重新生成 ts-rs 绑定,避免 Web 消费方误以为前端也会 fail-open
This commit is contained in:
2026-10-05 17:53:23 +08:00
parent 8009a70bb1
commit 759bcf98a8
2 changed files with 2 additions and 2 deletions
@@ -5,7 +5,7 @@ import type { ProfileMembershipStatusToken } from "./ProfileMembershipStatusToke
export type ProfileMembershipResponse = {
/**
* 会员状态 token:`normal` / `active`;未知取值按 `active` 兜底。
* 会员状态 token:`normal` / `active`;Rust 客户端反序列化时未知取值按 `active` 兜底,TS 侧不做运行期归一化。
*/
status: ProfileMembershipStatusToken,
/**