Pular para o conteúdo principal

PlayerHistoryDto

@raizfc/contracts


@raizfc/contracts / PlayerHistoryDto

Type Alias: PlayerHistoryDto

PlayerHistoryDto = Readonly<{ championships: PublicPlayerSectionDto<PublicPlayerChampionshipDto>; teamLinks: PublicPlayerSectionDto<PublicPlayerTeamLinkDto>; }>

Defined in: player/player-history.dto.ts:17

SPEC-API-PLAYER-001 GET /players/:playerId/history — "Times/campeonatos permitidos". Reuses PublicPlayerTeamLinkDto/PublicPlayerChampionshipDto (IS-MVP-01.2/05.2) rather than a duplicate shape; PlayerHistoryDto is the response container the domain lists as a contract to create, standalone and filterable by team/championship, versus the fixed embedded sections in PublicPlayerResponse.