@finbheara/domain 0.34.0 → 0.36.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 +9 -3
- package/dist/age.js +5 -1
- package/dist/chunks/{place-fsxsxdhk.js → place-36esw9p7.js} +1 -1
- package/dist/chunks/{place-8k74cr5j.js → place-3w1mr2vh.js} +12 -2
- package/dist/geocode.js +75 -66
- package/dist/schedule.js +2 -2
- package/dist/title.js +2 -2
- package/dist/types/age-title.d.ts +1 -0
- package/dist/types/age-types.d.ts +1 -1
- package/dist/types/age.d.ts +2 -1
- package/dist/types/geocode.d.ts +1 -0
- package/package.json +2 -2
package/dist/schedule.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import"./chunks/place-
|
|
1
|
+
import"./chunks/place-3w1mr2vh.js";
|
|
2
2
|
import {
|
|
3
3
|
compTitle2,
|
|
4
4
|
matchTitle2
|
|
5
|
-
} from "./chunks/place-
|
|
5
|
+
} from "./chunks/place-36esw9p7.js";
|
|
6
6
|
|
|
7
7
|
function hallKey(hall) {
|
|
8
8
|
return hall.normalize("NFKD").replace(/\p{M}/gu, "").toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
|
package/dist/title.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
titleRelation2,
|
|
7
7
|
ladderOf2,
|
|
8
8
|
matchTitle2
|
|
9
|
-
} from "./chunks/place-
|
|
10
|
-
import"./chunks/place-
|
|
9
|
+
} from "./chunks/place-36esw9p7.js";
|
|
10
|
+
import"./chunks/place-3w1mr2vh.js";
|
|
11
11
|
export {
|
|
12
12
|
compTitle2 as compTitle,
|
|
13
13
|
ladderOf2 as ladderOf,
|
|
@@ -23,7 +23,7 @@ export interface AgeContext {
|
|
|
23
23
|
}
|
|
24
24
|
export type AgeArm = "band" | "yob" | "open" | "empty";
|
|
25
25
|
export type AgeKind = "under" | "over" | "range" | "adult" | "senior" | "yob";
|
|
26
|
-
export type AgeRefusal = "not-a-band" | "backwards-range" | "overlapping-ranges" | "senior-without-ladder" | "below-youngest-band" | "year-out-of-range";
|
|
26
|
+
export type AgeRefusal = "not-a-band" | "backwards-range" | "overlapping-ranges" | "senior-without-ladder" | "below-youngest-band" | "above-oldest-band" | "year-out-of-range";
|
|
27
27
|
export type AgeSource = "sibling-narrowed" | "printed-band" | "printed-range" | "printed-yob" | "open";
|
|
28
28
|
export type AgeClause = "under-floored-on-rung" | "under-stride" | "youngest-absorbs" | "over-ceiling-from-next-over" | "over-ceiling-refused-gap" | "and-over-no-ceiling" | "adult-under-ceiling" | "adult-band" | "range-overlapping" | "range-as-under" | "range-top-meets-over" | "range-adult-floor";
|
|
29
29
|
export type AgeRelation = "same" | "contains" | "overlaps" | "disjoint" | "silent";
|
package/dist/types/age.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type AgeTitleSpan } from "./age-title.ts";
|
|
2
2
|
import type { AgeArm, AgeClause, AgeComparison, AgeContext, AgeInterval, AgeKind, AgeLadder, AgeMisuse, AgeRefusal, AgeRelation, AgeRelationReason, AgeSource, AgeSpan, BirthYears, YOBContext, YoungFloorVerdict } from "./age-types.ts";
|
|
3
3
|
import { type EmptyReason, type Validated } from "./validated.ts";
|
|
4
|
-
export { type AgeTitleSpan, type AgeTitleToken, TITLE_RANGE_MAX, TITLE_RANGE_MIN, adultBeside, ageTitleToken, } from "./age-title.ts";
|
|
4
|
+
export { type AgeTitleSpan, type AgeTitleToken, TITLE_RANGE_MAX, TITLE_RANGE_MIN, adultBeside, ageTitleToken, printsUnderOpen, } from "./age-title.ts";
|
|
5
5
|
export type { AgeArm, AgeClause, AgeComparison, AgeContext, AgeInterval, AgeKind, AgeLadder, AgeMisuse, AgeRefusal, AgeRelation, AgeRelationReason, AgeSource, AgeSpan, BirthYears, EmptyReason, Validated, YOBContext, YoungFloorVerdict, };
|
|
6
6
|
export declare const YOUNGEST_FLOOR = 0;
|
|
7
7
|
export declare const ADULT_FLOOR = 18;
|
|
@@ -18,6 +18,7 @@ export declare const YOUNG_FLOOR: Readonly<{
|
|
|
18
18
|
export declare const MIN_MAJOR_AGE = 4;
|
|
19
19
|
export declare const MIN_FEIS_AGE = 3;
|
|
20
20
|
export declare const YOUNGEST_BAND_TOP = 3;
|
|
21
|
+
export declare const OLDEST_BAND_FLOOR = 100;
|
|
21
22
|
export declare const YOB_RANGE: Readonly<{
|
|
22
23
|
readonly first: 1901;
|
|
23
24
|
readonly last: 2099;
|
package/dist/types/geocode.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface GeocodeTown {
|
|
|
7
7
|
readonly cell: string;
|
|
8
8
|
readonly geonameid: number;
|
|
9
9
|
readonly areas: readonly string[];
|
|
10
|
+
readonly abroad: number | null;
|
|
10
11
|
}
|
|
11
12
|
export declare function geocodeTowns(): ReadonlyMap<string, GeocodeTown>;
|
|
12
13
|
export declare function geocode(print: string, ctx?: string | PlaceContext): Place;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finbheara/domain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"prepublishOnly": "bun scripts/build.ts && bun scripts/guard-tarball.ts"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@finbheara/names": "0.
|
|
92
|
+
"@finbheara/names": "0.21.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"typescript": "7.0.2"
|