You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(aurora): add support for custom tRPC routers with type safety (#1045)
* feat(aurora): add support for custom tRPC routers with type safety
- Export generic type helpers (CreateTypedTrpcReact, CreateTypedTrpcClient) for apps to extend tRPC clients with custom routers
- Export AuroraRouterWithCustom type helper for merging custom routers with base router
- Add trpcClient.ts to vite dts plugin include list to generate proper type definitions
- Export TrpcReact type from client index
This enables consuming apps (like dashboard) to:
1. Define custom tRPC routers using auroraRouter/protectedProcedure
2. Register them with createServer({ routers: [...] })
3. Re-export Aurora's tRPC clients with extended types for full type safety
* chore(aurora): remove unnedeed deps
* chore(aurora): bugfix in comments
* chore: exclude apps/dev from workspace and git tracking
- Add apps/dev/ to .gitignore (local testing only)
- Add !apps/dev to pnpm-workspace.yaml to exclude from workspace
* chore(changeset): add changeset for custom routers support
0 commit comments