[PR #3628] [MERGED] fix(admin): export type definitions from the admin plugin #4922

Closed
opened 2026-03-13 12:04:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3628
Author: @daidr
Created: 7/26/2025
Status: Merged
Merged: 7/29/2025
Merged by: @Kinfe123

Base: mainHead: fix/admin-type-error


📝 Commits (5)

  • 0795896 fix(admin): export type definitions from the admin plugin
  • 4c12a6a Merge branch 'main' into fix/admin-type-error
  • b79e690 lint
  • a14114b Merge branch 'main' into fix/admin-type-error
  • b24c122 changesets

📊 Changes

2 files changed (+6 additions, -0 deletions)

View changed files

.changeset/soft-pugs-flash.md (+5 -0)
📝 packages/better-auth/src/plugins/admin/index.ts (+1 -0)

📄 Description

closes #3627

This pull request includes a small change to the packages/better-auth/src/plugins/admin/index.ts file. The change adds an export statement to re-export all type definitions from the ./types module.


Summary by cubic

Exported all type definitions from the admin plugin to make them available for external use.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3628 **Author:** [@daidr](https://github.com/daidr) **Created:** 7/26/2025 **Status:** ✅ Merged **Merged:** 7/29/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `fix/admin-type-error` --- ### 📝 Commits (5) - [`0795896`](https://github.com/better-auth/better-auth/commit/0795896935d0b963463f0f926b6b33a746b81006) fix(admin): export type definitions from the admin plugin - [`4c12a6a`](https://github.com/better-auth/better-auth/commit/4c12a6a947bd00259cd7615d346a8fa2e2277306) Merge branch 'main' into fix/admin-type-error - [`b79e690`](https://github.com/better-auth/better-auth/commit/b79e690a37569767d5492b5c681e8541bee26538) lint - [`a14114b`](https://github.com/better-auth/better-auth/commit/a14114b87c72d24824736ec4e1e9834f28e09cf4) Merge branch 'main' into fix/admin-type-error - [`b24c122`](https://github.com/better-auth/better-auth/commit/b24c122c024169a30bb03e22853b1db7c8fac00e) changesets ### 📊 Changes **2 files changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/soft-pugs-flash.md` (+5 -0) 📝 `packages/better-auth/src/plugins/admin/index.ts` (+1 -0) </details> ### 📄 Description closes #3627 This pull request includes a small change to the `packages/better-auth/src/plugins/admin/index.ts` file. The change adds an export statement to re-export all type definitions from the `./types` module. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exported all type definitions from the admin plugin to make them available for external use. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:04:19 -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#4922