@wral/hsot-data 0.5.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/define.mjs +1 -1
- package/dist/define.standalone.js +623 -571
- package/dist/{hsot-brackets-ClfXvdcH.js → hsot-brackets-DAlf4dVv.js} +549 -497
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ exactly one of these elements.
|
|
|
13
13
|
| `<hsot-standings>` | Standings, every conference for a sport | `sport`, `gender` (one side of a gendered sport), `season` |
|
|
14
14
|
| `<hsot-rankings>` | The weekly Top 25 with movement + rank history | `sport`, `gender` (poll family), `season`, deep link `?poll=YYYY-MM-DD` |
|
|
15
15
|
| `<hsot-school>` | School hub: hero, team tabs, schedule, roster (headed by the season's roster photo when one is set; positions render as a list, "WR/CB"; a College column appears when a player carries a commitment), honors | `school-id`, `sport` + `gender` (initial tab, deep links `?sport=` / `?gender=`), `season` |
|
|
16
|
-
| `<hsot-boxscore>` | Game detail: line score (stored `periodScores`, or derived from the scoring plays when nothing wrote one — `src/lib/line-score.mjs`, shown only when it reconciles with the score), the desk's scoring-play log when
|
|
16
|
+
| `<hsot-boxscore>` | Game detail: line score (stored `periodScores`, or derived from the scoring plays when nothing wrote one — `src/lib/line-score.mjs`, shown only when it reconciles with the score; for volleyball each row is read as that set's score and checked against the sets won), the desk's scoring-play log when at least one play has a description (period, clock, play, running score; rows with only scores are a set or quarter log the line score already shows), coverage, season context; game notes keep their line breaks | `game-id`, `refresh-interval` |
|
|
17
17
|
| `<hsot-brackets>` | Playoff brackets: a sport's tournaments for the season, rounds as columns laid out from the winner edges (seedings place round one; `GET /tournaments/{id}/edges` is the tree), group tabs for split brackets (East / West / Championship), scores and the champion once played | `sport`, `season`, `tournament-id` (pin one; otherwise `?tournament=` or the bracket in play), `refresh-interval` |
|
|
18
18
|
| `<hsot-school-search>` | "Find Your School" typeahead for the right rail (standalone: fetches `GET /schools?q=` itself, no injected client) | `api`, `school-href`, `limit`, `placeholder` |
|
|
19
19
|
|
|
@@ -41,6 +41,15 @@ with no area code set matches no area. Picking a view or an area writes
|
|
|
41
41
|
scoreboard can be shared; the date is not written back, so a bookmarked page
|
|
42
42
|
still opens on the closest matchday.
|
|
43
43
|
|
|
44
|
+
A game with coverage (`Game.coverageUrls`) lists those links beside its
|
|
45
|
+
"Box score" link, in the same style: "Story", "Video", "Photos", with a
|
|
46
|
+
repeated kind numbered ("Story 2"). The URLs already come with the games list,
|
|
47
|
+
and the labels are read from each URL's shape (`/news/` → Story, `/video/` →
|
|
48
|
+
Video, SmugMug → Photos, anything else "Coverage"; `coverageLinks()` in
|
|
49
|
+
`src/lib/search.mjs`), so the scoreboard makes no search request for them.
|
|
50
|
+
The box score's coverage cards still query the site search for titles and
|
|
51
|
+
images.
|
|
52
|
+
|
|
44
53
|
Shared attributes on every data component (`hsot-school-search` takes only
|
|
45
54
|
`api` and `school-href`):
|
|
46
55
|
|
package/dist/define.mjs
CHANGED