ChampionshipRegistrationStatus
@raizfc/contracts / ChampionshipRegistrationStatus
Type Alias: ChampionshipRegistrationStatus
ChampionshipRegistrationStatus =
"invited"|"requested"|"approved"|"rejected"
Defined in: championship/championship-registration.dto.ts:14
SPEC-DOMAIN-CHAMPIONSHIP-001 "Inscrição de time" flow. invited awaits the team's own
response (decide, acting as the team manager of teamId); requested awaits the
organizer's response (decide, acting under championship.manageRegistrations) — mirrors
ChampionshipRegistrationMode's invite/request origins but is the state of a single
registration, not the edition-wide policy. See championship.application-service.ts#decideRegistration
for the divergence this resolves: SPEC-API-CHAMP-001 lists decide under
championship.manageRegistrations only, but SPEC-DOMAIN-CHAMPIONSHIP-001's flow #2 requires
"Parte oposta aprova quando necessário" — an invited team must be able to accept/reject its own
invite through the same endpoint.