feat(team+auth): live multi-role team management + email/SMS OTP login

- team-management: new useTeamData() data layer serves live be-crm data door
  (crm.team.member.search/role.list/invitation.list + set-roles/perm/invite
  commands) or the mock fallback, gated on isShellConfigured(). A member can
  hold MANY roles: role chips + multi-select picker in Edit/Invite modals.
- login OTP: OtpVerify wired to real Supabase email + SMS OTP (passwordless)
  via appshell sendEmailOtp/verifyEmailOtp + sendPhoneOtp/verifyPhoneOtp.
- bump @abe-kap/appshell-sdk ^0.2.0 (phone OTP).
This commit is contained in:
tanweer919
2026-07-11 04:44:54 +05:30
parent 1d37593102
commit 565019a75c
5 changed files with 462 additions and 217 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"lint": "eslint"
},
"dependencies": {
"@abe-kap/appshell-sdk": "^0.1.0",
"@abe-kap/appshell-sdk": "^0.2.0",
"clsx": "^2.1.1",
"lucide-react": "^1.21.0",
"next": "16.2.9",