[PR #5891] chore: sort out exports #14548

Closed
opened 2026-04-13 09:31:33 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5891

State: closed
Merged: Yes


Summary by cubic

Streamlined exports and clarified organization schema naming to make imports consistent and easier to use. Access plugin is now exported from the plugins entrypoint, and better-call types are re-exported with third-party types.

  • Refactors

    • Moved access plugin export to the plugins index; removed its type export from the root.
    • Re-exported better-call types from the root alongside third-party types.
    • Renamed organization role to roleSchema and updated references.
  • Migration

    • Import the access plugin from the plugins entrypoint instead of the root.
    • Replace any imports of role with roleSchema.

Written for commit f7c04a15f4. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5891 **State:** closed **Merged:** Yes --- <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Streamlined exports and clarified organization schema naming to make imports consistent and easier to use. Access plugin is now exported from the plugins entrypoint, and better-call types are re-exported with third-party types. - **Refactors** - Moved access plugin export to the plugins index; removed its type export from the root. - Re-exported better-call types from the root alongside third-party types. - Renamed organization role to roleSchema and updated references. - **Migration** - Import the access plugin from the plugins entrypoint instead of the root. - Replace any imports of role with roleSchema. <sup>Written for commit f7c04a15f41f7307bd0f3b5adc1dcc07ab21734c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:31:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14548