-
Notifications
You must be signed in to change notification settings - Fork 562
feat(tree): Add missing package exports #26136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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
ScopedSchemaNametype used in SchemaFactory method return types - Exports
InsertableObjectFromSchemaRecordtype 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, | |||
There was a problem hiding this comment.
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
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
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".