@mailwoman/codex 6.0.0 → 6.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.
@@ -16,6 +16,16 @@
16
16
  * counterpart to the runtime `UnitDesignatorClassifier` (which matches the broader libpostal
17
17
  * `unit_types` lexicon). Designators are LEADING ("Apt 4B"), unlike street suffixes which trail.
18
18
  *
19
+ * `US_UNIT_DESIGNATOR_REQUIRES_RANGE` (added for #1100, the secondary-address epic; retrieved from
20
+ * Appendix C2 2026-07-13) is Pub-28's own "Requires a Secondary Number" column: APT, BLDG, DEPT,
21
+ * FL, HNGR, KEY, LOT, PIER, RM, SLIP, SPC, STOP, STE, TRLR, and UNIT must be followed by an
22
+ * identifier ("Apt 4B", never bare "Apt"); BSMT, FRNT, LBBY, LOWR, OFC, PH, REAR, SIDE, and UPPR
23
+ * may stand alone. This formalizes, as provenance-tracked reference data, the split that
24
+ * `corpus/src/shard-recipes/unit.ts` previously hand-rolled (and only partially covered) as
25
+ * in-file `ID_DESIGNATORS`/`STANDALONE_DESIGNATORS` arrays for synthesis weighting. A SEPARATE,
26
+ * not-yet-built deliverable of #1100 is the per-locale *level-semantics* table (étage/RDC, EG/OG/UG,
27
+ * planta/piso/bajo, piano/terra, 階/F/B1, …) — this module stays US/Pub-28 only.
28
+ *
19
29
  * Data is verbatim USPS Pub-28 C2.
