Skip to content

Conversation

@Josmithr
Copy link
Contributor

@Josmithr Josmithr commented Jan 6, 2026

Adds missing exports of types that are referenced by existing API exports. It isn't immediately clear why API-Extractor doesn't complain about these. Note that the types end up being defined inline in the reports and are referenced but are not annotated as "exported".

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds missing exports of two types (ScopedSchemaName and InsertableObjectFromSchemaRecord) that are referenced by existing API exports from the tree package. These types appear in the return types of exported APIs like SchemaFactory.object() but were not previously exported, causing them to be inlined in API reports without being marked as exported.

  • Exports ScopedSchemaName type used in SchemaFactory method return types
  • Exports InsertableObjectFromSchemaRecord type used in SchemaFactory method return types

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/dds/tree/src/index.ts Adds exports for ScopedSchemaName and InsertableObjectFromSchemaRecord types
packages/dds/tree/api-report/tree.public.api.md Auto-generated API report reflecting the new exports with export keyword
packages/dds/tree/api-report/tree.legacy.public.api.md Auto-generated API report reflecting the new exports with export keyword
packages/dds/tree/api-report/tree.legacy.beta.api.md Auto-generated API report reflecting the new exports with export keyword
packages/dds/tree/api-report/tree.beta.api.md Auto-generated API report reflecting the new exports with export keyword
packages/dds/tree/api-report/tree.alpha.api.md Auto-generated API report reflecting the new exports with export keyword
packages/framework/fluid-framework/api-report/fluid-framework.public.api.md Auto-generated API report reflecting the new exports (re-exported from tree package)
packages/framework/fluid-framework/api-report/fluid-framework.legacy.public.api.md Auto-generated API report reflecting the new exports plus unrelated sequence exports
packages/framework/fluid-framework/api-report/fluid-framework.legacy.beta.api.md Auto-generated API report reflecting the new exports
packages/framework/fluid-framework/api-report/fluid-framework.beta.api.md Auto-generated API report reflecting the new exports
packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md Auto-generated API report reflecting the new exports

@@ -95,6 +95,7 @@ export {
type TreeView,
type TreeViewEvents,
SchemaFactory,
type ScopedSchemaName,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both of these are already exported via src/internalTypes.ts

@Josmithr Josmithr closed this Jan 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

🔗 No broken links found! ✅

Your attention to detail is admirable.

linkcheck output


> [email protected] ci:check-links /home/runner/work/FluidFramework/FluidFramework/docs
> start-server-and-test "npm run serve -- --no-open" 3000 check-links

1: starting server using command "npm run serve -- --no-open"
and when url "[ 'http://127.0.0.1:3000' ]" is responding with HTTP status code 200
running tests using command "npm run check-links"


> [email protected] serve
> docusaurus serve --no-open

[SUCCESS] Serving "build" directory at: http://localhost:3000/

> [email protected] check-links
> linkcheck http://localhost:3000 --skip-file skipped-urls.txt

Crawling...

Stats:
  245432 links
    1786 destination URLs
    2025 URLs ignored
       0 warnings
       0 errors


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants