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 }}
Repository navigation
Commit db4c848
Browse filesBrowse the repository at this point in the historyBrowse files
feat(types)!: retire TreeViewSchema.data as an ADR-0049 tombstone; nodes is the only inline spelling (objectui#6951 B1)
`TreeViewSchema` declared two spellings for its one inline-nodes slot:
`nodes` (read second, after a `bind`-resolved value) and `data` (read
third), both declared by objectui#6150; `data` was required until
objectui#6939 / PR #7533 made it optional. Maintainer ruling B1
(2026-09-04): retire `data`; `nodes` stays optional; no presence refinement
(a `bind`-only tree-view is a legal, rendering document).
`BaseSchema` declares `data?: any` / `z.any().optional()`, so deleting the
member would ADMIT the key unvalidated; the retirement is a tombstone on
the extended schema that shadows the base member, and the base-vs-extended
contrast is pinned on both faces.
- `data?: never` on the interface, `retirementTombstone()` named refusal on
the Zod mirror (message names `nodes` and `bind`); `nodes` docblocks and
describe rewritten without the three-limb narrative
- tree-view.tsx reads `boundData || schema.nodes || []`
- packages/types/examples/data-display-examples.json and the
content/docs/api/schema-reference.md fence spell `nodes`; docs row
replaced by a retirement note
- PR #7533's pins that asserted `data` accepted flipped to refusal in place;
the catalog mirror test's data-spelling probes flipped; #6150 control
document moves to `nodes: []`
- new pin tree-view-data-retired-6951: both faces refuse, the union entry
carries the guidance, BaseSchema alone accepts the same document (both
faces), `nodes`-only / `bind`-only / bare document parse, TreeNode.data
control, tree-scoped catalog absence, renderer read set off disk, tsc legs
- changeset (types/components minor)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAZFhALsQsGqxui8sNqM8s
0 commit comments