mui-toolpad-extended-tuni
Version:
13 lines (12 loc) • 382 B
TypeScript
/** @format */
/**
* Configuration interface for microservices
*
* Used to define microservice metadata including routing, component, and navigation building.
*/
export interface MicroserviceConfig {
path: string;
Component: React.ComponentType;
fetchHooks?: Array<(courseId: string) => void>;
buildNavigation: (courseId: string, isTeacher: boolean) => any[];
}