docs: form field type contract Action/CRUD symmetry (v1.0.77)
All checks were successful
技能自动化发布 / release (push) Successful in 7s

This commit is contained in:
2026-08-11 15:52:27 +08:00
parent db2325dbe4
commit 9fa5953713
7 changed files with 134 additions and 17 deletions

View File

@@ -338,8 +338,12 @@ class TestDocsStandards(unittest.TestCase):
"demo_items",
"readonly",
"新增/编辑表单:字段说明与默认值(宿主支持)",
"表单与展示:稳定字段类型(宿主支持,须与 Action 对称)",
"datetime_unix_seconds",
"display_type: \"number\"",
"DEFAULT",
"description",
"文件 / 图片上传",
):
self.assertIn(marker, text, msg=f"SCHEMA.md missing {marker!r}")
@@ -347,8 +351,10 @@ class TestDocsStandards(unittest.TestCase):
text = self._read("references/ACTIONS.md")
for marker in (
"inputSchema 与参数表单",
"表单字段类型对照(须与 CRUD 对称)",
"数据管理新增/编辑",
"_jiangchang_columns.description",
"datetime_unix_seconds",
"SCHEMA.md",
):
self.assertIn(marker, text, msg=f"ACTIONS.md missing {marker!r}")