mui-toolpad-extended-tuni
Version:
32 lines (31 loc) • 1.34 kB
TypeScript
/** @format */
/**
* Root application component.
*
* Architecture:
* - BrowserRouter: Provides routing context
* - ToolpadProvider: Core Toolpad functionality, auth, theme, layout
* - Microservices: Top-level routing (Home, Help, Contact, dynamic routes)
* - UserMicroservice: Optional extension - self-contained user module with UserBus integration
* - CalendarMicroservice: Optional extension - self-contained calendar module with EventBus integration
* - CourseMicroservice: Optional extension - self-contained course module with its own routing
* - EduTest, EduTest2: Course-specific microservices (tools)
*
* This structure provides clear separation:
* - App-level microservices are children of Microservices
* - Extensions are optional - install only what you need
* - User, Calendar, and Courses communicate through EventBus/UserBus (no runtime dependencies;
* acceptable exceptions: mock type imports, type definitions, and bus delegation)
* - Course-level microservices are children of CourseMicroservice
*
* To use without extensions, simply remove the extension imports and components:
* ```tsx
* <Microservices>
* <Contact />
* <Help />
* // Your custom microservices
* </Microservices>
* ```
*/
declare const App: () => import("react/jsx-runtime").JSX.Element;
export default App;