fix(ui): change ui theme color

feat(calc): add geogebra based graph calculator for tests
This commit is contained in:
shafin-r
2026-02-20 00:03:23 +06:00
parent 626616c8b5
commit 3c8f945539
18 changed files with 2063 additions and 259 deletions

View File

@ -1,4 +1,4 @@
import type { Leaderboard } from "../types/leaderboard";
import type { Leaderboard, PredictedScore } from "../types/leaderboard";
import type { Lesson, LessonsResponse } from "../types/lesson";
import type {
SessionAnswerResponse,
@ -227,5 +227,9 @@ class ApiClient {
async fetchLeaderboard(token: string): Promise<Leaderboard> {
return this.authenticatedRequest<Leaderboard>(`/leaderboard/`, token);
}
async fetchPredictedScore(token: string): Promise<PredictedScore> {
return this.authenticatedRequest<PredictedScore>(`/prediction/`, token);
}
}
export const api = new ApiClient(API_URL);