This commit is contained in:
phaichayon
2026-06-22 10:22:45 +07:00
parent 51d67ef7c2
commit b154a8de33
37 changed files with 5952 additions and 332 deletions

View File

@@ -11,6 +11,9 @@ declare module 'next-auth' {
activeMembershipRole: string | null;
activeBusinessRole: string | null;
activePermissions: string[];
activeBranchScopeIds: string[];
activeProductTypeScopeIds: string[];
activeOwnershipScope: string | null;
organizations: Array<{
id: string;
name: string;
@@ -40,6 +43,9 @@ declare module 'next-auth/jwt' {
activeMembershipRole?: string | null;
activeBusinessRole?: string | null;
activePermissions?: string[];
activeBranchScopeIds?: string[];
activeProductTypeScopeIds?: string[];
activeOwnershipScope?: string | null;
organizations?: Array<{
id: string;
name: string;