update mongoose to 5.8.3 (lots of types changes)

This commit is contained in:
Thomas Ruoff
2024-09-10 22:44:25 +02:00
parent 3ecbd16a2c
commit 32818b7492
22 changed files with 136 additions and 251 deletions

View File

@@ -4,9 +4,9 @@ import { clearBookingData, loadBookingData } from '../helpers/storage'
import { log } from '../helpers/log'
import { createBooking } from '../helpers/booking'
import { Booking } from '../db/booking'
import { IBooking } from '../db/booking'
export type BookFormData = Omit<Booking, 'uuid' | 'calendarEventId'>
export type BookFormData = Omit<IBooking, 'uuid' | 'calendarEventId'>
type BookingProviderState = {
postData?: boolean
@@ -14,7 +14,7 @@ type BookingProviderState = {
postDataSuccess?: boolean
formData: BookFormData
formDataChanged: string[]
booking?: Booking
booking?: IBooking
dataStored: boolean
dataStoredLoaded: boolean
}