Integrations layer
Vendor adapters and what belongs in each package folder.
Packages
| Folder | Responsibility |
|---|---|
better-auth | Auth server/client, access control, emails, session helpers |
next-intl | Routing, config, message loading |
fumadocs | Docs/blog sources, MDX, search |
next-safe-action | Action client (actionClient + withAuth) |
resend | Send helpers |
redis | Upstash client |
Integrations wrap vendors. Business orchestration stays in modules/*/use-cases.