From 439f184ba50d110893d9baded5ca2cdf65789556 Mon Sep 17 00:00:00 2001 From: zhengzhijie Date: Tue, 16 Jun 2026 14:58:36 +0800 Subject: [PATCH] feat(sheets): document link requirement for @document mentions in cells flag schema @document mentions (mention_type != 0) must pass link (doc URL) to render a clickable card; @user mentions (mention_type=0) don't need it. Synced from the upstream tools-schema. --- shortcuts/sheets/data/flag-schemas.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts/sheets/data/flag-schemas.json b/shortcuts/sheets/data/flag-schemas.json index 6db70367a..c49bf37c3 100644 --- a/shortcuts/sheets/data/flag-schemas.json +++ b/shortcuts/sheets/data/flag-schemas.json @@ -454,7 +454,7 @@ "type": "object" }, "link": { - "description": "超链接地址(仅 type='link' 时必填)", + "description": "超链接地址(type='link' 时必填);@文档 mention(mention_type 非 0)时也必填,传文档 URL(如搜索结果里的文档链接),否则卡片不可点。@人(mention_type=0)不需要传", "type": "string" }, "mention_token": {