feat: get tasks from api in calendar
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user