diff --git a/openapi.yaml b/openapi.yaml index f16a8849..1cb86e4d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8386,6 +8386,18 @@ components: For backward-compatibility the API also accepts camelCase `progressAlertTimeOfDay` on input. pattern: '^([01]\d|2[0-3]):[0-5]\d(?:Z|[+-](?:[01]\d|2[0-3]):?[0-5]\d)$' example: "14:30+02:00" + department_daily_targets: + type: object + description: | + Optional per-department custom daily targets. Keys are department IDs and values are non-negative integers representing the target per operating day for that department. + If omitted, the daily target is split evenly across selected departments. The canonical field name is snake_case `department_daily_targets`. + For backward-compatibility the API also accepts camelCase `departmentDailyTargets` on input. + additionalProperties: + type: integer + minimum: 0 + example: + "12": 3 + "15": 5 DepartmentGoal: type: object diff --git a/src/components/displays/boxes/ElementTabsBox.vue b/src/components/displays/boxes/ElementTabsBox.vue index 80c58db3..f9b953f6 100644 --- a/src/components/displays/boxes/ElementTabsBox.vue +++ b/src/components/displays/boxes/ElementTabsBox.vue @@ -1,5 +1,5 @@