@mailwoman/corpus 10.8.0 → 11.1.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.
Files changed (2118) hide show
  1. package/README.md +46 -8
  2. package/data/PROVENANCE.md +56 -56
  3. package/data/address-source-register.json +65 -3
  4. package/data/corpus-source-inputs.json +24 -0
  5. package/data/license-decisions.json +45 -0
  6. package/data/source-additions.json +16 -1
  7. package/data/training-configs/v0.9.1-pilot-anchor-on.yaml +1 -1
  8. package/data/training-configs/v0.9.7-unit-v3.yaml +1 -1
  9. package/data/training-configs/v0_5_0-classifier-smoke.yaml +1 -1
  10. package/data/training-configs/v0_6_2-crf-fp32-diagnostic.yaml +1 -1
  11. package/data/training-configs/v0_7_0-calibration-label-smoothing.yaml +5 -5
  12. package/data/training-configs/v0_7_0b-calibration-ls005.yaml +1 -1
  13. package/data/training-configs/v0_8_0-finetune-pretrained.yaml +1 -1
  14. package/data/training-configs/v0_8_0-finetune-scratch.yaml +1 -1
  15. package/data/training-configs/v0_8_1-finetune-pretrained.yaml +1 -1
  16. package/data/training-configs/v0_8_1-finetune-scratch.yaml +1 -1
  17. package/data/training-configs/v1.0.0-affixdiag.yaml +1 -1
  18. package/data/training-configs/v1.0.0-consolidation.yaml +1 -1
  19. package/data/training-configs/v1.0.1-consolidation-runA.yaml +1 -1
  20. package/data/training-configs/v1.0.2-consolidation-runB.yaml +2 -2
  21. package/data/training-configs/v1.0.3-consolidation-runC.yaml +1 -1
  22. package/data/training-configs/v1.0.4-probe0-curriculum.yaml +1 -1
  23. package/data/training-configs/v1.3.0-boundary-consolidation.yaml +1 -1
  24. package/data/training-configs/v1.4.0-charoffset.yaml +1 -1
  25. package/data/training-configs/v1.5.0-fr-order.yaml +1 -1
  26. package/data/training-configs/v1.9.4-fr-bare-street.yaml +2 -2
  27. package/data/training-configs/v1.9.5-surface-aug.yaml +2 -2
  28. package/data/training-configs/v1.9.6-surface-aug-full.yaml +3 -3
  29. package/data/training-configs/v1.9.8-bare-street-bsplice.yaml +3 -3
  30. package/data/training-configs/v1.9.9-bare-street-si.yaml +3 -3
  31. package/data/training-configs/v2.5.0-fragment-assay.yaml +1 -1
  32. package/data/training-configs/v2.6.4-country-softguard.yaml +1 -1
  33. package/data/training-configs/v2.6.5-country-softguard-025.yaml +1 -1
  34. package/data/training-configs/v3.0.0-span-head.yaml +2 -2
  35. package/data/training-configs/v3.0.1-span-head-lr.yaml +2 -2
  36. package/data/training-configs/v3.10.0-span-ship-probe.yaml +1 -1
  37. package/data/training-configs/v3.4.1-norway-full.yaml +1 -1
  38. package/data/training-configs/v3.5.2-numsplice3-probe.yaml +3 -3
  39. package/data/training-configs/v3.5.3-numsplice23-probe.yaml +2 -2
  40. package/data/training-configs/v3.5.4-numsplice3-full.yaml +3 -3
  41. package/data/training-configs/v3.8.4-latam-probe.yaml +1 -1
  42. package/data/training-configs/v4.0.0-base-60k.yaml +1 -1
  43. package/data/training-configs/v4.0.1-base-60k.yaml +1 -1
  44. package/data/training-configs/v4.10.0-trailing-region-lowdose-8k.yaml +2 -2
  45. package/data/training-configs/v4.11.0-house-venue-intl-4k.yaml +5 -5
  46. package/data/training-configs/v4.12.0-house-venue-ewc1e5-4k.yaml +6 -6
  47. package/data/training-configs/v4.14.0-house-venue-1k.yaml +4 -4
  48. package/data/training-configs/v4.2.0-base-anchor-v2-2k.yaml +1 -1
  49. package/data/training-configs/v4.2.0-base-anchor-v2.yaml +2 -2
  50. package/data/training-configs/v4.3.0-suffix-boundary-8k.yaml +1 -1
  51. package/data/training-configs/v4.3.1-suffix-boundary-target-dose-8k.yaml +1 -1
  52. package/data/training-configs/v4.3.2-suffix-boundary-idempotent-feed-8k.yaml +1 -1
  53. package/data/training-configs/v4.5.1-psc-frsurfaces-2k.yaml +1 -1
  54. package/data/training-configs/v4.5.2-psc-frsurfaces-2k.yaml +1 -1
  55. package/data/training-configs/v4.6.0-admin-surfaces-base-60k.yaml +1 -1
  56. package/data/training-configs/v4.6.0-admin-surfaces-smoke-500.yaml +1 -1
  57. package/data/training-configs/v4.7.0-trailing-region-structured-8k.yaml +2 -2
  58. package/data/training-configs/v4.7.0-trailing-region-structured-smoke-500.yaml +2 -2
  59. package/data/training-configs/v4.8.0-trailing-region-placement-8k.yaml +7 -7
  60. package/data/training-configs/v4.8.0-trailing-region-placement-smoke-500.yaml +7 -7
  61. package/data/training-configs/v4.9.0-trailing-region-leftcontext-8k.yaml +3 -3
  62. package/data/training-configs/v5.0.0-base-alltails-60k.yaml +1 -1
  63. package/data/training-configs/v5.2.0-seed-variance-60k.yaml +1 -1
  64. package/data/training-configs/v5.3.0-reviewed-ve-postcode-tail-60k.yaml +2 -2
  65. package/data/training-configs/v5.4.0-target-families-2k.yaml +3 -3
  66. package/data/training-configs/v5.4.0-target-families-60k.yaml +3 -3
  67. package/data/training-configs/v5.5.0-restored-generations-60k.yaml +5 -5
  68. package/data/training-configs/v5.6.0-bare-postcode-60k.yaml +8 -8
  69. package/data/training-configs/v5.7.0-region-code-and-unit-60k.yaml +6 -6
  70. package/data/training-configs/v5.8.0-gazetteer-choreography-off-60k.yaml +8 -8
  71. package/data/training-configs/v5.9.0-locality-shape-60k.yaml +4 -4
  72. package/data/training-configs/v6.0.0-register-surface-60k.yaml +2 -2
  73. package/data/training-configs/v7.0.0-de-holdout-60k.yaml +2 -2
  74. package/data/training-configs/v7.1.0-osm-exposure-60k.yaml +3 -3
  75. package/data/training-configs/v7.10.0-gb-county-60k-s43.yaml +1 -1
  76. package/data/training-configs/v7.10.0-gb-county-60k.yaml +1 -1
  77. package/data/training-configs/v7.2.0-address-systems-60k.yaml +1 -1
  78. package/data/training-configs/v7.4.0-venue-planet-60k.yaml +1 -1
  79. package/data/training-configs/v7.7.0-no-ppd-60k.yaml +2 -2
  80. package/data/training-configs/v7.8.0-rights-clean-60k.yaml +1 -1
  81. package/data/training-configs/v7.9.0-country-gap-60k.yaml +2 -2
  82. package/data/training-configs/v8-cjk-full.yaml +5 -5
  83. package/data/training-configs/v8-cjk-kana.yaml +1 -1
  84. package/data/training-configs/v8-cjk-kr-probe.yaml +1 -1
  85. package/data/training-configs/v8-cjk-kr.yaml +1 -1
  86. package/data/training-configs/v8-cjk-regs.yaml +1 -1
  87. package/data/training-configs/v8-cjk-shi.yaml +1 -1
  88. package/data/training-configs/v8-jp-full-2k.yaml +7 -7
  89. package/data/training-configs/v8-jp-full.yaml +8 -8
  90. package/data/training-configs/v8.0.0-postcode-move-p000-60k.yaml +1 -1
  91. package/data/training-configs/v8.0.0-postcode-move-p005-60k.yaml +1 -1
  92. package/data/training-configs/v8.0.0-postcode-move-p015-60k.yaml +1 -1
  93. package/data/training-configs/v8.1.0-base-60k-s43.yaml +3 -3
  94. package/data/training-configs/v8.1.0-base-60k.yaml +1 -1
  95. package/data/training-configs/v8.2.0-base-60k.yaml +2 -2
  96. package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s42.yaml +1 -1
  97. package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s43.yaml +1 -1
  98. package/data/training-configs/v8.3.0-base-c6-60k-s43.yaml +1 -1
  99. package/data/training-configs/v8.3.0-base-c6-60k.yaml +1 -1
  100. package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s42.yaml +2 -2
  101. package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s43.yaml +2 -2
  102. package/data/training-configs/v8.3.0-base-c6-90k-mixed-s42.yaml +2 -2
  103. package/data/training-configs/v8.3.0-base-c6-90k-mixed-s43.yaml +2 -2
  104. package/data/training-configs/v8.3.0-probe-c4-split-digits-2k.yaml +1 -1
  105. package/data/training-configs/v8.3.0-probe-c5-mixed-digits-2k.yaml +1 -1
  106. package/data/training-configs/v8.3.0-probe-c6-isolated-punctuation-2k.yaml +1 -1
  107. package/data/training-configs/v8.3.0-probe-code-unit-2k.yaml +1 -1
  108. package/data/training-configs/v8.3.0-probe-rust-loader-2k.yaml +3 -3
  109. package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s42.yaml +4 -4
  110. package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s43.yaml +4 -4
  111. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42-r2.yaml +1 -1
  112. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42.yaml +1 -1
  113. package/data/training-configs/v8.3.2-base-c6-90k-v0810-s43.yaml +1 -1
  114. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42-r2.yaml +1 -1
  115. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42.yaml +1 -1
  116. package/data/training-configs/v8.4.0-base-c6-90k-v0812-s43.yaml +1 -1
  117. package/data/training-configs/v8.6.0-base-c6-90k-v0816-s42.yaml +2 -2
  118. package/data/training-configs/v8.6.1-base-c6-90k-v0817-s42.yaml +3 -3
  119. package/data/training-configs/v8.6.2-base-c6-90k-v0817-wof15-s42.yaml +1 -1
  120. package/data/training-configs/v8.6.3-base-c6-90k-v0818-wof15-s42.yaml +1 -1
  121. package/lib/adapters/cordis/adapter.ts +9 -10
  122. package/lib/adapters/dedup-key.ts +5 -6
  123. package/lib/adapters/errors.ts +3 -4
  124. package/lib/adapters/geonames/adapter.ts +5 -6
  125. package/lib/adapters/geonames/features/adapter.ts +3 -3
  126. package/lib/adapters/geonames/postal/adapter.ts +5 -6
  127. package/lib/adapters/gleif/adapter.ts +87 -67
  128. package/lib/adapters/libpostal-dictionary.ts +3 -4
  129. package/lib/adapters/openaddresses/adapter.ts +9 -7
  130. package/lib/adapters/osm/adapter.ts +11 -9
  131. package/lib/adapters/osm/license.ts +4 -4
  132. package/lib/adapters/overture/adapter.ts +6 -5
  133. package/lib/adapters/overture/paths.ts +25 -0
  134. package/lib/adapters/po-box/adapter.ts +9 -9
  135. package/lib/adapters/present.ts +3 -0
  136. package/lib/adapters/record-id.ts +3 -3
  137. package/lib/adapters/registry.ts +7 -7
  138. package/lib/adapters/sha256-stream.ts +3 -4
  139. package/lib/adapters/source-id.ts +12 -10
  140. package/lib/adapters/street/line.ts +37 -21
  141. package/lib/adapters/street/unit.ts +61 -16
  142. package/lib/adapters/wof/admin/json/adapter.ts +37 -32
  143. package/lib/adapters/wof/admin/json/explore.ts +15 -17
  144. package/lib/adapters/wof/admin/json/region-codes.ts +28 -9
  145. package/lib/adapters/wof/json-rows.ts +6 -6
  146. package/lib/adapters/wof/postalcode-json/adapter.ts +13 -10
  147. package/lib/adapters/wof/record-cache.ts +3 -3
  148. package/lib/adapters/wof/sample.ts +4 -4
  149. package/lib/adapters.ts +45 -30
  150. package/lib/address-records/admission.ts +86 -0
  151. package/lib/address-records/legal-forms.ts +34 -0
  152. package/lib/address-records/openaddresses.ts +202 -0
  153. package/lib/address-records/overture.ts +149 -0
  154. package/lib/au/adapters/gnaf/adapter.ts +10 -10
  155. package/lib/au/adapters/gnaf/assemble.ts +19 -13
  156. package/lib/au/recipes/delivery-guideline.ts +10 -10
  157. package/lib/au/recipes/unit-type-guideline.ts +15 -14
  158. package/lib/az/adapters/opendata/adapter.ts +28 -21
  159. package/lib/be/adapters/brussels/adapter.ts +110 -88
  160. package/lib/be/adapters/vlaanderen/adapter.ts +53 -45
  161. package/lib/be/adapters/wallonie/adapter.ts +118 -90
  162. package/lib/be/tools/fetch/brussels.ts +15 -14
  163. package/lib/be/tools/fetch/wallonie.ts +15 -15
  164. package/lib/bs/adapters/gbpa/adapter.ts +19 -15
  165. package/lib/build/adapters.ts +62 -5
  166. package/lib/build/align/range.ts +3 -3
  167. package/lib/build/align/totals.ts +3 -3
  168. package/lib/build/align.ts +5 -5
  169. package/lib/build/budget.ts +4 -4
  170. package/lib/build/checkpoint.ts +5 -5
  171. package/lib/build/code-hash.ts +10 -7
  172. package/lib/build/component-check.ts +5 -5
  173. package/lib/build/eligibility.ts +3 -3
  174. package/lib/build/heap.ts +3 -3
  175. package/lib/build/holdout-check.ts +4 -4
  176. package/lib/build/inputs.ts +44 -12
  177. package/lib/build/lock.ts +3 -3
  178. package/lib/build/manifest.ts +3 -3
  179. package/lib/build/parallel.ts +14 -9
  180. package/lib/build/prior-output.ts +3 -3
  181. package/lib/build/rows.ts +3 -3
  182. package/lib/build/settings.ts +4 -4
  183. package/lib/build/source-record.ts +5 -14
  184. package/lib/build/types.ts +5 -5
  185. package/lib/build/worker.ts +12 -4
  186. package/lib/build.ts +14 -11
  187. package/lib/cjk/builder.ts +5 -5
  188. package/lib/cjk/foreign-places.ts +9 -7
  189. package/lib/cjk/overlay.ts +3 -3
  190. package/lib/cjk/registry.ts +12 -12
  191. package/lib/cjk/text.ts +4 -4
  192. package/lib/cn/recipes/organizational-units.ts +3 -3
  193. package/lib/cz/adapters/cuzk/adapter.ts +8 -9
  194. package/lib/cz/recipes/pcfirst-preposition.ts +9 -10
  195. package/lib/cz/tools/fetch/cuzk.ts +55 -52
  196. package/lib/de/fragment-board.ts +3 -3
  197. package/lib/de/recipes/locale.ts +15 -13
  198. package/lib/de/recipes/postfach-guideline.ts +5 -6
  199. package/lib/directory.ts +3 -3
  200. package/lib/dk/adapters/inspire/adapter.ts +51 -42
  201. package/lib/dk/tools/fetch/inspire.ts +33 -31
  202. package/lib/ee/adapters/ads/adapter.ts +44 -37
  203. package/lib/ee/tools/fetch/ads.ts +37 -31
  204. package/lib/env.ts +3 -4
  205. package/lib/es/adapters/bizkaia/adapter.ts +70 -58
  206. package/lib/es/adapters/catastro/adapter.ts +63 -49
  207. package/lib/es/adapters/gipuzkoa/adapter.ts +49 -40
  208. package/lib/es/adapters/navarra/adapter.ts +41 -33
  209. package/lib/es/cadastre.ts +15 -14
  210. package/lib/es/tools/fetch/bizkaia.ts +50 -39
  211. package/lib/es/tools/fetch/catastro.ts +52 -48
  212. package/lib/es/tools/fetch/gipuzkoa.ts +30 -26
  213. package/lib/es/tools/fetch/navarra.ts +39 -38
  214. package/lib/fi/adapters/ryhti/adapter.ts +52 -46
  215. package/lib/fi/tools/fetch/ryhti.ts +35 -35
  216. package/lib/fingerprints.ts +4 -4
  217. package/lib/fo/adapters/adressur/adapter.ts +23 -19
  218. package/lib/fr/adapters/annuaire-education/adapter.ts +76 -67
  219. package/lib/fr/adapters/ban/adapter.ts +24 -17
  220. package/lib/fr/adapters/finess/adapter.ts +75 -59
  221. package/lib/fr/adapters/finess/postal-lines.ts +11 -12
  222. package/lib/fr/adapters/finess/voie-type.ts +24 -23
  223. package/lib/fr/address-records/ban.ts +131 -0
  224. package/lib/fr/insee-country.ts +11 -10
  225. package/lib/fr/recipes/admin-split.ts +8 -6
  226. package/lib/fr/recipes/bare-street.ts +3 -4
  227. package/lib/fr/recipes/fragment.ts +7 -7
  228. package/lib/fr/recipes/house-venue-tuples.ts +5 -5
  229. package/lib/fr/recipes/lieudit.ts +23 -19
  230. package/lib/fr/recipes/order.ts +9 -8
  231. package/lib/fr/recipes/unit-line-guideline.ts +14 -11
  232. package/lib/fr/street-decompose.ts +8 -6
  233. package/lib/fr/tools/fetch/annuaire-education.ts +18 -14
  234. package/lib/fr/tools/fetch/ban.ts +17 -15
  235. package/lib/fr/tools/fetch/finess.ts +57 -36
  236. package/lib/gauntlet-inputs.ts +6 -6
  237. package/lib/gb/adapters/os-open/adapter.ts +23 -16
  238. package/lib/gb/constituent-country.ts +9 -8
  239. package/lib/gb/county.ts +14 -13
  240. package/lib/gb/os-open/nearest-link.ts +13 -12
  241. package/lib/gb/os-open/open/names.ts +13 -11
  242. package/lib/gb/os-open/open/roads.ts +98 -13
  243. package/lib/gb/recipes/house-venue-tuples.ts +8 -8
  244. package/lib/gb/recipes/sub-building-guideline.ts +11 -10
  245. package/lib/gb/tools/fetch/os-open.ts +12 -10
  246. package/lib/gu/adapters/bsp/adapter.ts +25 -22
  247. package/lib/im/adapters/land-registry/adapter.ts +23 -19
  248. package/lib/index.ts +2 -5
  249. package/lib/inspire/address.ts +37 -32
  250. package/lib/inspire/archive.ts +13 -12
  251. package/lib/inspire/errors.ts +12 -11
  252. package/lib/inspire/stream.ts +27 -25
  253. package/lib/international/recipes/locale.ts +30 -21
  254. package/lib/it/adapters/anac/adapter.ts +83 -71
  255. package/lib/it/recipes/casella-postale-guideline.ts +13 -12
  256. package/lib/it/recipes/unit-line-guideline.ts +10 -9
  257. package/lib/it/tools/fetch/anac.ts +25 -24
  258. package/lib/jp/adapters/wof-admin/adapter.ts +12 -13
  259. package/lib/jp/corpus/assemble.ts +3 -3
  260. package/lib/jp/corpus/probe.ts +3 -3
  261. package/lib/jp/corpus/rows.ts +3 -3
  262. package/lib/jp/corpus/sources.ts +5 -5
  263. package/lib/jp/kana.ts +3 -3
  264. package/lib/jp/registers.ts +3 -3
  265. package/lib/jp/text.ts +3 -3
  266. package/lib/jp/tools/fetch/houjin.ts +78 -23
  267. package/lib/kr/adapters/juso/label-rows.ts +10 -10
  268. package/lib/kr/adapters/localdata/align.ts +7 -7
  269. package/lib/kr/adapters/localdata/key-index.ts +6 -6
  270. package/lib/kr/adapters/localdata/permit-rows.ts +11 -10
  271. package/lib/kr/corpus/assemble.ts +8 -8
  272. package/lib/kr/corpus/rows.ts +4 -4
  273. package/lib/kr/tools/fetch/juso.ts +82 -33
  274. package/lib/kr/tools/fetch/localdata.ts +61 -43
  275. package/lib/li/adapters/llv/adapter.ts +23 -18
  276. package/lib/lu/adapters/bd-adresses/adapter.ts +46 -46
  277. package/lib/lu/tools/fetch/bd-adresses.ts +33 -30
  278. package/lib/lv/adapters/varis/adapter.ts +94 -73
  279. package/lib/lv/tools/fetch/varis.ts +11 -10
  280. package/lib/nl/adapters/kadaster/adapter.ts +85 -64
  281. package/lib/nl/recipes/postcode.ts +16 -13
  282. package/lib/nl/tools/fetch/kadaster.ts +17 -17
  283. package/lib/no/adapters/matrikkelen/adapter.ts +17 -16
  284. package/lib/no/recipes/fragment.ts +2 -5
  285. package/lib/no/recipes/street/led.ts +8 -8
  286. package/lib/no/recipes/street.ts +7 -7
  287. package/lib/no/tools/fetch/matrikkelen.ts +32 -28
  288. package/lib/nz/recipes/unit-type-guideline.ts +13 -13
  289. package/lib/parquet/corpus-rows.ts +3 -3
  290. package/lib/parquet/duckdb.ts +22 -13
  291. package/lib/parquet/readers.ts +3 -3
  292. package/lib/parquet/record.ts +8 -8
  293. package/lib/parquet/schema.ts +6 -6
  294. package/lib/parquet/shuffle.ts +4 -4
  295. package/lib/parquet/span-sql.ts +3 -3
  296. package/lib/parquet/streams.ts +4 -4
  297. package/lib/parquet/writers.ts +8 -8
  298. package/lib/pl/adapters/emuia/adapter.ts +56 -45
  299. package/lib/pl/tools/fetch/emuia.ts +62 -50
  300. package/lib/post-offices/source.ts +112 -0
  301. package/lib/post-offices/sources.ts +18 -0
  302. package/lib/recipes/address-points.ts +4 -4
  303. package/lib/recipes/anchor-absorption.ts +10 -9
  304. package/lib/recipes/bare/country.ts +3 -0
  305. package/lib/recipes/bare/postcode/eval.ts +7 -7
  306. package/lib/recipes/bare/postcode.ts +13 -13
  307. package/lib/recipes/boundary-stress.ts +6 -6
  308. package/lib/recipes/country-balanced.ts +21 -12
  309. package/lib/recipes/deepseek/batches.ts +7 -7
  310. package/lib/recipes/deepseek/client.ts +3 -3
  311. package/lib/recipes/deepseek/generate.ts +3 -3
  312. package/lib/recipes/deepseek/kryptonite.ts +4 -4
  313. package/lib/recipes/deepseek/prompts.ts +3 -3
  314. package/lib/recipes/deepseek/run.ts +5 -5
  315. package/lib/recipes/deepseek/transliteration.ts +4 -4
  316. package/lib/recipes/fragment-assay/build.ts +3 -3
  317. package/lib/recipes/fragment-assay/rows.ts +3 -3
  318. package/lib/recipes/fragment-assay/sources.ts +7 -7
  319. package/lib/recipes/house/venue/tuples.ts +4 -4
  320. package/lib/recipes/house/venue.ts +9 -9
  321. package/lib/recipes/intersection.ts +22 -19
  322. package/lib/recipes/po/box/cedex/au-nz.ts +2 -3
  323. package/lib/recipes/po/box/cedex/ca.ts +2 -3
  324. package/lib/recipes/po/box/cedex/fr.ts +2 -3
  325. package/lib/recipes/po/box/cedex/phrases.ts +2 -3
  326. package/lib/recipes/po/box/cedex/recipe.ts +4 -5
  327. package/lib/recipes/po/box/cedex/sources.ts +4 -5
  328. package/lib/recipes/po/box/cedex/types.ts +2 -3
  329. package/lib/recipes/po/box/cedex/us.ts +2 -3
  330. package/lib/recipes/po/box/cedex/vocabulary.ts +2 -3
  331. package/lib/recipes/po/box/cedex.ts +3 -4
  332. package/lib/recipes/po/box.ts +4 -5
  333. package/lib/recipes/postal/guideline/leg.ts +5 -5
  334. package/lib/recipes/postal/guideline.ts +11 -10
  335. package/lib/recipes/postal/unit-guideline.ts +16 -14
  336. package/lib/recipes/scaffold.ts +11 -11
  337. package/lib/recipes/secondary.ts +3 -3
  338. package/lib/recipes/sources.ts +9 -9
  339. package/lib/recipes/street/affix.ts +15 -12
  340. package/lib/recipes/street/bare.ts +16 -14
  341. package/lib/recipes/street.ts +6 -6
  342. package/lib/recipes/sub/venue/context.ts +9 -9
  343. package/lib/recipes/sub/venue/render.ts +3 -3
  344. package/lib/recipes/sub/venue/sources.ts +3 -6
  345. package/lib/recipes/sub/venue.ts +5 -6
  346. package/lib/recipes/trailing-region.ts +14 -14
  347. package/lib/recipes/unit.ts +11 -11
  348. package/lib/recipes/venue.ts +24 -21
  349. package/lib/recipes.ts +9 -8
  350. package/lib/registers.ts +7 -4
  351. package/lib/ro/adapters/retea-scolara/adapter.ts +36 -28
  352. package/lib/ro/tools/fetch/retea-scolara.ts +10 -9
  353. package/lib/runner.ts +24 -9
  354. package/lib/sg/recipes/register.ts +7 -7
  355. package/lib/sg/tools/fetch/acra.ts +19 -7
  356. package/lib/si/recipes/bare-village.ts +16 -13
  357. package/lib/sk/adapters/inspire/adapter.ts +78 -56
  358. package/lib/sk/tools/fetch/inspire.ts +37 -33
  359. package/lib/source-register/corpus-inputs.ts +22 -18
  360. package/lib/source-register/effective-manifest.ts +22 -10
  361. package/lib/source-register/register.ts +5 -6
  362. package/lib/source-register/row-license.ts +19 -15
  363. package/lib/source-register/training-manifest.ts +18 -18
  364. package/lib/source-register/types.ts +11 -11
  365. package/lib/source-register.ts +7 -7
  366. package/lib/south-asia/recipes/register.ts +20 -17
  367. package/lib/street-index/reader.ts +3 -3
  368. package/lib/street-index/schema.ts +3 -3
  369. package/lib/street-index/write.ts +3 -3
  370. package/lib/subvenue/harvest.ts +35 -25
  371. package/lib/subvenue/promotions.ts +4 -5
  372. package/lib/subvenue/surfaces.ts +4 -5
  373. package/lib/subvenue/table.ts +5 -6
  374. package/lib/surfaces/locale.ts +13 -12
  375. package/lib/synthesizers/anchor-absorption.ts +6 -6
  376. package/lib/synthesizers/boundary-stress.ts +4 -5
  377. package/lib/synthesizers/house-venue.ts +3 -4
  378. package/lib/synthesizers/no-street.ts +8 -7
  379. package/lib/synthesizers/po-box.ts +5 -5
  380. package/lib/synthesizers/tail.ts +10 -10
  381. package/lib/synthesizers/utils.ts +31 -6
  382. package/lib/test-kit/corpus-recipe.ts +6 -7
  383. package/lib/test-kit.ts +8 -7
  384. package/lib/tools/align-canonical.ts +5 -2
  385. package/lib/tools/audit.ts +9 -9
  386. package/lib/tools/cjk/foreign-places.run.ts +3 -3
  387. package/lib/tools/cjk/overlay.run.ts +3 -3
  388. package/lib/tools/corpus-stats.ts +14 -12
  389. package/lib/tools/de-fragment-board.run.ts +6 -6
  390. package/lib/tools/deepseek.run.ts +3 -3
  391. package/lib/tools/fetch/atom.ts +6 -6
  392. package/lib/tools/fetch/cordis.ts +16 -15
  393. package/lib/tools/fetch/download/manifest.ts +8 -8
  394. package/lib/tools/fetch/download/network.ts +11 -5
  395. package/lib/tools/fetch/download/retry.ts +6 -10
  396. package/lib/tools/fetch/download.ts +3 -3
  397. package/lib/tools/fetch/geonames/dump.ts +26 -18
  398. package/lib/tools/fetch/geonames/postal.ts +13 -13
  399. package/lib/tools/fetch/gleif.ts +22 -20
  400. package/lib/tools/fetch/header.ts +9 -12
  401. package/lib/tools/fetch/inspire-addresses.ts +23 -20
  402. package/lib/tools/fetch/openaddresses.ts +385 -9
  403. package/lib/tools/fetch/ourairports.ts +5 -6
  404. package/lib/tools/fetch/storage.ts +404 -0
  405. package/lib/tools/fetch/vlaanderen-ad.ts +26 -25
  406. package/lib/tools/fetch/wfs-harvest.ts +55 -41
  407. package/lib/tools/fetch/wikidata/session.ts +8 -8
  408. package/lib/tools/fetch/wikidata/subvenue.ts +5 -5
  409. package/lib/tools/fetch/wikidata/vital-places/classify.ts +27 -21
  410. package/lib/tools/fetch/wikidata/vital-places/entities.ts +34 -30
  411. package/lib/tools/fetch/wikidata/vital-places/inventory.ts +6 -7
  412. package/lib/tools/fetch/wikidata/vital-places/progress.ts +3 -4
  413. package/lib/tools/fetch/wikidata/vital-places/qrank.ts +12 -11
  414. package/lib/tools/fetch/wikidata/vital-places/query-entities.ts +20 -12
  415. package/lib/tools/fetch/wikidata/vital-places/render.ts +11 -10
  416. package/lib/tools/fetch/wikidata/vital-places.ts +17 -15
  417. package/lib/tools/fetch/zip-archive.ts +5 -5
  418. package/lib/tools/fetch.ts +7 -4
  419. package/lib/tools/fragment-assay.run.ts +7 -7
  420. package/lib/tools/golden/expand.ts +25 -24
  421. package/lib/tools/golden/promote.ts +7 -7
  422. package/lib/tools/golden/relabel-street/directory.ts +3 -3
  423. package/lib/tools/golden/relabel-street/row.ts +5 -5
  424. package/lib/tools/golden/relabel-street.ts +3 -3
  425. package/lib/tools/house-venue-tuples.run.ts +3 -3
  426. package/lib/tools/ingest-csv.ts +12 -16
  427. package/lib/tools/input-changes.ts +6 -5
  428. package/lib/tools/jp/corpus.run.ts +3 -3
  429. package/lib/tools/jp/probe-corpus.run.ts +3 -3
  430. package/lib/tools/jsonl-to-parquet.ts +12 -8
  431. package/lib/tools/kr-corpus.run.ts +3 -3
  432. package/lib/tools/lint/recipe-output/vocab.ts +19 -14
  433. package/lib/tools/lint/recipe-output.ts +13 -10
  434. package/lib/tools/migrate/overlay-parquet.ts +6 -6
  435. package/lib/tools/migrate/recipe-output.ts +4 -4
  436. package/lib/tools/migrate/source-names.ts +4 -4
  437. package/lib/tools/overlay/deletions.ts +7 -7
  438. package/lib/tools/overlay/distinct-row-ids.ts +3 -3
  439. package/lib/tools/overlay/held-out-spans.ts +5 -5
  440. package/lib/tools/overlay/kryptonite.ts +9 -9
  441. package/lib/tools/overlay/manifest.ts +4 -5
  442. package/lib/tools/overlay/merge-source.ts +3 -3
  443. package/lib/tools/overlay/split/attribute.ts +3 -3
  444. package/lib/tools/overlay/split/overlay.ts +3 -3
  445. package/lib/tools/overlay/translit.ts +20 -20
  446. package/lib/tools/overture-subvenue.ts +8 -8
  447. package/lib/tools/postcode/non-native-order.ts +16 -14
  448. package/lib/tools/postcode/triples.ts +13 -15
  449. package/lib/tools/registry-corpus.run.ts +3 -3
  450. package/lib/tools/secondary.run.ts +3 -3
  451. package/lib/tools/source-register/build.ts +14 -14
  452. package/lib/tools/street-index/build.run.ts +3 -3
  453. package/lib/tools/street-index/build.ts +3 -3
  454. package/lib/tools/sub/venue/head-nouns.ts +3 -4
  455. package/lib/tools/sub/venue/lexicon.ts +4 -5
  456. package/lib/tools/sub/venue/wikidata.ts +10 -9
  457. package/lib/tools/support-index.ts +13 -12
  458. package/lib/tools/tw-corpus.run.ts +3 -3
  459. package/lib/tools/variety-sample.ts +15 -13
  460. package/lib/tools/vital-places.run.ts +12 -9
  461. package/lib/training/config/admission.ts +5 -6
  462. package/lib/training/config/load.ts +22 -17
  463. package/lib/training/config/python-yaml.ts +16 -12
  464. package/lib/training/config/resolved.ts +6 -6
  465. package/lib/training/config/schema.ts +13 -10
  466. package/lib/tw/corpus/assemble.ts +3 -3
  467. package/lib/tw/corpus/rows.ts +5 -5
  468. package/lib/tw/registers.ts +4 -4
  469. package/lib/tw/tools/fetch/gcis.ts +54 -39
  470. package/lib/types.ts +10 -11
  471. package/lib/us/abbrev/region-samples.ts +10 -8
  472. package/lib/us/abbrev/regions.ts +6 -6
  473. package/lib/us/adapters/fcc-bdc/adapter.ts +6 -7
  474. package/lib/us/adapters/state/hi-schools/adapter.ts +14 -13
  475. package/lib/us/adapters/state/hi-schools/workbook.ts +2 -5
  476. package/lib/us/adapters/state/ia-contractors/adapter.ts +5 -6
  477. package/lib/us/adapters/state/ny-notaries/adapter.ts +7 -8
  478. package/lib/us/adapters/state/tx-notaries/adapter.ts +7 -7
  479. package/lib/us/adapters/tiger/adapter.ts +3 -4
  480. package/lib/us/adapters/tiger/street-decompose.ts +7 -8
  481. package/lib/us/adapters/usgov/hrsa-fqhc/adapter.ts +23 -20
  482. package/lib/us/adapters/usgov/imls-pls/adapter.ts +9 -10
  483. package/lib/us/adapters/usgov/irs-bmf/adapter.ts +15 -14
  484. package/lib/us/adapters/usgov/nad/adapter.ts +182 -80
  485. package/lib/us/adapters/usgov/nppes/adapter.ts +3 -4
  486. package/lib/us/adapters/usgov/samhsa-treatment-locator/adapter.ts +21 -18
  487. package/lib/us/adapters/usgov/usgs-post-offices/adapter.ts +162 -0
  488. package/lib/us/address-records/layer/worker.ts +54 -0
  489. package/lib/us/address-records/layer.ts +776 -0
  490. package/lib/us/address-records/nad.ts +125 -0
  491. package/lib/us/fips-state.ts +7 -8
  492. package/lib/us/post-offices/usgs-national-map.ts +89 -0
  493. package/lib/us/recipes/house-venue-tuples.ts +6 -6
  494. package/lib/us/recipes/skeleton-sources.ts +6 -6
  495. package/lib/us/state-country-codes.ts +7 -6
  496. package/lib/us/street-unit.ts +4 -4
  497. package/lib/us/synthesizers/intersection.ts +15 -12
  498. package/lib/us/synthesizers/street.ts +17 -15
  499. package/lib/us/tools/fetch/hrsa.ts +9 -8
  500. package/lib/us/tools/fetch/imls-pls.ts +45 -31
  501. package/lib/us/tools/fetch/nad/parquet.ts +135 -0
  502. package/lib/us/tools/fetch/nad.ts +175 -303
  503. package/lib/us/tools/fetch/nppes.ts +66 -29
  504. package/lib/us/tools/fetch/state/hi-schools.ts +48 -25
  505. package/lib/us/tools/fetch/state/sources.ts +11 -11
  506. package/lib/us/tools/fetch/tiger-full.ts +47 -16
  507. package/lib/us/tools/fetch/usgs-post-offices.ts +362 -0
  508. package/lib/us/tools/nad-skeletons.ts +63 -61
  509. package/lib/utils/align.ts +45 -39
  510. package/lib/utils/cooccurrence-stats.ts +8 -7
  511. package/lib/utils/golden.ts +3 -4
  512. package/lib/utils/license.ts +29 -21
  513. package/lib/utils/retention.ts +11 -8
  514. package/lib/utils/shape-supply.ts +6 -7
  515. package/lib/utils/split.ts +15 -14
  516. package/lib/utils/tokenize.ts +9 -8
  517. package/lib/utils/wof-json.ts +36 -22
  518. package/lib/utils.ts +2 -5
  519. package/lib/uy/adapters/ide/adapter.ts +22 -17
  520. package/lib/ve/recipes/reviewed-postcode-tail.ts +8 -8
  521. package/out/adapters/cordis/adapter.d.ts +2 -126
  522. package/out/adapters/cordis/adapter.d.ts.map +1 -1
  523. package/out/adapters/cordis/adapter.js +8 -10
  524. package/out/adapters/cordis/adapter.js.map +1 -1
  525. package/out/adapters/dedup-key.d.ts +2 -9
  526. package/out/adapters/dedup-key.d.ts.map +1 -1
  527. package/out/adapters/dedup-key.js +4 -9
  528. package/out/adapters/dedup-key.js.map +1 -1
  529. package/out/adapters/errors.d.ts +0 -4
  530. package/out/adapters/errors.d.ts.map +1 -1
  531. package/out/adapters/errors.js +2 -4
  532. package/out/adapters/errors.js.map +1 -1
  533. package/out/adapters/geonames/adapter.d.ts +0 -10
  534. package/out/adapters/geonames/adapter.d.ts.map +1 -1
  535. package/out/adapters/geonames/adapter.js +4 -6
  536. package/out/adapters/geonames/adapter.js.map +1 -1
  537. package/out/adapters/geonames/features/adapter.d.ts +0 -16
  538. package/out/adapters/geonames/features/adapter.d.ts.map +1 -1
  539. package/out/adapters/geonames/features/adapter.js +2 -3
  540. package/out/adapters/geonames/features/adapter.js.map +1 -1
  541. package/out/adapters/geonames/postal/adapter.d.ts +0 -8
  542. package/out/adapters/geonames/postal/adapter.d.ts.map +1 -1
  543. package/out/adapters/geonames/postal/adapter.js +4 -6
  544. package/out/adapters/geonames/postal/adapter.js.map +1 -1
  545. package/out/adapters/gleif/adapter.d.ts +3 -97
  546. package/out/adapters/gleif/adapter.d.ts.map +1 -1
  547. package/out/adapters/gleif/adapter.js +86 -67
  548. package/out/adapters/gleif/adapter.js.map +1 -1
  549. package/out/adapters/libpostal-dictionary.d.ts +0 -7
  550. package/out/adapters/libpostal-dictionary.d.ts.map +1 -1
  551. package/out/adapters/libpostal-dictionary.js +2 -4
  552. package/out/adapters/libpostal-dictionary.js.map +1 -1
  553. package/out/adapters/openaddresses/adapter.d.ts +0 -12
  554. package/out/adapters/openaddresses/adapter.d.ts.map +1 -1
  555. package/out/adapters/openaddresses/adapter.js +8 -7
  556. package/out/adapters/openaddresses/adapter.js.map +1 -1
  557. package/out/adapters/osm/adapter.d.ts +1 -12
  558. package/out/adapters/osm/adapter.d.ts.map +1 -1
  559. package/out/adapters/osm/adapter.js +10 -9
  560. package/out/adapters/osm/adapter.js.map +1 -1
  561. package/out/adapters/osm/license.d.ts +1 -4
  562. package/out/adapters/osm/license.d.ts.map +1 -1
  563. package/out/adapters/osm/license.js +3 -4
  564. package/out/adapters/osm/license.js.map +1 -1
  565. package/out/adapters/overture/adapter.d.ts +0 -8
  566. package/out/adapters/overture/adapter.d.ts.map +1 -1
  567. package/out/adapters/overture/adapter.js +5 -5
  568. package/out/adapters/overture/adapter.js.map +1 -1
  569. package/out/adapters/overture/paths.d.ts +13 -0
  570. package/out/adapters/overture/paths.d.ts.map +1 -0
  571. package/out/adapters/overture/paths.js +21 -0
  572. package/out/adapters/overture/paths.js.map +1 -0
  573. package/out/adapters/po-box/adapter.d.ts +0 -10
  574. package/out/adapters/po-box/adapter.d.ts.map +1 -1
  575. package/out/adapters/po-box/adapter.js +8 -9
  576. package/out/adapters/po-box/adapter.js.map +1 -1
  577. package/out/adapters/present.d.ts.map +1 -1
  578. package/out/adapters/present.js +2 -0
  579. package/out/adapters/present.js.map +1 -1
  580. package/out/adapters/record-id.d.ts +0 -15
  581. package/out/adapters/record-id.d.ts.map +1 -1
  582. package/out/adapters/record-id.js +2 -3
  583. package/out/adapters/record-id.js.map +1 -1
  584. package/out/adapters/registry.d.ts +0 -11
  585. package/out/adapters/registry.d.ts.map +1 -1
  586. package/out/adapters/registry.js +6 -7
  587. package/out/adapters/registry.js.map +1 -1
  588. package/out/adapters/sha256-stream.d.ts +0 -7
  589. package/out/adapters/sha256-stream.d.ts.map +1 -1
  590. package/out/adapters/sha256-stream.js +2 -4
  591. package/out/adapters/sha256-stream.js.map +1 -1
  592. package/out/adapters/source-id.d.ts +9 -10
  593. package/out/adapters/source-id.d.ts.map +1 -1
  594. package/out/adapters/source-id.js +3 -15
  595. package/out/adapters/source-id.js.map +1 -1
  596. package/out/adapters/street/line.d.ts +24 -19
  597. package/out/adapters/street/line.d.ts.map +1 -1
  598. package/out/adapters/street/line.js +35 -21
  599. package/out/adapters/street/line.js.map +1 -1
  600. package/out/adapters/street/unit.d.ts +13 -7
  601. package/out/adapters/street/unit.d.ts.map +1 -1
  602. package/out/adapters/street/unit.js +42 -15
  603. package/out/adapters/street/unit.js.map +1 -1
  604. package/out/adapters/wof/admin/json/adapter.d.ts +0 -40
  605. package/out/adapters/wof/admin/json/adapter.d.ts.map +1 -1
  606. package/out/adapters/wof/admin/json/adapter.js +36 -32
  607. package/out/adapters/wof/admin/json/adapter.js.map +1 -1
  608. package/out/adapters/wof/admin/json/explore.d.ts +5 -18
  609. package/out/adapters/wof/admin/json/explore.d.ts.map +1 -1
  610. package/out/adapters/wof/admin/json/explore.js +12 -15
  611. package/out/adapters/wof/admin/json/explore.js.map +1 -1
  612. package/out/adapters/wof/admin/json/region-codes.d.ts +5 -13
  613. package/out/adapters/wof/admin/json/region-codes.d.ts.map +1 -1
  614. package/out/adapters/wof/admin/json/region-codes.js +24 -9
  615. package/out/adapters/wof/admin/json/region-codes.js.map +1 -1
  616. package/out/adapters/wof/json-rows.d.ts +3 -9
  617. package/out/adapters/wof/json-rows.d.ts.map +1 -1
  618. package/out/adapters/wof/json-rows.js +5 -6
  619. package/out/adapters/wof/json-rows.js.map +1 -1
  620. package/out/adapters/wof/postalcode-json/adapter.d.ts +0 -17
  621. package/out/adapters/wof/postalcode-json/adapter.d.ts.map +1 -1
  622. package/out/adapters/wof/postalcode-json/adapter.js +2 -17
  623. package/out/adapters/wof/postalcode-json/adapter.js.map +1 -1
  624. package/out/adapters/wof/record-cache.d.ts +0 -6
  625. package/out/adapters/wof/record-cache.d.ts.map +1 -1
  626. package/out/adapters/wof/record-cache.js +2 -3
  627. package/out/adapters/wof/record-cache.js.map +1 -1
  628. package/out/adapters/wof/sample.d.ts +1 -4
  629. package/out/adapters/wof/sample.d.ts.map +1 -1
  630. package/out/adapters/wof/sample.js +3 -7
  631. package/out/adapters/wof/sample.js.map +1 -1
  632. package/out/adapters.d.ts +1 -40
  633. package/out/adapters.d.ts.map +1 -1
  634. package/out/adapters.js +39 -30
  635. package/out/adapters.js.map +1 -1
  636. package/out/address-records/admission.d.ts +15 -0
  637. package/out/address-records/admission.d.ts.map +1 -0
  638. package/out/address-records/admission.js +75 -0
  639. package/out/address-records/admission.js.map +1 -0
  640. package/out/address-records/legal-forms.d.ts +9 -0
  641. package/out/address-records/legal-forms.d.ts.map +1 -0
  642. package/out/address-records/legal-forms.js +30 -0
  643. package/out/address-records/legal-forms.js.map +1 -0
  644. package/out/address-records/openaddresses.d.ts +74 -0
  645. package/out/address-records/openaddresses.d.ts.map +1 -0
  646. package/out/address-records/openaddresses.js +130 -0
  647. package/out/address-records/openaddresses.js.map +1 -0
  648. package/out/address-records/overture.d.ts +61 -0
  649. package/out/address-records/overture.d.ts.map +1 -0
  650. package/out/address-records/overture.js +103 -0
  651. package/out/address-records/overture.js.map +1 -0
  652. package/out/au/adapters/gnaf/adapter.d.ts +0 -14
  653. package/out/au/adapters/gnaf/adapter.d.ts.map +1 -1
  654. package/out/au/adapters/gnaf/adapter.js +9 -10
  655. package/out/au/adapters/gnaf/adapter.js.map +1 -1
  656. package/out/au/adapters/gnaf/assemble.d.ts +0 -18
  657. package/out/au/adapters/gnaf/assemble.d.ts.map +1 -1
  658. package/out/au/adapters/gnaf/assemble.js +18 -13
  659. package/out/au/adapters/gnaf/assemble.js.map +1 -1
  660. package/out/au/recipes/delivery-guideline.d.ts +0 -13
  661. package/out/au/recipes/delivery-guideline.d.ts.map +1 -1
  662. package/out/au/recipes/delivery-guideline.js +9 -10
  663. package/out/au/recipes/delivery-guideline.js.map +1 -1
  664. package/out/au/recipes/unit-type-guideline.d.ts +0 -19
  665. package/out/au/recipes/unit-type-guideline.d.ts.map +1 -1
  666. package/out/au/recipes/unit-type-guideline.js +14 -14
  667. package/out/au/recipes/unit-type-guideline.js.map +1 -1
  668. package/out/az/adapters/opendata/adapter.d.ts +1 -35
  669. package/out/az/adapters/opendata/adapter.d.ts.map +1 -1
  670. package/out/az/adapters/opendata/adapter.js +27 -21
  671. package/out/az/adapters/opendata/adapter.js.map +1 -1
  672. package/out/be/adapters/brussels/adapter.d.ts +2 -116
  673. package/out/be/adapters/brussels/adapter.d.ts.map +1 -1
  674. package/out/be/adapters/brussels/adapter.js +107 -86
  675. package/out/be/adapters/brussels/adapter.js.map +1 -1
  676. package/out/be/adapters/vlaanderen/adapter.d.ts +4 -71
  677. package/out/be/adapters/vlaanderen/adapter.d.ts.map +1 -1
  678. package/out/be/adapters/vlaanderen/adapter.js +50 -43
  679. package/out/be/adapters/vlaanderen/adapter.js.map +1 -1
  680. package/out/be/adapters/wallonie/adapter.d.ts +1 -128
  681. package/out/be/adapters/wallonie/adapter.d.ts.map +1 -1
  682. package/out/be/adapters/wallonie/adapter.js +117 -90
  683. package/out/be/adapters/wallonie/adapter.js.map +1 -1
  684. package/out/be/tools/fetch/brussels.d.ts +12 -14
  685. package/out/be/tools/fetch/brussels.d.ts.map +1 -1
  686. package/out/be/tools/fetch/brussels.js +14 -14
  687. package/out/be/tools/fetch/brussels.js.map +1 -1
  688. package/out/be/tools/fetch/wallonie.d.ts +12 -15
  689. package/out/be/tools/fetch/wallonie.d.ts.map +1 -1
  690. package/out/be/tools/fetch/wallonie.js +14 -15
  691. package/out/be/tools/fetch/wallonie.js.map +1 -1
  692. package/out/bs/adapters/gbpa/adapter.d.ts +0 -21
  693. package/out/bs/adapters/gbpa/adapter.d.ts.map +1 -1
  694. package/out/bs/adapters/gbpa/adapter.js +18 -15
  695. package/out/bs/adapters/gbpa/adapter.js.map +1 -1
  696. package/out/build/adapters.d.ts +27 -8
  697. package/out/build/adapters.d.ts.map +1 -1
  698. package/out/build/adapters.js +32 -5
  699. package/out/build/adapters.js.map +1 -1
  700. package/out/build/align/range.d.ts +0 -15
  701. package/out/build/align/range.d.ts.map +1 -1
  702. package/out/build/align/range.js +2 -3
  703. package/out/build/align/range.js.map +1 -1
  704. package/out/build/align/totals.d.ts +0 -3
  705. package/out/build/align/totals.d.ts.map +1 -1
  706. package/out/build/align/totals.js +2 -14
  707. package/out/build/align/totals.js.map +1 -1
  708. package/out/build/align.d.ts +1 -11
  709. package/out/build/align.d.ts.map +1 -1
  710. package/out/build/align.js +3 -4
  711. package/out/build/align.js.map +1 -1
  712. package/out/build/budget.d.ts +1 -16
  713. package/out/build/budget.d.ts.map +1 -1
  714. package/out/build/budget.js +3 -4
  715. package/out/build/budget.js.map +1 -1
  716. package/out/build/checkpoint.d.ts +2 -18
  717. package/out/build/checkpoint.d.ts.map +1 -1
  718. package/out/build/checkpoint.js +4 -5
  719. package/out/build/checkpoint.js.map +1 -1
  720. package/out/build/code-hash.d.ts +1 -25
  721. package/out/build/code-hash.d.ts.map +1 -1
  722. package/out/build/code-hash.js +17 -15
  723. package/out/build/code-hash.js.map +1 -1
  724. package/out/build/component-check.d.ts +1 -12
  725. package/out/build/component-check.d.ts.map +1 -1
  726. package/out/build/component-check.js +4 -5
  727. package/out/build/component-check.js.map +1 -1
  728. package/out/build/eligibility.d.ts +0 -6
  729. package/out/build/eligibility.d.ts.map +1 -1
  730. package/out/build/eligibility.js +2 -3
  731. package/out/build/eligibility.js.map +1 -1
  732. package/out/build/heap.d.ts +0 -6
  733. package/out/build/heap.d.ts.map +1 -1
  734. package/out/build/heap.js +2 -3
  735. package/out/build/heap.js.map +1 -1
  736. package/out/build/holdout-check.d.ts +1 -14
  737. package/out/build/holdout-check.d.ts.map +1 -1
  738. package/out/build/holdout-check.js +3 -4
  739. package/out/build/holdout-check.js.map +1 -1
  740. package/out/build/inputs.d.ts +20 -17
  741. package/out/build/inputs.d.ts.map +1 -1
  742. package/out/build/inputs.js +23 -12
  743. package/out/build/inputs.js.map +1 -1
  744. package/out/build/lock.d.ts +0 -3
  745. package/out/build/lock.d.ts.map +1 -1
  746. package/out/build/lock.js +2 -3
  747. package/out/build/lock.js.map +1 -1
  748. package/out/build/manifest.d.ts +0 -9
  749. package/out/build/manifest.d.ts.map +1 -1
  750. package/out/build/manifest.js +2 -3
  751. package/out/build/manifest.js.map +1 -1
  752. package/out/build/parallel.d.ts +0 -25
  753. package/out/build/parallel.d.ts.map +1 -1
  754. package/out/build/parallel.js +12 -9
  755. package/out/build/parallel.js.map +1 -1
  756. package/out/build/prior-output.d.ts +0 -12
  757. package/out/build/prior-output.d.ts.map +1 -1
  758. package/out/build/prior-output.js +2 -3
  759. package/out/build/prior-output.js.map +1 -1
  760. package/out/build/rows.d.ts +0 -3
  761. package/out/build/rows.d.ts.map +1 -1
  762. package/out/build/rows.js +2 -6
  763. package/out/build/rows.js.map +1 -1
  764. package/out/build/settings.d.ts +1 -10
  765. package/out/build/settings.d.ts.map +1 -1
  766. package/out/build/settings.js +3 -4
  767. package/out/build/settings.js.map +1 -1
  768. package/out/build/source-record.d.ts +2 -20
  769. package/out/build/source-record.d.ts.map +1 -1
  770. package/out/build/source-record.js +2 -3
  771. package/out/build/source-record.js.map +1 -1
  772. package/out/build/types.d.ts +2 -5
  773. package/out/build/types.d.ts.map +1 -1
  774. package/out/build/types.js +2 -10
  775. package/out/build/types.js.map +1 -1
  776. package/out/build/worker.d.ts +7 -15
  777. package/out/build/worker.d.ts.map +1 -1
  778. package/out/build/worker.js +4 -4
  779. package/out/build/worker.js.map +1 -1
  780. package/out/build.d.ts +0 -12
  781. package/out/build.d.ts.map +1 -1
  782. package/out/build.js +7 -6
  783. package/out/build.js.map +1 -1
  784. package/out/cjk/builder.d.ts +2 -13
  785. package/out/cjk/builder.d.ts.map +1 -1
  786. package/out/cjk/builder.js +4 -5
  787. package/out/cjk/builder.js.map +1 -1
  788. package/out/cjk/foreign-places.d.ts +4 -16
  789. package/out/cjk/foreign-places.d.ts.map +1 -1
  790. package/out/cjk/foreign-places.js +8 -7
  791. package/out/cjk/foreign-places.js.map +1 -1
  792. package/out/cjk/overlay.d.ts +0 -17
  793. package/out/cjk/overlay.d.ts.map +1 -1
  794. package/out/cjk/overlay.js +2 -3
  795. package/out/cjk/overlay.js.map +1 -1
  796. package/out/cjk/registry.d.ts +4 -19
  797. package/out/cjk/registry.d.ts.map +1 -1
  798. package/out/cjk/registry.js +9 -10
  799. package/out/cjk/registry.js.map +1 -1
  800. package/out/cjk/text.d.ts +1 -11
  801. package/out/cjk/text.d.ts.map +1 -1
  802. package/out/cjk/text.js +3 -4
  803. package/out/cjk/text.js.map +1 -1
  804. package/out/cn/recipes/organizational-units.d.ts +0 -9
  805. package/out/cn/recipes/organizational-units.d.ts.map +1 -1
  806. package/out/cn/recipes/organizational-units.js +2 -3
  807. package/out/cn/recipes/organizational-units.js.map +1 -1
  808. package/out/cz/adapters/cuzk/adapter.d.ts +1 -29
  809. package/out/cz/adapters/cuzk/adapter.d.ts.map +1 -1
  810. package/out/cz/adapters/cuzk/adapter.js +7 -9
  811. package/out/cz/adapters/cuzk/adapter.js.map +1 -1
  812. package/out/cz/recipes/pcfirst-preposition.d.ts +0 -12
  813. package/out/cz/recipes/pcfirst-preposition.d.ts.map +1 -1
  814. package/out/cz/recipes/pcfirst-preposition.js +8 -10
  815. package/out/cz/recipes/pcfirst-preposition.js.map +1 -1
  816. package/out/cz/tools/fetch/cuzk.d.ts +47 -47
  817. package/out/cz/tools/fetch/cuzk.d.ts.map +1 -1
  818. package/out/cz/tools/fetch/cuzk.js +52 -50
  819. package/out/cz/tools/fetch/cuzk.js.map +1 -1
  820. package/out/de/fragment-board.d.ts +0 -18
  821. package/out/de/fragment-board.d.ts.map +1 -1
  822. package/out/de/fragment-board.js +2 -3
  823. package/out/de/fragment-board.js.map +1 -1
  824. package/out/de/recipes/locale.d.ts +0 -19
  825. package/out/de/recipes/locale.d.ts.map +1 -1
  826. package/out/de/recipes/locale.js +14 -13
  827. package/out/de/recipes/locale.js.map +1 -1
  828. package/out/de/recipes/postfach-guideline.d.ts +0 -11
  829. package/out/de/recipes/postfach-guideline.d.ts.map +1 -1
  830. package/out/de/recipes/postfach-guideline.js +4 -6
  831. package/out/de/recipes/postfach-guideline.js.map +1 -1
  832. package/out/directory.d.ts +0 -11
  833. package/out/directory.d.ts.map +1 -1
  834. package/out/directory.js +2 -3
  835. package/out/directory.js.map +1 -1
  836. package/out/dk/adapters/inspire/adapter.d.ts +3 -50
  837. package/out/dk/adapters/inspire/adapter.d.ts.map +1 -1
  838. package/out/dk/adapters/inspire/adapter.js +50 -42
  839. package/out/dk/adapters/inspire/adapter.js.map +1 -1
  840. package/out/dk/tools/fetch/inspire.d.ts +2 -42
  841. package/out/dk/tools/fetch/inspire.d.ts.map +1 -1
  842. package/out/dk/tools/fetch/inspire.js +32 -31
  843. package/out/dk/tools/fetch/inspire.js.map +1 -1
  844. package/out/ee/adapters/ads/adapter.d.ts +1 -48
  845. package/out/ee/adapters/ads/adapter.d.ts.map +1 -1
  846. package/out/ee/adapters/ads/adapter.js +49 -43
  847. package/out/ee/adapters/ads/adapter.js.map +1 -1
  848. package/out/ee/tools/fetch/ads.d.ts +33 -30
  849. package/out/ee/tools/fetch/ads.d.ts.map +1 -1
  850. package/out/ee/tools/fetch/ads.js +36 -31
  851. package/out/ee/tools/fetch/ads.js.map +1 -1
  852. package/out/env.d.ts +0 -7
  853. package/out/env.d.ts.map +1 -1
  854. package/out/env.js +2 -4
  855. package/out/env.js.map +1 -1
  856. package/out/es/adapters/bizkaia/adapter.d.ts +2 -83
  857. package/out/es/adapters/bizkaia/adapter.d.ts.map +1 -1
  858. package/out/es/adapters/bizkaia/adapter.js +69 -58
  859. package/out/es/adapters/bizkaia/adapter.js.map +1 -1
  860. package/out/es/adapters/catastro/adapter.d.ts +0 -70
  861. package/out/es/adapters/catastro/adapter.d.ts.map +1 -1
  862. package/out/es/adapters/catastro/adapter.js +62 -49
  863. package/out/es/adapters/catastro/adapter.js.map +1 -1
  864. package/out/es/adapters/gipuzkoa/adapter.d.ts +0 -48
  865. package/out/es/adapters/gipuzkoa/adapter.d.ts.map +1 -1
  866. package/out/es/adapters/gipuzkoa/adapter.js +5 -51
  867. package/out/es/adapters/gipuzkoa/adapter.js.map +1 -1
  868. package/out/es/adapters/navarra/adapter.d.ts +41 -36
  869. package/out/es/adapters/navarra/adapter.d.ts.map +1 -1
  870. package/out/es/adapters/navarra/adapter.js +40 -33
  871. package/out/es/adapters/navarra/adapter.js.map +1 -1
  872. package/out/es/cadastre.d.ts +3 -17
  873. package/out/es/cadastre.d.ts.map +1 -1
  874. package/out/es/cadastre.js +14 -14
  875. package/out/es/cadastre.js.map +1 -1
  876. package/out/es/tools/fetch/bizkaia.d.ts +42 -34
  877. package/out/es/tools/fetch/bizkaia.d.ts.map +1 -1
  878. package/out/es/tools/fetch/bizkaia.js +48 -38
  879. package/out/es/tools/fetch/bizkaia.js.map +1 -1
  880. package/out/es/tools/fetch/catastro.d.ts +47 -46
  881. package/out/es/tools/fetch/catastro.d.ts.map +1 -1
  882. package/out/es/tools/fetch/catastro.js +50 -47
  883. package/out/es/tools/fetch/catastro.js.map +1 -1
  884. package/out/es/tools/fetch/gipuzkoa.d.ts +27 -26
  885. package/out/es/tools/fetch/gipuzkoa.d.ts.map +1 -1
  886. package/out/es/tools/fetch/gipuzkoa.js +28 -25
  887. package/out/es/tools/fetch/gipuzkoa.js.map +1 -1
  888. package/out/es/tools/fetch/navarra.d.ts +31 -33
  889. package/out/es/tools/fetch/navarra.d.ts.map +1 -1
  890. package/out/es/tools/fetch/navarra.js +37 -37
  891. package/out/es/tools/fetch/navarra.js.map +1 -1
  892. package/out/fi/adapters/ryhti/adapter.d.ts +0 -57
  893. package/out/fi/adapters/ryhti/adapter.d.ts.map +1 -1
  894. package/out/fi/adapters/ryhti/adapter.js +57 -52
  895. package/out/fi/adapters/ryhti/adapter.js.map +1 -1
  896. package/out/fi/tools/fetch/ryhti.d.ts +29 -32
  897. package/out/fi/tools/fetch/ryhti.d.ts.map +1 -1
  898. package/out/fi/tools/fetch/ryhti.js +33 -34
  899. package/out/fi/tools/fetch/ryhti.js.map +1 -1
  900. package/out/fingerprints.d.ts +1 -23
  901. package/out/fingerprints.d.ts.map +1 -1
  902. package/out/fingerprints.js +3 -4
  903. package/out/fingerprints.js.map +1 -1
  904. package/out/fo/adapters/adressur/adapter.d.ts +0 -26
  905. package/out/fo/adapters/adressur/adapter.d.ts.map +1 -1
  906. package/out/fo/adapters/adressur/adapter.js +22 -19
  907. package/out/fo/adapters/adressur/adapter.js.map +1 -1
  908. package/out/fr/adapters/annuaire-education/adapter.d.ts +4 -91
  909. package/out/fr/adapters/annuaire-education/adapter.d.ts.map +1 -1
  910. package/out/fr/adapters/annuaire-education/adapter.js +75 -67
  911. package/out/fr/adapters/annuaire-education/adapter.js.map +1 -1
  912. package/out/fr/adapters/ban/adapter.d.ts +0 -25
  913. package/out/fr/adapters/ban/adapter.d.ts.map +1 -1
  914. package/out/fr/adapters/ban/adapter.js +23 -17
  915. package/out/fr/adapters/ban/adapter.js.map +1 -1
  916. package/out/fr/adapters/finess/adapter.d.ts +7 -100
  917. package/out/fr/adapters/finess/adapter.d.ts.map +1 -1
  918. package/out/fr/adapters/finess/adapter.js +74 -59
  919. package/out/fr/adapters/finess/adapter.js.map +1 -1
  920. package/out/fr/adapters/finess/postal-lines.d.ts +3 -16
  921. package/out/fr/adapters/finess/postal-lines.d.ts.map +1 -1
  922. package/out/fr/adapters/finess/postal-lines.js +10 -12
  923. package/out/fr/adapters/finess/postal-lines.js.map +1 -1
  924. package/out/fr/adapters/finess/voie-type.d.ts +4 -28
  925. package/out/fr/adapters/finess/voie-type.d.ts.map +1 -1
  926. package/out/fr/adapters/finess/voie-type.js +23 -23
  927. package/out/fr/adapters/finess/voie-type.js.map +1 -1
  928. package/out/fr/address-records/ban.d.ts +44 -0
  929. package/out/fr/address-records/ban.d.ts.map +1 -0
  930. package/out/fr/address-records/ban.js +105 -0
  931. package/out/fr/address-records/ban.js.map +1 -0
  932. package/out/fr/insee-country.d.ts +8 -10
  933. package/out/fr/insee-country.d.ts.map +1 -1
  934. package/out/fr/insee-country.js +10 -10
  935. package/out/fr/insee-country.js.map +1 -1
  936. package/out/fr/recipes/admin-split.d.ts +0 -9
  937. package/out/fr/recipes/admin-split.d.ts.map +1 -1
  938. package/out/fr/recipes/admin-split.js +2 -9
  939. package/out/fr/recipes/admin-split.js.map +1 -1
  940. package/out/fr/recipes/bare-street.d.ts +0 -7
  941. package/out/fr/recipes/bare-street.d.ts.map +1 -1
  942. package/out/fr/recipes/bare-street.js +2 -4
  943. package/out/fr/recipes/bare-street.js.map +1 -1
  944. package/out/fr/recipes/fragment.d.ts +0 -12
  945. package/out/fr/recipes/fragment.d.ts.map +1 -1
  946. package/out/fr/recipes/fragment.js +6 -7
  947. package/out/fr/recipes/fragment.js.map +1 -1
  948. package/out/fr/recipes/house-venue-tuples.d.ts +2 -8
  949. package/out/fr/recipes/house-venue-tuples.d.ts.map +1 -1
  950. package/out/fr/recipes/house-venue-tuples.js +4 -5
  951. package/out/fr/recipes/house-venue-tuples.js.map +1 -1
  952. package/out/fr/recipes/lieudit.d.ts +0 -24
  953. package/out/fr/recipes/lieudit.d.ts.map +1 -1
  954. package/out/fr/recipes/lieudit.js +22 -19
  955. package/out/fr/recipes/lieudit.js.map +1 -1
  956. package/out/fr/recipes/order.d.ts +0 -9
  957. package/out/fr/recipes/order.d.ts.map +1 -1
  958. package/out/fr/recipes/order.js +4 -11
  959. package/out/fr/recipes/order.js.map +1 -1
  960. package/out/fr/recipes/unit-line-guideline.d.ts +0 -15
  961. package/out/fr/recipes/unit-line-guideline.d.ts.map +1 -1
  962. package/out/fr/recipes/unit-line-guideline.js +13 -11
  963. package/out/fr/recipes/unit-line-guideline.js.map +1 -1
  964. package/out/fr/street-decompose.d.ts +0 -16
  965. package/out/fr/street-decompose.d.ts.map +1 -1
  966. package/out/fr/street-decompose.js +7 -6
  967. package/out/fr/street-decompose.js.map +1 -1
  968. package/out/fr/tools/fetch/annuaire-education.d.ts +15 -14
  969. package/out/fr/tools/fetch/annuaire-education.d.ts.map +1 -1
  970. package/out/fr/tools/fetch/annuaire-education.js +17 -14
  971. package/out/fr/tools/fetch/annuaire-education.js.map +1 -1
  972. package/out/fr/tools/fetch/ban.d.ts +0 -21
  973. package/out/fr/tools/fetch/ban.d.ts.map +1 -1
  974. package/out/fr/tools/fetch/ban.js +16 -15
  975. package/out/fr/tools/fetch/ban.js.map +1 -1
  976. package/out/fr/tools/fetch/finess.d.ts +38 -28
  977. package/out/fr/tools/fetch/finess.d.ts.map +1 -1
  978. package/out/fr/tools/fetch/finess.js +42 -34
  979. package/out/fr/tools/fetch/finess.js.map +1 -1
  980. package/out/gauntlet-inputs.d.ts +2 -17
  981. package/out/gauntlet-inputs.d.ts.map +1 -1
  982. package/out/gauntlet-inputs.js +5 -6
  983. package/out/gauntlet-inputs.js.map +1 -1
  984. package/out/gb/adapters/os-open/adapter.d.ts +1 -31
  985. package/out/gb/adapters/os-open/adapter.d.ts.map +1 -1
  986. package/out/gb/adapters/os-open/adapter.js +21 -15
  987. package/out/gb/adapters/os-open/adapter.js.map +1 -1
  988. package/out/gb/constituent-country.d.ts +0 -13
  989. package/out/gb/constituent-country.d.ts.map +1 -1
  990. package/out/gb/constituent-country.js +8 -8
  991. package/out/gb/constituent-country.js.map +1 -1
  992. package/out/gb/county.d.ts +1 -15
  993. package/out/gb/county.d.ts.map +1 -1
  994. package/out/gb/county.js +13 -13
  995. package/out/gb/county.js.map +1 -1
  996. package/out/gb/os-open/nearest-link.d.ts +1 -17
  997. package/out/gb/os-open/nearest-link.d.ts.map +1 -1
  998. package/out/gb/os-open/nearest-link.js +12 -12
  999. package/out/gb/os-open/nearest-link.js.map +1 -1
  1000. package/out/gb/os-open/open/names.d.ts +1 -16
  1001. package/out/gb/os-open/open/names.d.ts.map +1 -1
  1002. package/out/gb/os-open/open/names.js +11 -10
  1003. package/out/gb/os-open/open/names.js.map +1 -1
  1004. package/out/gb/os-open/open/roads.d.ts +29 -18
  1005. package/out/gb/os-open/open/roads.d.ts.map +1 -1
  1006. package/out/gb/os-open/open/roads.js +60 -13
  1007. package/out/gb/os-open/open/roads.js.map +1 -1
  1008. package/out/gb/recipes/house-venue-tuples.d.ts +4 -18
  1009. package/out/gb/recipes/house-venue-tuples.d.ts.map +1 -1
  1010. package/out/gb/recipes/house-venue-tuples.js +7 -8
  1011. package/out/gb/recipes/house-venue-tuples.js.map +1 -1
  1012. package/out/gb/recipes/sub-building-guideline.d.ts +0 -16
  1013. package/out/gb/recipes/sub-building-guideline.d.ts.map +1 -1
  1014. package/out/gb/recipes/sub-building-guideline.js +10 -10
  1015. package/out/gb/recipes/sub-building-guideline.js.map +1 -1
  1016. package/out/gb/tools/fetch/os-open.d.ts +9 -10
  1017. package/out/gb/tools/fetch/os-open.d.ts.map +1 -1
  1018. package/out/gb/tools/fetch/os-open.js +11 -10
  1019. package/out/gb/tools/fetch/os-open.js.map +1 -1
  1020. package/out/gu/adapters/bsp/adapter.d.ts +2 -30
  1021. package/out/gu/adapters/bsp/adapter.d.ts.map +1 -1
  1022. package/out/gu/adapters/bsp/adapter.js +24 -22
  1023. package/out/gu/adapters/bsp/adapter.js.map +1 -1
  1024. package/out/im/adapters/land-registry/adapter.d.ts +1 -26
  1025. package/out/im/adapters/land-registry/adapter.d.ts.map +1 -1
  1026. package/out/im/adapters/land-registry/adapter.js +22 -19
  1027. package/out/im/adapters/land-registry/adapter.js.map +1 -1
  1028. package/out/index.d.ts +0 -5
  1029. package/out/index.d.ts.map +1 -1
  1030. package/out/index.js +2 -5
  1031. package/out/index.js.map +1 -1
  1032. package/out/inspire/address.d.ts +33 -31
  1033. package/out/inspire/address.d.ts.map +1 -1
  1034. package/out/inspire/address.js +6 -39
  1035. package/out/inspire/address.js.map +1 -1
  1036. package/out/inspire/archive.d.ts +2 -17
  1037. package/out/inspire/archive.d.ts.map +1 -1
  1038. package/out/inspire/archive.js +12 -12
  1039. package/out/inspire/archive.js.map +1 -1
  1040. package/out/inspire/errors.d.ts +9 -11
  1041. package/out/inspire/errors.d.ts.map +1 -1
  1042. package/out/inspire/errors.js +11 -11
  1043. package/out/inspire/errors.js.map +1 -1
  1044. package/out/inspire/stream.d.ts +23 -24
  1045. package/out/inspire/stream.d.ts.map +1 -1
  1046. package/out/inspire/stream.js +3 -28
  1047. package/out/inspire/stream.js.map +1 -1
  1048. package/out/international/recipes/locale.d.ts +0 -9
  1049. package/out/international/recipes/locale.d.ts.map +1 -1
  1050. package/out/international/recipes/locale.js +29 -21
  1051. package/out/international/recipes/locale.js.map +1 -1
  1052. package/out/it/adapters/anac/adapter.d.ts +2 -118
  1053. package/out/it/adapters/anac/adapter.d.ts.map +1 -1
  1054. package/out/it/adapters/anac/adapter.js +82 -71
  1055. package/out/it/adapters/anac/adapter.js.map +1 -1
  1056. package/out/it/recipes/casella-postale-guideline.d.ts +0 -17
  1057. package/out/it/recipes/casella-postale-guideline.d.ts.map +1 -1
  1058. package/out/it/recipes/casella-postale-guideline.js +12 -12
  1059. package/out/it/recipes/casella-postale-guideline.js.map +1 -1
  1060. package/out/it/recipes/unit-line-guideline.d.ts +0 -14
  1061. package/out/it/recipes/unit-line-guideline.d.ts.map +1 -1
  1062. package/out/it/recipes/unit-line-guideline.js +9 -9
  1063. package/out/it/recipes/unit-line-guideline.js.map +1 -1
  1064. package/out/it/tools/fetch/anac.d.ts +22 -24
  1065. package/out/it/tools/fetch/anac.d.ts.map +1 -1
  1066. package/out/it/tools/fetch/anac.js +24 -24
  1067. package/out/it/tools/fetch/anac.js.map +1 -1
  1068. package/out/jp/adapters/wof-admin/adapter.d.ts +0 -30
  1069. package/out/jp/adapters/wof-admin/adapter.d.ts.map +1 -1
  1070. package/out/jp/adapters/wof-admin/adapter.js +11 -13
  1071. package/out/jp/adapters/wof-admin/adapter.js.map +1 -1
  1072. package/out/jp/corpus/assemble.d.ts +0 -13
  1073. package/out/jp/corpus/assemble.d.ts.map +1 -1
  1074. package/out/jp/corpus/assemble.js +2 -3
  1075. package/out/jp/corpus/assemble.js.map +1 -1
  1076. package/out/jp/corpus/probe.d.ts +0 -17
  1077. package/out/jp/corpus/probe.d.ts.map +1 -1
  1078. package/out/jp/corpus/probe.js +2 -3
  1079. package/out/jp/corpus/probe.js.map +1 -1
  1080. package/out/jp/corpus/rows.d.ts +0 -3
  1081. package/out/jp/corpus/rows.d.ts.map +1 -1
  1082. package/out/jp/corpus/rows.js +2 -11
  1083. package/out/jp/corpus/rows.js.map +1 -1
  1084. package/out/jp/corpus/sources.d.ts +1 -12
  1085. package/out/jp/corpus/sources.d.ts.map +1 -1
  1086. package/out/jp/corpus/sources.js +4 -5
  1087. package/out/jp/corpus/sources.js.map +1 -1
  1088. package/out/jp/kana.d.ts +0 -13
  1089. package/out/jp/kana.d.ts.map +1 -1
  1090. package/out/jp/kana.js +2 -3
  1091. package/out/jp/kana.js.map +1 -1
  1092. package/out/jp/registers.d.ts +0 -17
  1093. package/out/jp/registers.d.ts.map +1 -1
  1094. package/out/jp/registers.js +2 -3
  1095. package/out/jp/registers.js.map +1 -1
  1096. package/out/jp/text.d.ts +0 -9
  1097. package/out/jp/text.d.ts.map +1 -1
  1098. package/out/jp/text.js +2 -3
  1099. package/out/jp/text.js.map +1 -1
  1100. package/out/jp/tools/fetch/houjin.d.ts +14 -21
  1101. package/out/jp/tools/fetch/houjin.d.ts.map +1 -1
  1102. package/out/jp/tools/fetch/houjin.js +60 -20
  1103. package/out/jp/tools/fetch/houjin.js.map +1 -1
  1104. package/out/kr/adapters/juso/label-rows.d.ts +0 -12
  1105. package/out/kr/adapters/juso/label-rows.d.ts.map +1 -1
  1106. package/out/kr/adapters/juso/label-rows.js +9 -10
  1107. package/out/kr/adapters/juso/label-rows.js.map +1 -1
  1108. package/out/kr/adapters/localdata/align.d.ts +0 -9
  1109. package/out/kr/adapters/localdata/align.d.ts.map +1 -1
  1110. package/out/kr/adapters/localdata/align.js +6 -7
  1111. package/out/kr/adapters/localdata/align.js.map +1 -1
  1112. package/out/kr/adapters/localdata/key-index.d.ts +0 -9
  1113. package/out/kr/adapters/localdata/key-index.d.ts.map +1 -1
  1114. package/out/kr/adapters/localdata/key-index.js +5 -6
  1115. package/out/kr/adapters/localdata/key-index.js.map +1 -1
  1116. package/out/kr/adapters/localdata/permit-rows.d.ts +0 -12
  1117. package/out/kr/adapters/localdata/permit-rows.d.ts.map +1 -1
  1118. package/out/kr/adapters/localdata/permit-rows.js +10 -10
  1119. package/out/kr/adapters/localdata/permit-rows.js.map +1 -1
  1120. package/out/kr/corpus/assemble.d.ts +4 -16
  1121. package/out/kr/corpus/assemble.d.ts.map +1 -1
  1122. package/out/kr/corpus/assemble.js +7 -8
  1123. package/out/kr/corpus/assemble.js.map +1 -1
  1124. package/out/kr/corpus/rows.d.ts +1 -4
  1125. package/out/kr/corpus/rows.d.ts.map +1 -1
  1126. package/out/kr/corpus/rows.js +3 -13
  1127. package/out/kr/corpus/rows.js.map +1 -1
  1128. package/out/kr/tools/fetch/juso.d.ts +13 -28
  1129. package/out/kr/tools/fetch/juso.d.ts.map +1 -1
  1130. package/out/kr/tools/fetch/juso.js +55 -24
  1131. package/out/kr/tools/fetch/juso.js.map +1 -1
  1132. package/out/kr/tools/fetch/localdata.d.ts +9 -26
  1133. package/out/kr/tools/fetch/localdata.d.ts.map +1 -1
  1134. package/out/kr/tools/fetch/localdata.js +56 -39
  1135. package/out/kr/tools/fetch/localdata.js.map +1 -1
  1136. package/out/li/adapters/llv/adapter.d.ts +0 -27
  1137. package/out/li/adapters/llv/adapter.d.ts.map +1 -1
  1138. package/out/li/adapters/llv/adapter.js +22 -18
  1139. package/out/li/adapters/llv/adapter.js.map +1 -1
  1140. package/out/lu/adapters/bd-adresses/adapter.d.ts +0 -79
  1141. package/out/lu/adapters/bd-adresses/adapter.d.ts.map +1 -1
  1142. package/out/lu/adapters/bd-adresses/adapter.js +45 -46
  1143. package/out/lu/adapters/bd-adresses/adapter.js.map +1 -1
  1144. package/out/lu/tools/fetch/bd-adresses.d.ts +30 -30
  1145. package/out/lu/tools/fetch/bd-adresses.d.ts.map +1 -1
  1146. package/out/lu/tools/fetch/bd-adresses.js +32 -30
  1147. package/out/lu/tools/fetch/bd-adresses.js.map +1 -1
  1148. package/out/lv/adapters/varis/adapter.d.ts +4 -114
  1149. package/out/lv/adapters/varis/adapter.d.ts.map +1 -1
  1150. package/out/lv/adapters/varis/adapter.js +6 -114
  1151. package/out/lv/adapters/varis/adapter.js.map +1 -1
  1152. package/out/lv/tools/fetch/varis.d.ts +8 -10
  1153. package/out/lv/tools/fetch/varis.d.ts.map +1 -1
  1154. package/out/lv/tools/fetch/varis.js +10 -10
  1155. package/out/lv/tools/fetch/varis.js.map +1 -1
  1156. package/out/nl/adapters/kadaster/adapter.d.ts +0 -78
  1157. package/out/nl/adapters/kadaster/adapter.d.ts.map +1 -1
  1158. package/out/nl/adapters/kadaster/adapter.js +84 -64
  1159. package/out/nl/adapters/kadaster/adapter.js.map +1 -1
  1160. package/out/nl/recipes/postcode.d.ts +0 -18
  1161. package/out/nl/recipes/postcode.d.ts.map +1 -1
  1162. package/out/nl/recipes/postcode.js +15 -13
  1163. package/out/nl/recipes/postcode.js.map +1 -1
  1164. package/out/nl/tools/fetch/kadaster.d.ts +14 -17
  1165. package/out/nl/tools/fetch/kadaster.d.ts.map +1 -1
  1166. package/out/nl/tools/fetch/kadaster.js +15 -16
  1167. package/out/nl/tools/fetch/kadaster.js.map +1 -1
  1168. package/out/no/adapters/matrikkelen/adapter.d.ts +0 -23
  1169. package/out/no/adapters/matrikkelen/adapter.d.ts.map +1 -1
  1170. package/out/no/adapters/matrikkelen/adapter.js +16 -16
  1171. package/out/no/adapters/matrikkelen/adapter.js.map +1 -1
  1172. package/out/no/recipes/fragment.d.ts +0 -5
  1173. package/out/no/recipes/fragment.d.ts.map +1 -1
  1174. package/out/no/recipes/fragment.js +2 -5
  1175. package/out/no/recipes/fragment.js.map +1 -1
  1176. package/out/no/recipes/street/led.d.ts +0 -15
  1177. package/out/no/recipes/street/led.d.ts.map +1 -1
  1178. package/out/no/recipes/street/led.js +7 -8
  1179. package/out/no/recipes/street/led.js.map +1 -1
  1180. package/out/no/recipes/street.d.ts +0 -10
  1181. package/out/no/recipes/street.d.ts.map +1 -1
  1182. package/out/no/recipes/street.js +6 -7
  1183. package/out/no/recipes/street.js.map +1 -1
  1184. package/out/no/tools/fetch/matrikkelen.d.ts +29 -28
  1185. package/out/no/tools/fetch/matrikkelen.d.ts.map +1 -1
  1186. package/out/no/tools/fetch/matrikkelen.js +31 -28
  1187. package/out/no/tools/fetch/matrikkelen.js.map +1 -1
  1188. package/out/nz/recipes/unit-type-guideline.d.ts +0 -18
  1189. package/out/nz/recipes/unit-type-guideline.d.ts.map +1 -1
  1190. package/out/nz/recipes/unit-type-guideline.js +12 -13
  1191. package/out/nz/recipes/unit-type-guideline.js.map +1 -1
  1192. package/out/parquet/corpus-rows.d.ts +0 -3
  1193. package/out/parquet/corpus-rows.d.ts.map +1 -1
  1194. package/out/parquet/corpus-rows.js +2 -11
  1195. package/out/parquet/corpus-rows.js.map +1 -1
  1196. package/out/parquet/duckdb.d.ts +6 -16
  1197. package/out/parquet/duckdb.d.ts.map +1 -1
  1198. package/out/parquet/duckdb.js +15 -13
  1199. package/out/parquet/duckdb.js.map +1 -1
  1200. package/out/parquet/readers.d.ts +0 -9
  1201. package/out/parquet/readers.d.ts.map +1 -1
  1202. package/out/parquet/readers.js +2 -3
  1203. package/out/parquet/readers.js.map +1 -1
  1204. package/out/parquet/record.d.ts +3 -24
  1205. package/out/parquet/record.d.ts.map +1 -1
  1206. package/out/parquet/record.js +4 -5
  1207. package/out/parquet/record.js.map +1 -1
  1208. package/out/parquet/schema.d.ts +2 -5
  1209. package/out/parquet/schema.d.ts.map +1 -1
  1210. package/out/parquet/schema.js +5 -16
  1211. package/out/parquet/schema.js.map +1 -1
  1212. package/out/parquet/shuffle.d.ts +1 -7
  1213. package/out/parquet/shuffle.d.ts.map +1 -1
  1214. package/out/parquet/shuffle.js +3 -4
  1215. package/out/parquet/shuffle.js.map +1 -1
  1216. package/out/parquet/span-sql.d.ts +0 -3
  1217. package/out/parquet/span-sql.d.ts.map +1 -1
  1218. package/out/parquet/span-sql.js +2 -3
  1219. package/out/parquet/span-sql.js.map +1 -1
  1220. package/out/parquet/streams.d.ts +0 -3
  1221. package/out/parquet/streams.d.ts.map +1 -1
  1222. package/out/parquet/streams.js +3 -10
  1223. package/out/parquet/streams.js.map +1 -1
  1224. package/out/parquet/writers.d.ts +3 -35
  1225. package/out/parquet/writers.d.ts.map +1 -1
  1226. package/out/parquet/writers.js +6 -7
  1227. package/out/parquet/writers.js.map +1 -1
  1228. package/out/pl/adapters/emuia/adapter.d.ts +0 -53
  1229. package/out/pl/adapters/emuia/adapter.d.ts.map +1 -1
  1230. package/out/pl/adapters/emuia/adapter.js +55 -45
  1231. package/out/pl/adapters/emuia/adapter.js.map +1 -1
  1232. package/out/pl/tools/fetch/emuia.d.ts +59 -50
  1233. package/out/pl/tools/fetch/emuia.d.ts.map +1 -1
  1234. package/out/pl/tools/fetch/emuia.js +60 -49
  1235. package/out/pl/tools/fetch/emuia.js.map +1 -1
  1236. package/out/post-offices/source.d.ts +107 -0
  1237. package/out/post-offices/source.d.ts.map +1 -0
  1238. package/out/post-offices/source.js +21 -0
  1239. package/out/post-offices/source.js.map +1 -0
  1240. package/out/post-offices/sources.d.ts +13 -0
  1241. package/out/post-offices/sources.d.ts.map +1 -0
  1242. package/out/post-offices/sources.js +8 -0
  1243. package/out/post-offices/sources.js.map +1 -0
  1244. package/out/recipes/address-points.d.ts +1 -12
  1245. package/out/recipes/address-points.d.ts.map +1 -1
  1246. package/out/recipes/address-points.js +3 -4
  1247. package/out/recipes/address-points.js.map +1 -1
  1248. package/out/recipes/anchor-absorption.d.ts +0 -11
  1249. package/out/recipes/anchor-absorption.d.ts.map +1 -1
  1250. package/out/recipes/anchor-absorption.js +9 -9
  1251. package/out/recipes/anchor-absorption.js.map +1 -1
  1252. package/out/recipes/bare/country.d.ts.map +1 -1
  1253. package/out/recipes/bare/country.js +2 -0
  1254. package/out/recipes/bare/country.js.map +1 -1
  1255. package/out/recipes/bare/postcode/eval.d.ts +0 -10
  1256. package/out/recipes/bare/postcode/eval.d.ts.map +1 -1
  1257. package/out/recipes/bare/postcode/eval.js +6 -7
  1258. package/out/recipes/bare/postcode/eval.js.map +1 -1
  1259. package/out/recipes/bare/postcode.d.ts +3 -12
  1260. package/out/recipes/bare/postcode.d.ts.map +1 -1
  1261. package/out/recipes/bare/postcode.js +12 -13
  1262. package/out/recipes/bare/postcode.js.map +1 -1
  1263. package/out/recipes/boundary-stress.d.ts +0 -11
  1264. package/out/recipes/boundary-stress.d.ts.map +1 -1
  1265. package/out/recipes/boundary-stress.js +5 -6
  1266. package/out/recipes/boundary-stress.js.map +1 -1
  1267. package/out/recipes/country-balanced.d.ts +0 -8
  1268. package/out/recipes/country-balanced.d.ts.map +1 -1
  1269. package/out/recipes/country-balanced.js +17 -15
  1270. package/out/recipes/country-balanced.js.map +1 -1
  1271. package/out/recipes/deepseek/batches.d.ts +3 -14
  1272. package/out/recipes/deepseek/batches.d.ts.map +1 -1
  1273. package/out/recipes/deepseek/batches.js +6 -7
  1274. package/out/recipes/deepseek/batches.js.map +1 -1
  1275. package/out/recipes/deepseek/client.d.ts +0 -3
  1276. package/out/recipes/deepseek/client.d.ts.map +1 -1
  1277. package/out/recipes/deepseek/client.js +2 -3
  1278. package/out/recipes/deepseek/client.js.map +1 -1
  1279. package/out/recipes/deepseek/generate.d.ts +0 -9
  1280. package/out/recipes/deepseek/generate.d.ts.map +1 -1
  1281. package/out/recipes/deepseek/generate.js +2 -3
  1282. package/out/recipes/deepseek/generate.js.map +1 -1
  1283. package/out/recipes/deepseek/kryptonite.d.ts +1 -4
  1284. package/out/recipes/deepseek/kryptonite.d.ts.map +1 -1
  1285. package/out/recipes/deepseek/kryptonite.js +3 -4
  1286. package/out/recipes/deepseek/kryptonite.js.map +1 -1
  1287. package/out/recipes/deepseek/prompts.d.ts +0 -3
  1288. package/out/recipes/deepseek/prompts.d.ts.map +1 -1
  1289. package/out/recipes/deepseek/prompts.js +2 -10
  1290. package/out/recipes/deepseek/prompts.js.map +1 -1
  1291. package/out/recipes/deepseek/run.d.ts +2 -12
  1292. package/out/recipes/deepseek/run.d.ts.map +1 -1
  1293. package/out/recipes/deepseek/run.js +4 -5
  1294. package/out/recipes/deepseek/run.js.map +1 -1
  1295. package/out/recipes/deepseek/transliteration.d.ts +1 -4
  1296. package/out/recipes/deepseek/transliteration.d.ts.map +1 -1
  1297. package/out/recipes/deepseek/transliteration.js +3 -4
  1298. package/out/recipes/deepseek/transliteration.js.map +1 -1
  1299. package/out/recipes/fragment-assay/build.d.ts +0 -11
  1300. package/out/recipes/fragment-assay/build.d.ts.map +1 -1
  1301. package/out/recipes/fragment-assay/build.js +2 -3
  1302. package/out/recipes/fragment-assay/build.js.map +1 -1
  1303. package/out/recipes/fragment-assay/rows.d.ts +0 -10
  1304. package/out/recipes/fragment-assay/rows.d.ts.map +1 -1
  1305. package/out/recipes/fragment-assay/rows.js +2 -3
  1306. package/out/recipes/fragment-assay/rows.js.map +1 -1
  1307. package/out/recipes/fragment-assay/sources.d.ts +4 -16
  1308. package/out/recipes/fragment-assay/sources.d.ts.map +1 -1
  1309. package/out/recipes/fragment-assay/sources.js +6 -7
  1310. package/out/recipes/fragment-assay/sources.js.map +1 -1
  1311. package/out/recipes/house/venue/tuples.d.ts +1 -16
  1312. package/out/recipes/house/venue/tuples.d.ts.map +1 -1
  1313. package/out/recipes/house/venue/tuples.js +3 -4
  1314. package/out/recipes/house/venue/tuples.js.map +1 -1
  1315. package/out/recipes/house/venue.d.ts +0 -11
  1316. package/out/recipes/house/venue.d.ts.map +1 -1
  1317. package/out/recipes/house/venue.js +8 -9
  1318. package/out/recipes/house/venue.js.map +1 -1
  1319. package/out/recipes/intersection.d.ts +0 -34
  1320. package/out/recipes/intersection.d.ts.map +1 -1
  1321. package/out/recipes/intersection.js +2 -34
  1322. package/out/recipes/intersection.js.map +1 -1
  1323. package/out/recipes/po/box/cedex/au-nz.d.ts +0 -3
  1324. package/out/recipes/po/box/cedex/au-nz.d.ts.map +1 -1
  1325. package/out/recipes/po/box/cedex/au-nz.js +2 -3
  1326. package/out/recipes/po/box/cedex/au-nz.js.map +1 -1
  1327. package/out/recipes/po/box/cedex/ca.d.ts +0 -3
  1328. package/out/recipes/po/box/cedex/ca.d.ts.map +1 -1
  1329. package/out/recipes/po/box/cedex/ca.js +2 -3
  1330. package/out/recipes/po/box/cedex/ca.js.map +1 -1
  1331. package/out/recipes/po/box/cedex/fr.d.ts +0 -3
  1332. package/out/recipes/po/box/cedex/fr.d.ts.map +1 -1
  1333. package/out/recipes/po/box/cedex/fr.js +2 -3
  1334. package/out/recipes/po/box/cedex/fr.js.map +1 -1
  1335. package/out/recipes/po/box/cedex/phrases.d.ts +0 -3
  1336. package/out/recipes/po/box/cedex/phrases.d.ts.map +1 -1
  1337. package/out/recipes/po/box/cedex/phrases.js +2 -3
  1338. package/out/recipes/po/box/cedex/phrases.js.map +1 -1
  1339. package/out/recipes/po/box/cedex/recipe.d.ts +0 -3
  1340. package/out/recipes/po/box/cedex/recipe.d.ts.map +1 -1
  1341. package/out/recipes/po/box/cedex/recipe.js +4 -5
  1342. package/out/recipes/po/box/cedex/recipe.js.map +1 -1
  1343. package/out/recipes/po/box/cedex/sources.d.ts +1 -4
  1344. package/out/recipes/po/box/cedex/sources.d.ts.map +1 -1
  1345. package/out/recipes/po/box/cedex/sources.js +4 -5
  1346. package/out/recipes/po/box/cedex/sources.js.map +1 -1
  1347. package/out/recipes/po/box/cedex/types.d.ts +0 -3
  1348. package/out/recipes/po/box/cedex/types.d.ts.map +1 -1
  1349. package/out/recipes/po/box/cedex/types.js +2 -3
  1350. package/out/recipes/po/box/cedex/types.js.map +1 -1
  1351. package/out/recipes/po/box/cedex/us.d.ts +0 -3
  1352. package/out/recipes/po/box/cedex/us.d.ts.map +1 -1
  1353. package/out/recipes/po/box/cedex/us.js +2 -3
  1354. package/out/recipes/po/box/cedex/us.js.map +1 -1
  1355. package/out/recipes/po/box/cedex/vocabulary.d.ts +0 -3
  1356. package/out/recipes/po/box/cedex/vocabulary.d.ts.map +1 -1
  1357. package/out/recipes/po/box/cedex/vocabulary.js +2 -3
  1358. package/out/recipes/po/box/cedex/vocabulary.js.map +1 -1
  1359. package/out/recipes/po/box/cedex.d.ts +0 -4
  1360. package/out/recipes/po/box/cedex.d.ts.map +1 -1
  1361. package/out/recipes/po/box/cedex.js +2 -4
  1362. package/out/recipes/po/box/cedex.js.map +1 -1
  1363. package/out/recipes/po/box.d.ts +0 -9
  1364. package/out/recipes/po/box.d.ts.map +1 -1
  1365. package/out/recipes/po/box.js +3 -5
  1366. package/out/recipes/po/box.js.map +1 -1
  1367. package/out/recipes/postal/guideline/leg.d.ts +0 -8
  1368. package/out/recipes/postal/guideline/leg.d.ts.map +1 -1
  1369. package/out/recipes/postal/guideline/leg.js +4 -5
  1370. package/out/recipes/postal/guideline/leg.js.map +1 -1
  1371. package/out/recipes/postal/guideline.d.ts +1 -14
  1372. package/out/recipes/postal/guideline.d.ts.map +1 -1
  1373. package/out/recipes/postal/guideline.js +10 -10
  1374. package/out/recipes/postal/guideline.js.map +1 -1
  1375. package/out/recipes/postal/unit-guideline.d.ts +0 -19
  1376. package/out/recipes/postal/unit-guideline.d.ts.map +1 -1
  1377. package/out/recipes/postal/unit-guideline.js +15 -14
  1378. package/out/recipes/postal/unit-guideline.js.map +1 -1
  1379. package/out/recipes/scaffold.d.ts +4 -14
  1380. package/out/recipes/scaffold.d.ts.map +1 -1
  1381. package/out/recipes/scaffold.js +7 -8
  1382. package/out/recipes/scaffold.js.map +1 -1
  1383. package/out/recipes/secondary.d.ts +0 -17
  1384. package/out/recipes/secondary.d.ts.map +1 -1
  1385. package/out/recipes/secondary.js +2 -3
  1386. package/out/recipes/secondary.js.map +1 -1
  1387. package/out/recipes/sources.d.ts +5 -8
  1388. package/out/recipes/sources.d.ts.map +1 -1
  1389. package/out/recipes/sources.js +7 -8
  1390. package/out/recipes/sources.js.map +1 -1
  1391. package/out/recipes/street/affix.d.ts +0 -5
  1392. package/out/recipes/street/affix.d.ts.map +1 -1
  1393. package/out/recipes/street/affix.js +15 -12
  1394. package/out/recipes/street/affix.js.map +1 -1
  1395. package/out/recipes/street/bare.d.ts +0 -18
  1396. package/out/recipes/street/bare.d.ts.map +1 -1
  1397. package/out/recipes/street/bare.js +15 -14
  1398. package/out/recipes/street/bare.js.map +1 -1
  1399. package/out/recipes/street.d.ts +0 -8
  1400. package/out/recipes/street.d.ts.map +1 -1
  1401. package/out/recipes/street.js +5 -6
  1402. package/out/recipes/street.js.map +1 -1
  1403. package/out/recipes/sub/venue/context.d.ts +0 -6
  1404. package/out/recipes/sub/venue/context.d.ts.map +1 -1
  1405. package/out/recipes/sub/venue/context.js +8 -9
  1406. package/out/recipes/sub/venue/context.js.map +1 -1
  1407. package/out/recipes/sub/venue/render.d.ts +0 -6
  1408. package/out/recipes/sub/venue/render.d.ts.map +1 -1
  1409. package/out/recipes/sub/venue/render.js +2 -3
  1410. package/out/recipes/sub/venue/render.js.map +1 -1
  1411. package/out/recipes/sub/venue/sources.d.ts +1 -6
  1412. package/out/recipes/sub/venue/sources.d.ts.map +1 -1
  1413. package/out/recipes/sub/venue/sources.js +3 -6
  1414. package/out/recipes/sub/venue/sources.js.map +1 -1
  1415. package/out/recipes/sub/venue.d.ts +0 -8
  1416. package/out/recipes/sub/venue.d.ts.map +1 -1
  1417. package/out/recipes/sub/venue.js +4 -6
  1418. package/out/recipes/sub/venue.js.map +1 -1
  1419. package/out/recipes/trailing-region.d.ts +0 -16
  1420. package/out/recipes/trailing-region.d.ts.map +1 -1
  1421. package/out/recipes/trailing-region.js +13 -14
  1422. package/out/recipes/trailing-region.js.map +1 -1
  1423. package/out/recipes/unit.d.ts +5 -8
  1424. package/out/recipes/unit.d.ts.map +1 -1
  1425. package/out/recipes/unit.js +5 -14
  1426. package/out/recipes/unit.js.map +1 -1
  1427. package/out/recipes/venue.d.ts +1 -25
  1428. package/out/recipes/venue.d.ts.map +1 -1
  1429. package/out/recipes/venue.js +23 -21
  1430. package/out/recipes/venue.js.map +1 -1
  1431. package/out/recipes.d.ts +0 -11
  1432. package/out/recipes.d.ts.map +1 -1
  1433. package/out/recipes.js +8 -8
  1434. package/out/recipes.js.map +1 -1
  1435. package/out/registers.d.ts +4 -4
  1436. package/out/registers.d.ts.map +1 -1
  1437. package/out/registers.js +6 -4
  1438. package/out/registers.js.map +1 -1
  1439. package/out/ro/adapters/retea-scolara/adapter.d.ts +1 -47
  1440. package/out/ro/adapters/retea-scolara/adapter.d.ts.map +1 -1
  1441. package/out/ro/adapters/retea-scolara/adapter.js +35 -28
  1442. package/out/ro/adapters/retea-scolara/adapter.js.map +1 -1
  1443. package/out/ro/tools/fetch/retea-scolara.d.ts +7 -9
  1444. package/out/ro/tools/fetch/retea-scolara.d.ts.map +1 -1
  1445. package/out/ro/tools/fetch/retea-scolara.js +9 -9
  1446. package/out/ro/tools/fetch/retea-scolara.js.map +1 -1
  1447. package/out/runner.d.ts +15 -10
  1448. package/out/runner.d.ts.map +1 -1
  1449. package/out/runner.js +8 -8
  1450. package/out/runner.js.map +1 -1
  1451. package/out/sg/recipes/register.d.ts +2 -9
  1452. package/out/sg/recipes/register.d.ts.map +1 -1
  1453. package/out/sg/recipes/register.js +6 -7
  1454. package/out/sg/recipes/register.js.map +1 -1
  1455. package/out/sg/tools/fetch/acra.d.ts +4 -9
  1456. package/out/sg/tools/fetch/acra.d.ts.map +1 -1
  1457. package/out/sg/tools/fetch/acra.js +14 -7
  1458. package/out/sg/tools/fetch/acra.js.map +1 -1
  1459. package/out/si/recipes/bare-village.d.ts +0 -22
  1460. package/out/si/recipes/bare-village.d.ts.map +1 -1
  1461. package/out/si/recipes/bare-village.js +15 -13
  1462. package/out/si/recipes/bare-village.js.map +1 -1
  1463. package/out/sk/adapters/inspire/adapter.d.ts +0 -73
  1464. package/out/sk/adapters/inspire/adapter.d.ts.map +1 -1
  1465. package/out/sk/adapters/inspire/adapter.js +72 -51
  1466. package/out/sk/adapters/inspire/adapter.js.map +1 -1
  1467. package/out/sk/tools/fetch/inspire.d.ts +35 -34
  1468. package/out/sk/tools/fetch/inspire.d.ts.map +1 -1
  1469. package/out/sk/tools/fetch/inspire.js +36 -33
  1470. package/out/sk/tools/fetch/inspire.js.map +1 -1
  1471. package/out/source-register/corpus-inputs.d.ts +7 -24
  1472. package/out/source-register/corpus-inputs.d.ts.map +1 -1
  1473. package/out/source-register/corpus-inputs.js +17 -14
  1474. package/out/source-register/corpus-inputs.js.map +1 -1
  1475. package/out/source-register/effective-manifest.d.ts +3 -24
  1476. package/out/source-register/effective-manifest.d.ts.map +1 -1
  1477. package/out/source-register/effective-manifest.js +16 -9
  1478. package/out/source-register/effective-manifest.js.map +1 -1
  1479. package/out/source-register/register.d.ts +1 -8
  1480. package/out/source-register/register.d.ts.map +1 -1
  1481. package/out/source-register/register.js +4 -6
  1482. package/out/source-register/register.js.map +1 -1
  1483. package/out/source-register/row-license.d.ts +3 -20
  1484. package/out/source-register/row-license.d.ts.map +1 -1
  1485. package/out/source-register/row-license.js +18 -15
  1486. package/out/source-register/row-license.js.map +1 -1
  1487. package/out/source-register/training-manifest.d.ts +12 -23
  1488. package/out/source-register/training-manifest.d.ts.map +1 -1
  1489. package/out/source-register/training-manifest.js +12 -13
  1490. package/out/source-register/training-manifest.js.map +1 -1
  1491. package/out/source-register/types.d.ts +8 -11
  1492. package/out/source-register/types.d.ts.map +1 -1
  1493. package/out/source-register/types.js +6 -11
  1494. package/out/source-register/types.js.map +1 -1
  1495. package/out/source-register.d.ts +4 -7
  1496. package/out/source-register.d.ts.map +1 -1
  1497. package/out/source-register.js +6 -7
  1498. package/out/source-register.js.map +1 -1
  1499. package/out/south-asia/recipes/register.d.ts +0 -27
  1500. package/out/south-asia/recipes/register.d.ts.map +1 -1
  1501. package/out/south-asia/recipes/register.js +19 -17
  1502. package/out/south-asia/recipes/register.js.map +1 -1
  1503. package/out/street-index/reader.d.ts +0 -3
  1504. package/out/street-index/reader.d.ts.map +1 -1
  1505. package/out/street-index/reader.js +2 -3
  1506. package/out/street-index/reader.js.map +1 -1
  1507. package/out/street-index/schema.d.ts +0 -3
  1508. package/out/street-index/schema.d.ts.map +1 -1
  1509. package/out/street-index/schema.js +2 -3
  1510. package/out/street-index/schema.js.map +1 -1
  1511. package/out/street-index/write.d.ts +0 -6
  1512. package/out/street-index/write.d.ts.map +1 -1
  1513. package/out/street-index/write.js +2 -3
  1514. package/out/street-index/write.js.map +1 -1
  1515. package/out/subvenue/harvest.d.ts +5 -33
  1516. package/out/subvenue/harvest.d.ts.map +1 -1
  1517. package/out/subvenue/harvest.js +30 -21
  1518. package/out/subvenue/harvest.js.map +1 -1
  1519. package/out/subvenue/promotions.d.ts +1 -5
  1520. package/out/subvenue/promotions.d.ts.map +1 -1
  1521. package/out/subvenue/promotions.js +3 -8
  1522. package/out/subvenue/promotions.js.map +1 -1
  1523. package/out/subvenue/surfaces.d.ts +0 -10
  1524. package/out/subvenue/surfaces.d.ts.map +1 -1
  1525. package/out/subvenue/surfaces.js +3 -5
  1526. package/out/subvenue/surfaces.js.map +1 -1
  1527. package/out/subvenue/table.d.ts +2 -6
  1528. package/out/subvenue/table.d.ts.map +1 -1
  1529. package/out/subvenue/table.js +3 -12
  1530. package/out/subvenue/table.js.map +1 -1
  1531. package/out/surfaces/locale.d.ts +1 -16
  1532. package/out/surfaces/locale.d.ts.map +1 -1
  1533. package/out/surfaces/locale.js +12 -12
  1534. package/out/surfaces/locale.js.map +1 -1
  1535. package/out/synthesizers/anchor-absorption.d.ts +3 -6
  1536. package/out/synthesizers/anchor-absorption.d.ts.map +1 -1
  1537. package/out/synthesizers/anchor-absorption.js +2 -7
  1538. package/out/synthesizers/anchor-absorption.js.map +1 -1
  1539. package/out/synthesizers/boundary-stress.d.ts +0 -7
  1540. package/out/synthesizers/boundary-stress.d.ts.map +1 -1
  1541. package/out/synthesizers/boundary-stress.js +3 -5
  1542. package/out/synthesizers/boundary-stress.js.map +1 -1
  1543. package/out/synthesizers/house-venue.d.ts +0 -7
  1544. package/out/synthesizers/house-venue.d.ts.map +1 -1
  1545. package/out/synthesizers/house-venue.js +2 -4
  1546. package/out/synthesizers/house-venue.js.map +1 -1
  1547. package/out/synthesizers/no-street.d.ts +0 -9
  1548. package/out/synthesizers/no-street.d.ts.map +1 -1
  1549. package/out/synthesizers/no-street.js +7 -7
  1550. package/out/synthesizers/no-street.js.map +1 -1
  1551. package/out/synthesizers/po-box.d.ts +0 -7
  1552. package/out/synthesizers/po-box.d.ts.map +1 -1
  1553. package/out/synthesizers/po-box.js +4 -5
  1554. package/out/synthesizers/po-box.js.map +1 -1
  1555. package/out/synthesizers/tail.d.ts +0 -13
  1556. package/out/synthesizers/tail.d.ts.map +1 -1
  1557. package/out/synthesizers/tail.js +9 -10
  1558. package/out/synthesizers/tail.js.map +1 -1
  1559. package/out/synthesizers/utils.d.ts +8 -7
  1560. package/out/synthesizers/utils.d.ts.map +1 -1
  1561. package/out/synthesizers/utils.js +27 -6
  1562. package/out/synthesizers/utils.js.map +1 -1
  1563. package/out/test-kit/corpus-recipe.d.ts +3 -7
  1564. package/out/test-kit/corpus-recipe.d.ts.map +1 -1
  1565. package/out/test-kit/corpus-recipe.js +5 -7
  1566. package/out/test-kit/corpus-recipe.js.map +1 -1
  1567. package/out/test-kit.d.ts +2 -13
  1568. package/out/test-kit.d.ts.map +1 -1
  1569. package/out/test-kit.js +7 -7
  1570. package/out/test-kit.js.map +1 -1
  1571. package/out/tools/align-canonical.d.ts.map +1 -1
  1572. package/out/tools/align-canonical.js +4 -2
  1573. package/out/tools/align-canonical.js.map +1 -1
  1574. package/out/tools/audit.d.ts +0 -16
  1575. package/out/tools/audit.d.ts.map +1 -1
  1576. package/out/tools/audit.js +8 -9
  1577. package/out/tools/audit.js.map +1 -1
  1578. package/out/tools/cjk/foreign-places.run.d.ts +0 -11
  1579. package/out/tools/cjk/foreign-places.run.d.ts.map +1 -1
  1580. package/out/tools/cjk/foreign-places.run.js +2 -3
  1581. package/out/tools/cjk/foreign-places.run.js.map +1 -1
  1582. package/out/tools/cjk/overlay.run.d.ts +0 -16
  1583. package/out/tools/cjk/overlay.run.d.ts.map +1 -1
  1584. package/out/tools/cjk/overlay.run.js +2 -3
  1585. package/out/tools/cjk/overlay.run.js.map +1 -1
  1586. package/out/tools/corpus-stats.d.ts +0 -37
  1587. package/out/tools/corpus-stats.d.ts.map +1 -1
  1588. package/out/tools/corpus-stats.js +13 -12
  1589. package/out/tools/corpus-stats.js.map +1 -1
  1590. package/out/tools/de-fragment-board.run.d.ts +0 -12
  1591. package/out/tools/de-fragment-board.run.d.ts.map +1 -1
  1592. package/out/tools/de-fragment-board.run.js +5 -6
  1593. package/out/tools/de-fragment-board.run.js.map +1 -1
  1594. package/out/tools/deepseek.run.d.ts +0 -15
  1595. package/out/tools/deepseek.run.d.ts.map +1 -1
  1596. package/out/tools/deepseek.run.js +2 -3
  1597. package/out/tools/deepseek.run.js.map +1 -1
  1598. package/out/tools/fetch/atom.d.ts +2 -23
  1599. package/out/tools/fetch/atom.d.ts.map +1 -1
  1600. package/out/tools/fetch/atom.js +4 -5
  1601. package/out/tools/fetch/atom.js.map +1 -1
  1602. package/out/tools/fetch/cordis.d.ts +13 -15
  1603. package/out/tools/fetch/cordis.d.ts.map +1 -1
  1604. package/out/tools/fetch/cordis.js +15 -15
  1605. package/out/tools/fetch/cordis.js.map +1 -1
  1606. package/out/tools/fetch/download/manifest.d.ts +5 -11
  1607. package/out/tools/fetch/download/manifest.d.ts.map +1 -1
  1608. package/out/tools/fetch/download/manifest.js +6 -7
  1609. package/out/tools/fetch/download/manifest.js.map +1 -1
  1610. package/out/tools/fetch/download/network.d.ts +8 -8
  1611. package/out/tools/fetch/download/network.d.ts.map +1 -1
  1612. package/out/tools/fetch/download/network.js +2 -4
  1613. package/out/tools/fetch/download/network.js.map +1 -1
  1614. package/out/tools/fetch/download/retry.d.ts +0 -6
  1615. package/out/tools/fetch/download/retry.d.ts.map +1 -1
  1616. package/out/tools/fetch/download/retry.js +5 -9
  1617. package/out/tools/fetch/download/retry.js.map +1 -1
  1618. package/out/tools/fetch/download.d.ts +0 -3
  1619. package/out/tools/fetch/download.d.ts.map +1 -1
  1620. package/out/tools/fetch/download.js +2 -3
  1621. package/out/tools/fetch/download.js.map +1 -1
  1622. package/out/tools/fetch/geonames/dump.d.ts +2 -21
  1623. package/out/tools/fetch/geonames/dump.d.ts.map +1 -1
  1624. package/out/tools/fetch/geonames/dump.js +23 -16
  1625. package/out/tools/fetch/geonames/dump.js.map +1 -1
  1626. package/out/tools/fetch/geonames/postal.d.ts +2 -15
  1627. package/out/tools/fetch/geonames/postal.d.ts.map +1 -1
  1628. package/out/tools/fetch/geonames/postal.js +12 -13
  1629. package/out/tools/fetch/geonames/postal.js.map +1 -1
  1630. package/out/tools/fetch/gleif.d.ts +19 -20
  1631. package/out/tools/fetch/gleif.d.ts.map +1 -1
  1632. package/out/tools/fetch/gleif.js +21 -20
  1633. package/out/tools/fetch/gleif.js.map +1 -1
  1634. package/out/tools/fetch/header.d.ts +6 -12
  1635. package/out/tools/fetch/header.d.ts.map +1 -1
  1636. package/out/tools/fetch/header.js +4 -16
  1637. package/out/tools/fetch/header.js.map +1 -1
  1638. package/out/tools/fetch/inspire-addresses.d.ts +19 -19
  1639. package/out/tools/fetch/inspire-addresses.d.ts.map +1 -1
  1640. package/out/tools/fetch/inspire-addresses.js +20 -18
  1641. package/out/tools/fetch/inspire-addresses.js.map +1 -1
  1642. package/out/tools/fetch/openaddresses.d.ts +168 -0
  1643. package/out/tools/fetch/openaddresses.d.ts.map +1 -1
  1644. package/out/tools/fetch/openaddresses.js +191 -8
  1645. package/out/tools/fetch/openaddresses.js.map +1 -1
  1646. package/out/tools/fetch/ourairports.d.ts +0 -10
  1647. package/out/tools/fetch/ourairports.d.ts.map +1 -1
  1648. package/out/tools/fetch/ourairports.js +4 -6
  1649. package/out/tools/fetch/ourairports.js.map +1 -1
  1650. package/out/tools/fetch/storage.d.ts +259 -0
  1651. package/out/tools/fetch/storage.d.ts.map +1 -0
  1652. package/out/tools/fetch/storage.js +294 -0
  1653. package/out/tools/fetch/storage.js.map +1 -0
  1654. package/out/tools/fetch/vlaanderen-ad.d.ts +0 -28
  1655. package/out/tools/fetch/vlaanderen-ad.d.ts.map +1 -1
  1656. package/out/tools/fetch/vlaanderen-ad.js +25 -25
  1657. package/out/tools/fetch/vlaanderen-ad.js.map +1 -1
  1658. package/out/tools/fetch/wfs-harvest.d.ts +37 -34
  1659. package/out/tools/fetch/wfs-harvest.d.ts.map +1 -1
  1660. package/out/tools/fetch/wfs-harvest.js +45 -35
  1661. package/out/tools/fetch/wfs-harvest.js.map +1 -1
  1662. package/out/tools/fetch/wikidata/session.d.ts +5 -8
  1663. package/out/tools/fetch/wikidata/session.d.ts.map +1 -1
  1664. package/out/tools/fetch/wikidata/session.js +2 -11
  1665. package/out/tools/fetch/wikidata/session.js.map +1 -1
  1666. package/out/tools/fetch/wikidata/subvenue.d.ts +2 -5
  1667. package/out/tools/fetch/wikidata/subvenue.d.ts.map +1 -1
  1668. package/out/tools/fetch/wikidata/subvenue.js +3 -4
  1669. package/out/tools/fetch/wikidata/subvenue.js.map +1 -1
  1670. package/out/tools/fetch/wikidata/vital-places/classify.d.ts +12 -21
  1671. package/out/tools/fetch/wikidata/vital-places/classify.d.ts.map +1 -1
  1672. package/out/tools/fetch/wikidata/vital-places/classify.js +26 -21
  1673. package/out/tools/fetch/wikidata/vital-places/classify.js.map +1 -1
  1674. package/out/tools/fetch/wikidata/vital-places/entities.d.ts +31 -30
  1675. package/out/tools/fetch/wikidata/vital-places/entities.d.ts.map +1 -1
  1676. package/out/tools/fetch/wikidata/vital-places/entities.js +33 -30
  1677. package/out/tools/fetch/wikidata/vital-places/entities.js.map +1 -1
  1678. package/out/tools/fetch/wikidata/vital-places/inventory.d.ts +1 -9
  1679. package/out/tools/fetch/wikidata/vital-places/inventory.d.ts.map +1 -1
  1680. package/out/tools/fetch/wikidata/vital-places/inventory.js +5 -7
  1681. package/out/tools/fetch/wikidata/vital-places/inventory.js.map +1 -1
  1682. package/out/tools/fetch/wikidata/vital-places/progress.d.ts +0 -4
  1683. package/out/tools/fetch/wikidata/vital-places/progress.d.ts.map +1 -1
  1684. package/out/tools/fetch/wikidata/vital-places/progress.js +2 -7
  1685. package/out/tools/fetch/wikidata/vital-places/progress.js.map +1 -1
  1686. package/out/tools/fetch/wikidata/vital-places/qrank.d.ts +9 -11
  1687. package/out/tools/fetch/wikidata/vital-places/qrank.d.ts.map +1 -1
  1688. package/out/tools/fetch/wikidata/vital-places/qrank.js +2 -16
  1689. package/out/tools/fetch/wikidata/vital-places/qrank.js.map +1 -1
  1690. package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts +1 -14
  1691. package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts.map +1 -1
  1692. package/out/tools/fetch/wikidata/vital-places/query-entities.js +16 -12
  1693. package/out/tools/fetch/wikidata/vital-places/query-entities.js.map +1 -1
  1694. package/out/tools/fetch/wikidata/vital-places/render.d.ts +8 -10
  1695. package/out/tools/fetch/wikidata/vital-places/render.d.ts.map +1 -1
  1696. package/out/tools/fetch/wikidata/vital-places/render.js +2 -14
  1697. package/out/tools/fetch/wikidata/vital-places/render.js.map +1 -1
  1698. package/out/tools/fetch/wikidata/vital-places.d.ts +0 -24
  1699. package/out/tools/fetch/wikidata/vital-places.d.ts.map +1 -1
  1700. package/out/tools/fetch/wikidata/vital-places.js +16 -15
  1701. package/out/tools/fetch/wikidata/vital-places.js.map +1 -1
  1702. package/out/tools/fetch/zip-archive.d.ts +2 -5
  1703. package/out/tools/fetch/zip-archive.d.ts.map +1 -1
  1704. package/out/tools/fetch/zip-archive.js +3 -19
  1705. package/out/tools/fetch/zip-archive.js.map +1 -1
  1706. package/out/tools/fetch.d.ts +4 -4
  1707. package/out/tools/fetch.d.ts.map +1 -1
  1708. package/out/tools/fetch.js +6 -4
  1709. package/out/tools/fetch.js.map +1 -1
  1710. package/out/tools/fragment-assay.run.d.ts +0 -18
  1711. package/out/tools/fragment-assay.run.d.ts.map +1 -1
  1712. package/out/tools/fragment-assay.run.js +6 -7
  1713. package/out/tools/fragment-assay.run.js.map +1 -1
  1714. package/out/tools/golden/expand.d.ts +0 -48
  1715. package/out/tools/golden/expand.d.ts.map +1 -1
  1716. package/out/tools/golden/expand.js +24 -24
  1717. package/out/tools/golden/expand.js.map +1 -1
  1718. package/out/tools/golden/promote.d.ts +0 -32
  1719. package/out/tools/golden/promote.d.ts.map +1 -1
  1720. package/out/tools/golden/promote.js +6 -7
  1721. package/out/tools/golden/promote.js.map +1 -1
  1722. package/out/tools/golden/relabel-street/directory.d.ts +0 -6
  1723. package/out/tools/golden/relabel-street/directory.d.ts.map +1 -1
  1724. package/out/tools/golden/relabel-street/directory.js +2 -3
  1725. package/out/tools/golden/relabel-street/directory.js.map +1 -1
  1726. package/out/tools/golden/relabel-street/row.d.ts +0 -7
  1727. package/out/tools/golden/relabel-street/row.d.ts.map +1 -1
  1728. package/out/tools/golden/relabel-street/row.js +4 -5
  1729. package/out/tools/golden/relabel-street/row.js.map +1 -1
  1730. package/out/tools/golden/relabel-street.d.ts +0 -3
  1731. package/out/tools/golden/relabel-street.d.ts.map +1 -1
  1732. package/out/tools/golden/relabel-street.js +2 -3
  1733. package/out/tools/golden/relabel-street.js.map +1 -1
  1734. package/out/tools/house-venue-tuples.run.d.ts +0 -12
  1735. package/out/tools/house-venue-tuples.run.d.ts.map +1 -1
  1736. package/out/tools/house-venue-tuples.run.js +2 -3
  1737. package/out/tools/house-venue-tuples.run.js.map +1 -1
  1738. package/out/tools/ingest-csv.d.ts +1 -31
  1739. package/out/tools/ingest-csv.d.ts.map +1 -1
  1740. package/out/tools/ingest-csv.js +11 -16
  1741. package/out/tools/ingest-csv.js.map +1 -1
  1742. package/out/tools/input-changes.d.ts +3 -13
  1743. package/out/tools/input-changes.d.ts.map +1 -1
  1744. package/out/tools/input-changes.js +2 -3
  1745. package/out/tools/input-changes.js.map +1 -1
  1746. package/out/tools/jp/corpus.run.d.ts +0 -14
  1747. package/out/tools/jp/corpus.run.d.ts.map +1 -1
  1748. package/out/tools/jp/corpus.run.js +2 -3
  1749. package/out/tools/jp/corpus.run.js.map +1 -1
  1750. package/out/tools/jp/probe-corpus.run.d.ts +0 -12
  1751. package/out/tools/jp/probe-corpus.run.d.ts.map +1 -1
  1752. package/out/tools/jp/probe-corpus.run.js +2 -3
  1753. package/out/tools/jp/probe-corpus.run.js.map +1 -1
  1754. package/out/tools/jsonl-to-parquet.d.ts +0 -15
  1755. package/out/tools/jsonl-to-parquet.d.ts.map +1 -1
  1756. package/out/tools/jsonl-to-parquet.js +11 -8
  1757. package/out/tools/jsonl-to-parquet.js.map +1 -1
  1758. package/out/tools/kr-corpus.run.d.ts +0 -14
  1759. package/out/tools/kr-corpus.run.d.ts.map +1 -1
  1760. package/out/tools/kr-corpus.run.js +2 -3
  1761. package/out/tools/kr-corpus.run.js.map +1 -1
  1762. package/out/tools/lint/recipe-output/vocab.d.ts +0 -17
  1763. package/out/tools/lint/recipe-output/vocab.d.ts.map +1 -1
  1764. package/out/tools/lint/recipe-output/vocab.js +18 -14
  1765. package/out/tools/lint/recipe-output/vocab.js.map +1 -1
  1766. package/out/tools/lint/recipe-output.d.ts +0 -13
  1767. package/out/tools/lint/recipe-output.d.ts.map +1 -1
  1768. package/out/tools/lint/recipe-output.js +12 -10
  1769. package/out/tools/lint/recipe-output.js.map +1 -1
  1770. package/out/tools/migrate/overlay-parquet.d.ts +1 -8
  1771. package/out/tools/migrate/overlay-parquet.d.ts.map +1 -1
  1772. package/out/tools/migrate/overlay-parquet.js +5 -6
  1773. package/out/tools/migrate/overlay-parquet.js.map +1 -1
  1774. package/out/tools/migrate/recipe-output.d.ts +1 -10
  1775. package/out/tools/migrate/recipe-output.d.ts.map +1 -1
  1776. package/out/tools/migrate/recipe-output.js +3 -4
  1777. package/out/tools/migrate/recipe-output.js.map +1 -1
  1778. package/out/tools/migrate/source-names.d.ts +1 -24
  1779. package/out/tools/migrate/source-names.d.ts.map +1 -1
  1780. package/out/tools/migrate/source-names.js +3 -4
  1781. package/out/tools/migrate/source-names.js.map +1 -1
  1782. package/out/tools/overlay/deletions.d.ts +4 -19
  1783. package/out/tools/overlay/deletions.d.ts.map +1 -1
  1784. package/out/tools/overlay/deletions.js +6 -7
  1785. package/out/tools/overlay/deletions.js.map +1 -1
  1786. package/out/tools/overlay/distinct-row-ids.d.ts +0 -3
  1787. package/out/tools/overlay/distinct-row-ids.d.ts.map +1 -1
  1788. package/out/tools/overlay/distinct-row-ids.js +2 -16
  1789. package/out/tools/overlay/distinct-row-ids.js.map +1 -1
  1790. package/out/tools/overlay/held-out-spans.d.ts +2 -21
  1791. package/out/tools/overlay/held-out-spans.d.ts.map +1 -1
  1792. package/out/tools/overlay/held-out-spans.js +2 -3
  1793. package/out/tools/overlay/held-out-spans.js.map +1 -1
  1794. package/out/tools/overlay/kryptonite.d.ts +0 -17
  1795. package/out/tools/overlay/kryptonite.d.ts.map +1 -1
  1796. package/out/tools/overlay/kryptonite.js +8 -9
  1797. package/out/tools/overlay/kryptonite.js.map +1 -1
  1798. package/out/tools/overlay/manifest.d.ts +0 -8
  1799. package/out/tools/overlay/manifest.d.ts.map +1 -1
  1800. package/out/tools/overlay/manifest.js +3 -5
  1801. package/out/tools/overlay/manifest.js.map +1 -1
  1802. package/out/tools/overlay/merge-source.d.ts +0 -10
  1803. package/out/tools/overlay/merge-source.d.ts.map +1 -1
  1804. package/out/tools/overlay/merge-source.js +2 -3
  1805. package/out/tools/overlay/merge-source.js.map +1 -1
  1806. package/out/tools/overlay/split/attribute.d.ts +0 -13
  1807. package/out/tools/overlay/split/attribute.d.ts.map +1 -1
  1808. package/out/tools/overlay/split/attribute.js +2 -3
  1809. package/out/tools/overlay/split/attribute.js.map +1 -1
  1810. package/out/tools/overlay/split/overlay.d.ts +0 -9
  1811. package/out/tools/overlay/split/overlay.d.ts.map +1 -1
  1812. package/out/tools/overlay/split/overlay.js +2 -9
  1813. package/out/tools/overlay/split/overlay.js.map +1 -1
  1814. package/out/tools/overlay/translit.d.ts +1 -30
  1815. package/out/tools/overlay/translit.d.ts.map +1 -1
  1816. package/out/tools/overlay/translit.js +18 -19
  1817. package/out/tools/overlay/translit.js.map +1 -1
  1818. package/out/tools/overture-subvenue.d.ts +0 -11
  1819. package/out/tools/overture-subvenue.d.ts.map +1 -1
  1820. package/out/tools/overture-subvenue.js +7 -8
  1821. package/out/tools/overture-subvenue.js.map +1 -1
  1822. package/out/tools/postcode/non-native-order.d.ts +1 -19
  1823. package/out/tools/postcode/non-native-order.d.ts.map +1 -1
  1824. package/out/tools/postcode/non-native-order.js +15 -14
  1825. package/out/tools/postcode/non-native-order.js.map +1 -1
  1826. package/out/tools/postcode/triples.d.ts +5 -13
  1827. package/out/tools/postcode/triples.d.ts.map +1 -1
  1828. package/out/tools/postcode/triples.js +12 -12
  1829. package/out/tools/postcode/triples.js.map +1 -1
  1830. package/out/tools/registry-corpus.run.d.ts +0 -12
  1831. package/out/tools/registry-corpus.run.d.ts.map +1 -1
  1832. package/out/tools/registry-corpus.run.js +2 -3
  1833. package/out/tools/registry-corpus.run.js.map +1 -1
  1834. package/out/tools/secondary.run.d.ts +0 -12
  1835. package/out/tools/secondary.run.d.ts.map +1 -1
  1836. package/out/tools/secondary.run.js +2 -3
  1837. package/out/tools/secondary.run.js.map +1 -1
  1838. package/out/tools/source-register/build.d.ts +5 -14
  1839. package/out/tools/source-register/build.d.ts.map +1 -1
  1840. package/out/tools/source-register/build.js +9 -10
  1841. package/out/tools/source-register/build.js.map +1 -1
  1842. package/out/tools/street-index/build.d.ts +0 -10
  1843. package/out/tools/street-index/build.d.ts.map +1 -1
  1844. package/out/tools/street-index/build.js +2 -3
  1845. package/out/tools/street-index/build.js.map +1 -1
  1846. package/out/tools/street-index/build.run.d.ts +0 -9
  1847. package/out/tools/street-index/build.run.d.ts.map +1 -1
  1848. package/out/tools/street-index/build.run.js +2 -3
  1849. package/out/tools/street-index/build.run.js.map +1 -1
  1850. package/out/tools/sub/venue/head-nouns.d.ts +0 -10
  1851. package/out/tools/sub/venue/head-nouns.d.ts.map +1 -1
  1852. package/out/tools/sub/venue/head-nouns.js +2 -4
  1853. package/out/tools/sub/venue/head-nouns.js.map +1 -1
  1854. package/out/tools/sub/venue/lexicon.d.ts +1 -8
  1855. package/out/tools/sub/venue/lexicon.d.ts.map +1 -1
  1856. package/out/tools/sub/venue/lexicon.js +2 -4
  1857. package/out/tools/sub/venue/lexicon.js.map +1 -1
  1858. package/out/tools/sub/venue/wikidata.d.ts +0 -16
  1859. package/out/tools/sub/venue/wikidata.d.ts.map +1 -1
  1860. package/out/tools/sub/venue/wikidata.js +9 -9
  1861. package/out/tools/sub/venue/wikidata.js.map +1 -1
  1862. package/out/tools/support-index.d.ts +10 -12
  1863. package/out/tools/support-index.d.ts.map +1 -1
  1864. package/out/tools/support-index.js +11 -11
  1865. package/out/tools/support-index.js.map +1 -1
  1866. package/out/tools/tw-corpus.run.d.ts +0 -12
  1867. package/out/tools/tw-corpus.run.d.ts.map +1 -1
  1868. package/out/tools/tw-corpus.run.js +2 -3
  1869. package/out/tools/tw-corpus.run.js.map +1 -1
  1870. package/out/tools/variety-sample.d.ts +1 -19
  1871. package/out/tools/variety-sample.d.ts.map +1 -1
  1872. package/out/tools/variety-sample.js +13 -12
  1873. package/out/tools/variety-sample.js.map +1 -1
  1874. package/out/tools/vital-places.run.d.ts +0 -13
  1875. package/out/tools/vital-places.run.d.ts.map +1 -1
  1876. package/out/tools/vital-places.run.js +7 -8
  1877. package/out/tools/vital-places.run.js.map +1 -1
  1878. package/out/training/config/admission.d.ts +2 -6
  1879. package/out/training/config/admission.d.ts.map +1 -1
  1880. package/out/training/config/admission.js +4 -6
  1881. package/out/training/config/admission.js.map +1 -1
  1882. package/out/training/config/load.d.ts +19 -17
  1883. package/out/training/config/load.d.ts.map +1 -1
  1884. package/out/training/config/load.js +21 -17
  1885. package/out/training/config/load.js.map +1 -1
  1886. package/out/training/config/python-yaml.d.ts +1 -16
  1887. package/out/training/config/python-yaml.d.ts.map +1 -1
  1888. package/out/training/config/python-yaml.js +15 -12
  1889. package/out/training/config/python-yaml.js.map +1 -1
  1890. package/out/training/config/resolved.d.ts +0 -8
  1891. package/out/training/config/resolved.d.ts.map +1 -1
  1892. package/out/training/config/resolved.js +5 -6
  1893. package/out/training/config/resolved.js.map +1 -1
  1894. package/out/training/config/schema.d.ts +9 -9
  1895. package/out/training/config/schema.d.ts.map +1 -1
  1896. package/out/training/config/schema.js +12 -10
  1897. package/out/training/config/schema.js.map +1 -1
  1898. package/out/tw/corpus/assemble.d.ts +0 -12
  1899. package/out/tw/corpus/assemble.d.ts.map +1 -1
  1900. package/out/tw/corpus/assemble.js +2 -3
  1901. package/out/tw/corpus/assemble.js.map +1 -1
  1902. package/out/tw/corpus/rows.d.ts +1 -13
  1903. package/out/tw/corpus/rows.d.ts.map +1 -1
  1904. package/out/tw/corpus/rows.js +4 -5
  1905. package/out/tw/corpus/rows.js.map +1 -1
  1906. package/out/tw/registers.d.ts +1 -10
  1907. package/out/tw/registers.d.ts.map +1 -1
  1908. package/out/tw/registers.js +3 -4
  1909. package/out/tw/registers.js.map +1 -1
  1910. package/out/tw/tools/fetch/gcis.d.ts +7 -23
  1911. package/out/tw/tools/fetch/gcis.d.ts.map +1 -1
  1912. package/out/tw/tools/fetch/gcis.js +49 -35
  1913. package/out/tw/tools/fetch/gcis.js.map +1 -1
  1914. package/out/types.d.ts +7 -11
  1915. package/out/types.d.ts.map +1 -1
  1916. package/out/types.js +4 -9
  1917. package/out/types.js.map +1 -1
  1918. package/out/us/abbrev/region-samples.d.ts +7 -8
  1919. package/out/us/abbrev/region-samples.d.ts.map +1 -1
  1920. package/out/us/abbrev/region-samples.js +9 -8
  1921. package/out/us/abbrev/region-samples.js.map +1 -1
  1922. package/out/us/abbrev/regions.d.ts +3 -6
  1923. package/out/us/abbrev/regions.d.ts.map +1 -1
  1924. package/out/us/abbrev/regions.js +5 -6
  1925. package/out/us/abbrev/regions.js.map +1 -1
  1926. package/out/us/adapters/fcc-bdc/adapter.d.ts +0 -21
  1927. package/out/us/adapters/fcc-bdc/adapter.d.ts.map +1 -1
  1928. package/out/us/adapters/fcc-bdc/adapter.js +2 -21
  1929. package/out/us/adapters/fcc-bdc/adapter.js.map +1 -1
  1930. package/out/us/adapters/state/hi-schools/adapter.d.ts +0 -29
  1931. package/out/us/adapters/state/hi-schools/adapter.d.ts.map +1 -1
  1932. package/out/us/adapters/state/hi-schools/adapter.js +13 -13
  1933. package/out/us/adapters/state/hi-schools/adapter.js.map +1 -1
  1934. package/out/us/adapters/state/hi-schools/workbook.d.ts +0 -5
  1935. package/out/us/adapters/state/hi-schools/workbook.d.ts.map +1 -1
  1936. package/out/us/adapters/state/hi-schools/workbook.js +2 -5
  1937. package/out/us/adapters/state/hi-schools/workbook.js.map +1 -1
  1938. package/out/us/adapters/state/ia-contractors/adapter.d.ts +0 -23
  1939. package/out/us/adapters/state/ia-contractors/adapter.d.ts.map +1 -1
  1940. package/out/us/adapters/state/ia-contractors/adapter.js +4 -6
  1941. package/out/us/adapters/state/ia-contractors/adapter.js.map +1 -1
  1942. package/out/us/adapters/state/ny-notaries/adapter.d.ts +0 -15
  1943. package/out/us/adapters/state/ny-notaries/adapter.d.ts.map +1 -1
  1944. package/out/us/adapters/state/ny-notaries/adapter.js +6 -8
  1945. package/out/us/adapters/state/ny-notaries/adapter.js.map +1 -1
  1946. package/out/us/adapters/state/tx-notaries/adapter.d.ts +0 -16
  1947. package/out/us/adapters/state/tx-notaries/adapter.d.ts.map +1 -1
  1948. package/out/us/adapters/state/tx-notaries/adapter.js +6 -7
  1949. package/out/us/adapters/state/tx-notaries/adapter.js.map +1 -1
  1950. package/out/us/adapters/tiger/adapter.d.ts +0 -13
  1951. package/out/us/adapters/tiger/adapter.d.ts.map +1 -1
  1952. package/out/us/adapters/tiger/adapter.js +2 -4
  1953. package/out/us/adapters/tiger/adapter.js.map +1 -1
  1954. package/out/us/adapters/tiger/street-decompose.d.ts +0 -10
  1955. package/out/us/adapters/tiger/street-decompose.d.ts.map +1 -1
  1956. package/out/us/adapters/tiger/street-decompose.js +6 -8
  1957. package/out/us/adapters/tiger/street-decompose.js.map +1 -1
  1958. package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts +0 -29
  1959. package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts.map +1 -1
  1960. package/out/us/adapters/usgov/hrsa-fqhc/adapter.js +22 -20
  1961. package/out/us/adapters/usgov/hrsa-fqhc/adapter.js.map +1 -1
  1962. package/out/us/adapters/usgov/imls-pls/adapter.d.ts +0 -19
  1963. package/out/us/adapters/usgov/imls-pls/adapter.d.ts.map +1 -1
  1964. package/out/us/adapters/usgov/imls-pls/adapter.js +8 -10
  1965. package/out/us/adapters/usgov/imls-pls/adapter.js.map +1 -1
  1966. package/out/us/adapters/usgov/irs-bmf/adapter.d.ts +0 -20
  1967. package/out/us/adapters/usgov/irs-bmf/adapter.d.ts.map +1 -1
  1968. package/out/us/adapters/usgov/irs-bmf/adapter.js +14 -14
  1969. package/out/us/adapters/usgov/irs-bmf/adapter.js.map +1 -1
  1970. package/out/us/adapters/usgov/nad/adapter.d.ts +48 -10
  1971. package/out/us/adapters/usgov/nad/adapter.d.ts.map +1 -1
  1972. package/out/us/adapters/usgov/nad/adapter.js +159 -81
  1973. package/out/us/adapters/usgov/nad/adapter.js.map +1 -1
  1974. package/out/us/adapters/usgov/nppes/adapter.d.ts +0 -7
  1975. package/out/us/adapters/usgov/nppes/adapter.d.ts.map +1 -1
  1976. package/out/us/adapters/usgov/nppes/adapter.js +2 -4
  1977. package/out/us/adapters/usgov/nppes/adapter.js.map +1 -1
  1978. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts +0 -28
  1979. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts.map +1 -1
  1980. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js +20 -18
  1981. package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js.map +1 -1
  1982. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts +66 -0
  1983. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts.map +1 -0
  1984. package/out/us/adapters/usgov/usgs-post-offices/adapter.js +110 -0
  1985. package/out/us/adapters/usgov/usgs-post-offices/adapter.js.map +1 -0
  1986. package/out/us/address-records/layer/worker.d.ts +2 -0
  1987. package/out/us/address-records/layer/worker.d.ts.map +1 -0
  1988. package/out/us/address-records/layer/worker.js +35 -0
  1989. package/out/us/address-records/layer/worker.js.map +1 -0
  1990. package/out/us/address-records/layer.d.ts +166 -0
  1991. package/out/us/address-records/layer.d.ts.map +1 -0
  1992. package/out/us/address-records/layer.js +475 -0
  1993. package/out/us/address-records/layer.js.map +1 -0
  1994. package/out/us/address-records/nad.d.ts +30 -0
  1995. package/out/us/address-records/nad.d.ts.map +1 -0
  1996. package/out/us/address-records/nad.js +91 -0
  1997. package/out/us/address-records/nad.js.map +1 -0
  1998. package/out/us/fips-state.d.ts +4 -8
  1999. package/out/us/fips-state.d.ts.map +1 -1
  2000. package/out/us/fips-state.js +2 -14
  2001. package/out/us/fips-state.js.map +1 -1
  2002. package/out/us/post-offices/usgs-national-map.d.ts +14 -0
  2003. package/out/us/post-offices/usgs-national-map.d.ts.map +1 -0
  2004. package/out/us/post-offices/usgs-national-map.js +56 -0
  2005. package/out/us/post-offices/usgs-national-map.js.map +1 -0
  2006. package/out/us/recipes/house-venue-tuples.d.ts +3 -9
  2007. package/out/us/recipes/house-venue-tuples.d.ts.map +1 -1
  2008. package/out/us/recipes/house-venue-tuples.js +5 -6
  2009. package/out/us/recipes/house-venue-tuples.js.map +1 -1
  2010. package/out/us/recipes/skeleton-sources.d.ts +0 -11
  2011. package/out/us/recipes/skeleton-sources.d.ts.map +1 -1
  2012. package/out/us/recipes/skeleton-sources.js +5 -6
  2013. package/out/us/recipes/skeleton-sources.js.map +1 -1
  2014. package/out/us/state-country-codes.d.ts +0 -9
  2015. package/out/us/state-country-codes.d.ts.map +1 -1
  2016. package/out/us/state-country-codes.js +6 -6
  2017. package/out/us/state-country-codes.js.map +1 -1
  2018. package/out/us/street-unit.d.ts +1 -7
  2019. package/out/us/street-unit.d.ts.map +1 -1
  2020. package/out/us/street-unit.js +3 -4
  2021. package/out/us/street-unit.js.map +1 -1
  2022. package/out/us/synthesizers/intersection.d.ts +0 -20
  2023. package/out/us/synthesizers/intersection.d.ts.map +1 -1
  2024. package/out/us/synthesizers/intersection.js +2 -20
  2025. package/out/us/synthesizers/intersection.js.map +1 -1
  2026. package/out/us/synthesizers/street.d.ts +0 -20
  2027. package/out/us/synthesizers/street.d.ts.map +1 -1
  2028. package/out/us/synthesizers/street.js +16 -15
  2029. package/out/us/synthesizers/street.js.map +1 -1
  2030. package/out/us/tools/fetch/hrsa.d.ts +0 -14
  2031. package/out/us/tools/fetch/hrsa.d.ts.map +1 -1
  2032. package/out/us/tools/fetch/hrsa.js +8 -8
  2033. package/out/us/tools/fetch/hrsa.js.map +1 -1
  2034. package/out/us/tools/fetch/imls-pls.d.ts +11 -9
  2035. package/out/us/tools/fetch/imls-pls.d.ts.map +1 -1
  2036. package/out/us/tools/fetch/imls-pls.js +32 -22
  2037. package/out/us/tools/fetch/imls-pls.js.map +1 -1
  2038. package/out/us/tools/fetch/nad/parquet.d.ts +44 -0
  2039. package/out/us/tools/fetch/nad/parquet.d.ts.map +1 -0
  2040. package/out/us/tools/fetch/nad/parquet.js +83 -0
  2041. package/out/us/tools/fetch/nad/parquet.js.map +1 -0
  2042. package/out/us/tools/fetch/nad.d.ts +41 -73
  2043. package/out/us/tools/fetch/nad.d.ts.map +1 -1
  2044. package/out/us/tools/fetch/nad.js +142 -209
  2045. package/out/us/tools/fetch/nad.js.map +1 -1
  2046. package/out/us/tools/fetch/nppes.d.ts +11 -10
  2047. package/out/us/tools/fetch/nppes.d.ts.map +1 -1
  2048. package/out/us/tools/fetch/nppes.js +48 -22
  2049. package/out/us/tools/fetch/nppes.js.map +1 -1
  2050. package/out/us/tools/fetch/state/hi-schools.d.ts +0 -17
  2051. package/out/us/tools/fetch/state/hi-schools.d.ts.map +1 -1
  2052. package/out/us/tools/fetch/state/hi-schools.js +36 -17
  2053. package/out/us/tools/fetch/state/hi-schools.js.map +1 -1
  2054. package/out/us/tools/fetch/state/sources.d.ts +0 -18
  2055. package/out/us/tools/fetch/state/sources.d.ts.map +1 -1
  2056. package/out/us/tools/fetch/state/sources.js +10 -11
  2057. package/out/us/tools/fetch/state/sources.js.map +1 -1
  2058. package/out/us/tools/fetch/tiger-full.d.ts +3 -2
  2059. package/out/us/tools/fetch/tiger-full.d.ts.map +1 -1
  2060. package/out/us/tools/fetch/tiger-full.js +39 -13
  2061. package/out/us/tools/fetch/tiger-full.js.map +1 -1
  2062. package/out/us/tools/fetch/usgs-post-offices.d.ts +99 -0
  2063. package/out/us/tools/fetch/usgs-post-offices.d.ts.map +1 -0
  2064. package/out/us/tools/fetch/usgs-post-offices.js +246 -0
  2065. package/out/us/tools/fetch/usgs-post-offices.js.map +1 -0
  2066. package/out/us/tools/nad-skeletons.d.ts +11 -18
  2067. package/out/us/tools/nad-skeletons.d.ts.map +1 -1
  2068. package/out/us/tools/nad-skeletons.js +45 -55
  2069. package/out/us/tools/nad-skeletons.js.map +1 -1
  2070. package/out/utils/align.d.ts +19 -23
  2071. package/out/utils/align.d.ts.map +1 -1
  2072. package/out/utils/align.js +21 -48
  2073. package/out/utils/align.js.map +1 -1
  2074. package/out/utils/cooccurrence-stats.d.ts +0 -10
  2075. package/out/utils/cooccurrence-stats.d.ts.map +1 -1
  2076. package/out/utils/cooccurrence-stats.js +7 -7
  2077. package/out/utils/cooccurrence-stats.js.map +1 -1
  2078. package/out/utils/golden.d.ts +0 -7
  2079. package/out/utils/golden.d.ts.map +1 -1
  2080. package/out/utils/golden.js +2 -4
  2081. package/out/utils/golden.js.map +1 -1
  2082. package/out/utils/license.d.ts +0 -28
  2083. package/out/utils/license.d.ts.map +1 -1
  2084. package/out/utils/license.js +28 -21
  2085. package/out/utils/license.js.map +1 -1
  2086. package/out/utils/retention.d.ts +0 -13
  2087. package/out/utils/retention.d.ts.map +1 -1
  2088. package/out/utils/retention.js +10 -8
  2089. package/out/utils/retention.js.map +1 -1
  2090. package/out/utils/shape-supply.d.ts +3 -7
  2091. package/out/utils/shape-supply.d.ts.map +1 -1
  2092. package/out/utils/shape-supply.js +5 -7
  2093. package/out/utils/shape-supply.js.map +1 -1
  2094. package/out/utils/split.d.ts +5 -18
  2095. package/out/utils/split.d.ts.map +1 -1
  2096. package/out/utils/split.js +14 -14
  2097. package/out/utils/split.js.map +1 -1
  2098. package/out/utils/tokenize.d.ts +5 -7
  2099. package/out/utils/tokenize.d.ts.map +1 -1
  2100. package/out/utils/tokenize.js +4 -11
  2101. package/out/utils/tokenize.js.map +1 -1
  2102. package/out/utils/wof-json.d.ts +15 -21
  2103. package/out/utils/wof-json.d.ts.map +1 -1
  2104. package/out/utils/wof-json.js +32 -19
  2105. package/out/utils/wof-json.js.map +1 -1
  2106. package/out/utils.d.ts +0 -5
  2107. package/out/utils.d.ts.map +1 -1
  2108. package/out/utils.js +2 -5
  2109. package/out/utils.js.map +1 -1
  2110. package/out/uy/adapters/ide/adapter.d.ts +0 -22
  2111. package/out/uy/adapters/ide/adapter.d.ts.map +1 -1
  2112. package/out/uy/adapters/ide/adapter.js +21 -17
  2113. package/out/uy/adapters/ide/adapter.js.map +1 -1
  2114. package/out/ve/recipes/reviewed-postcode-tail.d.ts +2 -12
  2115. package/out/ve/recipes/reviewed-postcode-tail.d.ts.map +1 -1
  2116. package/out/ve/recipes/reviewed-postcode-tail.js +7 -8
  2117. package/out/ve/recipes/reviewed-postcode-tail.js.map +1 -1
  2118. package/package.json +18 -18
