forked from bai/curriculum-project-hub
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:
@@ -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`)。 -/
|
||||
|
||||
Reference in New Issue
Block a user