basics-courses-mcp
Version:
Interactive programming courses from Basics - MCP server for Cursor
44 lines • 1.18 kB
TypeScript
export interface HierarchicalProgress {
currentModule: {
id: string;
title: string;
index: number;
totalModules: number;
};
currentLesson: {
id: string;
title: string;
index: number;
totalLessons: number;
};
currentStep: {
id: string | null;
title: string;
index: number;
totalSteps: number;
};
stepProgress: {
completed: number;
total: number;
percentage: number;
};
lessonProgress: {
completed: number;
total: number;
percentage: number;
currentLessonPercentage: number;
};
moduleProgress: {
completed: number;
total: number;
percentage: number;
currentModulePercentage: number;
};
courseProgress: {
completed: number;
total: number;
percentage: number;
};
}
export declare function calculateHierarchicalProgress(userProfileId: string, courseId: string, currentModuleId: string, currentLessonId: string, currentStepId?: string): Promise<HierarchicalProgress>;
//# sourceMappingURL=hierarchical-progress.d.ts.map