Commit 1071c86
feat(showcase): 加回
合 main 之后重新实测:这条谓词现在**校验通过**。#5378 已经把答案放进
`packages/spec/src/data/injected-system-columns.ts`,让作者时校验能推导出平台注入
列 —— 我原先注释里写的「校验器拒绝它,已上报」在合并后的树上是**假话**,不能就
这么随 PR 发出去。
于是不只是改注释,而是把这条谓词作为正式标本加回来(`showcase_zoo_owner_gate`
+ 类型园里的 `showcase_zoo_t_owner`,三个记录面 + 两个视图的 `bulkActions`)。
它值得独立一条,因为 `owner_id` 是注入列而非声明字段,同时压两个面:
- 作者时:它就是 #5378 落地的活证据;
- 运行时:列表 `$select` 按对象声明字段构造,消费方若不认识平台列就会把它当拼错
丢掉、让谓词在缺席键上 fault —— 即 objectui#3501 的 `PLATFORM_RECORD_COLUMNS`。
与既有的 `showcase_zoo_user_gate`(声明的 `user` 字段)成对:注入列与声明字段必须
门控一致。
标签当场补 zh-CN,棘轮仍是 451、`check-i18n-coverage: OK (none new)`;
`pnpm validate` exit 0、`typecheck` 通过、146 tests passed。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>record.owner_id == os.user.id 归属门,并纠正一段已经过期的注释1 parent d99e262 commit 1071c86
3 files changed
Lines changed: 44 additions & 10 deletions
File tree
- examples/app-showcase/src
- system/translations
- ui
- actions
- views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
| |||
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| 473 | + | |
472 | 474 | | |
473 | 475 | | |
474 | 476 | | |
| |||
Lines changed: 35 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
142 | 171 | | |
143 | 172 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 173 | + | |
| 174 | + | |
152 | 175 | | |
153 | 176 | | |
154 | 177 | | |
| |||
389 | 412 | | |
390 | 413 | | |
391 | 414 | | |
| 415 | + | |
392 | 416 | | |
393 | 417 | | |
394 | 418 | | |
| |||
443 | 467 | | |
444 | 468 | | |
445 | 469 | | |
| 470 | + | |
446 | 471 | | |
447 | 472 | | |
448 | 473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| 127 | + | |
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
| |||
0 commit comments