Skip to main content

Type Alias: LeagueIndex

LeagueIndex = Lattice & object

Defined in: packages/sdvplot/src/shots/aggregate.ts:149

A season's league cells and zone rates on one lattice ({ radius } for hexagons, { shape: "square", side }): plain JSON, computed once (aggregate.ts:125-146). blazing-the-nets names the cells hexes; here they are cells for either shape, so map that key when loading its JSON.

Type Declaration​

cells​

readonly cells: readonly LeagueCell[]

zones​

readonly zones: Readonly<Record<BasketballZone, Split>>