TeamStaffMembership
Object type
A coaching-staff appointment — a temporal individual↔team link for a COACH or
MANAGER (Team Staff & Squad Management, Phase A; DB team_staff_memberships,
migration 205). Operator-authored only (no upstream feed). endDate: null = the
current appointment. One active MANAGER per team is enforced by a partial-unique
index.
Implements: TeamAffiliation
Fields
Section titled “Fields”| Field | Args | Type | Description |
|---|---|---|---|
id | — | ID! required | — |
individual | — | Individual! required | The COACH or MANAGER individual holding this appointment. |
team | — | Team! required | — |
staffRole | — | StaffRole! required | — |
startDate | — | Date! required | — |
endDate | — | Date | Null = current appointment. |
version | — | Int! required | Optimistic-locking version — pass as expectedVersion on update/end mutations. |
createdAt | — | DateTime! required | — |
updatedAt | — | DateTime! required | — |