From 45b606e0e03766f1788c59013e4d715729f3078f Mon Sep 17 00:00:00 2001 From: francis Date: Sun, 14 Apr 2024 21:02:05 +0200 Subject: [PATCH] chore: better file names --- .../components/courses/students/StudentCourseJoinButton.vue | 2 +- frontend/src/components/projects/ChooseGroupCard.vue | 2 +- frontend/src/components/projects/JoinedGroupCard.vue | 2 +- .../services/{admins.service.ts => admin.service.ts} | 0 frontend/src/composables/services/assistant.service.ts | 2 +- .../services/{courses.service.ts => course.service.ts} | 0 .../services/{faculties.service.ts => faculty.service.ts} | 0 .../services/{groups.service.ts => group.service.ts} | 0 .../services/{students.service.ts => student.service.ts} | 2 +- .../services/{teachers.service.ts => teacher.service.ts} | 2 +- frontend/src/store/authentication.store.ts | 4 ++-- frontend/src/test/unit/services/admin_service.test.ts | 2 +- frontend/src/test/unit/services/course_service.test.ts | 2 +- frontend/src/test/unit/services/faculty_service.test.ts | 2 +- frontend/src/test/unit/services/group_service.test.ts | 2 +- frontend/src/test/unit/services/project_service.test.ts | 2 +- frontend/src/test/unit/services/student_service.test.ts | 2 +- frontend/src/test/unit/services/teacher_service.test.ts | 2 +- frontend/src/views/courses/CourseView.vue | 2 +- frontend/src/views/courses/CreateCourseView.vue | 4 ++-- frontend/src/views/courses/SearchCourseView.vue | 4 ++-- frontend/src/views/courses/UpdateCourseView.vue | 4 ++-- frontend/src/views/dashboard/roles/AssistantDashboardView.vue | 2 +- frontend/src/views/dashboard/roles/StudentDashboardView.vue | 2 +- frontend/src/views/dashboard/roles/TeacherDashboardView.vue | 2 +- frontend/src/views/projects/ProjectView.vue | 2 +- frontend/src/views/projects/roles/StudentProjectView.vue | 2 +- frontend/src/views/submissions/submissionView.vue | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) rename frontend/src/composables/services/{admins.service.ts => admin.service.ts} (100%) rename frontend/src/composables/services/{courses.service.ts => course.service.ts} (100%) rename frontend/src/composables/services/{faculties.service.ts => faculty.service.ts} (100%) rename frontend/src/composables/services/{groups.service.ts => group.service.ts} (100%) rename frontend/src/composables/services/{students.service.ts => student.service.ts} (98%) rename frontend/src/composables/services/{teachers.service.ts => teacher.service.ts} (97%) diff --git a/frontend/src/components/courses/students/StudentCourseJoinButton.vue b/frontend/src/components/courses/students/StudentCourseJoinButton.vue index 458379b0..63b8954a 100644 --- a/frontend/src/components/courses/students/StudentCourseJoinButton.vue +++ b/frontend/src/components/courses/students/StudentCourseJoinButton.vue @@ -4,7 +4,7 @@ import { type Course } from '@/types/Course.ts'; import { type Student } from '@/types/users/Student.ts'; import { useAuthStore } from '@/store/authentication.store.ts'; import { useMessagesStore } from '@/store/messages.store.ts'; -import { useStudents } from '@/composables/services/students.service.ts'; +import { useStudents } from '@/composables/services/student.service.ts'; import { useI18n } from 'vue-i18n'; /* Props */ diff --git a/frontend/src/components/projects/ChooseGroupCard.vue b/frontend/src/components/projects/ChooseGroupCard.vue index 38100a49..134d760f 100644 --- a/frontend/src/components/projects/ChooseGroupCard.vue +++ b/frontend/src/components/projects/ChooseGroupCard.vue @@ -2,7 +2,7 @@ import { ref } from 'vue'; import { useI18n } from 'vue-i18n'; import Dialog from 'primevue/dialog'; -import { useStudents } from '@/composables/services/students.service.ts'; +import { useStudents } from '@/composables/services/student.service.ts'; import { storeToRefs } from 'pinia'; import { useAuthStore } from '@/store/authentication.store.ts'; import { type Group } from '@/types/Group.ts'; diff --git a/frontend/src/components/projects/JoinedGroupCard.vue b/frontend/src/components/projects/JoinedGroupCard.vue index 59236d65..c9ad893c 100644 --- a/frontend/src/components/projects/JoinedGroupCard.vue +++ b/frontend/src/components/projects/JoinedGroupCard.vue @@ -1,5 +1,5 @@