Design a tRPC API for a SaaS analytics dashboard with real-time data, user management, and reporting.
Design the tRPC router structure and procedure organization. Consider nested routers, middleware chains, and code splitting.