@mailwoman/codex 9.1.0 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -8
- package/{address-system-conventions.ts → lib/address-system-conventions.ts} +9 -9
- package/{au → lib/au}/index.ts +4 -4
- package/{ca → lib/ca}/index.ts +4 -4
- package/{ca → lib/ca}/postal-code.ts +12 -12
- package/{ca → lib/ca}/province.ts +1 -1
- package/{ca → lib/ca}/street-type.ts +10 -12
- package/{country → lib/country}/codes.ts +1 -1
- package/{country → lib/country}/country.ts +43 -14
- package/lib/country/display-names.ts +150 -0
- package/lib/country/index.ts +17 -0
- package/lib/country/population.ts +265 -0
- package/{country → lib/country}/reference.ts +2 -2
- package/{country → lib/country}/subdivision.ts +62 -3
- package/{de → lib/de}/index.ts +4 -4
- package/{de → lib/de}/postleitzahl.ts +3 -3
- package/{es → lib/es}/codigo-postal.ts +24 -6
- package/{es → lib/es}/index.ts +1 -1
- package/{fr → lib/fr}/cedex.ts +1 -1
- package/{fr → lib/fr}/code-postal.ts +8 -8
- package/{fr → lib/fr}/departement.ts +5 -2
- package/{fr → lib/fr}/index.ts +6 -6
- package/{fr → lib/fr}/region.ts +1 -1
- package/{fr → lib/fr}/voie.ts +5 -13
- package/{gb → lib/gb}/country.ts +2 -10
- package/{gb → lib/gb}/index.ts +4 -4
- package/{gb → lib/gb}/postcode-area.ts +1 -1
- package/{gb → lib/gb}/street-type.ts +1 -1
- package/{index.ts → lib/index.ts} +22 -12
- package/{it → lib/it}/cap.ts +23 -5
- package/{it → lib/it}/index.ts +1 -1
- package/{jp → lib/jp}/index.ts +4 -4
- package/{jp → lib/jp}/postal-code.ts +11 -11
- package/{jp → lib/jp}/prefecture.ts +7 -5
- package/{normalize.ts → lib/normalize.ts} +15 -1
- package/{nz → lib/nz}/delivery-service.ts +1 -1
- package/{nz → lib/nz}/index.ts +2 -2
- package/lib/postcode-systems.ts +198 -0
- package/{tools → lib/tools}/build-country-surface-lexicon.ts +10 -9
- package/{tools → lib/tools}/export-country-surfaces.ts +8 -8
- package/lib/tools/generate-country-population.ts +142 -0
- package/{tools → lib/tools}/generate-country-reference.ts +8 -7
- package/{tools → lib/tools}/generate-official-languages.ts +15 -13
- package/{tools → lib/tools}/index.ts +4 -4
- package/{us → lib/us}/index.ts +8 -8
- package/{us → lib/us}/po-box.ts +1 -1
- package/{us → lib/us}/street-directional.ts +2 -2
- package/{us → lib/us}/street-suffix.ts +1 -1
- package/{us → lib/us}/unit-designator.ts +1 -1
- package/{us → lib/us}/zipcode.ts +2 -2
- package/out/address-system-conventions.d.ts +1 -1
- package/out/address-system-conventions.d.ts.map +1 -1
- package/out/address-system-conventions.js +8 -8
- package/out/address-system-conventions.js.map +1 -1
- package/out/au/delivery-service.d.ts.map +1 -1
- package/out/au/delivery-service.js.map +1 -1
- package/out/au/index.d.ts +4 -4
- package/out/au/index.d.ts.map +1 -1
- package/out/au/index.js +4 -4
- package/out/au/index.js.map +1 -1
- package/out/au/level-designator.d.ts.map +1 -1
- package/out/au/level-designator.js.map +1 -1
- package/out/au/postcode.d.ts.map +1 -1
- package/out/au/postcode.js.map +1 -1
- package/out/au/state.d.ts.map +1 -1
- package/out/au/state.js.map +1 -1
- package/out/ca/index.d.ts +4 -4
- package/out/ca/index.d.ts.map +1 -1
- package/out/ca/index.js +4 -4
- package/out/ca/index.js.map +1 -1
- package/out/ca/postal-code.d.ts +11 -11
- package/out/ca/postal-code.d.ts.map +1 -1
- package/out/ca/postal-code.js +9 -9
- package/out/ca/postal-code.js.map +1 -1
- package/out/ca/province.d.ts.map +1 -1
- package/out/ca/province.js +1 -1
- package/out/ca/province.js.map +1 -1
- package/out/ca/street-type.d.ts.map +1 -1
- package/out/ca/street-type.js +9 -12
- package/out/ca/street-type.js.map +1 -1
- package/out/country/codes.d.ts.map +1 -1
- package/out/country/codes.js.map +1 -1
- package/out/country/country.d.ts +13 -11
- package/out/country/country.d.ts.map +1 -1
- package/out/country/country.js +35 -13
- package/out/country/country.js.map +1 -1
- package/out/country/display-names.d.ts +67 -0
- package/out/country/display-names.d.ts.map +1 -0
- package/out/country/display-names.js +118 -0
- package/out/country/display-names.js.map +1 -0
- package/out/country/index.d.ts +10 -8
- package/out/country/index.d.ts.map +1 -1
- package/out/country/index.js +10 -8
- package/out/country/index.js.map +1 -1
- package/out/country/names.d.ts.map +1 -1
- package/out/country/names.js.map +1 -1
- package/out/country/official-languages.d.ts.map +1 -1
- package/out/country/official-languages.js.map +1 -1
- package/out/country/population.d.ts +16 -0
- package/out/country/population.d.ts.map +1 -0
- package/out/country/population.js +265 -0
- package/out/country/population.js.map +1 -0
- package/out/country/reference-data.d.ts.map +1 -1
- package/out/country/reference-data.js.map +1 -1
- package/out/country/reference.d.ts +1 -1
- package/out/country/reference.d.ts.map +1 -1
- package/out/country/reference.js +2 -2
- package/out/country/reference.js.map +1 -1
- package/out/country/subdivision.d.ts +7 -0
- package/out/country/subdivision.d.ts.map +1 -1
- package/out/country/subdivision.js +52 -3
- package/out/country/subdivision.js.map +1 -1
- package/out/de/bundesland.d.ts.map +1 -1
- package/out/de/bundesland.js.map +1 -1
- package/out/de/index.d.ts +4 -4
- package/out/de/index.d.ts.map +1 -1
- package/out/de/index.js +4 -4
- package/out/de/index.js.map +1 -1
- package/out/de/postleitzahl.d.ts +3 -3
- package/out/de/postleitzahl.d.ts.map +1 -1
- package/out/de/postleitzahl.js +2 -2
- package/out/de/postleitzahl.js.map +1 -1
- package/out/de/street-type.d.ts.map +1 -1
- package/out/de/street-type.js.map +1 -1
- package/out/es/codigo-postal.d.ts +13 -2
- package/out/es/codigo-postal.d.ts.map +1 -1
- package/out/es/codigo-postal.js +21 -4
- package/out/es/codigo-postal.js.map +1 -1
- package/out/es/index.d.ts +1 -1
- package/out/es/index.d.ts.map +1 -1
- package/out/es/index.js +1 -1
- package/out/es/index.js.map +1 -1
- package/out/fr/cedex.d.ts +1 -1
- package/out/fr/cedex.d.ts.map +1 -1
- package/out/fr/cedex.js +1 -1
- package/out/fr/cedex.js.map +1 -1
- package/out/fr/code-postal.d.ts +7 -7
- package/out/fr/code-postal.d.ts.map +1 -1
- package/out/fr/code-postal.js +8 -8
- package/out/fr/code-postal.js.map +1 -1
- package/out/fr/departement.d.ts +2 -2
- package/out/fr/departement.d.ts.map +1 -1
- package/out/fr/departement.js +3 -0
- package/out/fr/departement.js.map +1 -1
- package/out/fr/index.d.ts +6 -6
- package/out/fr/index.d.ts.map +1 -1
- package/out/fr/index.js +6 -6
- package/out/fr/index.js.map +1 -1
- package/out/fr/region.d.ts.map +1 -1
- package/out/fr/region.js +1 -1
- package/out/fr/region.js.map +1 -1
- package/out/fr/voie.d.ts.map +1 -1
- package/out/fr/voie.js +4 -11
- package/out/fr/voie.js.map +1 -1
- package/out/gb/country.d.ts.map +1 -1
- package/out/gb/country.js +1 -9
- package/out/gb/country.js.map +1 -1
- package/out/gb/index.d.ts +4 -4
- package/out/gb/index.d.ts.map +1 -1
- package/out/gb/index.js +4 -4
- package/out/gb/index.js.map +1 -1
- package/out/gb/postcode-area.d.ts +1 -1
- package/out/gb/postcode-area.d.ts.map +1 -1
- package/out/gb/postcode-area.js.map +1 -1
- package/out/gb/postcode.d.ts.map +1 -1
- package/out/gb/postcode.js.map +1 -1
- package/out/gb/street-type.d.ts +1 -1
- package/out/gb/street-type.d.ts.map +1 -1
- package/out/gb/street-type.js +1 -1
- package/out/gb/street-type.js.map +1 -1
- package/out/index.d.ts +12 -12
- package/out/index.d.ts.map +1 -1
- package/out/index.js +12 -12
- package/out/index.js.map +1 -1
- package/out/it/cap.d.ts +13 -2
- package/out/it/cap.d.ts.map +1 -1
- package/out/it/cap.js +20 -3
- package/out/it/cap.js.map +1 -1
- package/out/it/index.d.ts +1 -1
- package/out/it/index.d.ts.map +1 -1
- package/out/it/index.js +1 -1
- package/out/it/index.js.map +1 -1
- package/out/jp/address-unit.d.ts.map +1 -1
- package/out/jp/address-unit.js.map +1 -1
- package/out/jp/index.d.ts +4 -4
- package/out/jp/index.d.ts.map +1 -1
- package/out/jp/index.js +4 -4
- package/out/jp/index.js.map +1 -1
- package/out/jp/postal-code.d.ts +11 -11
- package/out/jp/postal-code.d.ts.map +1 -1
- package/out/jp/postal-code.js +8 -8
- package/out/jp/postal-code.js.map +1 -1
- package/out/jp/prefecture.d.ts +4 -1
- package/out/jp/prefecture.d.ts.map +1 -1
- package/out/jp/prefecture.js +6 -5
- package/out/jp/prefecture.js.map +1 -1
- package/out/level-semantics.d.ts.map +1 -1
- package/out/level-semantics.js.map +1 -1
- package/out/normalize.d.ts +8 -0
- package/out/normalize.d.ts.map +1 -1
- package/out/normalize.js +14 -1
- package/out/normalize.js.map +1 -1
- package/out/nz/delivery-service.d.ts +1 -1
- package/out/nz/delivery-service.d.ts.map +1 -1
- package/out/nz/delivery-service.js +1 -1
- package/out/nz/delivery-service.js.map +1 -1
- package/out/nz/index.d.ts +2 -2
- package/out/nz/index.d.ts.map +1 -1
- package/out/nz/index.js +2 -2
- package/out/nz/index.js.map +1 -1
- package/out/nz/postcode.d.ts.map +1 -1
- package/out/nz/postcode.js.map +1 -1
- package/out/postcode-systems.d.ts +99 -4
- package/out/postcode-systems.d.ts.map +1 -1
- package/out/postcode-systems.js +132 -11
- package/out/postcode-systems.js.map +1 -1
- package/out/tools/build-country-surface-lexicon.d.ts +1 -1
- package/out/tools/build-country-surface-lexicon.d.ts.map +1 -1
- package/out/tools/build-country-surface-lexicon.js +10 -9
- package/out/tools/build-country-surface-lexicon.js.map +1 -1
- package/out/tools/export-country-surfaces.d.ts +1 -1
- package/out/tools/export-country-surfaces.d.ts.map +1 -1
- package/out/tools/export-country-surfaces.js +7 -7
- package/out/tools/export-country-surfaces.js.map +1 -1
- package/out/tools/generate-country-population.d.ts +42 -0
- package/out/tools/generate-country-population.d.ts.map +1 -0
- package/out/tools/generate-country-population.js +106 -0
- package/out/tools/generate-country-population.js.map +1 -0
- package/out/tools/generate-country-reference.d.ts.map +1 -1
- package/out/tools/generate-country-reference.js +8 -8
- package/out/tools/generate-country-reference.js.map +1 -1
- package/out/tools/generate-official-languages.d.ts.map +1 -1
- package/out/tools/generate-official-languages.js +14 -11
- package/out/tools/generate-official-languages.js.map +1 -1
- package/out/tools/index.d.ts +4 -4
- package/out/tools/index.d.ts.map +1 -1
- package/out/tools/index.js +4 -4
- package/out/tools/index.js.map +1 -1
- package/out/us/floor-designator.d.ts.map +1 -1
- package/out/us/floor-designator.js.map +1 -1
- package/out/us/index.d.ts +8 -8
- package/out/us/index.d.ts.map +1 -1
- package/out/us/index.js +8 -8
- package/out/us/index.js.map +1 -1
- package/out/us/military-address.d.ts.map +1 -1
- package/out/us/military-address.js.map +1 -1
- package/out/us/po-box.d.ts +1 -1
- package/out/us/po-box.d.ts.map +1 -1
- package/out/us/po-box.js +1 -1
- package/out/us/po-box.js.map +1 -1
- package/out/us/state.d.ts.map +1 -1
- package/out/us/state.js.map +1 -1
- package/out/us/street-directional.d.ts.map +1 -1
- package/out/us/street-directional.js +2 -2
- package/out/us/street-directional.js.map +1 -1
- package/out/us/street-suffix.d.ts +1 -1
- package/out/us/street-suffix.d.ts.map +1 -1
- package/out/us/street-suffix.js +1 -1
- package/out/us/street-suffix.js.map +1 -1
- package/out/us/unit-designator.d.ts +1 -1
- package/out/us/unit-designator.d.ts.map +1 -1
- package/out/us/unit-designator.js +1 -1
- package/out/us/unit-designator.js.map +1 -1
- package/out/us/zipcode.d.ts +2 -2
- package/out/us/zipcode.d.ts.map +1 -1
- package/out/us/zipcode.js +2 -2
- package/out/us/zipcode.js.map +1 -1
- package/package.json +129 -6
- package/country/index.ts +0 -15
- package/postcode-systems.ts +0 -70
- /package/{au → lib/au}/delivery-service.ts +0 -0
- /package/{au → lib/au}/level-designator.ts +0 -0
- /package/{au → lib/au}/postcode.ts +0 -0
- /package/{au → lib/au}/state.ts +0 -0
- /package/{country → lib/country}/names.ts +0 -0
- /package/{country → lib/country}/official-languages.ts +0 -0
- /package/{country → lib/country}/reference-data.ts +0 -0
- /package/{de → lib/de}/bundesland.ts +0 -0
- /package/{de → lib/de}/street-type.ts +0 -0
- /package/{gb → lib/gb}/postcode.ts +0 -0
- /package/{jp → lib/jp}/address-unit.ts +0 -0
- /package/{level-semantics.ts → lib/level-semantics.ts} +0 -0
- /package/{nz → lib/nz}/postcode.ts +0 -0
- /package/{us → lib/us}/floor-designator.ts +0 -0
- /package/{us → lib/us}/military-address.ts +0 -0
- /package/{us → lib/us}/state.ts +0 -0
- /package/{us → lib/us}/street-suffix.json +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Sister Software
|
|
3
|
+
* @license AGPL-3.0
|
|
4
|
+
* @author Teffen Ellis, et al.
|
|
5
|
+
*
|
|
6
|
+
* Regenerate `codex/country/population.ts` — the per-country population table — from GeoNames
|
|
7
|
+
* `countryInfo.txt` (https://download.geonames.org/export/dump/countryInfo.txt, CC-BY-4.0). The
|
|
8
|
+
* output is committed; this tool makes it reproducible (provenance), not a hand-typed dictionary.
|
|
9
|
+
*
|
|
10
|
+
* Why it exists (#1650): WOF carries no readable population for 147 of 237 country records
|
|
11
|
+
* (measured against the 2026-08-18 candidate build), so those countries entered every prominence
|
|
12
|
+
* race at an asserted ZERO — ranked below any namesake hamlet. The magnitude is what a fame race
|
|
13
|
+
* reads, so a census-vintage figure is entirely sufficient; currency of the estimate is not the
|
|
14
|
+
* point.
|
|
15
|
+
*
|
|
16
|
+
* Rows whose GeoNames population is 0 are DROPPED rather than emitted: an entry in this table is a
|
|
17
|
+
* positive claim, and the consumer's absence branch (`?? undefined`) must stay reachable for
|
|
18
|
+
* territories GeoNames itself declines to estimate (the meaning-of-zero rule).
|
|
19
|
+
*
|
|
20
|
+
* Usage: mailwoman dev generate country-population
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import { APIClient, pluckResponseData } from "@mailwoman/core/api"
|
|
24
|
+
import { writeLocalTextFile } from "@mailwoman/core/fs/writers"
|
|
25
|
+
import { resolvePackagePath } from "@mailwoman/core/module/resolvers"
|
|
26
|
+
|
|
27
|
+
const SOURCE = "https://download.geonames.org/export/dump/countryInfo.txt"
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The committed output path, resolved relative to this module (codex/tools/ → codex/country/). See
|
|
31
|
+
* `generate-country-reference.ts` for why this is `import.meta.url` rather than a `core` path helper (codex is
|
|
32
|
+
* zero-runtime-dep and `core` already references `codex` — importing core here would cycle the project graph).
|
|
33
|
+
*/
|
|
34
|
+
const DEFAULT_OUT = resolvePackagePath("@mailwoman/codex", "lib", "country", "population.ts")
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Tab positions this tool reads from `countryInfo.txt`'s 19-column rows. Named so the parse states which columns it
|
|
38
|
+
* believes in; a GeoNames format change fails the count guard below rather than silently reading the wrong column.
|
|
39
|
+
*/
|
|
40
|
+
const COLUMN_ISO2 = 0
|
|
41
|
+
const COLUMN_POPULATION = 7
|
|
42
|
+
const MINIMUM_COLUMNS = 8
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* GeoNames publishes ~250 countries/territories; a parse recovering fewer than this read the wrong column or a
|
|
46
|
+
* truncated body, and the guard fails loudly instead of committing a hollow table.
|
|
47
|
+
*/
|
|
48
|
+
const MINIMUM_PLAUSIBLE_COUNTRIES = 200
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Numbers below five digits are emitted bare — the house numeric-separator style groups by three and only from five
|
|
52
|
+
* digits up (`8450`, not `8_450`).
|
|
53
|
+
*/
|
|
54
|
+
const SEPARATOR_MINIMUM = 10_000
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Options for {@linkcode generateCountryPopulation}.
|
|
58
|
+
*/
|
|
59
|
+
export interface GenerateCountryPopulationOptions {
|
|
60
|
+
/**
|
|
61
|
+
* Output path override. Default: `codex/country/population.ts` (the committed table).
|
|
62
|
+
*/
|
|
63
|
+
out?: string
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Summary returned by {@linkcode generateCountryPopulation}.
|
|
68
|
+
*/
|
|
69
|
+
export interface GenerateCountryPopulationSummary {
|
|
70
|
+
countries: number
|
|
71
|
+
outPath: string
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Fetch GeoNames `countryInfo.txt` and regenerate the committed `COUNTRY_POPULATION` table.
|
|
76
|
+
*/
|
|
77
|
+
export async function generateCountryPopulation(
|
|
78
|
+
options: GenerateCountryPopulationOptions = {},
|
|
79
|
+
report?: (line: string) => void
|
|
80
|
+
): Promise<GenerateCountryPopulationSummary> {
|
|
81
|
+
const outPath = options.out ?? DEFAULT_OUT
|
|
82
|
+
|
|
83
|
+
// `responseType: "text"` because the source is a tab-separated dump, not JSON.
|
|
84
|
+
const text = await new APIClient({ displayName: "geonames-country-info", retry: true })
|
|
85
|
+
.fetch<string>({ url: SOURCE, responseType: "text" })
|
|
86
|
+
.then(pluckResponseData)
|
|
87
|
+
|
|
88
|
+
const rows: Record<string, number> = {}
|
|
89
|
+
|
|
90
|
+
// oxlint-disable-next-line mailwoman/prefer-spliterator -- countryInfo.txt is ~35 kB and bounded (~300 rows)
|
|
91
|
+
for (const line of text.split("\n")) {
|
|
92
|
+
if (!line || line.startsWith("#")) continue
|
|
93
|
+
// oxlint-disable-next-line mailwoman/prefer-spliterator -- one 19-column row
|
|
94
|
+
const columns = line.split("\t")
|
|
95
|
+
|
|
96
|
+
if (columns.length < MINIMUM_COLUMNS) continue
|
|
97
|
+
const alpha2 = columns[COLUMN_ISO2]!.trim()
|
|
98
|
+
const population = Number(columns[COLUMN_POPULATION])
|
|
99
|
+
|
|
100
|
+
if (!/^[A-Z]{2}$/.test(alpha2)) continue
|
|
101
|
+
|
|
102
|
+
if (!Number.isFinite(population) || population <= 0) continue
|
|
103
|
+
|
|
104
|
+
rows[alpha2] = population
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (Object.keys(rows).length < MINIMUM_PLAUSIBLE_COUNTRIES) {
|
|
108
|
+
throw new Error(`generateCountryPopulation: only ${Object.keys(rows).length} rows parsed — format drift?`)
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const body = Object.keys(rows)
|
|
112
|
+
.toSorted()
|
|
113
|
+
.map((k) => {
|
|
114
|
+
const n = rows[k]!
|
|
115
|
+
const literal = n >= SEPARATOR_MINIMUM ? n.toLocaleString("en-US").replaceAll(",", "_") : String(n)
|
|
116
|
+
|
|
117
|
+
return `\t${k}: ${literal},`
|
|
118
|
+
})
|
|
119
|
+
.join("\n")
|
|
120
|
+
|
|
121
|
+
const header = `/**
|
|
122
|
+
* @copyright Sister Software
|
|
123
|
+
* @license AGPL-3.0
|
|
124
|
+
* @author Teffen Ellis, et al.
|
|
125
|
+
*
|
|
126
|
+
* GENERATED — do not edit by hand. Per-country population, derived from GeoNames countryInfo.txt
|
|
127
|
+
* (https://download.geonames.org/export/dump/countryInfo.txt, CC-BY-4.0). Estimates are
|
|
128
|
+
* census-vintage; a prominence race reads the magnitude, not the currency. Countries GeoNames
|
|
129
|
+
* declines to estimate are ABSENT, never zero.
|
|
130
|
+
* Regenerate with: mailwoman dev generate country-population
|
|
131
|
+
*/
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* ISO 3166-1 alpha-2 → population estimate.
|
|
135
|
+
*/
|
|
136
|
+
export const COUNTRY_POPULATION: Readonly<Record<string, number>> = {`
|
|
137
|
+
|
|
138
|
+
await writeLocalTextFile(`${header}\n${body}\n}\n`, outPath)
|
|
139
|
+
report?.(`wrote ${outPath} (${Object.keys(rows).length} countries)`)
|
|
140
|
+
|
|
141
|
+
return { countries: Object.keys(rows).length, outPath }
|
|
142
|
+
}
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
* Usage: mailwoman dev generate country-reference
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { APIClient, pluckResponseData } from "@mailwoman/core/api"
|
|
18
|
+
import { writeLocalTextFile } from "@mailwoman/core/fs/writers"
|
|
19
|
+
import { resolvePackagePath } from "@mailwoman/core/module/resolvers"
|
|
19
20
|
|
|
20
21
|
const SOURCE = "https://raw.githubusercontent.com/mledoze/countries/master/countries.json"
|
|
21
22
|
|
|
@@ -25,7 +26,7 @@ const SOURCE = "https://raw.githubusercontent.com/mledoze/countries/master/count
|
|
|
25
26
|
* `import.meta.url` points at the source tree. (`@mailwoman/core`'s `repoRootPath` would also work, but codex is
|
|
26
27
|
* zero-runtime-dep and `core` already references `codex` — importing core here would cycle the project graph.)
|
|
27
28
|
*/
|
|
28
|
-
const DEFAULT_OUT =
|
|
29
|
+
const DEFAULT_OUT = resolvePackagePath("@mailwoman/codex", "lib", "country", "reference-data.ts")
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* A single country record from mledoze/countries, narrowed to the fields this tool reads.
|
|
@@ -97,10 +98,10 @@ export async function generateCountryReference(
|
|
|
97
98
|
report?: (line: string) => void
|
|
98
99
|
): Promise<GenerateCountryReferenceSummary> {
|
|
99
100
|
const outPath = options.out ?? DEFAULT_OUT
|
|
100
|
-
const response = await fetch(SOURCE)
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
const countries = await new APIClient({ displayName: "mledoze-countries", retry: true })
|
|
103
|
+
.fetch<MledozeCountry[]>({ url: SOURCE })
|
|
104
|
+
.then(pluckResponseData)
|
|
104
105
|
|
|
105
106
|
const rows: Record<string, CountryReferenceEntry> = {}
|
|
106
107
|
|
|
@@ -160,7 +161,7 @@ export interface CountryReference {
|
|
|
160
161
|
/** ISO 3166-1 alpha-2 → reference. */
|
|
161
162
|
export const COUNTRY_REFERENCE: Record<string, CountryReference> = {`
|
|
162
163
|
|
|
163
|
-
|
|
164
|
+
await writeLocalTextFile(`${header}\n${body}\n}\n`, outPath)
|
|
164
165
|
report?.(`wrote ${outPath} (${Object.keys(rows).length} countries)`)
|
|
165
166
|
|
|
166
167
|
return { countries: Object.keys(rows).length, outPath }
|
|
@@ -19,18 +19,17 @@
|
|
|
19
19
|
* the pinned cldr-core release from jsdelivr.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
|
|
22
|
+
import { APIClient, pluckResponseData } from "@mailwoman/core/api"
|
|
23
|
+
import { readLocalJSONFile } from "@mailwoman/core/fs/readers"
|
|
24
|
+
import { writeLocalFile } from "@mailwoman/core/fs/writers"
|
|
25
|
+
import { resolvePackagePath } from "@mailwoman/core/module/resolvers"
|
|
26
|
+
import { join } from "path-ts"
|
|
28
27
|
/**
|
|
29
28
|
* The committed output path, resolved relative to this module (codex/tools/ → codex/country/). The codegen is
|
|
30
29
|
* repo-only, and in the repo `@mailwoman/codex/tools` always loads from source via the `node` exports condition, so
|
|
31
30
|
* `import.meta.url` points at the source tree.
|
|
32
31
|
*/
|
|
33
|
-
const DEFAULT_OUT =
|
|
32
|
+
const DEFAULT_OUT = resolvePackagePath("@mailwoman/codex", "lib", "country", "official-languages.ts")
|
|
34
33
|
|
|
35
34
|
/**
|
|
36
35
|
* Options for {@linkcode generateOfficialLanguages}.
|
|
@@ -59,21 +58,24 @@ export interface GenerateOfficialLanguagesSummary {
|
|
|
59
58
|
outPath: string
|
|
60
59
|
}
|
|
61
60
|
|
|
61
|
+
/**
|
|
62
|
+
* One call per CLDR supplemental file, against a CDN that throttles. Retry only — the caller makes a handful of
|
|
63
|
+
* requests, so a rate budget would be ceremony over a burst that never happens.
|
|
64
|
+
*/
|
|
65
|
+
const cldrClient = new APIClient({ displayName: "cldr", retry: true })
|
|
66
|
+
|
|
62
67
|
interface LanguagePopulation {
|
|
63
68
|
_officialStatus?: string
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
async function loadCLDR(file: string, cldrDir: string | undefined, cldrVersion: string): Promise<unknown> {
|
|
67
72
|
if (cldrDir) {
|
|
68
|
-
return
|
|
73
|
+
return await readLocalJSONFile(join(cldrDir, `cldr-${file}.json`))
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
const url = `https://cdn.jsdelivr.net/npm/cldr-core@${cldrVersion}/supplemental/${file}.json`
|
|
72
|
-
const res = await fetch(url)
|
|
73
|
-
|
|
74
|
-
if (!res.ok) throw new Error(`${url}: HTTP ${res.status}`)
|
|
75
77
|
|
|
76
|
-
return
|
|
78
|
+
return cldrClient.fetch<unknown>({ url }).then(pluckResponseData)
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
/**
|
|
@@ -201,7 +203,7 @@ export function isOfficialLanguage(country: string, language: string, includeReg
|
|
|
201
203
|
}
|
|
202
204
|
`
|
|
203
205
|
|
|
204
|
-
|
|
206
|
+
await writeLocalFile(header, outPath)
|
|
205
207
|
report?.(`Wrote ${outPath}: ${Object.keys(table).length} territories (CLDR ${cldrVersion})`)
|
|
206
208
|
|
|
207
209
|
return { territories: Object.keys(table).length, cldrVersion, outPath }
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*
|
|
6
6
|
* Codex operator tools — the `run()`-style modules behind `mailwoman dev generate …` commands. No
|
|
7
|
-
* argv, no `process.exit`: commands own parsing, rendering, and exit codes
|
|
8
|
-
* scripts→Pastel spec).
|
|
7
|
+
* argv, no `process.exit`: commands own parsing, rendering, and exit codes.
|
|
9
8
|
*/
|
|
10
9
|
|
|
11
|
-
export * from "
|
|
12
|
-
export * from "
|
|
10
|
+
export * from "#tools/generate-country-population"
|
|
11
|
+
export * from "#tools/generate-country-reference"
|
|
12
|
+
export * from "#tools/generate-official-languages"
|
package/{us → lib/us}/index.ts
RENAMED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* they hang off of.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
export * from "
|
|
13
|
-
export * from "
|
|
14
|
-
export * from "
|
|
15
|
-
export * from "
|
|
16
|
-
export * from "
|
|
17
|
-
export * from "
|
|
18
|
-
export * from "
|
|
19
|
-
export * from "
|
|
12
|
+
export * from "#us/floor-designator"
|
|
13
|
+
export * from "#us/military-address"
|
|
14
|
+
export * from "#us/po-box"
|
|
15
|
+
export * from "#us/state"
|
|
16
|
+
export * from "#us/street-directional"
|
|
17
|
+
export * from "#us/street-suffix"
|
|
18
|
+
export * from "#us/unit-designator"
|
|
19
|
+
export * from "#us/zipcode"
|
package/{us → lib/us}/po-box.ts
RENAMED
|
@@ -62,7 +62,7 @@ export interface PoBoxMatch {
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* If `input` is a PO-box phrase ("PO Box 123", "P.O. Box 12-A", "Post Office Box 7"), return the designator phrase and
|
|
65
|
-
* the id. Null otherwise. Useful for the corpus po_box
|
|
65
|
+
* the id. Null otherwise. Useful for the corpus po_box extract (split the designator from the number) and for
|
|
66
66
|
* resolver/parsing reuse.
|
|
67
67
|
*/
|
|
68
68
|
export function matchPOBox(input: unknown): PoBoxMatch | null {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @see {@link https://pe.usps.com/text/pub28/28apc_002.htm USPS Pub 28 Appendix C1}
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { matchCase } from "
|
|
13
|
+
import { matchCase } from "#us/street-suffix"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* The 8 directional abbreviations accepted by the USPS. The USPS prefers the abbreviation over the fully-spelled-out
|
|
@@ -182,7 +182,7 @@ export function lookupDirectional(input: unknown): DirectionalMatch | null {
|
|
|
182
182
|
return null
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
// ── Codex
|
|
185
|
+
// ── Codex extract-facing helpers (mirror street-suffix's matchTrailingSuffix) ───────────────────────
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* If the FIRST whitespace-separated word of `street` is a known USPS directional (abbrev or name), return the canonical
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* `AVENUE → ["AVE", ...]` — `AVE` is what the post office prints).
|
|
14
14
|
* - `nameProneCanonicals` — OUR curation, not Pub-28: canonicals also observed as ordinary
|
|
15
15
|
* proper-name heads in street names (PARK, HILL, CREEK…), from golden v0.1.3 + the OA street
|
|
16
|
-
* pool. Shared by the golden relabel flags, the #1569
|
|
16
|
+
* pool. Shared by the golden relabel flags, the #1569 extract recipe, and (via the
|
|
17
17
|
* `gazetteer affix-relabel` v2 lexicon) the Python relabel pass, so the instrument and the
|
|
18
18
|
* training feed cannot drift onto different definitions of the ambiguous class.
|
|
19
19
|
*
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* FL, HNGR, KEY, LOT, PIER, RM, SLIP, SPC, STOP, STE, TRLR, and UNIT must be followed by an
|
|
22
22
|
* identifier ("Apt 4B", never bare "Apt"); BSMT, FRNT, LBBY, LOWR, OFC, PH, REAR, SIDE, and UPPR
|
|
23
23
|
* may stand alone. This formalizes, as provenance-tracked reference data, the split that
|
|
24
|
-
* `corpus/src/
|
|
24
|
+
* `corpus/src/recipes/unit.ts` previously hand-rolled (and only partially covered) as
|
|
25
25
|
* in-file `ID_DESIGNATORS`/`STANDALONE_DESIGNATORS` arrays for synthesis weighting. A SEPARATE,
|
|
26
26
|
* not-yet-built deliverable of #1100 is the per-locale *level-semantics* table (étage/RDC, EG/OG/UG,
|
|
27
27
|
* planta/piso/bajo, piano/terra, 階/F/B1, …) — this module stays US/Pub-28 only.
|
package/{us → lib/us}/zipcode.ts
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import type { Tagged } from "type-fest"
|
|
11
11
|
|
|
12
|
-
import { isUSStateAbbreviation, type USStateAbbreviation } from "
|
|
12
|
+
import { isUSStateAbbreviation, type USStateAbbreviation } from "#us/state"
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* USPS-recognized ZIP code digits.
|
|
@@ -191,7 +191,7 @@ export interface PluckedStateZIPCodeResult {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
* Given an address string like `"NY"`, `"CA 94016"`, attempts to match the state abbreviation and
|
|
194
|
+
* Given an address string like `"NY"`, `"CA 94016"`, attempts to match the state abbreviation and postcode, if
|
|
195
195
|
* applicable.
|
|
196
196
|
*
|
|
197
197
|
* @see {@linkcode isUSStateAbbreviation} to validate the state abbreviation.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* postcode repair pass. Both triggered only when the system is detected confidently (or supplied
|
|
18
18
|
* by the caller) — an undetected system parses exactly as before.
|
|
19
19
|
*/
|
|
20
|
-
import type { SystemCode } from "
|
|
20
|
+
import type { SystemCode } from "#postcode-systems";
|
|
21
21
|
export interface AddressSystemConventions {
|
|
22
22
|
/**
|
|
23
23
|
* Component tags that are NOT grammatical in this address system (names from the core `ComponentTag` union; codex
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-system-conventions.d.ts","sourceRoot":"","sources":["../address-system-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"address-system-conventions.d.ts","sourceRoot":"","sources":["../lib/address-system-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,wBAAwB;IACxC;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CACjC;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,wBAAwB,CAAC,CAyC5F,CAAA;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,wBAAwB,GAAG,IAAI,CAI3G"}
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* postcode repair pass. Both triggered only when the system is detected confidently (or supplied
|
|
18
18
|
* by the caller) — an undetected system parses exactly as before.
|
|
19
19
|
*/
|
|
20
|
-
import { CODE_POSTAL_PATTERN } from "
|
|
21
|
-
import { UK_POSTCODE_PATTERN } from "
|
|
20
|
+
import { CODE_POSTAL_PATTERN } from "#fr/code-postal";
|
|
21
|
+
import { UK_POSTCODE_PATTERN } from "#gb/postcode";
|
|
22
22
|
/**
|
|
23
23
|
* Per-address-system ordering and formatting conventions — which component leads a line, whether the postcode precedes
|
|
24
24
|
* the locality, and so on. Keyed by address system rather than country, since several share one.
|
|
@@ -31,11 +31,11 @@ export const ADDRESS_SYSTEM_CONVENTIONS = {
|
|
|
31
31
|
* street-suffix class; Pub-28's suffix decomposition has no French counterpart).
|
|
32
32
|
*
|
|
33
33
|
* Provenance / why this is NOT a blanket prefix+suffix forbid (#719, 2026-06-18): an earlier model mis-tagged the
|
|
34
|
-
* leading "Rue" as a US-style `street_suffix` (RUE is a Pub-28 suffix variant) — the 2026-06-10 v1.1.0
|
|
35
|
-
* forbade BOTH affix tags to stop that leakage. That forbid was correct for THAT model but became a live
|
|
36
|
-
* bug for the current one: the shipped model (v1.5.0) emits the FR `street_prefix` correctly, but the
|
|
37
|
-
* mask was a hard −1e9 on every B-/I-street_prefix emission, so the detected-FR parse could never KEEP a
|
|
38
|
-
* destroyed `street_prefix` wholesale (measured on data/eval/external/ fr-street-prefix-real.jsonl at
|
|
34
|
+
* leading "Rue" as a US-style `street_suffix` (RUE is a Pub-28 suffix variant) — the 2026-06-10 v1.1.0 promotion eval
|
|
35
|
+
* — so #511 forbade BOTH affix tags to stop that leakage. That forbid was correct for THAT model but became a live
|
|
36
|
+
* production bug for the current one: the shipped model (v1.5.0) emits the FR `street_prefix` correctly, but the
|
|
37
|
+
* conventions mask was a hard −1e9 on every B-/I-street_prefix emission, so the detected-FR parse could never KEEP a
|
|
38
|
+
* prefix — it destroyed `street_prefix` wholesale (measured on data/eval/external/ fr-street-prefix-real.jsonl at
|
|
39
39
|
* conventions=auto: F1 0.0 with the forbid on → 80.0 with it off; the larger real-FR eval reported the same collapse,
|
|
40
40
|
* ~96 → ~0.6). We keep ONLY `street_suffix` forbidden: the current model with the forbid OFF shows zero FR
|
|
41
41
|
* street_suffix leakage (fp=0 on that same slice) and FR has no trailing street suffix, so the constraint costs
|
|
@@ -54,7 +54,7 @@ export const ADDRESS_SYSTEM_CONVENTIONS = {
|
|
|
54
54
|
* the raw text — exactly the shape-INVALID class `postcodePattern` exists to flag.
|
|
55
55
|
*
|
|
56
56
|
* Provenance (#1275, 2026-07-24): on the GB golden board's 106 postcode rows under the en-gb bundle, the clip class
|
|
57
|
-
* (parsed postcode = proper suffix of the truth) was 44/106 with this row absent — the repair
|
|
57
|
+
* (parsed postcode = proper suffix of the truth) was 44/106 with this row absent — the repair check never opened
|
|
58
58
|
* because `conventionsForSystem("gb")` returned null. With the repair reachable, exact 26 → 83 and the clip class
|
|
59
59
|
* goes to zero. No `forbiddenTags`: no measured GB-ungrammatical tag class exists (the FR street_suffix forbid's
|
|
60
60
|
* lesson — a forbid needs measured zero-cost receipts, and GB street grammar shares the trailing-suffix family with
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-system-conventions.js","sourceRoot":"","sources":["../address-system-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"address-system-conventions.js","sourceRoot":"","sources":["../lib/address-system-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAiBlD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAA0D;IAChG;;;;;;;;;;;;;;;;;OAiBG;IACH,EAAE,EAAE;QACH,aAAa,EAAE,CAAC,eAAe,CAAC;QAChC,eAAe,EAAE,mBAAmB;KACpC;IAED;;;;;;;;;;;;;OAaG;IACH,EAAE,EAAE;QACH,eAAe,EAAE,mBAAmB;KACpC;CACD,CAAA;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAqC;IACzE,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAA;IAExB,OAAO,0BAA0B,CAAC,MAAM,CAAC,IAAI,IAAI,CAAA;AAClD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery-service.d.ts","sourceRoot":"","sources":["../../au/delivery-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,MAAM,EAAE,OAAO,CAAA;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAee,CAAA;AAE3D;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;AA4C5G;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,UAAU,EAAE,6BAA6B,CAAA;IACzC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;CACf;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C,CAAC,CAAE,CAAC,IAAI,EAAE;YACrB,UAAU,EAAE,YAAY;YACxB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM,EAAE,IAAI,CAAC,MAAM;SACnB,CAAA;IACF,CAAC;IAED,OAAO,IAAI,CAAA;AACZ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAc;IACjD,OAAO,sBAAsB,CAAC,KAAK,CAAC,KAAK,IAAI,CAAA;AAC9C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAa;IACvD,MAAM,CAAC,GAAG,sBAAsB,CAAC,KAAK,CAAC,CAAA;IAEvC,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAA;IAEpB,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAA;AACrE,CAAC"}
|
package/out/au/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* AMAS / AS 4590.1 floor/level designators (Level 3, Ground Floor, Mezzanine), states and
|
|
9
9
|
* territories, and the 4-digit postcode.
|
|
10
10
|
*/
|
|
11
|
-
export * from "
|
|
12
|
-
export * from "
|
|
13
|
-
export * from "
|
|
14
|
-
export * from "
|
|
11
|
+
export * from "#au/delivery-service";
|
|
12
|
+
export * from "#au/level-designator";
|
|
13
|
+
export * from "#au/postcode";
|
|
14
|
+
export * from "#au/state";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/out/au/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../au/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/au/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}
|
package/out/au/index.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* AMAS / AS 4590.1 floor/level designators (Level 3, Ground Floor, Mezzanine), states and
|
|
9
9
|
* territories, and the 4-digit postcode.
|
|
10
10
|
*/
|
|
11
|
-
export * from "
|
|
12
|
-
export * from "
|
|
13
|
-
export * from "
|
|
14
|
-
export * from "
|
|
11
|
+
export * from "#au/delivery-service";
|
|
12
|
+
export * from "#au/level-designator";
|
|
13
|
+
export * from "#au/postcode";
|
|
14
|
+
export * from "#au/state";
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/out/au/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../au/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/au/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"level-designator.d.ts","sourceRoot":"","sources":["../../au/level-designator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,M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AAC,UAAU,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,YAAY,CAAA;AAC7F,CAAC"}
|
package/out/au/postcode.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postcode.d.ts","sourceRoot":"","sources":["../../au/postcode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAErD;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAY,CAAA;AAE5C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,CAKnE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE"}
|
|
1
|
+
{"version":3,"file":"postcode.d.ts","sourceRoot":"","sources":["../../lib/au/postcode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAErD;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAY,CAAA;AAE5C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,UAAU,GAAG,IAAI,CAKnE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE"}
|
package/out/au/postcode.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postcode.js","sourceRoot":"","sources":["../../au/postc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
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../au/state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;CASQ,CAAA;AAE3C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,sBAAsB,CAAA;AAErE;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAElF"}
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../lib/au/state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;CASQ,CAAA;AAE3C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,sBAAsB,CAAA;AAErE;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAElF"}
|
package/out/au/state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../au/state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC,GAAG,EAAE,8BAA8B;IACnC,GAAG,EAAE,iBAAiB;IACtB,EAAE,EAAE,oBAAoB;IACxB,GAAG,EAAE,YAAY;IACjB,EAAE,EAAE,iBAAiB;IACrB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,EAAE,EAAE,mBAAmB;CACmB,CAAA;AAO3C;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAc;IACnD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC,CAAA;AAC/F,CAAC"}
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../lib/au/state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC,GAAG,EAAE,8BAA8B;IACnC,GAAG,EAAE,iBAAiB;IACtB,EAAE,EAAE,oBAAoB;IACxB,GAAG,EAAE,YAAY;IACjB,EAAE,EAAE,iBAAiB;IACrB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,UAAU;IACf,EAAE,EAAE,mBAAmB;CACmB,CAAA;AAO3C;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAc;IACnD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC,CAAA;AAC/F,CAAC"}
|
package/out/ca/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*
|
|
6
6
|
* The Canadian address system (Canada Post / ISO 3166-2:CA): bilingual street types, alphanumeric
|
|
7
|
-
*
|
|
7
|
+
* postcodes, and the provinces and territories.
|
|
8
8
|
*/
|
|
9
|
-
export * from "
|
|
10
|
-
export * from "
|
|
11
|
-
export * from "
|
|
9
|
+
export * from "#ca/postal-code";
|
|
10
|
+
export * from "#ca/province";
|
|
11
|
+
export * from "#ca/street-type";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
package/out/ca/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ca/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/ca/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA"}
|
package/out/ca/index.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*
|
|
6
6
|
* The Canadian address system (Canada Post / ISO 3166-2:CA): bilingual street types, alphanumeric
|
|
7
|
-
*
|
|
7
|
+
* postcodes, and the provinces and territories.
|
|
8
8
|
*/
|
|
9
|
-
export * from "
|
|
10
|
-
export * from "
|
|
11
|
-
export * from "
|
|
9
|
+
export * from "#ca/postal-code";
|
|
10
|
+
export * from "#ca/province";
|
|
11
|
+
export * from "#ca/street-type";
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/out/ca/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ca/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/ca/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA"}
|