MatchSummaryDto
@raizfc/contracts / MatchSummaryDto
Type Alias: MatchSummaryDto
MatchSummaryDto =
Readonly<{awayScore?:number;awayTeam:PublicTeamSummaryDto;categoryId:ID;categoryName:string;championshipId?:ID;championshipName?:string;editionId?:ID;homeScore?:number;homeTeam:PublicTeamSummaryDto;id:ID;pendingAction?:MatchPendingAction;publicRoute:PublicRoute;schedule:MatchScheduleDto;status:MatchStatus;type:MatchType; }>
Defined in: match/match.dto.ts:115
IS-MVP-06.5 (Aba Jogos, SPEC-UX-GAMES-001 "Filtros por... campeonato e categoria"):
categoryId/championshipId let the Games tab build category/championship filter options and
re-query MatchListQuery by id — categoryName/championshipName alone (the only fields this
type carried since IS-MVP-06.1) cannot round-trip into a filter. pendingAction (SPEC-UX- GAMES-001 "Pending Section") is resolved server-side per requesting viewer (matchPendingActionFor,
match-status.ts) from the same team-authority cross-check MatchPermissionsDto.canValidate
already does — absent for anonymous/unauthorized requests. Deliberately never carries a raw
resultReportedByTeamId/reportedAt on this public-reachable type: SPEC-UX-PUBLIC-MATCH-001
"Validation Banner" reserves "quem precisa agir" for authorized gestores, and GET /matches (this
DTO's endpoint) has no authentication requirement.