Skip to content

Export accessible orgs hook - #1815

Merged
rishiraj38 merged 1 commit into
layer5io:masterfrom
NSTKrishna:add-missing-useAccessibleOrgs
Aug 25, 2026
Merged

Export accessible orgs hook#1815
rishiraj38 merged 1 commit into
layer5io:masterfrom
NSTKrishna:add-missing-useAccessibleOrgs

Conversation

@NSTKrishna

@NSTKrishna NSTKrishna commented Aug 25, 2026

Copy link
Copy Markdown
Member

Expose the useAccessibleOrgs hook and its supporting types from the package root so consumers can import the public API directly. This adds root exports for useAccessibleOrgs, UseAccessibleOrgsOptions, and TriggerGetKeys.

Notes for Reviewers

This PR fixes #

Signed commits

  • Yes, I signed my commits.

Summary by CodeRabbit

  • New Features
    • Added public exports for the accessible organizations hook and its related types.
    • These APIs are now available directly from the package’s main entry point.

Expose the useAccessibleOrgs hook and its supporting types from the package root so consumers can import the public API directly. This adds root exports for useAccessibleOrgs, UseAccessibleOrgsOptions, and TriggerGetKeys.

Signed-off-by: NSTKrishna <krishnagehlot936@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 94c89b28-d588-4c36-8fc2-a654a73d5c0d

📥 Commits

Reviewing files that changed from the base of the PR and between 83e98b9 and 6d5643e.

📒 Files selected for processing (1)
  • src/index.tsx

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The package root now explicitly re-exports useAccessibleOrgs, UseAccessibleOrgsOptions, and TriggerGetKeys from ./custom/useAccessibleOrgs.

Changes

Accessible organizations export

Layer / File(s) Summary
Add root re-exports
src/index.tsx
The root entry point re-exports useAccessibleOrgs and its associated types.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 6d564

This PR only exposes existing hook and type APIs from the package root, with no actionable merge-blocking risk remaining beyond normal checks.

Suggested reviewers: rishiraj38, simihablo

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: exporting the accessible organizations hook from the package root.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@NSTKrishna
NSTKrishna requested a review from rishiraj38 August 25, 2026 09:12

@rishiraj38 rishiraj38 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cloud Build Passed

Image

Meshery Build Passed

Image

@rishiraj38
rishiraj38 merged commit 616c492 into layer5io:master Aug 25, 2026
6 checks passed
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