Repository navigation
Commit 1492fc3
committed
fix(examples,tooling): migrate the one authored string
`examples/schema-catalog/src/schemas/plugin-view/object-view-list.json` authored
`table.sort: "name asc"` — the retired clause. `pnpm check` reported it by name
("did not validate as an ObjectUI schema"), and `objectui validate` gave the
reason: `table -> sort` expected array, received string. Migrated to
`[{ "field": "name", "order": "asc" }]`; the warning count moved 4 -> 3, which
is the firing control that the fixed file is the one that moved.
`scripts/check-doc-example-types.mjs`'s ledger is keyed by FILE:LINE, and the
`objectql.ts` edits shifted `ObjectFormSchema`'s example block 1604 -> 1607.
Re-keyed; `scripts/__tests__/check-doc-example-types.test.ts` is green again.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9wsort fixture and re-key the moved doc-example ledger row1 parent 89fe39f commit 1492fc3
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- examples/schema-catalog/src/schemas/plugin-view
- scripts
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
| 981 | + | |
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| |||
0 commit comments