fix(data-fabric): export roles and directory types from barrels [AGVSOL-3062]#612
Open
dsuresh-ap wants to merge 1 commit into
Open
fix(data-fabric): export roles and directory types from barrels [AGVSOL-3062]#612dsuresh-ap wants to merge 1 commit into
dsuresh-ap wants to merge 1 commit into
Conversation
Contributor
|
✅ No issues found. Checked for bugs and CLAUDE.md compliance. |
AditiGoyalUipath
approved these changes
Jul 18, 2026
…OL-3062] The DataFabricRoleService and DataFabricDirectoryService classes were exported from the /entities subpath, but their option/response types and enums (e.g. DataFabricDirectoryEntityTypeInput) were not re-exported, forcing consumers like the CLI to derive them via Parameters<> from method signatures. Re-export roles/directory types and ServiceModel interfaces through the entities subpath and main barrels. All symbols keep their @internal JSDoc tags, so the generated docs are unchanged. Follow-up to review comments on UiPath/cli#2891. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
dsuresh-ap
force-pushed
the
claude/cli-type-exports-955325
branch
from
July 20, 2026 15:07
33b167c to
6348646
Compare
Contributor
|
✅ No issues found. Checked for bugs and CLAUDE.md compliance. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Follow-up to review comments on UiPath/cli#2891: the
DataFabricRoleServiceandDataFabricDirectoryServiceclasses are exported from the/entitiessubpath, but their types and enums were not, so the CLI had to derive the principal-type input from the method signature:This PR re-exports the roles/directory types through the barrels so consumers can import them directly. No new methods or endpoints — export surface only.
Exports Added
DataFabricDirectoryEntityType@uipath/uipath-typescript/entities, main entryDataFabricDirectoryEntityTypeName@uipath/uipath-typescript/entities, main entryDataFabricDirectoryEntityTypeInput@uipath/uipath-typescript/entities, main entryDataFabricDirectoryRole,DataFabricDirectoryEntry@uipath/uipath-typescript/entities, main entryDataFabricDirectoryListOptions,DataFabricDirectoryGetAllOptions,DataFabricDirectoryListResponse@uipath/uipath-typescript/entities, main entryDataFabricDirectoryAssignOptions,DataFabricDirectoryAssignmentResult@uipath/uipath-typescript/entities, main entryDataFabricDirectoryServiceModel@uipath/uipath-typescript/entities, main entryDataFabricRoleType@uipath/uipath-typescript/entities, main entryDataFabricRole,DataFabricRoleGetAllOptions,DataFabricRoleServiceModel@uipath/uipath-typescript/entities, main entryAll symbols keep their
@internalJSDoc tags —excludeInternal: trueintypedoc.jsonkeeps them out of the generated docs, matching the "keep it internal for now" decision on the CLI PR. The*.internal-types.tsfiles remain private.Example Usage
Files
src/services/data-fabric/index.ts(/entitiessubpath),src/models/data-fabric/index.ts(main entry)tests/unit/services/data-fabric/exports.test.ts(2 tests — runtime export surface + compile-time type re-export check)Verification
npm run typecheck— cleannpm run lint— 0 errorsnpm run test:unit— 2092 passednpm run build— verifieddist/entities/index.d.tsanddist/index.cjsnow expose the enums/typesRefs AGVSOL-3062
🤖 Auto-generated using onboarding skills
🤖 Generated with Claude Code