refactor(spec): move FeishuProfile to FeishuConnection, clean docs

- FeishuProfile 从 User.lean 移到 FeishuConnection.lean
- User.lean 只留用户创建路径声明
- 清理所有 doc comment
This commit is contained in:
2026-07-12 09:33:33 +08:00
parent 39bd2c9ff7
commit 63416e06ea
3 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ structure Organization where
/-- 飞书应用绑定(`PINNED`, 可选;1:1,每 org 至多一个)。 -/
feishu : Option (FeishuAppBinding I)
/-- 用户(`PINNED`, 租户层独立实体)。必属一个组织。飞书身份是绑定,见 `Spec.System.User`。 -/
/-- 用户(`PINNED`, 租户层独立实体)。必属一个组织。飞书绑定见 `FeishuConnection`。 -/
structure User where
/-- 用户标识(`OPEN` 表示;组织内唯一,不可改;登录用)。 -/
id : I.UserId