feat(spec): pin org-feishu app binding to 1:1

- FeishuConnection.lean: FeishuAppBinding (appId + appSecretEnvelope)
- Organization.feishu: Option FeishuAppBinding (Option 自带 1:1)
- 删除 FeishuConnectionId (不再需要游离类型)
- FeishuProfile 删除 connection 字段 (由 org 隐含)
This commit is contained in:
2026-07-12 09:29:41 +08:00
parent e17e038232
commit 39bd2c9ff7
5 changed files with 30 additions and 5 deletions
-2
View File
@@ -17,8 +17,6 @@ structure FeishuProfile where
openId : I.FeishuOpenId
/-- 租户内身份(`OPEN` 表示);换应用不变,比 open_id 稳定。 -/
userId : I.FeishuUserId
/-- 绑定所属飞书应用连接(`PINNED`;org-scoped)。 -/
connection : I.FeishuConnectionId
/-- 飞书显示名(`OPEN`)。 -/
name : Option String
/-- 飞书头像 URL(`OPEN`)。 -/