@wral/hsot-data 0.1.8 → 0.1.10
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 +7 -5
- package/dist/define.mjs +1 -1
- package/dist/define.standalone.js +325 -311
- package/dist/{hsot-school-search-R6y64nMR.js → hsot-school-search-CKZtwPCA.js} +433 -419
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ exactly one of these elements.
|
|
|
12
12
|
| `<hsot-scores>` | Scores/Schedules (the scoreboard; future dates are schedules) | `sport`, `date` (YYYY-MM-DD, deep-linkable via `?date=`; defaults to the closest matchday: today when games are on, otherwise the previous one), `season`, `refresh-interval` |
|
|
13
13
|
| `<hsot-standings>` | Standings, every conference for a sport | `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
|
-
| `<hsot-school>` | School hub: hero, team tabs, schedule, roster, honors | `school-id`, `sport` (initial tab, deep link `?sport=`), `season` |
|
|
15
|
+
| `<hsot-school>` | School hub: hero, team tabs, schedule, roster (headed by the season's roster photo when one is set; a College column appears when a player carries a commitment), honors | `school-id`, `sport` (initial tab, deep link `?sport=`), `season` |
|
|
16
16
|
| `<hsot-boxscore>` | Game detail: line score, coverage, season context | `game-id`, `refresh-interval` |
|
|
17
17
|
| `<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` |
|
|
18
18
|
|
|
@@ -89,7 +89,9 @@ Without slotted rail content the view renders full width, unchanged.
|
|
|
89
89
|
Standings, records, streaks and rank badges are **derived client-side** from
|
|
90
90
|
Game and Ranking payloads:
|
|
91
91
|
|
|
92
|
-
- Winner rule: forfeit
|
|
92
|
+
- Winner rule: forfeit → score → tiebreakWinner. `forfeit` names the side
|
|
93
|
+
that **forfeited** (the Studio select reads "Home team forfeits"), so the
|
|
94
|
+
other side wins regardless of score.
|
|
93
95
|
- gameType semantics: scrimmage counts toward nothing; conference counts
|
|
94
96
|
toward overall **and** conference records; nonconference/playoff toward
|
|
95
97
|
overall only.
|
|
@@ -118,9 +120,9 @@ The demo harness (`index.html`) runs the components against a seeded
|
|
|
118
120
|
in-memory client (`src/demo/demo-client.mjs`): a full football season with
|
|
119
121
|
live, overtime, forfeit and postponed games, nine weekly polls, and three
|
|
120
122
|
rosters. **Player names in the demo data are pseudonyms** and stay that way —
|
|
121
|
-
the minors'-names decision (approved 2026-08-19
|
|
122
|
-
|
|
123
|
-
call is made by the harness.
|
|
123
|
+
the minors'-names decision (approved 2026-08-19 for the roster-table fields;
|
|
124
|
+
the college commitment was added 2026-09-09) covers the live public surface,
|
|
125
|
+
not this repo's fixtures. No live api-hsot call is made by the harness.
|
|
124
126
|
|
|
125
127
|
## Consuming
|
|
126
128
|
|
package/dist/define.mjs
CHANGED