From e5cc0aa80e15688b53c266c7f422808958c53da8 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Fri, 13 Oct 2023 17:26:04 +0200 Subject: [PATCH] useCompetenceStore is not needed anymore --- client/src/gql/graphql.ts | 1 + client/src/gql/schema.graphql | 1 + .../competence/PerformanceCriteriaPage.vue | 38 ++-- .../assignment/AssignmentView.vue | 4 +- .../blocks/AssignmentBlock.vue | 2 +- .../blocks/EdoniqTestBlock.vue | 2 +- client/src/stores/competence.ts | 179 ------------------ .../vbv_lernwelt/competence/graphql/types.py | 2 +- .../vbv_lernwelt/learnpath/graphql/types.py | 9 +- 9 files changed, 33 insertions(+), 205 deletions(-) delete mode 100644 client/src/stores/competence.ts diff --git a/client/src/gql/graphql.ts b/client/src/gql/graphql.ts index 592ff0c2..6d0b1f23 100644 --- a/client/src/gql/graphql.ts +++ b/client/src/gql/graphql.ts @@ -433,6 +433,7 @@ export type LearningContentEdoniqTestObjectType = CoursePageInterface & Learning course?: Maybe; description: Scalars['String']['output']; frontend_url: Scalars['String']['output']; + has_extended_time_test: Scalars['Boolean']['output']; id: Scalars['ID']['output']; live: Scalars['Boolean']['output']; minutes?: Maybe; diff --git a/client/src/gql/schema.graphql b/client/src/gql/schema.graphql index d8e91139..40648cbf 100644 --- a/client/src/gql/schema.graphql +++ b/client/src/gql/schema.graphql @@ -463,6 +463,7 @@ type LearningContentEdoniqTestObjectType implements CoursePageInterface & Learni can_user_self_toggle_course_completion: Boolean! circle: CircleLightObjectType competence_certificate: CompetenceCertificateObjectType + has_extended_time_test: Boolean! } type CourseSessionUserObjectsType { diff --git a/client/src/pages/competence/PerformanceCriteriaPage.vue b/client/src/pages/competence/PerformanceCriteriaPage.vue index b477d563..f69a8f7f 100644 --- a/client/src/pages/competence/PerformanceCriteriaPage.vue +++ b/client/src/pages/competence/PerformanceCriteriaPage.vue @@ -1,8 +1,8 @@