@@ -0,0 +1,404 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
4
+ /**
5
+ * The storage class of each corpus source directory, and where `mailwoman corpus fetch` writes each class.
6
+ *
7
+ * A current source is mutable, and fetching it again brings it up to date: a git clone,
8
+ * or a file the publisher serves under an undated name that a refetch replaces.
9
+ * It lives under `$MAILWOMAN_CACHE_ROOT/sources/<source>/`, which a customer
10
+ * can clear at the cost of a refetch.
11
+ *
12
+ * A snapshot is one dated vintage, read-only once written, with a newer vintage beside it.
13
+ * It lives under `$MAILWOMAN_DATA_ROOT/snapshots/<source>/<vintage>/`,
14
+ * and `writeSnapshot` from `@mailwoman/core/fs/snapshot` refuses to replace a vintage
15
+ * unless the caller states it with `--vintage` and passes `--force`.
16
+ *
17
+ * The table lives here rather than in each fetcher because the command reads it before it imports the
18
+ * fetcher it runs, and because one table lets a test check that every fetch source declares a class.
19
+ */
20
+
21
+ import { assertVintage, currentSourcesRoot, snapshotSourcesRoot } from "@mailwoman/core/data-root"
22
+ import { type SnapshotWriteOptions, writeSnapshot } from "@mailwoman/core/fs/snapshot"
23
+ import { PathBuilder } from "path-ts"
24
+
25
+ import type { FetchSourceID } from "#tools/fetch"
26
+ import type { BaseFetchOptions, FetchSummary } from "#tools/fetch/download"
27
+
28
+ /**
29
+ * The two storage classes a downloaded source can take.
30
+ */
31
+ export const StorageClass = {
32
+ /**
33
+ * Mutable, and brought up to date by fetching again.
34
+ */
35
+ current: "current",
36
+ /**
37
+ * A dated vintage, read-only once written.
38
+ */
39
+ snapshot: "snapshot",
40
+ } as const
41
+
42
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass]
43
+
44
+ /**
45
+ * A source directory whose fetch writes both classes: a current download and the snapshot made from it.
46
+ * Each field describes the files of that class.
47
+ */
48
+ export interface MixedStorage {
49
+ readonly current: string
50
+ readonly snapshot: string
51
+ }
52
+
53
+ /**
54
+ * The storage class of each corpus source directory, keyed by the directory's slug.
55
+ *
56
+ * Every directory a fetch source writes appears here, along with the snapshot sources that have no fetcher.
57
+ * `cn-units` is absent: it holds recipe splits, a built artifact that stays under the data root.
58
+ *
59
+ * Geofabrik extracts are absent too: they're a snapshot source, but `corpus fetch` doesn't reach them.
60
+ * `packages/osm/tools/fetch/extract.ts` writes them, one series of vintages per region, under
61
+ * `snapshots/geofabrik/<region>/`, so they have no single source directory for this table to key.
62
+ */
63
+ export const SOURCE_STORAGE_CLASSES = {
64
+ "acra-sg": StorageClass.current,
65
+ ads: StorageClass.current,
66
+ ban: StorageClass.current,
67
+ "bd-adresses": StorageClass.current,
68
+ brussels: StorageClass.current,
69
+ cordis: StorageClass.current,
70
+ "cz-cuzk": StorageClass.current,
71
+ "dk-inspire": StorageClass.current,
72
+ emuia: StorageClass.current,
73
+ "es-bizkaia": StorageClass.current,
74
+ "es-catastro": StorageClass.current,
75
+ "es-gipuzkoa": StorageClass.current,
76
+ "es-navarra": StorageClass.current,
77
+ "fr-annuaire-education-overseas": StorageClass.current,
78
+ // `etalab-cs1100502-stock-YYYYMMDD-HHMM.csv`: each extract's file name states its extraction date.
79
+ "fr-finess-overseas": StorageClass.snapshot,
80
+ "gb-os-open": StorageClass.current,
81
+ "gcis-tw": StorageClass.current,
82
+ "geonames-dump": StorageClass.current,
83
+ "geonames-postal": StorageClass.current,
84
+ // The fetcher deletes older golden copies, so one copy is kept, and a refetch replaces it.
85
+ gleif: StorageClass.current,
86
+ // `00_zenkoku_all_YYYYMMDD.zip`, the file name the download's attachment header states.
87
+ "houjin-jp": StorageClass.snapshot,
88
+ "it-anac": StorageClass.current,
89
+ // `YYYYMMALLMTCHG00.zip` and `RN_ENG_YYMM.zip`: one month's register.
90
+ "juso-kr": StorageClass.snapshot,
91
+ "localdata-kr": StorageClass.current,
92
+ "lv-varis": StorageClass.current,
93
+ matrikkelen: StorageClass.current,
94
+ "nl-kadaster": StorageClass.current,
95
+ openaddresses: StorageClass.current,
96
+ ourairports: StorageClass.current,
97
+ "ro-retea-scolara": StorageClass.current,
98
+ ryhti: StorageClass.current,
99
+ "sk-inspire": StorageClass.current,
100
+ "state-de-notaries": StorageClass.current,
101
+ "state-hi-lobbyists": StorageClass.current,
102
+ "state-hi-schools": StorageClass.current,
103
+ "state-ia-contractors": StorageClass.current,
104
+ "state-ny-notaries": StorageClass.current,
105
+ "state-or-notaries": StorageClass.current,
106
+ "state-tx-notaries": StorageClass.current,
107
+ "state-wa-health-providers": StorageClass.current,
108
+ // The `tl_2024` files of one yearly TIGER release.
109
+ tiger: StorageClass.snapshot,
110
+ "usgov-hrsa-fqhc": StorageClass.current,
111
+ // A query over the live structures layer.
112
+ // The publisher refreshes the layer in place.
113
+ "usgov-usgs-post-offices": StorageClass.current,
114
+ // `pls_fy2023_csv.zip`, a pinned survey year.
115
+ "usgov-imls-pls": StorageClass.snapshot,
116
+ "usgov-nad": {
117
+ current: "bulk/nad.zip, the release archive DOT serves at an undated link",
118
+ snapshot: "<release>/TXT_NAD_<release>.parquet, converted from the archive's text member",
119
+ },
120
+ // `NPPES_Data_Dissemination_<Month>_<Year>.zip`: one month's full replacement file.
121
+ "usgov-nppes": StorageClass.snapshot,
122
+ vlaanderen: StorageClass.current,
123
+ wallonie: StorageClass.current,
124
+ "wikidata-subvenue": StorageClass.current,
125
+ "wikidata-vital-places": StorageClass.current,
126
+
127
+ // No fetcher in the repository reproduces these, so a cleared copy couldn't be fetched again.
128
+ // Each one's vintage is in UNFETCHED_SNAPSHOT_VINTAGES.
129
+ "adressur-fo": StorageClass.snapshot,
130
+ "bsp-gu": StorageClass.snapshot,
131
+ "gb-companies-house": StorageClass.snapshot,
132
+ "gbpa-bs": StorageClass.snapshot,
133
+ "ide-uy": StorageClass.snapshot,
134
+ "landregistry-im": StorageClass.snapshot,
135
+ "llv-li": StorageClass.snapshot,
136
+ "opendata-az": StorageClass.snapshot,
137
+ } as const satisfies Record<string, StorageClass | MixedStorage>
138
+
139
+ /**
140
+ * A source directory slug in {@link SOURCE_STORAGE_CLASSES}.
141
+ */
142
+ export type SourceSlug = keyof typeof SOURCE_STORAGE_CLASSES
143
+
144
+ /**
145
+ * The vintage of each snapshot source that has no fetcher: the retrieval date
146
+ * that `data/corpus-source-inputs.json` records in its `reads` text, or,
147
+ * where it records none, the date in the file's name.
148
+ */
149
+ export const UNFETCHED_SNAPSHOT_VINTAGES = {
150
+ // "read whole on 2026-10-18"
151
+ "adressur-fo": "2026-10-18",
152
+ // "read whole on 2026-10-18"
153
+ "bsp-gu": "2026-10-18",
154
+ // `BasicCompanyDataAsOneFile-2026-10-01.zip`; the input table records no retrieval.
155
+ "gb-companies-house": "2026-10-01",
156
+ // "retrieved 2026-10-18"
157
+ "gbpa-bs": "2026-10-18",
158
+ // "the 19 department CSVs retrieved 2026-10-17"
159
+ "ide-uy": "2026-10-17",
160
+ // `landtransactionsjan2025.csv`, "from the Internet Archive's 2025-02-23 capture"
161
+ "landregistry-im": "2025-02-23",
162
+ // "retrieved 2026-10-18"
163
+ "llv-li": "2026-10-18",
164
+ // "retrieved 2026-10-18"
165
+ "opendata-az": "2026-10-18",
166
+ } as const satisfies Partial<Record<SourceSlug, string>>
167
+
168
+ /**
169
+ * The source directories each `mailwoman corpus fetch` source writes.
170
+ *
171
+ * The mapped type makes the compiler refuse a fetch source with no entry here.
172
+ */
173
+ export const FETCH_SOURCE_DIRECTORIES = {
174
+ "acra-sg": ["acra-sg"],
175
+ "ads-ee": ["ads"],
176
+ ban: ["ban"],
177
+ "bd-adresses": ["bd-adresses"],
178
+ brussels: ["brussels"],
179
+ cordis: ["cordis"],
180
+ "cz-cuzk": ["cz-cuzk"],
181
+ "dk-inspire": ["dk-inspire"],
182
+ "emuia-pl": ["emuia"],
183
+ "es-bizkaia": ["es-bizkaia"],
184
+ "es-catastro": ["es-catastro"],
185
+ "es-gipuzkoa": ["es-gipuzkoa"],
186
+ "es-navarra": ["es-navarra"],
187
+ "fr-annuaire-education-overseas": ["fr-annuaire-education-overseas"],
188
+ "fr-finess-overseas": ["fr-finess-overseas"],
189
+ "gb-os-open": ["gb-os-open"],
190
+ "gcis-tw": ["gcis-tw"],
191
+ "geonames-dump": ["geonames-dump"],
192
+ "geonames-postal": ["geonames-postal"],
193
+ gleif: ["gleif"],
194
+ hrsa: ["usgov-hrsa-fqhc"],
195
+ "houjin-jp": ["houjin-jp"],
196
+ "imls-pls": ["usgov-imls-pls"],
197
+ "it-anac": ["it-anac"],
198
+ "juso-kr": ["juso-kr"],
199
+ "localdata-kr": ["localdata-kr"],
200
+ "lv-varis": ["lv-varis"],
201
+ matrikkelen: ["matrikkelen"],
202
+ nad: ["usgov-nad"],
203
+ "nl-kadaster": ["nl-kadaster"],
204
+ nppes: ["usgov-nppes"],
205
+ openaddresses: ["openaddresses"],
206
+ ourairports: ["ourairports"],
207
+ "ro-retea-scolara": ["ro-retea-scolara"],
208
+ ryhti: ["ryhti"],
209
+ "sk-inspire": ["sk-inspire"],
210
+ "state-hi-schools": ["state-hi-schools"],
211
+ "state-sources": [
212
+ "state-de-notaries",
213
+ "state-hi-lobbyists",
214
+ "state-ia-contractors",
215
+ "state-ny-notaries",
216
+ "state-or-notaries",
217
+ "state-tx-notaries",
218
+ "state-wa-health-providers",
219
+ ],
220
+ "tiger-full": ["tiger"],
221
+ "usgs-post-offices": ["usgov-usgs-post-offices"],
222
+ vlaanderen: ["vlaanderen"],
223
+ wallonie: ["wallonie"],
224
+ "wikidata-subvenue": ["wikidata-subvenue"],
225
+ "wikidata-vital-places": ["wikidata-vital-places"],
226
+ } as const satisfies Readonly<Record<FetchSourceID, readonly SourceSlug[]>>
227
+
228
+ /**
229
+ * Whether any directory `source` writes holds a snapshot, as a snapshot source
230
+ * or beside a current download.
231
+ */
232
+ export function writesSnapshot(source: FetchSourceID): boolean {
233
+ return FETCH_SOURCE_DIRECTORIES[source].some((slug: SourceSlug) => {
234
+ const storage: StorageClass | MixedStorage = SOURCE_STORAGE_CLASSES[slug]
235
+
236
+ return storage !== StorageClass.current
237
+ })
238
+ }
239
+
240
+ /**
241
+ * Where a snapshot fetch writes, and how it may treat a vintage already on disk.
242
+ */
243
+ export interface SnapshotDestination {
244
+ /**
245
+ * The root every snapshot source sits under, so one vintage is `root(<source>, <vintage>)`.
246
+ *
247
+ * @defaultValue `snapshotSourcesRoot()`, `$MAILWOMAN_DATA_ROOT/snapshots/`
248
+ */
249
+ root: PathBuilder
250
+ /**
251
+ * The vintage the caller stated with `--vintage`, or `null` when the fetcher resolves it.
252
+ */
253
+ vintage: string | null
254
+ /**
255
+ * Whether the caller passed `--force`.
256
+ * It replaces a vintage only together with a stated one.
257
+ */
258
+ force: boolean
259
+ }
260
+
261
+ /**
262
+ * The option base of a fetcher whose source is a snapshot.
263
+ */
264
+ export interface SnapshotFetchOptions extends Omit<BaseFetchOptions, "outRoot"> {
265
+ snapshots: SnapshotDestination
266
+ }
267
+
268
+ /**
269
+ * The roots one `mailwoman corpus fetch` run writes under.
270
+ */
271
+ export interface FetchDestinations {
272
+ /**
273
+ * The root each current source writes `<outRoot>/<source>/` under.
274
+ */
275
+ outRoot: PathBuilder
276
+ snapshots: SnapshotDestination
277
+ }
278
+
279
+ /**
280
+ * The `mailwoman corpus fetch` options that decide where a source is written.
281
+ */
282
+ export interface FetchDestinationOptions {
283
+ /**
284
+ * `--out-root`: one root for both classes, so a current source writes `<out-root>/<source>/`
285
+ * and a snapshot writes `<out-root>/<source>/<vintage>/`.
286
+ */
287
+ outRoot?: string | null
288
+ /**
289
+ * `--vintage`
290
+ */
291
+ vintage?: string | null
292
+ /**
293
+ * `--force`
294
+ */
295
+ force?: boolean
296
+ }
297
+
298
+ /**
299
+ * Resolve the command's options for `source` into the roots its fetcher writes under.
300
+ *
301
+ * @throws When `--vintage` or `--force` is given for a source that writes no snapshot,
302
+ * or when `--vintage` isn't one path segment a vintage can take.
303
+ */
304
+ export function resolveFetchDestinations(source: FetchSourceID, options: FetchDestinationOptions): FetchDestinations {
305
+ const vintage = options.vintage || null
306
+ const force = options.force ?? false
307
+
308
+ if ((vintage != null || force) && !writesSnapshot(source)) {
309
+ throw new Error(
310
+ `${source} is a current source, which a fetch brings up to date in place; --vintage and --force apply only to a snapshot source`
311
+ )
312
+ }
313
+
314
+ if (vintage != null) {
315
+ assertVintage(vintage)
316
+ }
317
+
318
+ const override = options.outRoot ? PathBuilder.from(options.outRoot) : null
319
+
320
+ return {
321
+ outRoot: override ?? currentSourcesRoot(),
322
+ snapshots: { root: override ?? snapshotSourcesRoot(), vintage, force },
323
+ }
324
+ }
325
+
326
+ /**
327
+ * The directory of one vintage of `slug` under `destination`.
328
+ *
329
+ * @param resolved The vintage the fetcher found at the publisher, such as the date in a file's name.
330
+ * @throws When the caller stated another vintage than the one the publisher serves,
331
+ * because writing one month's file under another month's name would misdate it.
332
+ */
333
+ export function snapshotVintagePath(destination: SnapshotDestination, slug: SourceSlug, resolved: string): PathBuilder {
334
+ if (destination.vintage != null && destination.vintage !== resolved) {
335
+ throw new Error(`${slug}: the publisher serves vintage ${resolved}, not the --vintage ${destination.vintage} given`)
336
+ }
337
+
338
+ assertVintage(resolved)
339
+
340
+ return destination.root(slug, resolved)
341
+ }
342
+
343
+ /**
344
+ * The options `writeSnapshot` takes for a write to `destination`.
345
+ */
346
+ export function snapshotWriteOptions(destination: SnapshotDestination): SnapshotWriteOptions {
347
+ return { vintageFromCaller: destination.vintage != null, force: destination.force }
348
+ }
349
+
350
+ /**
351
+ * Thrown inside a snapshot fill whose fetch reported a failure, so `writeSnapshot`
352
+ * discards the staging directory.
353
+ */
354
+ class IncompleteSnapshotError extends Error {
355
+ public readonly summary: FetchSummary
356
+
357
+ constructor(summary: FetchSummary) {
358
+ super(`the fetch failed for ${summary.failedCodes.join(", ") || "an unnamed file"}`)
359
+
360
+ this.name = "IncompleteSnapshotError"
361
+ this.summary = summary
362
+ }
363
+ }
364
+
365
+ /**
366
+ * Write vintage `vintage` of `slug` through `fill`, which fetches into the directory it is given.
367
+ *
368
+ * The fetched directory moves into the vintage only once `fill` finishes with no failure.
369
+ * A fetch that reports a failure leaves any existing vintage as it was, writes no partial
370
+ * vintage, and its summary is returned so the command exits non-zero.
371
+ *
372
+ * @throws {SnapshotExistsError} When the vintage exists and the caller didn't
373
+ * both state it and pass `--force`.
374
+ */
375
+ export async function fetchSnapshot(
376
+ destination: SnapshotDestination,
377
+ slug: SourceSlug,
378
+ vintage: string,
379
+ fill: (directory: PathBuilder) => Promise<FetchSummary>,
380
+ report?: (line: string) => void
381
+ ): Promise<FetchSummary> {
382
+ const target = snapshotVintagePath(destination, slug, vintage)
383
+ const written: { summary?: FetchSummary } = {}
384
+
385
+ report?.(` vintage ${vintage} → ${target}`)
386
+
387
+ try {
388
+ await writeSnapshot(target, snapshotWriteOptions(destination), async (staging) => {
389
+ const filled = await fill(PathBuilder.from(staging))
390
+
391
+ if (filled.failed > 0) throw new IncompleteSnapshotError(filled)
392
+
393
+ written.summary = filled
394
+ })
395
+ } catch (error) {
396
+ if (!(error instanceof IncompleteSnapshotError)) throw error
397
+
398
+ report?.(` ✗ ${error.message}; vintage ${vintage} was not written`)
399
+
400
+ return error.summary
401
+ }
402
+
403
+ return written.summary!
404
+ }
@@ -1,30 +1,31 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
1
4
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
+ * Harvests the INSPIRE Addresses (AD) theme of agentschap Digitaal Vlaanderen into
6
+ * the directory that `#be/adapters/vlaanderen/adapter` reads.
5
7
  *
