up
All checks were successful
Deploy to Production / deploy (push) Successful in 8s

This commit is contained in:
lubukhu
2026-01-24 13:35:11 +07:00
parent 6c3e93636e
commit 65fd0158a3
145 changed files with 10262 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/**
* Game API Client Kit
* Standardized API client for communicating with Game Backend
*/
export interface GameApiConfig {
baseUrl: string;
getHeaders?: () => Record<string, string>;
}
export declare class GameApiClient {
private config;
constructor(config: GameApiConfig);
private request;
getGameWithProgress(assignmentId: number | string, studentId: string, refresh?: boolean): Promise<any>;
startLiveSession(assignmentId: number | string, studentId: string, refresh?: boolean): Promise<any>;
submitAnswer(assignmentId: number | string, studentId: string, questionId: string, answer: any, timeSpent?: number, isTimeout?: boolean): Promise<any>;
completeSession(assignmentId: number | string, studentId: string): Promise<any>;
getLeaderboard(assignmentId: number | string, studentId: string): Promise<any>;
}
//# sourceMappingURL=api.d.ts.map