mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 12:27:44 +00:00
* feat: teams in org * conditional based expose team endpoint * mod on adapter * team org wip * wip * dynamic type inference * add test * feat: enhance organization adapter with default team creation and member timestamps * feat: add maximum teams limit and prevent removal of last team * refactor: remove outdated description from plugins documentation * feat: add teams functionality with management and schema updates * merge v1.2 * chore: cleanup * fix(internal-adapter): safely handle lowercase email conversion * feat(organization): enhance team and organization management tests and functionality - Update organization and team tests with more comprehensive scenarios - Modify team creation, invitation, and removal processes - Improve access control and role management in organization tests - Add support for multiple team and member management scenarios * refactor(better-auth): remove unnecessary type extensions for User and Session --------- Co-authored-by: Kinfe123 <kinfishtech@gmail.com>