Add staff role mapping, display role in UI, and enhance staff playtime calculations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user