@finbheara/domain 0.33.0 → 0.34.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 +5 -0
- package/dist/chunks/{place-6qvca8eg.js → place-75ms9pvh.js} +1 -1
- package/dist/clrg-regions.js +1 -1
- package/dist/geocode.js +1 -1
- package/dist/place.js +1 -1
- package/dist/school.js +1 -1
- package/dist/types/place-towns.d.ts +1 -1
- package/dist/types/place-within.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,6 +100,7 @@ p.region; // "IDTANA-MARO"
|
|
|
100
100
|
|
|
101
101
|
place("Calgary, AB").pl2; // "CAN-AB/calgary"
|
|
102
102
|
place("Co. Cork").region; // "MUNSTER"
|
|
103
|
+
place("Co. Louth").region; // "ULSTER": the council that runs it, not its province
|
|
103
104
|
place("CA").arm; // "ambiguous": California or Canada
|
|
104
105
|
place("Dublin").arm; // "ambiguous": Ireland, California or Ohio
|
|
105
106
|
|
|
@@ -169,6 +170,10 @@ resolvePhrase("Derry in Ireland"); // ["ULSTER"]
|
|
|
169
170
|
`resolvePhrase` answers every region a phrase supports, and `[]` where it supports none. A
|
|
170
171
|
token that names places in two regions resolves only with a co-token that settles it.
|
|
171
172
|
|
|
173
|
+
A region is always the CLRG council that runs a place, and never its province or state where
|
|
174
|
+
the two differ. County Louth lies in the province of Leinster and is run by the Ulster council,
|
|
175
|
+
so it reads `ULSTER`, as Northern Ireland reads `ULSTER` and Wales `ENG_MIDLANDS`.
|
|
176
|
+
|
|
172
177
|
## Read a school name
|
|
173
178
|
|
|
174
179
|
```ts
|
package/dist/clrg-regions.js
CHANGED
|
@@ -201,7 +201,6 @@ var IE_COUNTIES = {
|
|
|
201
201
|
kilkenny: "LEINSTER",
|
|
202
202
|
laois: "LEINSTER",
|
|
203
203
|
longford: "LEINSTER",
|
|
204
|
-
louth: "LEINSTER",
|
|
205
204
|
meath: "LEINSTER",
|
|
206
205
|
offaly: "LEINSTER",
|
|
207
206
|
westmeath: "LEINSTER",
|
|
@@ -221,6 +220,7 @@ var IE_COUNTIES = {
|
|
|
221
220
|
fermanagh: "ULSTER",
|
|
222
221
|
londonderry: "ULSTER",
|
|
223
222
|
derry: "ULSTER",
|
|
223
|
+
louth: "ULSTER",
|
|
224
224
|
monaghan: "ULSTER",
|
|
225
225
|
tyrone: "ULSTER"
|
|
226
226
|
};
|
package/dist/geocode.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
place2,
|
|
6
6
|
placeFromId2,
|
|
7
7
|
placeParts2
|
|
8
|
-
} from "./chunks/place-
|
|
8
|
+
} from "./chunks/place-75ms9pvh.js";
|
|
9
9
|
|
|
10
10
|
var PLACE_TOWNS = {
|
|
11
11
|
"AUS-ACT": "Acton~~r3dp~9973368|Ainslie~~r3dp~8348552|Amaroo~~r3dp~8349331|Aranda~~r3dp~8349333|Banks~~r3dn~8348388|Barton~~r3dp~8349163|Belconnen~~r3dp~2176373|Bonner~~r3dp~9973375|Bonython~~r3dn~8349164|Braddon~~r3dp~8349165|Bruce~~r3dp~8349301|Calwell~~r3dn~8347865|Campbell~~r3dp~2172618|Canberra City~~r3dp~8347868|Casey~~r3dp~8349161~AU.07.21610|Chapman~~r39y~8349166|Charnwood~~r39z~8349169|Chifley~~r3dn~8348372|Chisholm~~r3dn~8349303|Conder~~r3dn~8349167|Cook~~r3dp~8347746~AU.04.32500|Coombs~~r39z~9973426|Crace~~r3dp~8349353|Curtin~~r3dp~8349171|Deakin~~r3dp~8349172|Dickson~~r3dp~8348400|Downer~~r3dp~8348308|Duffy~~r39y~8349425|Dunlop~~r39z~8349173|Evatt~~r3dp~8349175|Fadden~~r3dn~8348126|Farrer~~r3dn~8347869|Fisher~~r39y~8349304~CA.03.5953379|Florey~~r39z~8349174|Flynn~~r39z~8349305|Forde~~r3dp~8347874|Forrest~~r3dp~8504554|Franklin~~r3dp~8349306|Fraser~~r39z~8348647|Garran~~r3dn~9973428|Gilmore~~r3dn~8349400|Giralang~~r3dp~8348680|Gordon~~r3dn~8348660|Gowrie~~r3dn~8348892|Greenway~~r3dn~8349176|Griffith~~r3dp~8349307~AU.02.13450|Gungahlin~~r3dp~8349178|Hackett~~r3dp~8349180|Harrison~~r3dp~8349179|Hawker~~r39z~8349385|Higgins~~r39z~8349181|Holder~~r39y~8349308|Holt~~r39z~8347705|Hughes~~r3dn~8349446|Isaacs~~r3dn~8349182|Isabella Plains~~r3dn~8349183|Jacka~~r3dp~9973376|Jervis Bay Village~~r3g0~2162322|Kaleen~~r3dp~6619483|Kambah~~r39y~8348370|Kingston~~r3dp~8349299|Latham~~r39z~8349309|Lyneham~~r3dp~8347876|Lyons~~r3dn~8349159|Macarthur~~r3dn~7302189|Macgregor~~r39z~8348907|Macquarie~~r3dp~7281844|Mawson~~r3dn~8348684|McKellar~~r3dp~8349184|Melba~~r39z~8349186|Monash~~r3dn~8349310~AU.07.24970|Narrabundah~~r3dn~8349435|Ngunnawal~~r3dp~8349187|Nicholls~~r3dp~8349185|O'Connor~~r3dp~8348190|O'Malley~~r3dn~8349436|Oxley~~r3dn~8349413|Page~~r39z~8348129|Palmerston~~r3dp~8349170~AU.03.72800|Pearce~~r3dn~8349379|Phillip~~r3dn~2153335|Red Hill~~r3dp~9973374|Reid~~r3dp~8348371|Richardson~~r3dn~8349188|Rivett~~r39y~8349189|Scullin~~r39z~8349327|Spence~~r3dp~8349313|Stirling~~r39y~8349380~AU.08.57910,CA.01.4802009,GB.SCT.W6|Symonston~~r3dn~8349190|Theodore~~r3dn~8348420~CA.11.4709028|Torrens~~r3dn~8348973|Tuggeranong~~r3dn~2145936|Turner~~r3dp~8348040|Wanniassa~~r3dn~8349191|Waramanga~~r39y~8349192|Watson~~r3dp~8348373~CA.11.4710062|Weetangera~~r39z~2144224|Weston~~r39y~8349397|Wright~~r39z~9973427|Yarralumla~~r3dp~8348374",
|
package/dist/place.js
CHANGED
package/dist/school.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const PLACE_TOWNS_TREE = "
|
|
1
|
+
export declare const PLACE_TOWNS_TREE = "96572b07e0a2d0d2bdc02ee6909a2ae4b9106c63908be665f6b50eeb8651411b";
|
|
2
2
|
export declare const PLACE_TOWNS_SOURCES: Readonly<Record<string, string>>;
|
|
3
3
|
export declare const PLACE_TOWNS: Readonly<Record<string, string>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { PlaceWithin } from "./place-types.ts";
|
|
2
|
-
export declare const PLACE_WITHIN_TREE = "
|
|
2
|
+
export declare const PLACE_WITHIN_TREE = "96572b07e0a2d0d2bdc02ee6909a2ae4b9106c63908be665f6b50eeb8651411b";
|
|
3
3
|
export declare const PLACE_WITHIN_SOURCES: Readonly<Record<string, string>>;
|
|
4
4
|
export declare const PLACE_WITHIN: Readonly<Record<string, PlaceWithin>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finbheara/domain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Places, CLRG regions, school names, ages, dances, competition titles and schedules, and a person's print in its role, as they are printed: read, compared and told apart",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"places",
|