ReportMatchResultRequest
@raizfc/contracts / ReportMatchResultRequest
Type Alias: ReportMatchResultRequest
ReportMatchResultRequest =
Readonly<{awayScore:number;homeScore:number;notes?:string;reportedByTeamId:ID;version:number; }>
Defined in: match/match-requests.dto.ts:53
POST /matches/:matchId/result (SPEC-API-MATCH-001). reportedByTeamId must be one of the
match's own two teams; the acting user must hold team.manageMatches on that specific team (not
just "either side", unlike start/finish/cancel) — the reporting side becomes
MatchResultDto.reportedByTeamId, which validate later uses to require the contraparte.
version is MatchDto.audit.version, same optimistic-concurrency token every other lifecycle
action already uses.