feat:#22 refactor to cache room schedule and webworker config

This commit is contained in:
survellow
2024-08-02 23:55:58 +02:00
parent e4bde20397
commit 4fcfa76e1c
14 changed files with 164 additions and 83 deletions

View File

@@ -29,6 +29,7 @@ type RoomOccupancy struct {
type RoomOccupancyList struct {
Start time.Time `bson:"start"`
Updated time.Time `bson:"updated"`
Granularity int `bson:"granularity"`
Blocks int `bson:"blocks"`
Rooms []RoomOccupancy `bson:"rooms"`