Commit 0c77ea4
Add three curated `guidance` entries to the object-level `userActions`
strictObject in packages/spec/src/data/object.zod.ts, mirroring the existing
sort/search/filter/editInline wrong-layer wording convention: group,
hideFields and rowColor are VIEW `userActions` keys (adopted at #11195) that
share a name with nothing on the object block, so an author who learned them
on the view writes them here and previously got only the generic
unknown-key rejection.
Nothing changes about what parses — all three keys were already refused by
name on the object block; only the refusal's message gains the same curated
pointer the other four wrong-layer keys already carry.
Mirrors the existing pin for `sort` with a new test asserting the "VIEW"
pointer for all three keys, alongside the pre-existing disjoint-vocabulary
check. The #5013 alias-integrity audit judges the three new entries
automatically (each is a key the object shape rejects).
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7af4a20 commit 0c77ea4
3 files changed
Lines changed: 41 additions & 1 deletion
File tree
- .changeset
- packages/spec/src/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
439 | 451 | | |
440 | 452 | | |
441 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1736 | 1736 | | |
1737 | 1737 | | |
1738 | 1738 | | |
1739 | | - | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
1740 | 1742 | | |
1741 | 1743 | | |
1742 | 1744 | | |
| |||
1752 | 1754 | | |
1753 | 1755 | | |
1754 | 1756 | | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
1755 | 1766 | | |
1756 | 1767 | | |
1757 | 1768 | | |
| |||
0 commit comments