@finbheara/domain 0.36.0 → 0.38.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/dist/place.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import {
2
+ GENERIC_WORDS2,
3
+ genericKey2,
2
4
  DEFAULT_PLACE_CAPACITY2,
3
5
  createPlaceReader2,
4
6
  DEFAULT_PLACE_READER2,
@@ -17,14 +19,16 @@ import {
17
19
  placesRelation2,
18
20
  probablySamePlace2,
19
21
  sameReading2
20
- } from "./chunks/place-75ms9pvh.js";
22
+ } from "./chunks/place-k6y6fe1y.js";
21
23
  import"./chunks/place-tcgfvemw.js";
22
24
  export {
23
25
  DEFAULT_PLACE_CAPACITY2 as DEFAULT_PLACE_CAPACITY,
24
26
  DEFAULT_PLACE_READER2 as DEFAULT_PLACE_READER,
27
+ GENERIC_WORDS2 as GENERIC_WORDS,
25
28
  areAllPlaceTokens2 as areAllPlaceTokens,
26
29
  countryCodeOf2 as countryCodeOf,
27
30
  createPlaceReader2 as createPlaceReader,
31
+ genericKey2 as genericKey,
28
32
  isPlaceToken2 as isPlaceToken,
29
33
  oireachtasOfRegion2 as oireachtasOfRegion,
30
34
  place2 as place,
package/dist/school.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  areAllPlaceTokens2,
13
13
  placeRelation2,
14
14
  sameReading2
15
- } from "./chunks/place-75ms9pvh.js";
15
+ } from "./chunks/place-k6y6fe1y.js";
16
16
  import {
17
17
  validity
18
18
  } from "./chunks/place-q9kwsmzd.js";
@@ -1,3 +1,3 @@
1
- export declare const PLACE_TOWNS_TREE = "96572b07e0a2d0d2bdc02ee6909a2ae4b9106c63908be665f6b50eeb8651411b";
1
+ export declare const PLACE_TOWNS_TREE = "c2daf046dd20a9da43bc9480e79931ec8c2f2127d1000358bc4cec85b5dad543";
2
2
  export declare const PLACE_TOWNS_SOURCES: Readonly<Record<string, string>>;
3
3
  export declare const PLACE_TOWNS: Readonly<Record<string, string>>;
@@ -2,4 +2,5 @@ import type { PlaceNode } from "./place-types.ts";
2
2
  export declare const AMBIGUOUS_PRINTS: readonly string[];
3
3
  export declare const CROSS_BORDER_REGIONS: readonly string[];
4
4
  export declare const FOREIGN_MEMBER_REGIONS: readonly string[];
5
+ export declare const SPLIT_SUBDIVISIONS: readonly string[];
5
6
  export declare const PLACE_NODES: readonly PlaceNode[];
@@ -1,4 +1,4 @@
1
1
  import type { PlaceWithin } from "./place-types.ts";
2
- export declare const PLACE_WITHIN_TREE = "96572b07e0a2d0d2bdc02ee6909a2ae4b9106c63908be665f6b50eeb8651411b";
2
+ export declare const PLACE_WITHIN_TREE = "c2daf046dd20a9da43bc9480e79931ec8c2f2127d1000358bc4cec85b5dad543";
3
3
  export declare const PLACE_WITHIN_SOURCES: Readonly<Record<string, string>>;
4
4
  export declare const PLACE_WITHIN: Readonly<Record<string, PlaceWithin>>;
@@ -62,7 +62,10 @@ export interface PlaceReaderOptions {
62
62
  readonly refusals?: PlaceRefusals | ReadonlyMap<string, PlaceRefusal>;
63
63
  readonly capacity?: number;
64
64
  readonly within?: Readonly<Record<string, PlaceWithin>>;
65
+ readonly generic?: boolean;
65
66
  }
67
+ export declare const GENERIC_WORDS: Readonly<Record<string, string>>;
68
+ export declare function genericKey(folded: string): string | undefined;
66
69
  export declare const DEFAULT_PLACE_CAPACITY = 8192;
67
70
  export declare function createPlaceReader(options?: PlaceReaderOptions): {
68
71
  place: (print: string, ctx?: string | PlaceContext) => Place;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finbheara/domain",
3
- "version": "0.36.0",
3
+ "version": "0.38.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",