Calendar/wwwroot/data/tenant-settings.json
Janus C. H. Knudsen ad2df353b5 Adds workweek settings and dynamic view configuration
Introduces settings service for managing tenant-specific calendar configurations

Enables dynamic workweek presets with configurable work days
Improves view switching with enhanced UI components
Adds flexible calendar rendering based on tenant settings

Extends DateService to support workweek date generation
2025-12-15 22:24:32 +01:00

57 lines
1.2 KiB
JSON

{
"id": "tenant-settings",
"syncStatus": "synced",
"lastModified": "2025-12-15T10:00:00Z",
"workweek": {
"presets": {
"standard": {
"id": "standard",
"workDays": [1, 2, 3, 4, 5],
"label": "Man-Fre"
},
"compressed": {
"id": "compressed",
"workDays": [1, 2, 3, 4],
"label": "Man-Tor"
},
"midweek": {
"id": "midweek",
"workDays": [3, 4, 5],
"label": "Ons-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
},
"grid": {
"dayStartHour": 6,
"dayEndHour": 22,
"workStartHour": 8,
"workEndHour": 17,
"hourHeight": 80,
"snapInterval": 15
},
"timeFormat": {
"timezone": "Europe/Copenhagen",
"locale": "da-DK",
"use24HourFormat": true
},
"views": {
"availableViews": ["simple", "resource", "team", "department"],
"defaultView": "simple"
}
}