From 5525595358083db5e52f2eb5efdfed635db2268c Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 15 Jul 2024 19:39:18 +0200 Subject: [PATCH] Add types for utils (#520) --- frontend/src/components/CalendarQalendar.vue | 6 +- frontend/src/components/SettingsGeneral.vue | 20 +++--- .../src/{definitions.js => definitions.ts} | 14 ++-- frontend/src/models.ts | 31 +++++++++ frontend/src/{utils.js => utils.ts} | 65 +++++++++---------- 5 files changed, 80 insertions(+), 56 deletions(-) rename frontend/src/{definitions.js => definitions.ts} (97%) rename frontend/src/{utils.js => utils.ts} (67%) diff --git a/frontend/src/components/CalendarQalendar.vue b/frontend/src/components/CalendarQalendar.vue index a4b6689dc..06cf3c572 100644 --- a/frontend/src/components/CalendarQalendar.vue +++ b/frontend/src/components/CalendarQalendar.vue @@ -8,7 +8,7 @@ import CalendarEvent from '@/elements/calendar/CalendarEvent.vue'; import { appointmentState, bookingStatus, - colorSchemes, + ColorSchemes, dateFormatStrings, defaultSlotDuration, qalendarSlotDurations, @@ -363,8 +363,8 @@ watch(route, () => {