Pular para o conteúdo principal

TopScorerRowDto

@raizfc/contracts


@raizfc/contracts / TopScorerRowDto

Type Alias: TopScorerRowDto

TopScorerRowDto = Readonly<{ assists: number; badges: readonly RankingBadge[]; displayName: string; goals: number; matchesPlayed: number; playerId?: ID; position: number; publicRoute?: PublicRoute; status: RankingRowStatus; teamId: ID; teamName: string; teamRoute: PublicRoute; }>

Defined in: ranking/top-scorer.dto.ts:18

SPEC-DOMAIN-RANKING-001/SPEC-API-DISCOVERY-001: platform-wide artilharia (top scorers), scoped like RankingDto by period/territory (and, for current_championship, one championshipId) but not itself a RankingTypeGET /rankings/top-scorers is a sibling endpoint, not a RankingQuery.type value, since its row shape (goals/assists per player) is unrelated to RankingRowDto's team/torcida score. status/badges reuse the same Provisório vocabulary as team ranking ("Amostra menor que três jogos recebe Provisório" — the sample here is the scorer's own validated appearances, matchesPlayed, not just their scoring matches).