managarten/packages/shared-nestjs-auth/src
Wuesteon 26ca921158 feat(auth): add centralized @manacore/better-auth-types package
Create new shared package for Better Auth type definitions:
- UserRole, JWTPayload, CurrentUserData types
- Type guards: isValidUserRole, isValidOrganizationRole
- Utility functions: jwtPayloadToCurrentUser
- userAdditionalFields for client type inference

Migrate shared packages to use centralized types:
- @manacore/shared-auth re-exports from new package
- @manacore/shared-nestjs-auth uses new package as dependency
2025-12-16 02:43:55 +01:00
..
decorators Fix wrong type 2025-12-04 23:25:25 +01:00
guards fix(ci): build shared packages before tests and fix formatting 2025-12-01 23:15:00 +01:00
types feat(auth): add centralized @manacore/better-auth-types package 2025-12-16 02:43:55 +01:00
index.ts 🔒️ feat(auth): centralize JWT validation via mana-core-auth 2025-12-01 17:16:21 +01:00