Add staff role mapping, display role in UI, and enhance staff playtime calculations

This commit is contained in:
2025-11-24 00:49:56 +01:00
parent 1d76895cbb
commit fb01fc7571
7 changed files with 59 additions and 17 deletions
@@ -40,6 +40,11 @@ components:
$ref: '#/components/schemas/StaffPlaytime'
StaffPlaytime:
type: object
required:
- staff_member
- playtime
- last_played
- role
properties:
staff_member:
type: string
@@ -51,3 +56,6 @@ components:
type: string
format: date-time
description: Last played timestamp
role:
type: string
description: The role of the staff member