feat: get tasks from api in calendar

This commit is contained in:
2025-05-09 15:37:05 +03:00
parent cb9e1bd266
commit cc7307a655
3 changed files with 375 additions and 249 deletions

View File

@@ -22,15 +22,9 @@ export interface IApiTask {
task_type: string;
}
export interface IApiDay {
date: string;
name: string;
tasks: IApiTask[];
}
export interface IApiResponse {
profile: string;
days: IApiDay[];
tasks: IApiTask[];
subject_choices: Record<string, string>;
task_type_choices: Record<string, string>;
}