From 7707831463105c7c4075cceae127f7272a6e0450 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 24 Oct 2023 08:47:02 +0200 Subject: [PATCH] Adapt Backend and OpenAPI description to fetch all schedules --- backend/.idea/workspace.xml | 13 ++- .../api/controller/ScheduleController.java | 27 +++++- .../AbstractScheduleShortInfo.java | 4 + .../taskSchedule/BasicScheduleShortInfo.java | 22 +++++ .../taskSchedule/ScheduleInfo.java | 83 +++++++++++++++++++ .../BasicTaskScheduleRepository.java | 9 ++ .../core/services/TaskScheduleService.java | 21 ++++- frontend/src/api/api/schedule.service.ts | 55 ++++++++++++ frontend/src/api/model/scheduleInfo.ts | 16 +++- openapi.yaml | 35 +++++++- 10 files changed, 276 insertions(+), 9 deletions(-) create mode 100644 backend/src/main/java/core/api/models/timemanager/taskSchedule/AbstractScheduleShortInfo.java create mode 100644 backend/src/main/java/core/api/models/timemanager/taskSchedule/BasicScheduleShortInfo.java create mode 100644 backend/src/main/java/core/api/models/timemanager/taskSchedule/ScheduleInfo.java diff --git a/backend/.idea/workspace.xml b/backend/.idea/workspace.xml index 6aad4ea..dd44bae 100644 --- a/backend/.idea/workspace.xml +++ b/backend/.idea/workspace.xml @@ -5,9 +5,13 @@ - - - + + + + + + +