[PR #6903] [MERGED] fix: export necessary adapter types #15203

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6903
Author: @himself65
Created: 12/20/2025
Status: Merged
Merged: 12/20/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/12/20/types


📝 Commits (1)

  • 69b61b3 fix: export necessary adapter types

📊 Changes

3 files changed (+20 additions, -0 deletions)

View changed files

e2e/smoke/test/types.spec.ts (+17 -0)
📝 packages/better-auth/src/types/adapter.ts (+2 -0)
📝 packages/better-auth/src/types/index.ts (+1 -0)

📄 Description

Fixes: https://github.com/better-auth/better-auth/issues/6876


Summary by cubic

Export missing adapter and social provider types so users can import JoinConfig, JoinOption, and profiles like GoogleProfile. Adds a smoke test to prevent regressions and fixes #6876.

  • Bug Fixes
    • Export JoinConfig and JoinOption from better-auth/adapters.
    • Re-export social provider types from types/index.ts.
    • Add e2e test to verify JoinOption, JoinConfig, and GoogleProfile are exported.

Written for commit 69b61b3c2f. 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/6903 **Author:** [@himself65](https://github.com/himself65) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/20/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/12/20/types` --- ### 📝 Commits (1) - [`69b61b3`](https://github.com/better-auth/better-auth/commit/69b61b3c2fabbad006c2ad7b1492bc1d24b91416) fix: export necessary adapter types ### 📊 Changes **3 files changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `e2e/smoke/test/types.spec.ts` (+17 -0) 📝 `packages/better-auth/src/types/adapter.ts` (+2 -0) 📝 `packages/better-auth/src/types/index.ts` (+1 -0) </details> ### 📄 Description Fixes: https://github.com/better-auth/better-auth/issues/6876 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Export missing adapter and social provider types so users can import JoinConfig, JoinOption, and profiles like GoogleProfile. Adds a smoke test to prevent regressions and fixes #6876. - **Bug Fixes** - Export JoinConfig and JoinOption from better-auth/adapters. - Re-export social provider types from types/index.ts. - Add e2e test to verify JoinOption, JoinConfig, and GoogleProfile are exported. <sup>Written for commit 69b61b3c2fabbad006c2ad7b1492bc1d24b91416. 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-04-13 09:53:14 -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#15203