6
- * Harvests the INSPIRE Addresses (AD) theme of agentschap Digitaal Vlaanderen into the directory
7
- * that `#be/adapters/vlaanderen/adapter` reads.
8
+ * `./inspire-addresses.ts` owns what every INSPIRE WFS shares, in GeoJSON.
9
+ * This module is Flanders' own GML paging, kept apart for three reasons the service forced:
8
10
  *
9
- * `./inspire-addresses.ts` owns what every INSPIRE WFS shares, in GeoJSON. This module is Flanders'
10
- * own GML paging, kept apart for three reasons the service forced:
11
+ * 1. The component types are small enough to take whole — 167,218 `ad:ThoroughfareName`,
12
+ * 1,190 `ad:PostalDescriptor`, 609 `ad:AdminUnitName` — so the harvest writes
13
+ * one file per type and the adapter joins locally rather than resolving four
14
+ * references per address against 4,563,062 of them.
15
+ * 2. `sortBy=gml:identifier` answers HTTP 504, so the service grants no ordering.
16
+ * The manifest records the pages taken and their order.
17
+ * That record makes a harvest reproducible even though a second harvest need not match the first.
18
+ * 3. A bare `resultType=hits` answers `numberMatched="10000"` whatever `count` asks for.
19
+ * The count has to be taken past index 0: `startIndex=1` answers `numberMatched="4563062"`,
20
+ * and the bisected tail agrees — `startIndex=4563061` returns one feature
21
+ * and `startIndex=4563062` returns none.
11
22
  *
