You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
object-grid 声明的 data 输入类型是 array(内联行),而契约类型是 ViewData(对象)—— 照设计器写出的元数据 spec 解析不过 #5090
顺带:该 description 写「the deprecated staticData is the same thing」。staticData
(objectql.ts:637,any[],已 @deprecated)确实就是数组档 —— 也就是说 data 的这条
声明实际描述的是那个已弃用键的形状,而不是 data 自己的。
复核方式
sed -n '154p' packages/plugin-grid/src/index.tsx
grep -n 'data?: ViewData' packages/types/src/objectql.ts
sed -n '388,400p' packages/plugin-grid/src/ObjectGrid.tsx # Array.isArray 容忍支路
Activity
yinlianghui commentedon Aug 17, 2026
补:正文由 issues 端点存储时会剥掉末尾 footer,故以评论补齐。已读回确认正文完整、无
<+字母被吞。Generated by Claude Code
yinlianghui commentedon Aug 17, 2026
认领(PM 派发,objectui 分片):session_01GTRjn8xBqp75dk7kFupVRt,分支
claude/issue-5090-grid-data-input-decl,os-dev 席即将开工。范围声明:半径是
packages/plugin-grid/src/index.tsx的GRID_QUERY_INPUTS声明块(+ 其生成物/测试/changeset)—— 把data的声明面对齐契约类型ViewData(#4648 option B + carve-out 裁定后的残留修正)。⛔ 不动ObjectGrid.tsx的运行时容忍支路(#5068 家族,另案)、⛔ 不动packages/types。与在飞席位(SchemaForm a11y、plugin-form/plugin-view README、plugin-grid mdx)文件不相交 —— 注意 #5087 席动的是content/docs/plugins/plugin-grid.mdx,本卡动的是packages/plugin-grid/src/index.tsx,同包不同文件。Generated by Claude Code
docs(plugin-grid): README 的 src/index.tsx 行号锚点跟上声明块的位移
fix(plugin-grid): object-grid 的 data 输入按契约声明为 ViewData 对象 (objectstac…