@finbheara/domain 0.37.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-8kvsn5wp.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-8kvsn5wp.js";
15
+ } from "./chunks/place-k6y6fe1y.js";
16
16
  import {
17
17
  validity
18
18
  } from "./chunks/place-q9kwsmzd.js";
@@ -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.37.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",