@finbheara/archive-client 0.16.1 → 0.16.2
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 +3 -2
- package/dist/chunks/{index-hbb1dnnh.js → index-bpd2j026.js} +4 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -287,7 +287,7 @@ earlier row at a joined school alone is no match. `r.school.lineage` lists the i
|
|
|
287
287
|
asked ones. A release that publishes no lineage (feature `schools.lineage`) joins
|
|
288
288
|
nothing and its answer carries no `lineage`, never refused. The line is read on the same school
|
|
289
289
|
graph as `rel.schools.line` (`@finbheara/domain/school-graph`): untimed, every path, and as of a
|
|
290
|
-
year, every path none of whose steps is dated after it (`LINE_AS_OF`).
|
|
290
|
+
year, every path none of whose steps is dated after it, a rename at any year (`LINE_AS_OF`).
|
|
291
291
|
|
|
292
292
|
`population` is how the dancer's published majors population meets the asked one: `same`,
|
|
293
293
|
`contradicts`, `both`, `unknown`, `unasked`. A dancer's population is read only from its rows at
|
|
@@ -321,7 +321,8 @@ words):
|
|
|
321
321
|
- `school`: every school row of the dancer up to the asked year reads to a school id (an id
|
|
322
322
|
followed through the redirects, a print read by `rel.schools`), and none of them is the asked
|
|
323
323
|
school or a school its line had joined by that year (lineage edges dated in or before the asked
|
|
324
|
-
year
|
|
324
|
+
year, and a rename at any year: one school under two names).
|
|
325
|
+
A dancer with no school row, or a print no school reads, is unknown and never refuted. A
|
|
325
326
|
dancer that ever danced for the asked school's line is never refuted by the school. For an
|
|
326
327
|
adult-category question (the asked band is the adult band, read by `@finbheara/domain`:
|
|
327
328
|
`Adult`, `Advanced Adult`, `Adult Beginner`, `Open Adult`, `Adult Masters`), a row the
|
|
@@ -861,7 +861,10 @@ class SchoolResolver2 {
|
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
var LINE_AS_OF = {
|
|
864
|
+
var LINE_AS_OF = {
|
|
865
|
+
name: "line-as-of",
|
|
866
|
+
keep: (s) => !s.flags.datedAfter || s.link.shape === "rename"
|
|
867
|
+
};
|
|
865
868
|
function schoolLine(lineage, ids, year) {
|
|
866
869
|
const reached = new Set(ids);
|
|
867
870
|
for (const id of ids)
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finbheara/archive-client",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Open a versioned release of an Irish dance results archive: download, verify, decompress and cache it by tag, keep the cache, and resolve feises and schools against it",
|
|
5
5
|
"keywords": ["irish-dance", "results", "release", "cache", "sqlite"],
|
|
6
6
|
"license": "MIT",
|