hackages
Version:
CLI tool for learning software development concepts through test-driven development
28 lines (27 loc) • 919 B
TypeScript
import { LearningGoal } from "../types/index.js";
export declare const apiClient: {
auth: {
getAuthUrl: () => Promise<any>;
login: (code: string) => Promise<any>;
getCurrentUser: () => Promise<any>;
};
exercises: {
generate: (learningGoal: LearningGoal) => Promise<any>;
review: ({ topic, skillLevel, technology, sourceFiles }: {
topic: string;
skillLevel: string;
technology: string;
sourceFiles: {
[filename: string]: string;
};
}) => Promise<import("axios").AxiosResponse<any, any>>;
};
tech: {
getAllTechnologies: () => Promise<any>;
getTechnologyConfig: (tech: string) => Promise<any>;
};
progress: {
getProgress: () => Promise<any>;
updateProgress: (exerciseId: string, status: string, score?: number) => Promise<any>;
};
};