Pular para o conteúdo principal

MatchDto

@raizfc/contracts


@raizfc/contracts / MatchDto

Type Alias: MatchDto

MatchDto = Readonly<{ audit: AuditMetadata; awayScore?: number; awayTeam: PublicTeamSummaryDto; cancellationReason?: string; categoryId: ID; categoryName: string; championshipId?: ID; championshipName?: string; createdByTeamId: ID; dispute?: MatchDisputeDto; editionId?: ID; homeScore?: number; homeTeam: PublicTeamSummaryDto; id: ID; publicRoute: PublicRoute; result?: MatchResultDto; retifications?: readonly RetificationDto[]; schedule: MatchScheduleDto; status: MatchStatus; type: MatchType; venue?: MatchVenueDto; }>

Defined in: match/match.dto.ts:32

Management-only view of a match. Deliberately separate from PublicMatchDto (dto/public-match.dto.ts, IS-MVP-01.3) the same way TeamManagementDto is separate from PublicTeamDto — raw team/category ids alongside resolved names, plus audit for optimistic concurrency, so a management response can never be mistaken for a public one.