Skip to main content

Function: marks()

marks(team, league, o?): Promise<readonly MarkRow[]>

Defined in: packages/sdvplot/src/marks.ts:122

Every archived mark for one team, best first (logos and wordmarks, every variant and source). Default: the committed shard (deduped, ranked rows). full: true fetches the CDN manifest lazily (once per process) and returns every manifest row for the team, including rows the shard dedupe dropped; a failed download throws DownloadError. Both paths filter on the team only. fetch overrides the global fetch for the manifest download. Throws UnresolvedTeamError when the team is null or does not resolve (strict, as Python).

Parameters​

team​

Value

league​

"aaf" | "ahl" | "cfb" | "cricket" | "echl" | "mbb" | "milb" | "mlb" | "nba" | "nbagl" | "ncaa_baseball" | "ncaa_mhockey" | "ncaa_softball" | "ncaa_whockey" | "nfl" | "nhl" | "ohl" | "phf" | "pwhl" | "qmjhl" | "soccer" | "ufl" | "usfl" | "ushl" | "wbb" | "whl" | "wnba" | "xfl"

o?​

fetch?​

{(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

full?​

boolean

idSystem?​

IdSystem

season?​

SeasonInput

Returns​

Promise<readonly MarkRow[]>