From eaf6e8d31ec02ec676cdef83347a9cdf6f725f8a Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Thu, 18 Jan 2024 16:19:40 +0100 Subject: [PATCH] Add frontend qgl query for coursebook documentations --- .../frontend/components/coursebook.graphql | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 aleksis/apps/alsijil/frontend/components/coursebook.graphql diff --git a/aleksis/apps/alsijil/frontend/components/coursebook.graphql b/aleksis/apps/alsijil/frontend/components/coursebook.graphql new file mode 100644 index 000000000..d52011468 --- /dev/null +++ b/aleksis/apps/alsijil/frontend/components/coursebook.graphql @@ -0,0 +1,23 @@ +query gqlDocumentationsForCoursebook($courseId: ID!, $dateStart: Date!, $dateEnd: Date!) { + documentationsForCoursebook(courseId: $courseId, dateStart: $dateStart, dateEnd: $dateEnd) { + id + course { + id + } + lessonEvent { + id + } + subject { + id + name + shortName + } + topic + homework + groupNote + datetimeStart + datetimeEnd + dateStart + dateEnd + } +} -- GitLab