Pular para o conteúdo principal

ScorerAppearanceInput

@raizfc/contracts


@raizfc/contracts / ScorerAppearanceInput

Type Alias: ScorerAppearanceInput

ScorerAppearanceInput = Readonly<{ displayName: string; playerId?: ID; publicRoute?: PublicRoute; teamId: ID; teamName: string; teamRoute: PublicRoute; }>

Defined in: ranking/top-scorer-formula.ts:12

Deterministic top-scorer math, shared verbatim by services/api/src/modules/rankings and packages/mocks — same rationale as ranking-formula.ts#computeTeamRanking. Callers are responsible for only ever passing validated matches within the requested period/territory (SPEC-DOMAIN-RANKING-001) and for excluding any scorer/assist whose player profile is currently private (SPEC-DOMAIN-RANKING-001: "Jogador privado: Excluir ranking público pessoal") — this module has no notion of match status, period, or player privacy and trusts its input entirely.