[PR #7063] [CLOSED] types(admin): expose full admin client API #7050

Closed
opened 2026-03-13 13:22:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7063
Author: @MuzzaiyyanHussain
Created: 12/30/2025
Status: Closed

Base: canaryHead: fix/admin-client-types


📝 Commits (1)

  • 71ea0b7 types(admin): expose full admin client API

📊 Changes

1 file changed (+20 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/plugins/admin/client.ts (+20 -0)

📄 Description

This PR fixes incomplete TypeScript definitions for the admin client plugin.
All runtime-available admin methods are now exposed on the client type.

  • Type-only change
  • No runtime behavior changes
  • Improves developer experience and autocomplete

Fixes #7043


Summary by cubic

Expose the full admin client API in TypeScript so all runtime admin methods are typed and available on the client, fixing #7043. Type-only change with no runtime impact.

Written for commit 71ea0b7e28. Summary will update automatically on new commits.


🔄 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/7063 **Author:** [@MuzzaiyyanHussain](https://github.com/MuzzaiyyanHussain) **Created:** 12/30/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/admin-client-types` --- ### 📝 Commits (1) - [`71ea0b7`](https://github.com/better-auth/better-auth/commit/71ea0b7e2809177ac1089d6bdaf2324220bdaa5c) types(admin): expose full admin client API ### 📊 Changes **1 file changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/client.ts` (+20 -0) </details> ### 📄 Description This PR fixes incomplete TypeScript definitions for the admin client plugin. All runtime-available admin methods are now exposed on the client type. - Type-only change - No runtime behavior changes - Improves developer experience and autocomplete Fixes #7043 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Expose the full admin client API in TypeScript so all runtime admin methods are typed and available on the client, fixing #7043. Type-only change with no runtime impact. <sup>Written for commit 71ea0b7e2809177ac1089d6bdaf2324220bdaa5c. Summary will update automatically on new commits.</sup> <!-- 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 13:22:29 -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#7050