12
- * 1. The component types are small enough to take whole — 167,218 `ad:ThoroughfareName`, 1,190
13
- * `ad:PostalDescriptor`, 609 `ad:AdminUnitName` — so the harvest writes one file per type and the
14
- * adapter joins locally rather than resolving four references per address against 4,563,062 of
15
- * them.
16
- * 2. `sortBy=gml:identifier` answers HTTP 504, so the service grants no ordering. The manifest
17
- * records the pages taken and their order. That record makes a harvest reproducible even though
18
- * a second harvest need not match the first.
19
- * 3. A bare `resultType=hits` answers `numberMatched="10000"` whatever `count` asks for. The count
20
- * has to be taken past index 0: `startIndex=1` answers `numberMatched="4563062"`, and the
21
- * bisected tail agrees — `startIndex=4563061` returns one feature and `startIndex=4563062`
22
- * returns none.
23
+ * Article 3 of the elected `Modellicentie voor gratis hergebruik Vlaanderen` grants
24
+ * reproduction and transmission, and article 6 states that access is free.
25
+ * Those two grants cover paging.
23
26
  *
24
- * Article 3 of the elected `Modellicentie voor gratis hergebruik Vlaanderen` grants reproduction and
25
- * transmission, and article 6 states that access is free. Those two grants cover paging. The
26
- * capabilities document's `ows:Fees` and `ows:AccessConstraints` describe the service rather than
27
- * the data, so neither is read here.
27
+ * The capabilities document's `ows:Fees` and `ows:AccessConstraints` describe the service
28
+ * rather than the data, so neither is read here.
28
29
  */
