[PR #2053] [MERGED] feat(organization): Rename InferRolesFromOption to InferOrganizationRolesFromOption #4135

Closed
opened 2026-03-13 11:33:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2053
Author: @Netrifier
Created: 3/29/2025
Status: Merged
Merged: 3/30/2025
Merged by: @Bekacru

Base: mainHead: organization-rename-inferrolefromoption


📝 Commits (1)

  • 0e5ed1f feat(organization): Rename InferRolesFromOption to InferOrganizationRolesFromOption

📊 Changes

3 files changed (+29 additions, -21 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/routes/crud-invites.ts (+4 -2)
📝 packages/better-auth/src/plugins/organization/routes/crud-members.ts (+7 -3)
📝 packages/better-auth/src/plugins/organization/schema.ts (+18 -16)

📄 Description

Rename InferRolesFromOption type to InferOrganizationRolesFromOption in organization plugin to avoid any confusion and possible export conflicts


🔄 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/2053 **Author:** [@Netrifier](https://github.com/Netrifier) **Created:** 3/29/2025 **Status:** ✅ Merged **Merged:** 3/30/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `organization-rename-inferrolefromoption` --- ### 📝 Commits (1) - [`0e5ed1f`](https://github.com/better-auth/better-auth/commit/0e5ed1f95809e1e2c50e490b3040a8d9680974d8) feat(organization): Rename `InferRolesFromOption` to `InferOrganizationRolesFromOption` ### 📊 Changes **3 files changed** (+29 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/routes/crud-invites.ts` (+4 -2) 📝 `packages/better-auth/src/plugins/organization/routes/crud-members.ts` (+7 -3) 📝 `packages/better-auth/src/plugins/organization/schema.ts` (+18 -16) </details> ### 📄 Description Rename `InferRolesFromOption` type to `InferOrganizationRolesFromOption` in organization plugin to avoid any confusion and possible export conflicts --- <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 11:33:49 -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#4135