From 728b04c9d84d764d1dd83c2fe5b3cb483ed909f7 Mon Sep 17 00:00:00 2001 From: Gerald Schmittinger Date: Mon, 24 Mar 2025 21:13:46 +0100 Subject: [PATCH] feat(frontend): Functionaliteit om leerobjecten te tonen toegevoegd. Hiervoor ook de state management geherstructureerd. --- .../src/components/UsingRemoteResource.vue | 27 ++--- .../api-client/endpoints/delete-endpoint.ts | 3 +- .../api-client/endpoints/get-endpoint.ts | 3 +- .../api-client/endpoints/get-html-endpoint.ts | 3 +- .../api-client/endpoints/post-endpoint.ts | 3 +- .../api-client/endpoints/rest-endpoint.ts | 29 +++--- .../services/api-client/remote-resource.ts | 98 ++++--------------- .../learning-object-service.ts | 23 ++++- .../learning-content/learning-path-service.ts | 17 ++-- .../learning-content/learning-path.ts | 11 ++- .../learning-paths/LearningObjectView.vue | 31 ++++++ .../views/learning-paths/LearningPathPage.vue | 43 ++++++-- 12 files changed, 141 insertions(+), 150 deletions(-) create mode 100644 frontend/src/views/learning-paths/LearningObjectView.vue diff --git a/frontend/src/components/UsingRemoteResource.vue b/frontend/src/components/UsingRemoteResource.vue index 96654ce9..5248d7a9 100644 --- a/frontend/src/components/UsingRemoteResource.vue +++ b/frontend/src/components/UsingRemoteResource.vue @@ -1,32 +1,22 @@