20
30
  * @see {@link https://pe.usps.com/text/pub28/28apc_003.htm USPS Secondary Unit Designators}
21
31
  */
@@ -59,6 +69,13 @@ export type UsUnitDesignator = keyof typeof US_UNIT_DESIGNATOR_VARIANTS;
59
69
  export declare const US_UNIT_DESIGNATOR_LOOKUP: ReadonlyMap<string, UsUnitDesignator>;
60
70
  /** Approved USPS abbreviation per canonical (`APARTMENT → "APT"`, `SUITE → "STE"`). */
61
71
  export declare const US_UNIT_DESIGNATOR_PREFERRED_ABBR: Readonly<Record<UsUnitDesignator, string>>;
72
+ /**
73
+ * Canonical designators Appendix C2 marks as "Requires a Secondary Number" — the designator must be followed by an
74
+ * identifier ("Apt 4B", "Rm 12"), never appearing bare. The remaining designators (BASEMENT, FRONT, LOBBY, LOWER,
75
+ * OFFICE, PENTHOUSE, REAR, SIDE, UPPER) may stand alone with no trailing identifier. Verbatim from USPS Pub-28 C2; see
76
+ * the module header for provenance (#1100).
77
+ */
78
+ export declare const US_UNIT_DESIGNATOR_REQUIRES_RANGE: Readonly<Record<UsUnitDesignator, boolean>>;
62
79
  /**
63
80
  * If the FIRST whitespace-separated word of `unit` is a known USPS designator variant, return the canonical key and the
64
81
  * matched word. Returns null if the leading word isn't a known designator (e.g. a bare `"4B"` or `"#210"`).
@@ -68,6 +85,30 @@ export declare function matchLeadingDesignator(unit: string): {
68
85
  canonical: UsUnitDesignator;
69
86
  matched: string;
70
87
  } | null;
88
+ /** Result of {@link matchLeadingDesignatorWithRange}: the leading designator plus its optional secondary range. */
89
+ export interface UnitDesignatorRangeMatch {
90
+ /** The matched canonical designator, i.e. "APARTMENT", "SUITE". */
91
+ canonical: UsUnitDesignator;
92
+ /** The designator's own matched surface form, i.e. "Apt". */
93
+ matched: string;
94
+ /**
95
+ * The secondary range/identifier token immediately following the designator, i.e. "4B" in "Apt 4B". Undefined when
96
+ * the designator appears standalone (e.g. bare "Basement"). This module does not validate the range's own shape —
97
+ * numeric, letter, or alphanumeric ranges are all USPS-valid.
98
+ */
99
+ range: string | undefined;
100
+ /**
101
+ * Whether USPS Pub-28 Appendix C2 marks this designator as requiring a secondary range (see
102
+ * {@link US_UNIT_DESIGNATOR_REQUIRES_RANGE}). Informational only — not enforced by this matcher.
103
+ */
104
+ requiresRange: boolean;
105
+ }
106
+ /**
107
+ * Like {@link matchLeadingDesignator}, but also captures the secondary range/identifier token immediately following the
108
+ * designator, if present ("Apt 4B" → designator "APARTMENT", range "4B"; "Basement" → range `undefined`). Mirrors
109
+ * `street-suffix`/`street-directional`'s designator+adjacent-token matchers.
110
+ */
111
+ export declare function matchLeadingDesignatorWithRange(unit: string): UnitDesignatorRangeMatch | null;
71
112
  /** Result of a successful USPS secondary-unit designator lookup. */
72
113
  export interface UnitDesignatorMatch<D extends UsUnitDesignator = UsUnitDesignator> {
73
114
  /** The matched canonical designator, i.e. "APARTMENT", "SUITE". */
@@ -86,4 +127,9 @@ export declare function lookupUnitDesignator(input: string | null | undefined):
86
127
  * `"floor"`.
87
128
  */
88
129
  export declare function isUnitDesignatorToken(input: unknown): boolean;
130
+ /**
131
+ * Alias of {@link isUnitDesignatorToken} under Pub-28's own term ("secondary unit designator"). Added for #1100 so
132
+ * secondary-address call sites can spell the predicate after the publication's vocabulary.
133
+ */
134
+ export declare function isSecondaryUnitDesignatorToken(input: unknown): boolean;
89
135
  //# sourceMappingURL=unit-designator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unit-designator.d.ts","sourceRoot":"","sources":["../../us/unit-designator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;CAyBc,CAAA;AAEtD,2FAA2F;AAC3F,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,2BAA2B,CAAA;AAEvE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAexE,CAAA;AAEJ,uFAAuF;AACvF,eAAO,MAAM,iCAAiC,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAE1C,CAAA;AAE/C;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,SAAS,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAU5G;AAED,oEAAoE;AACpE,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB;IACjF,mEAAmE;IACnE,UAAU,EAAE,CAAC,CA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;IACnE,SAAS,EAAE,gBAAgB,CAAA;IAC3B,6DAA6D;IAC7D,OAAO,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAA;CACtB;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB,GAAG,IAAI,CAgB7F;AAED,oEAAoE;AACpE,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB;IACjF,mEAAmE;IACnE,UAAU,EAAE,CAAC,CAAA;IACb,yDAAyD;IACzD,YAAY,EAAE,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;CACxD;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,gBAAgB,EAAE,UAAU,EAAE,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAA;AACvG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,mBAAmB,GAAG,IAAI,CAAA;AAUlG;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE7D;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEtE"}
@@ -16,6 +16,16 @@
16
16
  * counterpart to the runtime `UnitDesignatorClassifier` (which matches the broader libpostal
17
17
  * `unit_types` lexicon). Designators are LEADING ("Apt 4B"), unlike street suffixes which trail.
18
18
  *
19
+ * `US_UNIT_DESIGNATOR_REQUIRES_RANGE` (added for #1100, the secondary-address epic; retrieved from
20
+ * Appendix C2 2026-07-13) is Pub-28's own "Requires a Secondary Number" column: APT, BLDG, DEPT,
21
+ * FL, HNGR, KEY, LOT, PIER, RM, SLIP, SPC, STOP, STE, TRLR, and UNIT must be followed by an
22
+ * identifier ("Apt 4B", never bare "Apt"); BSMT, FRNT, LBBY, LOWR, OFC, PH, REAR, SIDE, and UPPR
23
+ * may stand alone. This formalizes, as provenance-tracked reference data, the split that
24
+ * `corpus/src/shard-recipes/unit.ts` previously hand-rolled (and only partially covered) as
25
+ * in-file `ID_DESIGNATORS`/`STANDALONE_DESIGNATORS` arrays for synthesis weighting. A SEPARATE,
26
+ * not-yet-built deliverable of #1100 is the per-locale *level-semantics* table (étage/RDC, EG/OG/UG,
27
+ * planta/piso/bajo, piano/terra, 階/F/B1, …) — this module stays US/Pub-28 only.
28
+ *
19
29
  * Data is verbatim USPS Pub-28 C2.
20
30
  * @see {@link https://pe.usps.com/text/pub28/28apc_003.htm USPS Secondary Unit Designators}
21
31
  */
@@ -69,6 +79,38 @@ export const US_UNIT_DESIGNATOR_LOOKUP = (() => {
69
79
  })();
70
80
  /** Approved USPS abbreviation per canonical (`APARTMENT → "APT"`, `SUITE → "STE"`). */
71
81
  export const US_UNIT_DESIGNATOR_PREFERRED_ABBR = Object.fromEntries(Object.keys(US_UNIT_DESIGNATOR_VARIANTS).map((k) => [k, US_UNIT_DESIGNATOR_VARIANTS[k][0]]));
82
+ /**
83
+ * Canonical designators Appendix C2 marks as "Requires a Secondary Number" — the designator must be followed by an
84
+ * identifier ("Apt 4B", "Rm 12"), never appearing bare. The remaining designators (BASEMENT, FRONT, LOBBY, LOWER,
85
+ * OFFICE, PENTHOUSE, REAR, SIDE, UPPER) may stand alone with no trailing identifier. Verbatim from USPS Pub-28 C2; see
86
+ * the module header for provenance (#1100).
87
+ */
88
+ export const US_UNIT_DESIGNATOR_REQUIRES_RANGE = {
89
+ APARTMENT: true,
90
+ BASEMENT: false,
91
+ BUILDING: true,
92
+ DEPARTMENT: true,
93
+ FLOOR: true,
94
+ FRONT: false,
95
+ HANGAR: true,
96
+ KEY: true,
97
+ LOBBY: false,
98
+ LOT: true,
99
+ LOWER: false,
100
+ OFFICE: false,
101
+ PENTHOUSE: false,
102
+ PIER: true,
103
+ REAR: false,
104
+ ROOM: true,
105
+ SIDE: false,
106
+ SLIP: true,
107
+ SPACE: true,
108
+ STOP: true,
109
+ SUITE: true,
110
+ TRAILER: true,
111
+ UNIT: true,
112
+ UPPER: false,
113
+ };
72
114
  /**
73
115
  * If the FIRST whitespace-separated word of `unit` is a known USPS designator variant, return the canonical key and the
74
116
  * matched word. Returns null if the leading word isn't a known designator (e.g. a bare `"4B"` or `"#210"`).
@@ -84,6 +126,27 @@ export function matchLeadingDesignator(unit) {
84
126
  return null;
85
127
  return { canonical, matched: first };
86
128
  }
129
+ /**
130
+ * Like {@link matchLeadingDesignator}, but also captures the secondary range/identifier token immediately following the
131
+ * designator, if present ("Apt 4B" → designator "APARTMENT", range "4B"; "Basement" → range `undefined`). Mirrors
132
+ * `street-suffix`/`street-directional`'s designator+adjacent-token matchers.
133
+ */
134
+ export function matchLeadingDesignatorWithRange(unit) {
135
+ const trimmed = unit.trim();
136
+ if (!trimmed)
137
+ return null;
138
+ const parts = trimmed.split(/\s+/);
139
+ const first = parts[0];
140
+ const canonical = US_UNIT_DESIGNATOR_LOOKUP.get(first.toLowerCase());
141
+ if (!canonical)
142
+ return null;
143
+ return {
144
+ canonical,
145
+ matched: first,
146
+ range: parts[1],
147
+ requiresRange: US_UNIT_DESIGNATOR_REQUIRES_RANGE[canonical],
148
+ };
149
+ }
87
150
  export function lookupUnitDesignator(input) {
88
151
  if (!input || typeof input !== "string")
89
152
  return null;
@@ -99,4 +162,11 @@ export function lookupUnitDesignator(input) {
99
162
  export function isUnitDesignatorToken(input) {
100
163
  return typeof input === "string" && US_UNIT_DESIGNATOR_LOOKUP.has(input.trim().toLowerCase());
101
164
  }
165
+ /**
166
+ * Alias of {@link isUnitDesignatorToken} under Pub-28's own term ("secondary unit designator"). Added for #1100 so
167
+ * secondary-address call sites can spell the predicate after the publication's vocabulary.
168
+ */
169
+ export function isSecondaryUnitDesignatorToken(input) {
170
+ return isUnitDesignatorToken(input);
171
+ }
102
172
  //# sourceMappingURL=unit-designator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unit-designator.js","sourceRoot":"","sources":["../../us/unit-designator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;IACzB,UAAU,EAAE,CAAC,MAAM,CAAC;IACpB,KAAK,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;IACpB,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,GAAG,EAAE,CAAC,KAAK,CAAC;IACZ,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,GAAG,EAAE,CAAC,KAAK,CAAC;IACZ,KAAK,EAAE,CAAC,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,KAAK,CAAC;IACf,SAAS,EAAE,CAAC,IAAI,CAAC;IACjB,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,IAAI,CAAC;IACZ,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,KAAK,CAAC;IACd,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,MAAM,CAAC;CACsC,CAAA;AAKtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAA0C,CAAC,GAAG,EAAE;IACrF,MAAM,GAAG,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{
2
2
  "name": "@mailwoman/codex",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Per-address-system postal reference data + branded types (USPS street suffixes, US ZIP codes). Pure, zero-runtime-dep — the shared canonical home for postal-system primitives the parser, resolver, and synthesis layers all reach for.",
5
5
  "license": "AGPL-3.0-only OR LicenseRef-Commercial",
6
6
  "repository": {
@@ -116,6 +116,6 @@
116
116
  "type-fest": "^5.8.0"
117
117
  },
118
118
  "devDependencies": {
119
- "@mailwoman/annotations": "6.0.0"
119
+ "@mailwoman/annotations": "6.1.0"
120
120
  }
121
121
  }