Calendar/wwwroot/data/tenant-settings.json
Janus C. H. Knudsen 9f360237cf Refactor settings model to separate record-based approach
Restructures tenant settings to use individual records instead of a single document

Decouples settings sections into separate typed interfaces with unique IDs
Modifies data loading and service methods to support new record-based settings
Updates mock data and repository to align with new settings structure
2025-12-17 20:53:47 +01:00

58 lines
1.2 KiB
JSON

[
{
"id": "workweek",
"syncStatus": "synced",
"presets": {
"standard": {
"id": "standard",
"workDays": [1, 2, 3, 4, 5],
"label": "Man-Fre"
},
"compressed": {
"id": "compressed",
"workDays": [1, 2, 3],
"label": "Man-Ons"
},
"midweek": {
"id": "midweek",
"workDays": [4, 5],
"label": "Tors-Fre"
},
"weekend": {
"id": "weekend",
"workDays": [6, 7],
"label": "Weekend"
},
"fullweek": {
"id": "fullweek",
"workDays": [1, 2, 3, 4, 5, 6, 7],
"label": "Alle dage"
}
},
"defaultPreset": "standard",
"firstDayOfWeek": 1
},
{
"id": "grid",
"syncStatus": "synced",
"dayStartHour": 6,
"dayEndHour": 22,
"workStartHour": 8,
"workEndHour": 17,
"hourHeight": 80,
"snapInterval": 15
},
{
"id": "timeFormat",
"syncStatus": "synced",
"timezone": "Europe/Copenhagen",
"locale": "da-DK",
"use24HourFormat": true
},
{
"id": "views",
"syncStatus": "synced",
"availableViews": ["simple", "resource", "team", "department"],
"defaultView": "simple"
}
]