Skip to content

content/docs/utilities/index.md still documents the ObjectStackProvider phantom API that #4124 removed from the page one file over #5360

Description

@os-support-ai

Out-of-scope finding from #5343 (the fabricated-export sweep over content/docs/guide/** + content/docs/api/schema-reference.md). This site is in content/docs/utilities/**, outside that card's file surface, so it is filed rather than fixed there. Filed unassigned, not claiming.

Fact (measured on origin/main = bdf8cf76e, against the packages' built dist/index.d.ts)

content/docs/utilities/index.md:161-173, section Data Integration:

import { ObjectStackProvider } from '@object-ui/data-objectstack'
function App() {
return (
< ObjectStackProvider
apiUrl="https://api.example.com"
apiKey="your-api-key"
>
< SchemaRenderer schema={schema} />
< /ObjectStackProvider>
)
}

Compiled against the built types by the same harness scripts/check-doc-snippet-types.mjs uses:

content/docs/utilities/index.md:163 TS2724: '"@object-ui/data-objectstack"' has no exported member named 'ObjectStackProvider'. Did you mean 'ObjectStackError'?

After #5343 lands this is the only missing-export diagnostic left in the entire scanned corpus (637 blocks, 541 semantically judged) — it is named as such in the UNGATED_DOCS header note.

Why it matters, and why it is not a duplicate

#4124 established the finding and PR4129 fixed it — but only on content/docs/utilities/data-objectstack.mdx. The identical phantom shape survived one file over, in the utilities index, and the whole argument of #4124 still applies verbatim: @object-ui/data-objectstack is headless (no react in any dependency field, no React import in src/), so ObjectStackProvider has no home in that package — this is not an export that moved.

content/docs/utilities/index.md is on the UNGATED_DOCS ledger, so the gate does not report it today; the entry names the symbol by hand.

Fix direction (not pre-judged)

Same direction PR4129 took on the sibling page: rewrite the section against the real surface (createObjectStackAdapter / ObjectStackAdapter, wired through the renderer's dataSource per Commandment #1), and rewrite the page's ledger entry to its new measured mix. ⛔ Not by adding the export — that is a contract change.

Searched for duplicates

ObjectStackProvider, data-objectstack docs, utilities index fabricated export over open issues: zero open hits. #4124 and #4130 are closed and cover the sibling .mdx page and its README, not this file.


Generated by Claude Code

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationpm:dispatched

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions