@wral/hsot-data 0.5.1 → 0.6.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 +9 -0
- package/dist/define.mjs +1 -1
- package/dist/define.standalone.js +175 -145
- package/dist/{hsot-brackets-ClfXvdcH.js → hsot-brackets-CfP_Djqm.js} +149 -119
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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