29
30
 
30
31
  import { open } from "node:fs/promises"
@@ -205,7 +206,7 @@ interface PageOnDisk {
205
206
  * from the page size, so a page the service answered short is recorded as short.
206
207
  * A file whose opening bytes state no `numberReturned` is left out.
207
208
  *
208
- * The harvest then requests that index again: a page of unknown extent is not a page
209
+ * The harvest then requests that index again: a page of unknown extent isn't a page
209
210
  * this harvest can count, and a run killed mid-write leaves exactly that.
210
211
  *
211
212
  * A group small enough for one page is written under `<stem>.gml` with no index,
@@ -302,7 +303,7 @@ export async function harvestVlaanderenAD(
302
303
  }
303
304
 
304
305
  // A component type read short leaves every address referencing its tail unjoinable,
305
- // and the adapter would refuse those rows as if the publisher had not published them.
306
+ // and the adapter would refuse those rows as if the publisher hadn't published them.
306
307
  if (read !== count) {
307
308
  throw new Error(
308
309
  `vlaanderen ad wfs: ad:${typeName} answered ${read} features over ` +
@@ -316,7 +317,7 @@ export async function harvestVlaanderenAD(
316
317
  const addressPages: Array<{ startIndex: number; file: string; numberReturned: number }> = []
317
318
  let retrievedAt = ""
318
319
 
319
- // A page already on disk is not requested again.
320
+ // A page already on disk isn't requested again.
320
321
  // The service answered HTTP 400 on one page of a whole-region harvest after 105 pages
321
322
  // and 1.8 GB, and that page answered 200 on a later attempt, so the refusal was transient.
322
323
  // Without this the next run starts at index 0 and re-downloads every page it already holds.
@@ -1,35 +1,41 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
1
4
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
5
  * The paging, manifest and resumption code that every paged WFS harvest shares.
7
6
  *
8
- * `./inspire-addresses.ts` owns what an INSPIRE Addresses service exposes — its capabilities, its
9
- * feature-type names and its GeoJSON pages. This module owns what a harvest of any paged WFS does
10
- * with those pages: it appends each one to the single file an adapter's `inputPath` points at,
11
- * records the page in a manifest beside it, and resumes from that manifest after an interrupted run.
12
- *
13
- * One file rather than one file per page, because the adapters read one. `#ee/adapters/ads/adapter`
14
- * opens `opts.inputPath` as newline-delimited JSON and `#pl/adapters/emuia/adapter` opens it as one
15
- * markup stream, so a directory of pages reaches neither. The manifest therefore records each page's
16
- * byte range inside that file: `offset`, `bytes` and the sha256 of exactly those bytes. A range is
17
- * what makes a page verifiable after it has been concatenated into its neighbors, and what lets an
18
- * interrupted append be truncated back to a page boundary rather than discarding the harvest.
19
- *
20
- * Three properties of a WFS make this harder than reading pages until they run out, and each is
21
- * handled here rather than by each country's module:
22
- *
23
- * 1. A service may ignore `startIndex` and answer every page with the first. `countWFSFeaturesByPaging`
24
- * in `@mailwoman/core/api` refuses such a service by comparing two pages' leading feature. A
25
- * harvest sees the same defect as two consecutive pages with equal bytes. It refuses that pair.
26
- * 2. A service's own `numberMatched` may be a per-request cap rather than a count. The caller states
27
- * what its count is and where it came from, and {@linkcode PagedWFSHarvestOptions.featureCount}
28
- * holds both. No count is written into this module, and a harvest with no usable count ends on
29
- * the first page that returns no features.
30
- * 3. A page may return fewer features than `count` asks for. The next `startIndex` therefore advances
31
- * by the features the service returned rather than by the page size, so a service that caps a page
32
- * below the requested size is read whole instead of being read in strides that skip features.
7
+ * `./inspire-addresses.ts` owns what an INSPIRE Addresses service exposes —
8
+ * its capabilities, its feature-type names and its GeoJSON pages.
9
+ * This module owns what a harvest of any paged WFS does with those pages: it appends
10
+ * each one to the single file an adapter's `inputPath` points at, records the page in a
11
+ * manifest beside it, and resumes from that manifest after an interrupted run.
12
+ *
13
+ * One file rather than one file per page, because the adapters read one.
14
+ * `#ee/adapters/ads/adapter` opens `opts.inputPath` as newline-delimited JSON and
15
+ * `#pl/adapters/emuia/adapter` opens it as one markup stream, so a directory of pages reaches neither.
16
+ *
17
+ * The manifest therefore records each page's byte range inside that file: `offset`,
18
+ * `bytes` and the sha256 of exactly those bytes.
19
+ * A range is what makes a page verifiable after it has been concatenated into its neighbors, and what
20
+ * lets an interrupted append be truncated back to a page boundary rather than discarding the harvest.
21
+ *
22
+ * Three properties of a WFS make this harder than reading pages until they run out,
23
+ * and each is handled here rather than by each country's module:
24
+ *
25
+ * 1. A service may ignore `startIndex` and answer every page with the first.
26
+ * `countWFSFeaturesByPaging` in `@mailwoman/core/api` refuses such a service
27
+ * by comparing two pages' leading feature.
28
+ * A harvest sees the same defect as two consecutive pages with equal bytes.
29
+ * It refuses that pair.
30
+ * 2. A service's own `numberMatched` may be a per-request cap rather than a count.
31
+ * The caller states what its count is and where it came from, and
32
+ * {@linkcode PagedWFSHarvestOptions.featureCount} holds both.
33
+ * No count is written into this module, and a harvest with no usable count
34
+ * ends on the first page that returns no features.
35
+ * 3. A page may return fewer features than `count` asks for.
36
+ * The next `startIndex` therefore advances by the features the service returned
37
+ * rather than by the page size, so a service that caps a page below the requested
38
+ * size is read whole instead of being read in strides that skip features.
33
39
  */
34
40
 
35
41
  import { APIClient, assertNoOGCServiceException, type CheckedWFSFeatureCount } from "@mailwoman/core/api"
@@ -115,8 +121,8 @@ export function rootCount(root: MarkupRoot, attribute: string): number | null {
115
121
  /**
116
122
  * The document's first element tag.
117
123
  *
118
- * @throws When the body holds no element tag, so a response that is not markup
119
- * reads as unreadable rather than as a page of no features.
124
+ * @throws When the body holds no element tag, so a response that's not markup reads
125
+ * as unreadable rather than as a page of no features.
120
126
  */
121
127
  export function readMarkupRoot(body: string, context: string): MarkupRoot {
122
128
  const match = ROOT_OPENING_TAG.exec(body)
@@ -139,8 +145,8 @@ export function readMarkupRoot(body: string, context: string): MarkupRoot {
139
145
  * The content between a document's root tags.
140
146
  * For a `wfs:FeatureCollection` those are its members.
141
147
  *
142
- * @throws When the root element is not closed, so a truncated transfer reads as
143
- * unreadable rather than as a page of no features.
148
+ * @throws When the root element isn't closed, so a truncated transfer reads as unreadable
149
+ * rather than as a page of no features.
144
150
  */
145
151
  export function rootContent(body: string, root: MarkupRoot, context: string): string {
146
152
  const closing = `</${root.name}>`
@@ -160,7 +166,7 @@ export function rootContent(body: string, root: MarkupRoot, context: string): st
160
166
  *
161
167
  * A harvest assembles several pages under one root element, so the first page's counts
162
168
  * and timestamp would describe the assembled file wrongly.
163
- * They are dropped and the manifest records them per page.
169
+ * They're dropped and the manifest records them per page.
164
170
  */
165
171
  const PAGE_ATTRIBUTES = /\s(?:[\w.-]+:)?(?:numberMatched|numberReturned|timeStamp|next|previous)\s*=\s*"[^"]*"/giu
166
172
 
@@ -255,7 +261,7 @@ export interface FeatureCountStatement {
255
261
  }
256
262
 
257
263
  /**
258
- * The count a service states, or no count and the reason there is none.
264
+ * The count a service states, or no count and the reason there's none.
259
265
  *
260
266
  * `readCheckedWFSFeatureCount` proves a reported `numberMatched` against a page of the same type.
261
267
  * That comparison catches a service whose count is smaller than one of its own pages.
@@ -367,7 +373,7 @@ export interface WFSHarvestManifest {
367
373
  filename: string
368
374
  page_size: number
369
375
  /**
370
- * The service's own count where it states a usable one, and `null` where it does not.
376
+ * The service's own count where it states a usable one, and `null` where it doesn't.
371
377
  */
372
378
  feature_count: number | null
373
379
  feature_count_source: string
@@ -592,7 +598,7 @@ async function reconcileHarvestFile(
592
598
  /**
593
599
  * What a caller knows about the request it is about to make before it has asked the service.
594
600
  *
595
- * The type name and the output format come from a capabilities document, so they are not here:
601
+ * The type name and the output format come from a capabilities document, so they're not here:
596
602
  * the point of this check is to answer whether a harvest is already current without sending a request.
597
603
  */
598
604
  export interface HarvestCurrencyExpectation {
@@ -712,9 +718,17 @@ export async function harvestPagedWFS(options: PagedWFSHarvestOptions): Promise<
712
718
  return manifest
713
719
  }
714
720
 
715
- options.report?.(` ${dataPath} hashes to ${digest} rather than ${manifest.sha256} — harvesting it again`)
721
+ options.report?.(
722
+ ` ${dataPath} hashes to ${digest} rather than ${manifest.sha256} — removing it and harvesting from the first page`
723
+ )
724
+
725
+ // The reconcile step hashed the last page and matched the size, so the change
726
+ // sits in the header, an earlier page or the footer.
727
+ // The manifest records no digest for the header, so no prefix of the file can be
728
+ // proven intact, and the harvest starts over from an empty file.
729
+ await removePathIfPresent(dataPath)
716
730
 
717
- manifest = { ...manifest, complete: false, sha256: null }
731
+ manifest = emptyManifest(options)
718
732
  }
719
733
 
720
734
  const atPageCap = (): boolean => typeof options.maxPages === "number" && manifest.pages.length >= options.maxPages
@@ -805,7 +819,7 @@ export async function harvestPagedWFS(options: PagedWFSHarvestOptions): Promise<
805
819
  )
806
820
 
807
821
  // The service's own answer rather than the page size: a service that caps a page below the
808
- // requested size would otherwise be read in strides that skip the features it did not return.
822
+ // requested size would otherwise be read in strides that skip the features it didn't return.
809
823
  startIndex += page.numberReturned
810
824
  }
811
825
 
@@ -872,7 +886,7 @@ export interface RunWFSHarvestOptions {
872
886
  minRequestIntervalMs: number
873
887
 
874
888
  /**
875
- * Runs the harvest against a client the caller does not own.
889
+ * Runs the harvest against a client the caller doesn't own.
876
890
  */
877
891
  harvest: (client: Pick<APIClient, "fetch">) => Promise<WFSHarvestManifest>
878
892