@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 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). `count_only` marks a field read from
689
- a registration-by-school page of the corpus `entrants/` part: its rows are schools' counts
690
- (`level_counts`), with no names. A QuickFeis registrant list (`transcripts/*.registrationlist.jsonl`)
691
- is not read into these tables yet. An unknown field or version answers no rows and says
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-8mwx3n9j.js";
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
@@ -74,7 +74,7 @@ import {
74
74
  readLatestCheck2,
75
75
  latestCheck2,
76
76
  staleWarning2
77
- } from "./chunks/index-8mwx3n9j.js";
77
+ } from "./chunks/index-8c1pk7gw.js";
78
78
  import {
79
79
  cacheRoot2,
80
80
  repoOf2
@@ -53,6 +53,7 @@ export interface UpcomingField {
53
53
  feis_brand_id: string | null;
54
54
  comp: FieldComp | null;
55
55
  state: FieldState;
56
+ flags: string[];
56
57
  results_competitions: string[];
57
58
  results_feis_ids: string[];
58
59
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finbheara/archive-client",
3
- "version": "0.26.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",