Enhances IndexedDB service with booking and resource support

Updates IndexedDB database schema to version 2
Adds support for bookings, customers, and resources stores
Includes new serialization methods for booking data
Extends events store with additional indexes for improved querying
This commit is contained in:
Janus C. H. Knudsen 2025-11-16 19:56:31 +01:00
parent 6174dc895e
commit 88cccb3456
6 changed files with 990 additions and 1 deletions

View file

@ -14,6 +14,7 @@
* - One service can be performed by one resource
* - Multiple services can be performed by different resources
* - Example: Hårvask by Student, Bundfarve by Master (same booking, 2 resources)
* - Equal-split: Two services with same type but different resources (e.g., "Bryllupsfrisure Del 1" by Karina, "Bryllupsfrisure Del 2" by Nanna)
*
* Matches backend Booking table structure
*/