@finbheara/archive-client 0.26.0 → 0.27.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 +11 -6
- package/dist/chunks/{index-8mwx3n9j.js → index-8c1pk7gw.js} +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/upcoming.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -661,7 +661,7 @@ o.feises; // [{ occurrence_id, occurrence_ids, name_printed, date_lo, date_hi
|
|
|
661
661
|
// feis_brand_id, feis_instance_id, series_basis, brand_candidates, captured_id, state }]
|
|
662
662
|
const f = await rel.upcoming.fields({ state: "pending" }); // state, feis, field_id, from, to
|
|
663
663
|
f.fields; // [{ field_id, feis_id, source, host_id, competition_code, count_only, occurrence_id,
|
|
664
|
-
// name_printed, date_lo, date_hi, year, feis_brand_id, comp, state,
|
|
664
|
+
// name_printed, date_lo, date_hi, year, feis_brand_id, comp, state, flags,
|
|
665
665
|
// results_competitions, results_feis_ids, version, versions, captured_date, sha256,
|
|
666
666
|
// limits, entrants, stated_rows, printed_total }]
|
|
667
667
|
const e = await rel.upcoming.entrants({ field_id: "fweb:ABC26/101" }); // version: an older capture
|
|
@@ -679,16 +679,21 @@ A FIELD is one competition a competitor list names, `<feis_id>/<code>`, the same
|
|
|
679
679
|
`pending` (on the list), `results` (the release holds its results, `results_competitions` the
|
|
680
680
|
join), `passed` (its first day is before the cut's day and no result is held) or `withdrawn` (the
|
|
681
681
|
host's newest capture no longer lists it). `comp` is the competition reading of its code (`arm`,
|
|
682
|
-
`level`, `feis_level`, `age`, `population`, `kind`, `title`, `why`), null on a count list.
|
|
682
|
+
`level`, `feis_level`, `age`, `population`, `kind`, `title`, `why`), null on a count list. A
|
|
683
|
+
QuickFeis registrant list's field reads it off the list's own by-event label (`source`
|
|
684
|
+
`registration-list`, `title` the label as printed), and `flags` holds the cross-check of the
|
|
685
|
+
list's two documents (`no-event-section`, `event-rows-differ`); `[]` on any other field.
|
|
683
686
|
`limits` names what the capture cannot show (`registered-not-danced`, `paid-in-full-only`, ...).
|
|
684
687
|
|
|
685
688
|
`upcoming.entrants` answers a field's rows in one version, its current one by default. A
|
|
686
689
|
registrant carries the resolver's `arm` and `candidates`, NEVER A `dancer_id`: a list shows who
|
|
687
690
|
registered, not who danced, and a `unique` row's one candidate is read with its `flags`
|
|
688
|
-
(`initial-only`: a FeisWeb print is a surname and an initial
|
|
689
|
-
|
|
690
|
-
(`
|
|
691
|
-
|
|
691
|
+
(`initial-only`: a FeisWeb print is a surname and an initial; `name-hidden`: QuickFeis printed
|
|
692
|
+
`(Name Hidden)`, so the row has no name and no answer). A QuickFeis registrant list
|
|
693
|
+
(`transcripts/*.registrationlist.jsonl`) is one field per printed code, each registrant a row as
|
|
694
|
+
printed. `count_only` marks a field read from an older registration-by-school page of
|
|
695
|
+
the corpus `entrants/` part: its rows are schools' counts (`level_counts`), with no names, and a
|
|
696
|
+
host with a registrant list publishes no such field. An unknown field or version answers no rows and says
|
|
692
697
|
why. On a release without the tables each call refuses by name.
|
|
693
698
|
|
|
694
699
|
## Teachers and adjudicators
|
|
@@ -3979,6 +3979,7 @@ function fieldOf(r) {
|
|
|
3979
3979
|
why: r.comp_why ?? null
|
|
3980
3980
|
},
|
|
3981
3981
|
state: r.state,
|
|
3982
|
+
flags: json(r.flags, []),
|
|
3982
3983
|
results_competitions: json(r.results_competitions, []),
|
|
3983
3984
|
results_feis_ids: json(r.results_feis_ids, []),
|
|
3984
3985
|
version: r.version,
|
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
latestCheck2,
|
|
22
22
|
within,
|
|
23
23
|
staleWarning2
|
|
24
|
-
} from "./chunks/index-
|
|
24
|
+
} from "./chunks/index-8c1pk7gw.js";
|
|
25
25
|
import"./chunks/index-hghdy980.js";
|
|
26
26
|
|
|
27
27
|
var USAGE_HEADER = "usage: idq <verb> [--cache <dir>] [--repo <owner/name>] [--json] [--live]";
|
package/dist/index.js
CHANGED
package/dist/types/upcoming.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finbheara/archive-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
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",
|