@treeviz/gedcom-parser 2.0.1 → 2.0.3
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/classes/common.d.ts +118 -0
- package/dist/classes/common.d.ts.map +1 -0
- package/dist/classes/date.d.ts +27 -0
- package/dist/classes/date.d.ts.map +1 -0
- package/dist/classes/fam.d.ts +19 -0
- package/dist/classes/fam.d.ts.map +1 -0
- package/dist/classes/fams.d.ts +16 -0
- package/dist/classes/fams.d.ts.map +1 -0
- package/dist/classes/gedcom.d.ts +148 -0
- package/dist/classes/gedcom.d.ts.map +1 -0
- package/dist/classes/index.d.ts +28 -2
- package/dist/classes/index.d.ts.map +1 -0
- package/dist/classes/index.js +1 -1
- package/dist/classes/indi.d.ts +351 -0
- package/dist/classes/indi.d.ts.map +1 -0
- package/dist/classes/indis.d.ts +55 -0
- package/dist/classes/indis.d.ts.map +1 -0
- package/dist/classes/list.d.ts +55 -0
- package/dist/classes/list.d.ts.map +1 -0
- package/dist/classes/name.d.ts +20 -0
- package/dist/classes/name.d.ts.map +1 -0
- package/dist/classes/note.d.ts +12 -0
- package/dist/classes/note.d.ts.map +1 -0
- package/dist/classes/obje.d.ts +12 -0
- package/dist/classes/obje.d.ts.map +1 -0
- package/dist/classes/objes.d.ts +8 -0
- package/dist/classes/objes.d.ts.map +1 -0
- package/dist/classes/repo.d.ts +11 -0
- package/dist/classes/repo.d.ts.map +1 -0
- package/dist/classes/repos.d.ts +8 -0
- package/dist/classes/repos.d.ts.map +1 -0
- package/dist/classes/sour.d.ts +11 -0
- package/dist/classes/sour.d.ts.map +1 -0
- package/dist/classes/sours.d.ts +8 -0
- package/dist/classes/sours.d.ts.map +1 -0
- package/dist/classes/subm.d.ts +10 -0
- package/dist/classes/subm.d.ts.map +1 -0
- package/dist/classes/subms.d.ts +8 -0
- package/dist/classes/subms.d.ts.map +1 -0
- package/dist/cli/commands/convert.d.ts +3 -0
- package/dist/cli/commands/convert.d.ts.map +1 -0
- package/dist/cli/commands/extract.d.ts +3 -0
- package/dist/cli/commands/extract.d.ts.map +1 -0
- package/dist/cli/commands/find.d.ts +28 -0
- package/dist/cli/commands/find.d.ts.map +1 -0
- package/dist/cli/commands/get.d.ts +22 -0
- package/dist/cli/commands/get.d.ts.map +1 -0
- package/dist/cli/commands/info.d.ts +3 -0
- package/dist/cli/commands/info.d.ts.map +1 -0
- package/dist/cli/commands/merge.d.ts +3 -0
- package/dist/cli/commands/merge.d.ts.map +1 -0
- package/dist/cli/commands/open.d.ts +3 -0
- package/dist/cli/commands/open.d.ts.map +1 -0
- package/dist/cli/commands/relatives.d.ts +3 -0
- package/dist/cli/commands/relatives.d.ts.map +1 -0
- package/dist/cli/commands/select.d.ts +13 -0
- package/dist/cli/commands/select.d.ts.map +1 -0
- package/dist/cli/commands/show.d.ts +9 -0
- package/dist/cli/commands/show.d.ts.map +1 -0
- package/dist/cli/commands/stats.d.ts +8 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/validate.d.ts +3 -0
- package/dist/cli/commands/validate.d.ts.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +1 -1
- package/dist/cli/repl.d.ts +17 -0
- package/dist/cli/repl.d.ts.map +1 -0
- package/dist/cli/utils/formatters.d.ts +71 -0
- package/dist/cli/utils/formatters.d.ts.map +1 -0
- package/dist/cli/utils/helpers.d.ts +21 -0
- package/dist/cli/utils/helpers.d.ts.map +1 -0
- package/dist/constants/constants.d.ts +14 -0
- package/dist/constants/constants.d.ts.map +1 -0
- package/dist/constants/filters.d.ts +18 -0
- package/dist/constants/filters.d.ts.map +1 -0
- package/dist/constants/index.d.ts +4 -49
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/orders.d.ts +17 -0
- package/dist/constants/orders.d.ts.map +1 -0
- package/dist/factories/cache-factory.d.ts +30 -0
- package/dist/factories/cache-factory.d.ts.map +1 -0
- package/dist/factories/date-locale-factory.d.ts +30 -0
- package/dist/factories/date-locale-factory.d.ts.map +1 -0
- package/dist/factories/i18n-factory.d.ts +40 -0
- package/dist/factories/i18n-factory.d.ts.map +1 -0
- package/dist/factories/index.d.ts +13 -202
- package/dist/factories/index.d.ts.map +1 -0
- package/dist/factories/kinship-factory.d.ts +38 -0
- package/dist/factories/kinship-factory.d.ts.map +1 -0
- package/dist/factories/place-parser-provider.d.ts +32 -0
- package/dist/factories/place-parser-provider.d.ts.map +1 -0
- package/dist/factories/place-translator-provider.d.ts +32 -0
- package/dist/factories/place-translator-provider.d.ts.map +1 -0
- package/dist/index.d.ts +28 -9
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/interfaces/common.d.ts +43 -0
- package/dist/interfaces/common.d.ts.map +1 -0
- package/dist/interfaces/fam.d.ts +11 -0
- package/dist/interfaces/fam.d.ts.map +1 -0
- package/dist/interfaces/fams.d.ts +9 -0
- package/dist/interfaces/fams.d.ts.map +1 -0
- package/dist/interfaces/gedcom.d.ts +30 -0
- package/dist/interfaces/gedcom.d.ts.map +1 -0
- package/dist/interfaces/index.d.ts +12 -2
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/indi.d.ts +114 -0
- package/dist/interfaces/indi.d.ts.map +1 -0
- package/dist/interfaces/indis.d.ts +31 -0
- package/dist/interfaces/indis.d.ts.map +1 -0
- package/dist/interfaces/list.d.ts +52 -0
- package/dist/interfaces/list.d.ts.map +1 -0
- package/dist/interfaces/obje.d.ts +7 -0
- package/dist/interfaces/obje.d.ts.map +1 -0
- package/dist/interfaces/repo.d.ts +7 -0
- package/dist/interfaces/repo.d.ts.map +1 -0
- package/dist/interfaces/sour.d.ts +7 -0
- package/dist/interfaces/sour.d.ts.map +1 -0
- package/dist/interfaces/subm.d.ts +6 -0
- package/dist/interfaces/subm.d.ts.map +1 -0
- package/dist/kinship-translator/index.d.ts +11 -146
- package/dist/kinship-translator/index.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.basic.d.ts +30 -0
- package/dist/kinship-translator/kinship-translator.basic.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.d.ts +26 -0
- package/dist/kinship-translator/kinship-translator.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.de.d.ts +18 -0
- package/dist/kinship-translator/kinship-translator.de.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.en.d.ts +18 -0
- package/dist/kinship-translator/kinship-translator.en.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.es.d.ts +18 -0
- package/dist/kinship-translator/kinship-translator.es.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.fr.d.ts +18 -0
- package/dist/kinship-translator/kinship-translator.fr.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.hu.d.ts +19 -0
- package/dist/kinship-translator/kinship-translator.hu.d.ts.map +1 -0
- package/dist/kinship-translator/kinship-translator.interface.d.ts +19 -0
- package/dist/kinship-translator/kinship-translator.interface.d.ts.map +1 -0
- package/dist/kinship-translator/patterns.de.d.ts +2 -0
- package/dist/kinship-translator/patterns.de.d.ts.map +1 -0
- package/dist/kinship-translator/patterns.en.d.ts +2 -0
- package/dist/kinship-translator/patterns.en.d.ts.map +1 -0
- package/dist/kinship-translator/patterns.es.d.ts +2 -0
- package/dist/kinship-translator/patterns.es.d.ts.map +1 -0
- package/dist/kinship-translator/patterns.fr.d.ts +2 -0
- package/dist/kinship-translator/patterns.fr.d.ts.map +1 -0
- package/dist/kinship-translator/patterns.hu.d.ts +6 -0
- package/dist/kinship-translator/patterns.hu.d.ts.map +1 -0
- package/dist/kinship-translator/translators.d.ts +6 -0
- package/dist/kinship-translator/translators.d.ts.map +1 -0
- package/dist/kinship-translator/types.d.ts +9 -0
- package/dist/kinship-translator/types.d.ts.map +1 -0
- package/dist/structures/address.d.ts +14 -0
- package/dist/structures/address.d.ts.map +1 -0
- package/dist/structures/association.d.ts +13 -0
- package/dist/structures/association.d.ts.map +1 -0
- package/dist/structures/change-date.d.ts +8 -0
- package/dist/structures/change-date.d.ts.map +1 -0
- package/dist/structures/creation-date.d.ts +7 -0
- package/dist/structures/creation-date.d.ts.map +1 -0
- package/dist/structures/date.d.ts +9 -0
- package/dist/structures/date.d.ts.map +1 -0
- package/dist/structures/event-detail-structure.d.ts +25 -0
- package/dist/structures/event-detail-structure.d.ts.map +1 -0
- package/dist/structures/family.d.ts +34 -0
- package/dist/structures/family.d.ts.map +1 -0
- package/dist/structures/gedcom.d.ts +59 -0
- package/dist/structures/gedcom.d.ts.map +1 -0
- package/dist/structures/index.d.ts +27 -25
- package/dist/structures/index.d.ts.map +1 -0
- package/dist/structures/individual-event-detail-structure.d.ts +9 -0
- package/dist/structures/individual-event-detail-structure.d.ts.map +1 -0
- package/dist/structures/individual-event-structure.d.ts +83 -0
- package/dist/structures/individual-event-structure.d.ts.map +1 -0
- package/dist/structures/individual.d.ts +40 -0
- package/dist/structures/individual.d.ts.map +1 -0
- package/dist/structures/lds-ordinance-detail.d.ts +17 -0
- package/dist/structures/lds-ordinance-detail.d.ts.map +1 -0
- package/dist/structures/lds-spouse-sealing.d.ts +7 -0
- package/dist/structures/lds-spouse-sealing.d.ts.map +1 -0
- package/dist/structures/marriage-date.d.ts +11 -0
- package/dist/structures/marriage-date.d.ts.map +1 -0
- package/dist/structures/multimedia-link.d.ts +16 -0
- package/dist/structures/multimedia-link.d.ts.map +1 -0
- package/dist/structures/non-event.d.ts +12 -0
- package/dist/structures/non-event.d.ts.map +1 -0
- package/dist/structures/note.d.ts +16 -0
- package/dist/structures/note.d.ts.map +1 -0
- package/dist/structures/personal-name-pieces.d.ts +11 -0
- package/dist/structures/personal-name-pieces.d.ts.map +1 -0
- package/dist/structures/personal-name.d.ts +16 -0
- package/dist/structures/personal-name.d.ts.map +1 -0
- package/dist/structures/place.d.ts +20 -0
- package/dist/structures/place.d.ts.map +1 -0
- package/dist/structures/repository.d.ts +6 -0
- package/dist/structures/repository.d.ts.map +1 -0
- package/dist/structures/source-citation.d.ts +27 -0
- package/dist/structures/source-citation.d.ts.map +1 -0
- package/dist/structures/source-repository-citation.d.ts +13 -0
- package/dist/structures/source-repository-citation.d.ts.map +1 -0
- package/dist/structures/source.d.ts +28 -0
- package/dist/structures/source.d.ts.map +1 -0
- package/dist/types/ancestry-media.d.ts +65 -0
- package/dist/types/ancestry-media.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -69
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/settings.d.ts +12 -0
- package/dist/types/settings.d.ts.map +1 -0
- package/dist/types/types.d.ts +229 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/utils/cache.d.ts +26 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/common-creator.d.ts +13 -0
- package/dist/utils/common-creator.d.ts.map +1 -0
- package/dist/utils/date-formatter.d.ts +35 -0
- package/dist/utils/date-formatter.d.ts.map +1 -0
- package/dist/utils/get-all-prop.d.ts +4 -0
- package/dist/utils/get-all-prop.d.ts.map +1 -0
- package/dist/utils/get-family-with.d.ts +5 -0
- package/dist/utils/get-family-with.d.ts.map +1 -0
- package/dist/utils/get-places.d.ts +21 -0
- package/dist/utils/get-places.d.ts.map +1 -0
- package/dist/utils/get-product-details.d.ts +4 -0
- package/dist/utils/get-product-details.d.ts.map +1 -0
- package/dist/utils/get-raw-size.d.ts +2 -0
- package/dist/utils/get-raw-size.d.ts.map +1 -0
- package/dist/utils/index.d.ts +19 -19
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/media-utils.d.ts +13 -0
- package/dist/utils/media-utils.d.ts.map +1 -0
- package/dist/utils/name-formatter.d.ts +10 -0
- package/dist/utils/name-formatter.d.ts.map +1 -0
- package/dist/utils/nested-group.d.ts +4 -0
- package/dist/utils/nested-group.d.ts.map +1 -0
- package/dist/utils/ordinalize.d.ts +3 -0
- package/dist/utils/ordinalize.d.ts.map +1 -0
- package/dist/utils/parser.d.ts +22 -0
- package/dist/utils/parser.d.ts.map +1 -0
- package/dist/utils/place-parser.d.ts +16 -0
- package/dist/utils/place-parser.d.ts.map +1 -0
- package/dist/utils/place-translator.d.ts +6 -0
- package/dist/utils/place-translator.d.ts.map +1 -0
- package/dist/utils/place-types.d.ts +27 -0
- package/dist/utils/place-types.d.ts.map +1 -0
- package/dist/utils/range.d.ts +19 -0
- package/dist/utils/range.d.ts.map +1 -0
- package/package.json +12 -2
- package/dist/index-B3Po1Kaw.d.ts +0 -1713
- package/dist/place-parser-BLwBjtXS.d.ts +0 -40
- package/dist/place-translator-DPMyrsnu.d.ts +0 -93
package/dist/index-B3Po1Kaw.d.ts
DELETED
|
@@ -1,1713 +0,0 @@
|
|
|
1
|
-
import { Locale } from 'date-fns';
|
|
2
|
-
|
|
3
|
-
interface IFam extends Common<string, FamKey> {
|
|
4
|
-
_IS_ORPHAN_FAMILY?: Common<"Y" | "N">;
|
|
5
|
-
getChildren: () => Individuals;
|
|
6
|
-
getHusband: () => Individuals;
|
|
7
|
-
getWife: () => Individuals;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface IObje extends Common<string, ObjeKey> {
|
|
11
|
-
_PRIM?: Common<"Y" | "N">;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface IMultimediaLinkStructure extends Common {
|
|
15
|
-
RIN?: Common;
|
|
16
|
-
OBJE?: Common & {
|
|
17
|
-
CROP?: Common & {
|
|
18
|
-
TOP?: Common;
|
|
19
|
-
LEFT?: Common;
|
|
20
|
-
HEIGHT?: Common;
|
|
21
|
-
WIDTH?: Common;
|
|
22
|
-
};
|
|
23
|
-
TITL?: Common;
|
|
24
|
-
_PRIM?: Common<"Y" | "N">;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
declare class Obje extends Common<string, ObjeKey> implements IObje {
|
|
29
|
-
standardizeMedia(namespace?: string | number, override?: boolean, urlGetter?: (namespace?: string | number, imgId?: string) => string | undefined): this | ProxyOriginal<ObjeType>;
|
|
30
|
-
}
|
|
31
|
-
type ObjeType = Obje & IMultimediaLinkStructure;
|
|
32
|
-
declare const createObje: (gedcom: GedComType, id?: ObjeKey, main?: Common, parent?: Common) => ProxyOriginal<ObjeType>;
|
|
33
|
-
|
|
34
|
-
declare class Objects extends List<ObjeKey, ObjeType> {
|
|
35
|
-
copy(): Objects;
|
|
36
|
-
except(item: ObjeType): Objects;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface IRepositoryStructure {
|
|
40
|
-
NAME?: Common;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface IRepo extends Common<string, RepoKey>, IRepositoryStructure {
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare class Repo extends Common<string, RepoKey> implements IRepo {
|
|
47
|
-
}
|
|
48
|
-
type RepoType = Repo & IRepositoryStructure;
|
|
49
|
-
declare const createRepo: (gedcom: GedComType, id?: RepoKey, main?: Common, parent?: Common) => ProxyOriginal<RepoType>;
|
|
50
|
-
|
|
51
|
-
declare class Repositories extends List<RepoKey, RepoType> {
|
|
52
|
-
copy(): Repositories;
|
|
53
|
-
except(item: RepoType): Repositories;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
interface ISour extends Common<string, SourKey> {
|
|
57
|
-
_APID?: Common;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
type PrimitiveRange = "" | "-" | `-${number}` | `${number}-` | `${number}-${number}`;
|
|
61
|
-
type Range$1 = PrimitiveRange | [(string | number)?, (string | number)?] | [string | number, (string | number)?];
|
|
62
|
-
interface SplitResult {
|
|
63
|
-
range: PrimitiveRange;
|
|
64
|
-
to?: boolean;
|
|
65
|
-
by?: boolean;
|
|
66
|
-
}
|
|
67
|
-
declare const fromTuple: (s?: number, e?: number) => PrimitiveRange;
|
|
68
|
-
declare const inRange: (year: string | number | undefined, range: Range$1, trueIfNoYear?: boolean) => boolean;
|
|
69
|
-
declare const isIntersectedRange: (range1: Range$1, range2: Range$1) => boolean;
|
|
70
|
-
declare const splitRange: (to: Range$1, by: Range$1) => SplitResult[];
|
|
71
|
-
declare function parseRangeBounds(rangeKey: PrimitiveRange): [number | undefined, number | undefined];
|
|
72
|
-
declare function isRangeContained(containedRange: PrimitiveRange, containerRange: PrimitiveRange): boolean;
|
|
73
|
-
declare function extractSplitPoints(ranges: PrimitiveRange[]): number[];
|
|
74
|
-
declare function generateSplitRanges(splitPoints: number[]): PrimitiveRange[];
|
|
75
|
-
declare function splitOverlappingRanges<T>(rangesToValues: Array<[PrimitiveRange, T]>): Array<[PrimitiveRange, T[]]>;
|
|
76
|
-
declare function findMatchingRangeForSplitRange<T>(splitRange: PrimitiveRange, rangesToValues: Array<[PrimitiveRange, T]>): T[];
|
|
77
|
-
declare function extractSeparationYears(childName: string, ranges: Record<string, unknown[]>, parentName: string, ensureArray: (x: unknown) => unknown[]): number[];
|
|
78
|
-
|
|
79
|
-
declare class CommonDate extends Common<string> {
|
|
80
|
-
private _date?;
|
|
81
|
-
DAY?: Common;
|
|
82
|
-
MONTH?: Common;
|
|
83
|
-
YEAR?: Common;
|
|
84
|
-
NOTE?: Common;
|
|
85
|
-
constructor(gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common);
|
|
86
|
-
set value(value: string | undefined);
|
|
87
|
-
get value(): string | undefined;
|
|
88
|
-
get rawValue(): Date | undefined;
|
|
89
|
-
assign<T extends Common | List = Common | List>(name: MultiTag, value: T, unique?: boolean): T | undefined;
|
|
90
|
-
private isValidDateFormat;
|
|
91
|
-
toNote(short?: boolean): string | undefined;
|
|
92
|
-
toValue(dateFormat?: string, locale?: Locale | null): string | undefined;
|
|
93
|
-
exportValue(): string | undefined;
|
|
94
|
-
inRange(range: Range$1, trueIfNoYear?: boolean): boolean;
|
|
95
|
-
}
|
|
96
|
-
declare const createCommonDate: (gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common) => ProxyOriginal<CommonDate>;
|
|
97
|
-
declare const isCommonDate: (value?: unknown) => value is CommonDate;
|
|
98
|
-
|
|
99
|
-
interface IDateStructure extends Common {
|
|
100
|
-
DATE?: CommonDate & {
|
|
101
|
-
TIME?: Common;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
interface IChangeDateStructure extends Common, INoteStructure {
|
|
106
|
-
CHAN?: Common & IDateStructure;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
interface ICreationDateStructure extends Common {
|
|
110
|
-
CREA?: Common & IDateStructure;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
interface IPlaceStructure extends Common {
|
|
114
|
-
PLAC?: Common & {
|
|
115
|
-
FORM?: Common;
|
|
116
|
-
LANG?: Common;
|
|
117
|
-
TRAN?: Common & {
|
|
118
|
-
LANG?: Common;
|
|
119
|
-
};
|
|
120
|
-
MAP?: Common & {
|
|
121
|
-
LATI?: Common;
|
|
122
|
-
LONG?: Common;
|
|
123
|
-
};
|
|
124
|
-
EXID?: Common & {
|
|
125
|
-
TYPE?: Common;
|
|
126
|
-
};
|
|
127
|
-
} & INoteStructure;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
interface ISourceRepositoryCitationStructure extends Common {
|
|
131
|
-
REPO?: Common & {
|
|
132
|
-
CALN?: Common & {
|
|
133
|
-
MEDI?: Common & {
|
|
134
|
-
PHRASE?: Common;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
} & INoteStructure;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
interface ISourceStructure extends Common, IChangeDateStructure, ICreationDateStructure, ISourceRepositoryCitationStructure, IMultimediaLinkStructure, INoteStructure {
|
|
141
|
-
DATA?: Common & {
|
|
142
|
-
EVEN?: Common & {
|
|
143
|
-
DATE?: Common & {
|
|
144
|
-
PHRASE?: Common;
|
|
145
|
-
};
|
|
146
|
-
} & IPlaceStructure;
|
|
147
|
-
AGNC?: Common;
|
|
148
|
-
} & INoteStructure;
|
|
149
|
-
AUTH?: Common;
|
|
150
|
-
TITL?: Common;
|
|
151
|
-
ABBR?: Common;
|
|
152
|
-
PUBL?: Common;
|
|
153
|
-
TEXT?: Common & {
|
|
154
|
-
MIME?: Common;
|
|
155
|
-
LANG?: Common;
|
|
156
|
-
};
|
|
157
|
-
_APID?: Common;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
declare class Sour extends Common<string, SourKey> implements ISour {
|
|
161
|
-
}
|
|
162
|
-
type SourType = Sour & ISourceStructure;
|
|
163
|
-
declare const createSour: (gedcom: GedComType, id?: SourKey, main?: Common, parent?: Common) => ProxyOriginal<SourType>;
|
|
164
|
-
|
|
165
|
-
declare class Sources extends List<SourKey, SourType> {
|
|
166
|
-
copy(): Sources;
|
|
167
|
-
except(item: SourType): Sources;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
interface ISubm extends Common<string, SubmKey> {
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
declare class Subm extends Common<string, SubmKey> implements ISubm {
|
|
174
|
-
}
|
|
175
|
-
type SubmType = Subm & ISubm;
|
|
176
|
-
declare const createSubm: (gedcom: GedComType, id?: SubmKey, main?: Common, parent?: Common) => ProxyOriginal<SubmType>;
|
|
177
|
-
|
|
178
|
-
declare class Submitters extends List<SubmKey, SubmType> {
|
|
179
|
-
copy(): Submitters;
|
|
180
|
-
except(item: SubmType): Submitters;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface IGedcom extends Common {
|
|
184
|
-
indis: () => Individuals | undefined;
|
|
185
|
-
fams: () => Families | undefined;
|
|
186
|
-
objes: () => Objects | undefined;
|
|
187
|
-
sours: () => Sources | undefined;
|
|
188
|
-
repos: () => Repositories | undefined;
|
|
189
|
-
subms: () => Submitters | undefined;
|
|
190
|
-
indi: (index: number | IndiKey) => IndiType | undefined;
|
|
191
|
-
fam: (index: number | FamKey) => FamType | undefined;
|
|
192
|
-
obje: (index: number | ObjeKey) => ObjeType | undefined;
|
|
193
|
-
sour: (index: number | SourKey) => SourType | undefined;
|
|
194
|
-
repo: (index: number | RepoKey) => RepoType | undefined;
|
|
195
|
-
subm: (index: number | SubmKey) => SubmType | undefined;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
interface IAddressStructure extends Common {
|
|
199
|
-
ADDR?: Common & {
|
|
200
|
-
ADR1?: Common;
|
|
201
|
-
ADR2?: Common;
|
|
202
|
-
ADR3?: Common;
|
|
203
|
-
CITY?: Common;
|
|
204
|
-
STAE?: Common;
|
|
205
|
-
POST?: Common;
|
|
206
|
-
CTRY?: Common;
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
interface ISourceCitationStructure extends Common, IMultimediaLinkStructure {
|
|
211
|
-
SOUR?: Common & {
|
|
212
|
-
PAGE?: Common;
|
|
213
|
-
DATA?: Common & {
|
|
214
|
-
DATE?: Common & {
|
|
215
|
-
TIME?: Common;
|
|
216
|
-
PHRASE?: Common;
|
|
217
|
-
};
|
|
218
|
-
TEXT?: Common & {
|
|
219
|
-
MIME?: Common;
|
|
220
|
-
LANG?: Common;
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
EVEN?: Common & {
|
|
224
|
-
PHRASE?: Common;
|
|
225
|
-
ROLE?: Common & {
|
|
226
|
-
PHRASE?: Common;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
QUAY?: Common;
|
|
230
|
-
} & INoteStructure;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
interface IEventDetailStructure extends IDateStructure, IPlaceStructure, IAddressStructure, IAssociationStructure, INoteStructure, ISourceCitationStructure, IMultimediaLinkStructure {
|
|
234
|
-
PHON?: Common;
|
|
235
|
-
EMAIL?: Common;
|
|
236
|
-
FAX?: Common;
|
|
237
|
-
WWW?: Common;
|
|
238
|
-
AGNC?: Common;
|
|
239
|
-
RELI?: Common;
|
|
240
|
-
CAUS?: Common;
|
|
241
|
-
RESN?: Common;
|
|
242
|
-
SDATE?: Common & {
|
|
243
|
-
TIME?: Common;
|
|
244
|
-
PHRASE?: Common;
|
|
245
|
-
};
|
|
246
|
-
UID?: Common;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
interface IGedComStructure extends Common, Omit<NonStandard, "id" | "value">, Partial<Record<`${ListTag}`, List>> {
|
|
250
|
-
"@@INDI"?: Individuals;
|
|
251
|
-
"@@_INDI"?: Individuals;
|
|
252
|
-
"@@FAM"?: Families;
|
|
253
|
-
"@@OBJE"?: Objects;
|
|
254
|
-
"@@REPO"?: Repositories;
|
|
255
|
-
"@@SOUR"?: Sources;
|
|
256
|
-
"@@SUBM"?: Submitters;
|
|
257
|
-
HEAD?: Common & {
|
|
258
|
-
GEDC?: Common & {
|
|
259
|
-
VERS?: Common;
|
|
260
|
-
};
|
|
261
|
-
SCHMA?: Common & {
|
|
262
|
-
TAG?: Common;
|
|
263
|
-
};
|
|
264
|
-
SOUR?: Common & {
|
|
265
|
-
VERS?: Common;
|
|
266
|
-
NAME?: Common;
|
|
267
|
-
CORP?: Common & {
|
|
268
|
-
PHON?: Common;
|
|
269
|
-
EMAIL?: Common;
|
|
270
|
-
FAX?: Common;
|
|
271
|
-
WWW?: Common;
|
|
272
|
-
} & IAddressStructure;
|
|
273
|
-
DATA?: Common & {
|
|
274
|
-
DATE?: Common & {
|
|
275
|
-
TIME?: Common;
|
|
276
|
-
};
|
|
277
|
-
CORP?: Common;
|
|
278
|
-
};
|
|
279
|
-
_TREE?: Common & {
|
|
280
|
-
RIN?: Common;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
DEST?: Common;
|
|
284
|
-
DATE?: Common & {
|
|
285
|
-
TIME?: Common;
|
|
286
|
-
};
|
|
287
|
-
SUBM?: Common;
|
|
288
|
-
CORP?: Common;
|
|
289
|
-
LANG?: Common;
|
|
290
|
-
PLAC?: Common & {
|
|
291
|
-
FORM?: Common;
|
|
292
|
-
};
|
|
293
|
-
} & INoteStructure;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
declare class GedCom extends Common implements IGedcom {
|
|
297
|
-
tagMembers: Record<string, {
|
|
298
|
-
tag: Common;
|
|
299
|
-
indis: Individuals;
|
|
300
|
-
}>;
|
|
301
|
-
reflist: Record<string, Common>;
|
|
302
|
-
refcount: number;
|
|
303
|
-
constructor();
|
|
304
|
-
private getMain;
|
|
305
|
-
getList<T extends List = List>(type: MultiTag): T | undefined;
|
|
306
|
-
indis(): Individuals | undefined;
|
|
307
|
-
cloneIndis(target?: IndiKey | IndiType, source?: IndiKey | IndiType, avoidKeys?: MultiTag[], removeFromOriginalList?: boolean): this | undefined;
|
|
308
|
-
mergeIndis(target?: IndiKey | IndiType, source?: IndiKey | IndiType, removeFromOriginalList?: boolean): this | undefined;
|
|
309
|
-
fams(): Families | undefined;
|
|
310
|
-
objes(): Objects | undefined;
|
|
311
|
-
sours(): Sources | undefined;
|
|
312
|
-
repos(): Repositories | undefined;
|
|
313
|
-
subms(): Submitters | undefined;
|
|
314
|
-
tags(): List<IdType, Common<string, IdType>> | undefined;
|
|
315
|
-
customTags(): List<IdType, Common<string, IdType>> | undefined;
|
|
316
|
-
indi(index: number | IndiKey): IndiType | undefined;
|
|
317
|
-
fam(index: number | FamKey): FamType | undefined;
|
|
318
|
-
obje(index: number | ObjeKey): ObjeType | undefined;
|
|
319
|
-
sour(index: number | SourKey): SourType | undefined;
|
|
320
|
-
repo(index: number | RepoKey): RepoType | undefined;
|
|
321
|
-
subm(index: number | SubmKey): SubmType | undefined;
|
|
322
|
-
tag(index: number | SubmKey): Common<string, IdType> | undefined;
|
|
323
|
-
fromList(id?: string): Common<string, IdType> | undefined;
|
|
324
|
-
tagByName(name?: string): Common<string, IdType> | undefined;
|
|
325
|
-
customTag(index: number | SubmKey): Common<string, IdType> | undefined;
|
|
326
|
-
private getIndiRelatedLists;
|
|
327
|
-
private getDownloadHeader;
|
|
328
|
-
toFiltered(indis: IndiKey[]): this | GedComType;
|
|
329
|
-
toJson(tag?: MultiTag | undefined, options?: (ConvertOptions & {
|
|
330
|
-
indis?: IndiKey[];
|
|
331
|
-
}) | undefined): string;
|
|
332
|
-
toGedcom(tag?: MultiTag | undefined, level?: number, options?: (ConvertOptions & {
|
|
333
|
-
indis?: IndiKey[];
|
|
334
|
-
}) | undefined): string;
|
|
335
|
-
hasTag(tag?: string | Common): boolean;
|
|
336
|
-
hasUnknownAncestor(): boolean;
|
|
337
|
-
hasIgnoredMember(): boolean;
|
|
338
|
-
hasUnattachedMember(): boolean;
|
|
339
|
-
hasUnknownGivenname(): boolean;
|
|
340
|
-
hasUnknownSurname(): boolean;
|
|
341
|
-
hasNonRelevant(): boolean;
|
|
342
|
-
/**
|
|
343
|
-
* Get all places from the GEDCOM with occurrence counts
|
|
344
|
-
* @returns Record mapping place names to their occurrence count
|
|
345
|
-
*/
|
|
346
|
-
getAllPlaces(): Record<string, number>;
|
|
347
|
-
/**
|
|
348
|
-
* Get all places from the GEDCOM with associated individual IDs
|
|
349
|
-
* @param usedIndis Optional array of individual IDs to filter by
|
|
350
|
-
* @returns Record mapping place names to arrays of individual IDs
|
|
351
|
-
*/
|
|
352
|
-
getAllPlacesWithIndis(usedIndis?: IndiKey[]): Record<string, (`@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`)[]>;
|
|
353
|
-
/**
|
|
354
|
-
* Generate statistics about the GEDCOM file
|
|
355
|
-
* @param individuals Optional list of individuals to calculate statistics for. If not provided, all individuals from the GEDCOM will be used.
|
|
356
|
-
* @returns Object containing various statistics about the GEDCOM data
|
|
357
|
-
*/
|
|
358
|
-
stats(individuals?: Individuals): {
|
|
359
|
-
totalIndividuals: number;
|
|
360
|
-
totalFamilies: number;
|
|
361
|
-
byGender: {
|
|
362
|
-
males: number;
|
|
363
|
-
females: number;
|
|
364
|
-
unknown: number;
|
|
365
|
-
};
|
|
366
|
-
dateRange: {
|
|
367
|
-
earliest: number | null;
|
|
368
|
-
latest: number | null;
|
|
369
|
-
};
|
|
370
|
-
averageLifespan: number | null;
|
|
371
|
-
topSurnames: {
|
|
372
|
-
surname: string;
|
|
373
|
-
count: number;
|
|
374
|
-
}[];
|
|
375
|
-
topBirthPlaces: {
|
|
376
|
-
place: string;
|
|
377
|
-
count: number;
|
|
378
|
-
}[];
|
|
379
|
-
firstPersonEvent: {
|
|
380
|
-
type: string;
|
|
381
|
-
event: IEventDetailStructure | undefined;
|
|
382
|
-
person: IndiType | undefined;
|
|
383
|
-
} | null;
|
|
384
|
-
lastPersonEvent: {
|
|
385
|
-
type: string;
|
|
386
|
-
event: (Common<string, IdType> & IEventDetailStructure) | undefined;
|
|
387
|
-
person: IndiType | undefined;
|
|
388
|
-
} | null;
|
|
389
|
-
};
|
|
390
|
-
}
|
|
391
|
-
type GedComType = GedCom & IGedComStructure;
|
|
392
|
-
declare const createGedCom: () => GedComType;
|
|
393
|
-
declare const isGedcomString: (gedcomString?: string) => boolean;
|
|
394
|
-
/**
|
|
395
|
-
* Validates if a string is a valid GEDCOM file content
|
|
396
|
-
* @param content - The file content to validate
|
|
397
|
-
* @returns An object with `valid` boolean and optional `error` message
|
|
398
|
-
*/
|
|
399
|
-
declare const validateGedcomContent: (content?: string) => {
|
|
400
|
-
valid: boolean;
|
|
401
|
-
error?: string;
|
|
402
|
-
};
|
|
403
|
-
/**
|
|
404
|
-
* Merge two GEDCOM objects into a single result using a configurable matching strategy
|
|
405
|
-
* @param targetGedcom - The base GEDCOM (kept as the primary source)
|
|
406
|
-
* @param sourceGedcom - The GEDCOM to be merged into the target
|
|
407
|
-
* @param strategy - Matching strategy: "id" (default) to match by individual ID, or any MultiTag (e.g., "NAME", "BIRT.DATE") to match by that field's value
|
|
408
|
-
* @returns The merged GedComType with all individuals and families combined
|
|
409
|
-
*
|
|
410
|
-
* @example
|
|
411
|
-
* // Merge by ID (individuals with same ID are considered the same person)
|
|
412
|
-
* const merged = await mergeGedcoms(target, source, "id");
|
|
413
|
-
*
|
|
414
|
-
* @example
|
|
415
|
-
* // Merge by NAME (individuals with same name are considered the same person)
|
|
416
|
-
* const merged = await mergeGedcoms(target, source, "NAME");
|
|
417
|
-
*
|
|
418
|
-
* @remarks
|
|
419
|
-
* - Source individuals are always assigned new unique IDs to avoid conflicts
|
|
420
|
-
* - When individuals match by strategy, they are merged (data and relationships combined)
|
|
421
|
-
* - All family relationships (FAMS/FAMC) are preserved with updated ID references
|
|
422
|
-
*/
|
|
423
|
-
declare const mergeGedcoms: (targetGedcom: GedComType, sourceGedcom: GedComType, strategy?: MultiTag | "id") => GedComType;
|
|
424
|
-
|
|
425
|
-
declare class CommonNote extends Common<string> {
|
|
426
|
-
constructor(gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common);
|
|
427
|
-
set value(value: string | undefined);
|
|
428
|
-
get value(): string | undefined;
|
|
429
|
-
exportValue(): string | undefined;
|
|
430
|
-
}
|
|
431
|
-
declare const createCommonNote: (gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common) => ProxyOriginal<CommonNote>;
|
|
432
|
-
|
|
433
|
-
interface INoteStructure extends Common {
|
|
434
|
-
NOTE?: CommonNote & {
|
|
435
|
-
MIME?: Common;
|
|
436
|
-
LANG?: Common;
|
|
437
|
-
TRAN?: Common & {
|
|
438
|
-
MIME?: Common;
|
|
439
|
-
LANG?: Common;
|
|
440
|
-
};
|
|
441
|
-
} & ISourceCitationStructure;
|
|
442
|
-
SNOTE?: Common;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
interface IAssociationStructure extends Common, INoteStructure, ISourceCitationStructure {
|
|
446
|
-
ASSO?: Common & {
|
|
447
|
-
PHRASE?: Common;
|
|
448
|
-
ROLE?: Common & {
|
|
449
|
-
PHRASE?: Common;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
interface ILdsOrdinanceDetailStructure extends Common, INoteStructure, ISourceCitationStructure, IPlaceStructure {
|
|
455
|
-
DATE?: Common & {
|
|
456
|
-
TIME?: Common;
|
|
457
|
-
PHRASE?: Common;
|
|
458
|
-
};
|
|
459
|
-
TEMP?: Common;
|
|
460
|
-
STAT?: Common & {
|
|
461
|
-
DATE?: Common;
|
|
462
|
-
TIME?: Common;
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
interface ILdsSpouseSealingStructure extends Common {
|
|
467
|
-
SLSG?: Common & ILdsOrdinanceDetailStructure;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
interface IMarriageDateStructure extends Common, INoteStructure {
|
|
471
|
-
MARR?: Common & IDateStructure & IPlaceStructure;
|
|
472
|
-
HUSB?: Common;
|
|
473
|
-
WIFE?: Common;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
interface INonEventStructure extends Common {
|
|
477
|
-
NO?: Common & {
|
|
478
|
-
DATE?: Common & {
|
|
479
|
-
PHRASE?: Common;
|
|
480
|
-
};
|
|
481
|
-
} & INoteStructure & ISourceCitationStructure;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
interface IFamilyStructure extends Common, IMarriageDateStructure, IChangeDateStructure, ICreationDateStructure, IAssociationStructure, ILdsSpouseSealingStructure, IMultimediaLinkStructure, INonEventStructure, INoteStructure, ISourceCitationStructure {
|
|
485
|
-
RESN?: Common;
|
|
486
|
-
HUSB?: Common & {
|
|
487
|
-
PHRASE?: Common;
|
|
488
|
-
};
|
|
489
|
-
WIFE?: Common & {
|
|
490
|
-
PHRASE?: Common;
|
|
491
|
-
};
|
|
492
|
-
CHIL?: Common & {
|
|
493
|
-
PHRASE?: Common;
|
|
494
|
-
};
|
|
495
|
-
SUBM?: Common;
|
|
496
|
-
/**
|
|
497
|
-
* Custom tag indicating this family is not connected to the root person's ancestry.
|
|
498
|
-
* This means none of the family members (spouses or children) are:
|
|
499
|
-
* - Direct ancestors of the root person
|
|
500
|
-
* - Spouses of direct ancestors
|
|
501
|
-
* - Descendants of direct ancestors (recursive)
|
|
502
|
-
* - Spouses of descendants (recursive)
|
|
503
|
-
*/
|
|
504
|
-
_IS_ORPHAN_FAMILY?: Common;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
declare class Fam extends Common<string, FamKey> implements IFam {
|
|
508
|
-
private getFamilyMembers;
|
|
509
|
-
getChildren(): Individuals;
|
|
510
|
-
getHusband(): Individuals;
|
|
511
|
-
getWife(): Individuals;
|
|
512
|
-
getParents(): Individuals;
|
|
513
|
-
toList(): Families;
|
|
514
|
-
}
|
|
515
|
-
type FamType = Fam & IFamilyStructure;
|
|
516
|
-
declare const createFam: (gedcom: GedComType, id: FamKey, main?: Common, parent?: Common) => ProxyOriginal<FamType>;
|
|
517
|
-
|
|
518
|
-
interface IFamilies extends IList<FamKey, FamType> {
|
|
519
|
-
getParents: () => Individuals;
|
|
520
|
-
getChildren: () => Individuals;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
declare class Families extends List<FamKey, FamType> implements IFamilies {
|
|
524
|
-
copy(): Families;
|
|
525
|
-
except(item: FamType): Families;
|
|
526
|
-
filter(filters: Filter | FilterIterator<FamType, FamKey>): Families;
|
|
527
|
-
find(filters: Filter | FilterIterator<FamType, FamKey>): FamType | undefined;
|
|
528
|
-
orderBy(orders: Order | OrderIterator<FamType, FamKey>): Families;
|
|
529
|
-
getParents(): Individuals;
|
|
530
|
-
getChildren(): Individuals;
|
|
531
|
-
toList(): Families;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
type GeneratorKey = `${"2nd" | "3rd" | `${4 | 5 | 6 | 7 | 8 | 9}th`}`;
|
|
535
|
-
type GeneratorType = "Cousins" | "GreatGrandParents" | "GreatGrandChildren";
|
|
536
|
-
type GeneratedIndiMethods = Record<`get${GeneratorKey}${GeneratorType}`, () => Individuals>;
|
|
537
|
-
type MediaList = Record<string, {
|
|
538
|
-
isPrimary?: boolean;
|
|
539
|
-
key: string;
|
|
540
|
-
id: string;
|
|
541
|
-
imgId: string;
|
|
542
|
-
tree: string;
|
|
543
|
-
person: IndiKey;
|
|
544
|
-
title: string;
|
|
545
|
-
url: string;
|
|
546
|
-
contentType: string;
|
|
547
|
-
downloadName: string;
|
|
548
|
-
}>;
|
|
549
|
-
interface IIndi extends Common<string, IndiKey> {
|
|
550
|
-
getBirthDate: (showDays?: boolean, shortNote?: boolean, showNote?: boolean) => string | undefined;
|
|
551
|
-
getDeathDate: (showDays?: boolean, shortNote?: boolean, showNote?: boolean) => string | undefined;
|
|
552
|
-
getBirthPlace: () => string | undefined;
|
|
553
|
-
getDeathPlace: () => string | undefined;
|
|
554
|
-
isParentOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
555
|
-
isChildOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
556
|
-
isSiblingOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
557
|
-
isSpouseOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
558
|
-
isParentInLawOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
559
|
-
isChildInLawOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
560
|
-
isSiblingInLawOf: (indi?: IndiKey | IndiType) => IndiKey | boolean;
|
|
561
|
-
toFamilies: (list?: List) => Families;
|
|
562
|
-
getAscendants: () => Individuals;
|
|
563
|
-
getDescendants: () => Individuals;
|
|
564
|
-
getRelativesOnLevel: () => Individuals;
|
|
565
|
-
getRelativesOnDegree: () => Individuals;
|
|
566
|
-
getAllDescendants: () => Individuals;
|
|
567
|
-
getAllAscendants: () => Individuals;
|
|
568
|
-
getSiblings: () => Individuals;
|
|
569
|
-
getBrothers: () => Individuals;
|
|
570
|
-
getSisters: () => Individuals;
|
|
571
|
-
getChildren: () => Individuals;
|
|
572
|
-
getAdoptedChildren: () => Individuals;
|
|
573
|
-
getBirthChildren: () => Individuals;
|
|
574
|
-
getFosterChildren: () => Individuals;
|
|
575
|
-
getSealingChildren: () => Individuals;
|
|
576
|
-
getStepChildren: () => Individuals;
|
|
577
|
-
getSons: () => Individuals;
|
|
578
|
-
getAdoptedSons: () => Individuals;
|
|
579
|
-
getBirthSons: () => Individuals;
|
|
580
|
-
getFosterSons: () => Individuals;
|
|
581
|
-
getSealingSons: () => Individuals;
|
|
582
|
-
getStepSons: () => Individuals;
|
|
583
|
-
getDaughters: () => Individuals;
|
|
584
|
-
getAdoptedDaughters: () => Individuals;
|
|
585
|
-
getBirthDaughters: () => Individuals;
|
|
586
|
-
getFosterDaughters: () => Individuals;
|
|
587
|
-
getSealingDaughters: () => Individuals;
|
|
588
|
-
getStepDaughters: () => Individuals;
|
|
589
|
-
getParents: () => Individuals;
|
|
590
|
-
getAdoptedParents: () => Individuals;
|
|
591
|
-
getBirthParents: () => Individuals;
|
|
592
|
-
getFosterParents: () => Individuals;
|
|
593
|
-
getSealingParents: () => Individuals;
|
|
594
|
-
getStepParents: () => Individuals;
|
|
595
|
-
getFathers: () => Individuals;
|
|
596
|
-
getAdoptedFathers: () => Individuals;
|
|
597
|
-
getBirthFathers: () => Individuals;
|
|
598
|
-
getFosterFathers: () => Individuals;
|
|
599
|
-
getSealingFathers: () => Individuals;
|
|
600
|
-
getStepFathers: () => Individuals;
|
|
601
|
-
getMothers: () => Individuals;
|
|
602
|
-
getAdoptedMothers: () => Individuals;
|
|
603
|
-
getBirthMothers: () => Individuals;
|
|
604
|
-
getFosterMothers: () => Individuals;
|
|
605
|
-
getSealingMothers: () => Individuals;
|
|
606
|
-
getStepMothers: () => Individuals;
|
|
607
|
-
getSpouses: () => Individuals;
|
|
608
|
-
getCoParents: () => Individuals;
|
|
609
|
-
getWives: () => Individuals;
|
|
610
|
-
getHusbands: () => Individuals;
|
|
611
|
-
getCousins: () => Individuals;
|
|
612
|
-
getGrandParents: () => Individuals;
|
|
613
|
-
getGrandFathers: () => Individuals;
|
|
614
|
-
getGrandMothers: () => Individuals;
|
|
615
|
-
getGrandChildren: () => Individuals;
|
|
616
|
-
getGrandSons: () => Individuals;
|
|
617
|
-
getGrandDaughters: () => Individuals;
|
|
618
|
-
getGreatGrandParents: () => Individuals;
|
|
619
|
-
getGreatGrandFathers: () => Individuals;
|
|
620
|
-
getGreatGrandMothers: () => Individuals;
|
|
621
|
-
getGreatGrandChildren: () => Individuals;
|
|
622
|
-
getGreatGrandSons: () => Individuals;
|
|
623
|
-
getGreatGrandDaughters: () => Individuals;
|
|
624
|
-
getNiblings: () => Individuals;
|
|
625
|
-
getNieces: () => Individuals;
|
|
626
|
-
getNephews: () => Individuals;
|
|
627
|
-
getAuncles: () => Individuals;
|
|
628
|
-
getAunts: () => Individuals;
|
|
629
|
-
getUncles: () => Individuals;
|
|
630
|
-
getParentsInLaw: () => Individuals;
|
|
631
|
-
getFathersInLaw: () => Individuals;
|
|
632
|
-
getMothersInLaw: () => Individuals;
|
|
633
|
-
getChildrenInLaw: () => Individuals;
|
|
634
|
-
getSonsInLaw: () => Individuals;
|
|
635
|
-
getDaughtersInLaw: () => Individuals;
|
|
636
|
-
getSiblingsInLaw: () => Individuals;
|
|
637
|
-
getBrothersInLaw: () => Individuals;
|
|
638
|
-
getSistersInLaw: () => Individuals;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
type Kinship = "self" | "spouse" | "child" | "parent";
|
|
642
|
-
interface IKinshipTranslator {
|
|
643
|
-
isOfSpouse: boolean;
|
|
644
|
-
isSpouseOf: boolean;
|
|
645
|
-
displayName: "none" | "givenname" | "surname" | "all";
|
|
646
|
-
parent: () => string | undefined;
|
|
647
|
-
child: () => string | undefined;
|
|
648
|
-
sibling: () => string | undefined;
|
|
649
|
-
spouse: () => string | undefined;
|
|
650
|
-
indirect: () => string | undefined;
|
|
651
|
-
removal: () => string | undefined;
|
|
652
|
-
inLaw: (relation?: string) => string | undefined;
|
|
653
|
-
ofSpouse: (relation?: string) => string | undefined;
|
|
654
|
-
spouseOf: (relation?: string) => string | undefined;
|
|
655
|
-
relationType: (relation?: string) => string | undefined;
|
|
656
|
-
of: (relation?: string) => string | undefined;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
type Language = "en" | "hu" | "de" | "es" | "fr";
|
|
660
|
-
interface Cases {
|
|
661
|
-
nominativus: string;
|
|
662
|
-
dativus: string;
|
|
663
|
-
possessivus: string;
|
|
664
|
-
}
|
|
665
|
-
type CrossCase = Record<string, Cases>;
|
|
666
|
-
type CrossCases = Record<keyof Cases, CrossCase>;
|
|
667
|
-
|
|
668
|
-
declare class CommonName extends Common<string> {
|
|
669
|
-
NPFX?: Common;
|
|
670
|
-
GIVN?: Common;
|
|
671
|
-
NICK?: Common;
|
|
672
|
-
SPFX?: Common;
|
|
673
|
-
SURN?: Common;
|
|
674
|
-
NSFX?: Common;
|
|
675
|
-
DISPLAY?: Common;
|
|
676
|
-
_MARNM?: Common;
|
|
677
|
-
constructor(gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common);
|
|
678
|
-
set value(value: string | undefined);
|
|
679
|
-
get value(): string | undefined;
|
|
680
|
-
name(value: string | undefined): this;
|
|
681
|
-
}
|
|
682
|
-
declare const createCommonName: (gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common) => ProxyOriginal<CommonName>;
|
|
683
|
-
|
|
684
|
-
interface IIndividualEventDetailStructure extends IEventDetailStructure {
|
|
685
|
-
AGE?: Common & {
|
|
686
|
-
PHRASE?: Common;
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
interface IIndividualEventStructure extends IIndividualEventDetailStructure {
|
|
691
|
-
BAPM?: Common & {
|
|
692
|
-
TYPE?: Common;
|
|
693
|
-
} & IEventDetailStructure;
|
|
694
|
-
BARM?: Common & {
|
|
695
|
-
TYPE?: Common;
|
|
696
|
-
} & IEventDetailStructure;
|
|
697
|
-
BASM?: Common & {
|
|
698
|
-
TYPE?: Common;
|
|
699
|
-
} & IEventDetailStructure;
|
|
700
|
-
BLES?: Common & {
|
|
701
|
-
TYPE?: Common;
|
|
702
|
-
} & IEventDetailStructure;
|
|
703
|
-
BURI?: Common & {
|
|
704
|
-
TYPE?: Common;
|
|
705
|
-
} & IEventDetailStructure;
|
|
706
|
-
CENS?: Common & {
|
|
707
|
-
TYPE?: Common;
|
|
708
|
-
} & IEventDetailStructure;
|
|
709
|
-
CHRA?: Common & {
|
|
710
|
-
TYPE?: Common;
|
|
711
|
-
} & IEventDetailStructure;
|
|
712
|
-
CONF?: Common & {
|
|
713
|
-
TYPE?: Common;
|
|
714
|
-
} & IEventDetailStructure;
|
|
715
|
-
CREM?: Common & {
|
|
716
|
-
TYPE?: Common;
|
|
717
|
-
} & IEventDetailStructure;
|
|
718
|
-
DEAT?: Common & {
|
|
719
|
-
TYPE?: Common;
|
|
720
|
-
} & IEventDetailStructure;
|
|
721
|
-
EMIG?: Common & {
|
|
722
|
-
TYPE?: Common;
|
|
723
|
-
} & IEventDetailStructure;
|
|
724
|
-
FCOM?: Common & {
|
|
725
|
-
TYPE?: Common;
|
|
726
|
-
} & IEventDetailStructure;
|
|
727
|
-
GRAD?: Common & {
|
|
728
|
-
TYPE?: Common;
|
|
729
|
-
} & IEventDetailStructure;
|
|
730
|
-
IMMI?: Common & {
|
|
731
|
-
TYPE?: Common;
|
|
732
|
-
} & IEventDetailStructure;
|
|
733
|
-
NATU?: Common & {
|
|
734
|
-
TYPE?: Common;
|
|
735
|
-
} & IEventDetailStructure;
|
|
736
|
-
ORDN?: Common & {
|
|
737
|
-
TYPE?: Common;
|
|
738
|
-
} & IEventDetailStructure;
|
|
739
|
-
PROB?: Common & {
|
|
740
|
-
TYPE?: Common;
|
|
741
|
-
} & IEventDetailStructure;
|
|
742
|
-
RETI?: Common & {
|
|
743
|
-
TYPE?: Common;
|
|
744
|
-
} & IEventDetailStructure;
|
|
745
|
-
WILL?: Common & {
|
|
746
|
-
TYPE?: Common;
|
|
747
|
-
} & IEventDetailStructure;
|
|
748
|
-
ADOP?: Common & {
|
|
749
|
-
TYPE?: Common;
|
|
750
|
-
FAMC?: Common & {
|
|
751
|
-
ADOP?: Common & {
|
|
752
|
-
PHRASE?: Common;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
} & IEventDetailStructure;
|
|
756
|
-
BIRT?: Common & {
|
|
757
|
-
TYPE?: Common;
|
|
758
|
-
FAMC?: Common;
|
|
759
|
-
} & IEventDetailStructure;
|
|
760
|
-
CHR?: Common & {
|
|
761
|
-
TYPE?: Common;
|
|
762
|
-
FAMC?: Common;
|
|
763
|
-
} & IEventDetailStructure;
|
|
764
|
-
EVEN?: Common & {
|
|
765
|
-
TYPE?: Common;
|
|
766
|
-
} & IEventDetailStructure;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
interface IIndividualStructure extends Common, IIndividualEventStructure, IChangeDateStructure, ICreationDateStructure, IAssociationStructure, IMultimediaLinkStructure, INonEventStructure, INoteStructure, ISourceCitationStructure {
|
|
770
|
-
NAME?: CommonName;
|
|
771
|
-
RESN?: Common;
|
|
772
|
-
SEX?: Common<"F" | "M">;
|
|
773
|
-
FAMC?: Common & {
|
|
774
|
-
PEDI?: Common & {
|
|
775
|
-
PHRASE?: Common;
|
|
776
|
-
};
|
|
777
|
-
STAT?: Common & {
|
|
778
|
-
PHRASE?: Common;
|
|
779
|
-
};
|
|
780
|
-
} & INoteStructure;
|
|
781
|
-
FAMS?: Common & INoteStructure;
|
|
782
|
-
SUBM?: Common;
|
|
783
|
-
ALIA?: Common & {
|
|
784
|
-
PHRASE?: Common;
|
|
785
|
-
};
|
|
786
|
-
ANCI?: Common;
|
|
787
|
-
DESI?: Common;
|
|
788
|
-
_WLNK?: Common & {
|
|
789
|
-
TITL?: Common;
|
|
790
|
-
NOTE?: CommonNote;
|
|
791
|
-
};
|
|
792
|
-
_FS_LINK?: Common;
|
|
793
|
-
_FS_ID?: Common;
|
|
794
|
-
INDIVIDUALINTERNALHYPERLINK?: Common;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
interface Place {
|
|
798
|
-
key: string;
|
|
799
|
-
index: number;
|
|
800
|
-
obj?: Common;
|
|
801
|
-
ref?: Common;
|
|
802
|
-
place?: string;
|
|
803
|
-
}
|
|
804
|
-
declare enum PlaceType {
|
|
805
|
-
All = "ALL",
|
|
806
|
-
Birth = "BIRT",
|
|
807
|
-
Marriage = "MARR",
|
|
808
|
-
Death = "DEAT",
|
|
809
|
-
Events = "EVEN",
|
|
810
|
-
Military = "_MILT",
|
|
811
|
-
MilitaryId = "_MILTID"
|
|
812
|
-
}
|
|
813
|
-
declare const getPlaces: (common: Common | List, type?: PlaceType | Tag | Array<PlaceType | Tag>, maxLevel?: number, level?: number, mainKey?: string) => Place[];
|
|
814
|
-
|
|
815
|
-
declare enum Existed {
|
|
816
|
-
SPOUSE = "spouse",
|
|
817
|
-
YES = "yes"
|
|
818
|
-
}
|
|
819
|
-
declare enum CustomTags {
|
|
820
|
-
UnknownGivenname = "Unknown givenname",
|
|
821
|
-
UnknownSurname = "Unknown surname",
|
|
822
|
-
UnattachedMember = "Unattached member",
|
|
823
|
-
IgnoredMember = "Ignored member",
|
|
824
|
-
UnknownAncestor = "Unknown Ancestor"
|
|
825
|
-
}
|
|
826
|
-
declare class Indi extends Common<string, IndiKey> implements IIndi {
|
|
827
|
-
private _isUnknownAncestor?;
|
|
828
|
-
private _isUnattachedMember?;
|
|
829
|
-
private _isOrphanFamilyMember?;
|
|
830
|
-
private _isUnknownGivenname?;
|
|
831
|
-
private _isUnknownSurname?;
|
|
832
|
-
private _isIgnoredPerson?;
|
|
833
|
-
private _isEmpty?;
|
|
834
|
-
private readonly _places?;
|
|
835
|
-
toName(): string | undefined;
|
|
836
|
-
toNaturalName(): string | undefined;
|
|
837
|
-
toList(): Individuals;
|
|
838
|
-
private generateTree;
|
|
839
|
-
getPlaces(type?: PlaceType | PlaceType[], maxLevel?: number): Place[];
|
|
840
|
-
getTree(props?: {
|
|
841
|
-
descendants?: boolean;
|
|
842
|
-
offspringSpouses?: boolean;
|
|
843
|
-
ancestorSpouses?: boolean;
|
|
844
|
-
onlyDescendants?: boolean;
|
|
845
|
-
maxGen?: number;
|
|
846
|
-
minGen?: number;
|
|
847
|
-
drawNonBiologicalAncestors?: boolean;
|
|
848
|
-
ancestorSiblings?: boolean;
|
|
849
|
-
}): {
|
|
850
|
-
gen: number;
|
|
851
|
-
indis: (TreeMember<IndiType> | undefined)[];
|
|
852
|
-
half: number | undefined;
|
|
853
|
-
}[];
|
|
854
|
-
getGenealogy(onlyStraight?: boolean, showDescendants?: boolean): MemberSide<IndiType, {
|
|
855
|
-
gen: number;
|
|
856
|
-
}>[] | undefined;
|
|
857
|
-
ancestryLink(): string | undefined;
|
|
858
|
-
ancestryMedia(namespace?: string | number): Promise<MediaList>;
|
|
859
|
-
myheritageLink(poolId?: number): string | undefined;
|
|
860
|
-
myheritageMedia(): MediaList | undefined;
|
|
861
|
-
familySearchLink(): string | undefined;
|
|
862
|
-
hasFamilySearchMatches(): boolean;
|
|
863
|
-
getFamilySearchMatches(): FamilySearchMatch[];
|
|
864
|
-
hasFamilySearchSources(): boolean;
|
|
865
|
-
getFamilySearchSources(): FamilySearchSource[];
|
|
866
|
-
geniMedia(): MediaList;
|
|
867
|
-
universalMedia(): MediaList;
|
|
868
|
-
multimedia(namespace?: string | number): Promise<MediaList | undefined>;
|
|
869
|
-
getProfilePicture(namespace?: string | number, onlyPrimary?: boolean): Promise<ProfilePicture | undefined>;
|
|
870
|
-
link(poolId?: number): string | undefined;
|
|
871
|
-
toFamilies(list?: List): Families;
|
|
872
|
-
getFamilies(type: "FAMC" | "FAMS"): Families;
|
|
873
|
-
getFamiliesBiologicalFirst(type: "FAMC" | "FAMS"): Families;
|
|
874
|
-
getBirthDate(showDays?: boolean, shortNote?: boolean, showNote?: boolean): string | undefined;
|
|
875
|
-
getDeathDate(showDays?: boolean, shortNote?: boolean, showNote?: boolean): string | undefined;
|
|
876
|
-
getBirthPlace(): string | undefined;
|
|
877
|
-
getDeathPlace(): string | undefined;
|
|
878
|
-
/**
|
|
879
|
-
* Get all marriage places for this individual
|
|
880
|
-
* @returns Array of marriage place strings (may include undefined for marriages without place)
|
|
881
|
-
*/
|
|
882
|
-
getMarriagePlaces(): Array<string | undefined>;
|
|
883
|
-
/**
|
|
884
|
-
* Get all marriage dates for this individual
|
|
885
|
-
* @returns Array of marriage date strings (may include undefined for marriages without date)
|
|
886
|
-
*/
|
|
887
|
-
getMarriageDates(): Array<string | undefined>;
|
|
888
|
-
isDead(): boolean;
|
|
889
|
-
isEmpty(): boolean;
|
|
890
|
-
isUnknownAncestor(): boolean;
|
|
891
|
-
isIgnoredMember(): boolean;
|
|
892
|
-
isUnattachedMember(): boolean;
|
|
893
|
-
isOrphanFamilyMember(): boolean;
|
|
894
|
-
isUnknownGivenname(): boolean;
|
|
895
|
-
isUnknownSurname(): boolean;
|
|
896
|
-
isNonRelevantMember(): boolean;
|
|
897
|
-
isMale(): boolean;
|
|
898
|
-
isFemale(): boolean;
|
|
899
|
-
isUnknownSex(): boolean;
|
|
900
|
-
getParentType(id: IndiType | IndiKey): RelationType | undefined;
|
|
901
|
-
hasFacts(): boolean;
|
|
902
|
-
getLinks(): List<IdType, Required<IIndividualStructure>["_WLNK"]> | undefined;
|
|
903
|
-
getAkas(limit?: number): List<IdType, Common<string, IdType>>;
|
|
904
|
-
getFacts(limit?: number, filter?: MultiTag | MultiTag[]): List<IdType, Common<string, IdType>>;
|
|
905
|
-
commonAncestor(person?: IndiKey | IndiType, options?: {
|
|
906
|
-
breakAfterSpouse?: boolean;
|
|
907
|
-
breakAfterNonBiological?: boolean;
|
|
908
|
-
}): IndiType | undefined;
|
|
909
|
-
path(person?: IndiKey | IndiType, options?: {
|
|
910
|
-
breakAfterSpouse?: boolean;
|
|
911
|
-
breakAfterNonBiological?: boolean;
|
|
912
|
-
}): ReducedPath | undefined;
|
|
913
|
-
kinship<T extends boolean | undefined>(other?: IndiKey | IndiType, showMainPerson?: boolean, lang?: Language, entirePath?: T, displayName?: "none" | "givenname" | "surname" | "all"): (T extends false | undefined ? string : Array<{
|
|
914
|
-
id?: IndiKey;
|
|
915
|
-
gen: number;
|
|
916
|
-
relative?: string;
|
|
917
|
-
absolute?: string;
|
|
918
|
-
}>) | undefined;
|
|
919
|
-
private isRelativeOf;
|
|
920
|
-
isSiblingOf(indi?: IndiKey | IndiType): boolean;
|
|
921
|
-
isFullSiblingOf(indi?: IndiKey | IndiType): boolean;
|
|
922
|
-
isHalfSiblingOf(indi?: IndiKey | IndiType): boolean;
|
|
923
|
-
isSpouseOf(indi?: IndiKey | IndiType): boolean;
|
|
924
|
-
isParentOf(indi?: IndiKey | IndiType): boolean;
|
|
925
|
-
isChildOf(indi?: IndiKey | IndiType): boolean;
|
|
926
|
-
isSiblingInLawOf(indi?: IndiKey | IndiType): boolean;
|
|
927
|
-
isParentInLawOf(indi?: IndiKey | IndiType): boolean;
|
|
928
|
-
isChildInLawOf(indi?: IndiKey | IndiType): boolean;
|
|
929
|
-
getRelativesOnDegree(degree?: number): Individuals;
|
|
930
|
-
getRelativesOnLevel(level?: number, filter?: Filter): Individuals;
|
|
931
|
-
getAscendants(level?: number, filter?: Filter): Individuals;
|
|
932
|
-
getDescendants(level?: number, filter?: Filter): Individuals;
|
|
933
|
-
getAllDescendantsRaw(individuals?: Individuals, containDescendantsInLaw?: boolean): {
|
|
934
|
-
relatives: Individuals;
|
|
935
|
-
generations: Record<number, Individuals | undefined>;
|
|
936
|
-
};
|
|
937
|
-
getAllDescendants(individuals?: Individuals, containDescendantsInLaw?: boolean): Individuals;
|
|
938
|
-
getAllAscendantsRaw(individuals?: Individuals): {
|
|
939
|
-
relatives: Individuals;
|
|
940
|
-
generations: Record<number, Individuals | undefined>;
|
|
941
|
-
};
|
|
942
|
-
getAllAscendants(individuals?: Individuals): Individuals;
|
|
943
|
-
getHalfSiblings(): Individuals;
|
|
944
|
-
getFullSiblings(): Individuals;
|
|
945
|
-
getSiblings(): Individuals;
|
|
946
|
-
getBrothers(): Individuals;
|
|
947
|
-
getSisters(): Individuals;
|
|
948
|
-
getChildren(filter?: Filter): Individuals;
|
|
949
|
-
private getChildrenFilteredByPedigree;
|
|
950
|
-
getBiologicalChildren(): Individuals;
|
|
951
|
-
getAdoptedChildren(): Individuals;
|
|
952
|
-
getBirthChildren(): Individuals;
|
|
953
|
-
getFosterChildren(): Individuals;
|
|
954
|
-
getSealingChildren(): Individuals;
|
|
955
|
-
getStepChildren(): Individuals;
|
|
956
|
-
getSons(): Individuals;
|
|
957
|
-
getBiologicalSons(): Individuals;
|
|
958
|
-
getAdoptedSons(): Individuals;
|
|
959
|
-
getBirthSons(): Individuals;
|
|
960
|
-
getFosterSons(): Individuals;
|
|
961
|
-
getSealingSons(): Individuals;
|
|
962
|
-
getStepSons(): Individuals;
|
|
963
|
-
getDaughters(): Individuals;
|
|
964
|
-
getBiologicalDaugthers(): Individuals;
|
|
965
|
-
getAdoptedDaughters(): Individuals;
|
|
966
|
-
getBirthDaughters(): Individuals;
|
|
967
|
-
getFosterDaughters(): Individuals;
|
|
968
|
-
getSealingDaughters(): Individuals;
|
|
969
|
-
getStepDaughters(): Individuals;
|
|
970
|
-
getParents(filter?: Filter): Individuals;
|
|
971
|
-
private getParentsFilteredByPedigree;
|
|
972
|
-
private getSpousesFilteredByPartner;
|
|
973
|
-
getBiologicalParents(): Individuals;
|
|
974
|
-
getAdoptedParents(): Individuals;
|
|
975
|
-
getBirthParents(): Individuals;
|
|
976
|
-
getFosterParents(): Individuals;
|
|
977
|
-
getSealingParents(): Individuals;
|
|
978
|
-
getStepParents(): Individuals;
|
|
979
|
-
getFathers(): Individuals;
|
|
980
|
-
getBiologicalFathers(): Individuals;
|
|
981
|
-
getAdoptedFathers(): Individuals;
|
|
982
|
-
getBirthFathers(): Individuals;
|
|
983
|
-
getFosterFathers(): Individuals;
|
|
984
|
-
getSealingFathers(): Individuals;
|
|
985
|
-
getStepFathers(): Individuals;
|
|
986
|
-
getMothers(): Individuals;
|
|
987
|
-
getBiologicalMothers(): Individuals;
|
|
988
|
-
getAdoptedMothers(): Individuals;
|
|
989
|
-
getBirthMothers(): Individuals;
|
|
990
|
-
getFosterMothers(): Individuals;
|
|
991
|
-
getSealingMothers(): Individuals;
|
|
992
|
-
getStepMothers(): Individuals;
|
|
993
|
-
getCoParents(): Individuals;
|
|
994
|
-
getSpouses(): Individuals;
|
|
995
|
-
getPartners(): Individuals;
|
|
996
|
-
getFriends(): Individuals;
|
|
997
|
-
getWives(): Individuals;
|
|
998
|
-
getHusbands(): Individuals;
|
|
999
|
-
getCousins(): Individuals;
|
|
1000
|
-
getGrandParents(): Individuals;
|
|
1001
|
-
getGrandFathers(): Individuals;
|
|
1002
|
-
getGrandMothers(): Individuals;
|
|
1003
|
-
getGrandChildren(): Individuals;
|
|
1004
|
-
getGrandSons(): Individuals;
|
|
1005
|
-
getGrandDaughters(): Individuals;
|
|
1006
|
-
getGreatGrandParents(): Individuals;
|
|
1007
|
-
getGreatGrandFathers(): Individuals;
|
|
1008
|
-
getGreatGrandMothers(): Individuals;
|
|
1009
|
-
getGreatGrandChildren(): Individuals;
|
|
1010
|
-
getGreatGrandSons(): Individuals;
|
|
1011
|
-
getGreatGrandDaughters(): Individuals;
|
|
1012
|
-
getAuncles(): Individuals;
|
|
1013
|
-
getAunts(): Individuals;
|
|
1014
|
-
getUncles(): Individuals;
|
|
1015
|
-
getNiblings(): Individuals;
|
|
1016
|
-
getNieces(): Individuals;
|
|
1017
|
-
getNephews(): Individuals;
|
|
1018
|
-
getParentsInLaw(): Individuals;
|
|
1019
|
-
getFathersInLaw(): Individuals;
|
|
1020
|
-
getMothersInLaw(): Individuals;
|
|
1021
|
-
getSiblingsInLaw(): Individuals;
|
|
1022
|
-
getBrothersInLaw(): Individuals;
|
|
1023
|
-
getSistersInLaw(): Individuals;
|
|
1024
|
-
getChildrenInLaw(): Individuals;
|
|
1025
|
-
getSonsInLaw(): Individuals;
|
|
1026
|
-
getDaughtersInLaw(): Individuals;
|
|
1027
|
-
get2ndCousins(): Individuals;
|
|
1028
|
-
get2ndGreatGrandParents(): Individuals;
|
|
1029
|
-
get2ndGreatGrandChildren(): Individuals;
|
|
1030
|
-
get3rdCousins(): Individuals;
|
|
1031
|
-
get3rdGreatGrandParents(): Individuals;
|
|
1032
|
-
get3rdGreatGrandChildren(): Individuals;
|
|
1033
|
-
get4thCousins(): Individuals;
|
|
1034
|
-
get4thGreatGrandParents(): Individuals;
|
|
1035
|
-
get4thGreatGrandChildren(): Individuals;
|
|
1036
|
-
get5thCousins(): Individuals;
|
|
1037
|
-
get5thGreatGrandParents(): Individuals;
|
|
1038
|
-
get5thGreatGrandChildren(): Individuals;
|
|
1039
|
-
get6thCousins(): Individuals;
|
|
1040
|
-
get6thGreatGrandParents(): Individuals;
|
|
1041
|
-
get6thGreatGrandChildren(): Individuals;
|
|
1042
|
-
get7thCousins(): Individuals;
|
|
1043
|
-
get7thGreatGrandParents(): Individuals;
|
|
1044
|
-
get7thGreatGrandChildren(): Individuals;
|
|
1045
|
-
get8thCousins(): Individuals;
|
|
1046
|
-
get8thGreatGrandParents(): Individuals;
|
|
1047
|
-
get8thGreatGrandChildren(): Individuals;
|
|
1048
|
-
get9thCousins(): Individuals;
|
|
1049
|
-
get9thGreatGrandParents(): Individuals;
|
|
1050
|
-
get9thGreatGrandChildren(): Individuals;
|
|
1051
|
-
}
|
|
1052
|
-
type IndiType = Indi & IIndividualStructure & GeneratedIndiMethods;
|
|
1053
|
-
interface FamilySearchMatch {
|
|
1054
|
-
id?: string;
|
|
1055
|
-
title?: string;
|
|
1056
|
-
type?: string;
|
|
1057
|
-
ref?: string;
|
|
1058
|
-
score?: number;
|
|
1059
|
-
text?: string;
|
|
1060
|
-
www?: string;
|
|
1061
|
-
notes?: string[];
|
|
1062
|
-
status?: string;
|
|
1063
|
-
gender?: string;
|
|
1064
|
-
lifespan?: string;
|
|
1065
|
-
birthDate?: string;
|
|
1066
|
-
birthPlace?: string;
|
|
1067
|
-
deathDate?: string;
|
|
1068
|
-
deathPlace?: string;
|
|
1069
|
-
marriageDate?: string;
|
|
1070
|
-
marriagePlace?: string;
|
|
1071
|
-
}
|
|
1072
|
-
interface FamilySearchSource {
|
|
1073
|
-
id?: string;
|
|
1074
|
-
title?: string;
|
|
1075
|
-
text?: string;
|
|
1076
|
-
www?: string;
|
|
1077
|
-
notes?: string[];
|
|
1078
|
-
}
|
|
1079
|
-
interface ProfilePicture {
|
|
1080
|
-
file: string;
|
|
1081
|
-
form?: string;
|
|
1082
|
-
title?: string;
|
|
1083
|
-
isPrimary: boolean;
|
|
1084
|
-
}
|
|
1085
|
-
interface TreeMember<T = IndiType> {
|
|
1086
|
-
id: FamKey | IndiKey;
|
|
1087
|
-
index: number;
|
|
1088
|
-
father?: T;
|
|
1089
|
-
mother?: T;
|
|
1090
|
-
fatherSpouses?: T[];
|
|
1091
|
-
motherSpouses?: T[];
|
|
1092
|
-
}
|
|
1093
|
-
type GenealogyMember<T = IndiType> = TreeMember<T> & {
|
|
1094
|
-
fatherSiblings?: T[];
|
|
1095
|
-
motherSiblings?: T[];
|
|
1096
|
-
};
|
|
1097
|
-
interface IndiTree<T = IndiType> {
|
|
1098
|
-
existed: Record<IndiKey, Existed | undefined>;
|
|
1099
|
-
tree: Record<number, Array<TreeMember<T> | undefined>>;
|
|
1100
|
-
halves: Record<number, number | undefined>;
|
|
1101
|
-
lastItems: Record<number, TreeMember<T> | undefined>;
|
|
1102
|
-
}
|
|
1103
|
-
type IndiGenealogy<T = IndiType> = Pick<IndiTree<T>, "existed" | "halves" | "lastItems"> & {
|
|
1104
|
-
tree: Record<number, Array<GenealogyMember<T> | undefined>>;
|
|
1105
|
-
};
|
|
1106
|
-
interface IndiMarker<T = IndiType> {
|
|
1107
|
-
isPrev?: boolean;
|
|
1108
|
-
isNext?: boolean;
|
|
1109
|
-
items: Array<T | undefined>;
|
|
1110
|
-
}
|
|
1111
|
-
type MemberSide<T = IndiType, O extends object = object> = {
|
|
1112
|
-
left: Array<Array<T | undefined> | undefined>;
|
|
1113
|
-
right: Array<Array<T | undefined> | undefined>;
|
|
1114
|
-
} & O;
|
|
1115
|
-
type MemberMain<T = IndiType> = MemberSide<T> & {
|
|
1116
|
-
main: MemberSide<T>;
|
|
1117
|
-
};
|
|
1118
|
-
interface GenerationSpouseType {
|
|
1119
|
-
indi: IndiType;
|
|
1120
|
-
extra?: boolean;
|
|
1121
|
-
normal?: boolean;
|
|
1122
|
-
}
|
|
1123
|
-
interface GenerationIndiType {
|
|
1124
|
-
indi: IndiType;
|
|
1125
|
-
leftSpouses?: GenerationSpouseType[];
|
|
1126
|
-
rightSpouses?: GenerationSpouseType[];
|
|
1127
|
-
}
|
|
1128
|
-
type IndiGenealogyGenerations<T = IndiType> = Record<number, MemberMain<T>>;
|
|
1129
|
-
type IndiGenealogyResult<T = IndiType> = Record<number, MemberSide<T>>;
|
|
1130
|
-
type NonNullIndiGenealogyResult<T = IndiType> = Record<number, Array<Array<T | undefined>>>;
|
|
1131
|
-
interface PathItem {
|
|
1132
|
-
indi: IndiType;
|
|
1133
|
-
level: number;
|
|
1134
|
-
levelUp: number;
|
|
1135
|
-
levelDown: number;
|
|
1136
|
-
degree: number;
|
|
1137
|
-
kinship: Kinship;
|
|
1138
|
-
relation?: RelationType;
|
|
1139
|
-
inLaw?: boolean;
|
|
1140
|
-
breakOnNext?: boolean;
|
|
1141
|
-
breakAfterNext?: boolean;
|
|
1142
|
-
}
|
|
1143
|
-
type Path = PathItem[];
|
|
1144
|
-
type ReducedPath = Array<Omit<PathItem, "breakOnNext" | "breakAfterNext">>;
|
|
1145
|
-
type QueueItem = {
|
|
1146
|
-
path: Path;
|
|
1147
|
-
} & PathItem;
|
|
1148
|
-
type Queue = QueueItem[];
|
|
1149
|
-
declare const createIndi: (gedcom: GedComType, id: IndiKey, main?: Common, parent?: Common) => ProxyOriginal<IndiType>;
|
|
1150
|
-
|
|
1151
|
-
interface IIndividuals extends IList<IndiKey, IndiType> {
|
|
1152
|
-
toName: () => List;
|
|
1153
|
-
isParentOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1154
|
-
isChildOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1155
|
-
isSiblingOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1156
|
-
isSpouseOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1157
|
-
isParentInLawOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1158
|
-
isChildInLawOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
1159
|
-
splitByFamily: (type: "Spouses" | "Children") => {
|
|
1160
|
-
items: Record<FamKey, Individuals | undefined>;
|
|
1161
|
-
lengthOfFamily: number;
|
|
1162
|
-
lengthOfIndividuals: number;
|
|
1163
|
-
};
|
|
1164
|
-
getAscendants: () => Individuals;
|
|
1165
|
-
getDescendants: () => Individuals;
|
|
1166
|
-
getAllAscendants: () => Individuals;
|
|
1167
|
-
getAllDescendants: () => Individuals;
|
|
1168
|
-
getRelativesOnLevel: () => Individuals;
|
|
1169
|
-
getRelativesOnDegree: () => Individuals;
|
|
1170
|
-
getSpouses: () => Individuals;
|
|
1171
|
-
getCoParents: () => Individuals;
|
|
1172
|
-
getSiblings: () => Individuals;
|
|
1173
|
-
getChildren: () => Individuals;
|
|
1174
|
-
getParents: () => Individuals;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
interface Settings {
|
|
1178
|
-
maxGivennames: number;
|
|
1179
|
-
maxSurnames: number;
|
|
1180
|
-
showSuffix: boolean;
|
|
1181
|
-
dateFormatPattern: string;
|
|
1182
|
-
nameOrder: NameOrder;
|
|
1183
|
-
placeOrder: PlaceOrder;
|
|
1184
|
-
linkedPersons?: LinkedPersons;
|
|
1185
|
-
linkingKey?: MultiTag;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
declare class Individuals extends List<IndiKey, IndiType> implements IIndividuals {
|
|
1189
|
-
copy(): Individuals;
|
|
1190
|
-
except(item: IndiType): Individuals;
|
|
1191
|
-
filter(filters: Filter | FilterIterator<IndiType, IndiKey>): Individuals;
|
|
1192
|
-
find(filters: Filter | FilterIterator<IndiType, IndiKey>): IndiType | undefined;
|
|
1193
|
-
unattachedFilter(useUnattached: boolean): Individuals;
|
|
1194
|
-
orderBy(orders: Order | OrderIterator<IndiType, IndiKey>): Individuals;
|
|
1195
|
-
getFirstEvent(): IndiType | undefined;
|
|
1196
|
-
getLastEvent(): IndiType | undefined;
|
|
1197
|
-
getFirstBirth(): IndiType | undefined;
|
|
1198
|
-
getLastBirth(): IndiType | undefined;
|
|
1199
|
-
getFirstDeath(): IndiType | undefined;
|
|
1200
|
-
getLastDeath(): IndiType | undefined;
|
|
1201
|
-
groupBy(group: Group | GroupIterator<IndiType, IndiKey>, sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, lessOccuranceLabel?: string): Record<string, Individuals>;
|
|
1202
|
-
groupByFirstLetters(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, settings?: Settings): Record<string, Individuals>;
|
|
1203
|
-
groupBySurnames(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number): Record<string, Individuals>;
|
|
1204
|
-
groupByTimeRanges(range: Range, sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number): Record<string, Individuals>;
|
|
1205
|
-
nestedGroupByPlacesAndTimeRanges(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, uniqueCounting?: boolean): NestedGroup;
|
|
1206
|
-
nestedGroupByTimeRangesAndPlaces(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, uniqueCounting?: boolean): NestedGroup;
|
|
1207
|
-
nestedGroupByPlaces(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, partOrder?: "original" | "reverse", translate?: boolean, uniqueCounting?: boolean, groupKeyTranslator?: (parts: string[]) => string | undefined): NestedGroup;
|
|
1208
|
-
groupByPlaces(sort?: "length" | "group" | OrderIterator<Individuals, string>, minOccurance?: number, partOrder?: "original" | "reverse", translate?: boolean, groupKeyTranslator?: (parts: string[]) => string | undefined): Record<string, Individuals>;
|
|
1209
|
-
getFacts(): List<IdType, Common<string, IdType>>;
|
|
1210
|
-
private isRelativeOf;
|
|
1211
|
-
isSiblingOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1212
|
-
isSpouseOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1213
|
-
isParentOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1214
|
-
isChildOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1215
|
-
isParentInLawOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1216
|
-
isChildInLawOf(indi?: IndiKey | IndiType, every?: boolean): boolean | `@I${number}@` | `@P${number}@` | `@XI${number}@` | `@XXI${number}@`;
|
|
1217
|
-
splitByFamily(type: "Spouses" | "Parents" | "Children", relativeTo?: IndiType): {
|
|
1218
|
-
items: Record<`@F${number}@` | `@XF${number}@` | `@XXF${number}@`, Individuals | undefined>;
|
|
1219
|
-
lengthOfFamily: number;
|
|
1220
|
-
lengthOfIndividuals: number;
|
|
1221
|
-
};
|
|
1222
|
-
getRelativesOnDegree(degree?: number): Individuals;
|
|
1223
|
-
getRelativesOnLevel(level?: number, filter?: Filter): Individuals;
|
|
1224
|
-
getAscendants(level?: number, filter?: Filter): Individuals;
|
|
1225
|
-
getDescendants(level?: number, filter?: Filter): Individuals;
|
|
1226
|
-
getAllAscendants(individuals?: Individuals): Individuals;
|
|
1227
|
-
getAllDescendants(individuals?: Individuals, containDescendantsInLaw?: boolean): Individuals;
|
|
1228
|
-
getSiblings(): Individuals;
|
|
1229
|
-
getChildren(): Individuals;
|
|
1230
|
-
getParents(): Individuals;
|
|
1231
|
-
getCoParents(): Individuals;
|
|
1232
|
-
getSpouses(): Individuals;
|
|
1233
|
-
toName(): List<IdType, Common<string, IdType>>;
|
|
1234
|
-
toList(): Individuals;
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
type ConvertType = "FAM" | "INDI" | "_INDI" | "OBJE" | "SOUR" | "REPO" | "SUBM";
|
|
1238
|
-
type IndiKey = `@${"I" | "P" | "XI" | "XXI"}${number}@`;
|
|
1239
|
-
type FamKey = `@${"F" | "XF" | "XXF"}${number}@`;
|
|
1240
|
-
type ObjeKey = `@O${number}@`;
|
|
1241
|
-
type RepoKey = `@R${number}@`;
|
|
1242
|
-
type SourKey = `@S${number}@`;
|
|
1243
|
-
type SubmKey = `@SUBM${number}@`;
|
|
1244
|
-
type TagKey = `@T${number}@`;
|
|
1245
|
-
type UnknownKey = `@U${number}@`;
|
|
1246
|
-
type IdType = IndiKey | FamKey | ObjeKey | SourKey | RepoKey | SubmKey | UnknownKey;
|
|
1247
|
-
declare enum RelationType {
|
|
1248
|
-
BIOLOGICAL = "biological",
|
|
1249
|
-
ADOPTED = "adopted",
|
|
1250
|
-
FOSTER = "foster",
|
|
1251
|
-
SEALING = "sealing",
|
|
1252
|
-
BIRTH = "birth",
|
|
1253
|
-
STEP = "step"
|
|
1254
|
-
}
|
|
1255
|
-
declare enum PartnerType {
|
|
1256
|
-
SPOUSE = "spouse",
|
|
1257
|
-
PARTNER = "partner",
|
|
1258
|
-
FRIEND = "friend",
|
|
1259
|
-
SINGLE = "single",
|
|
1260
|
-
OTHER = "other",
|
|
1261
|
-
UNKOWN = "unknown"
|
|
1262
|
-
}
|
|
1263
|
-
interface NonStandard {
|
|
1264
|
-
value?: any;
|
|
1265
|
-
id?: any;
|
|
1266
|
-
}
|
|
1267
|
-
interface Tags {
|
|
1268
|
-
_PRIM?: Common<"Y" | "N">;
|
|
1269
|
-
_EXPORTED_FROM_SITE_ID?: Common;
|
|
1270
|
-
_CLON?: Common;
|
|
1271
|
-
_MSER?: Common;
|
|
1272
|
-
_OID?: Common;
|
|
1273
|
-
_LKID?: Common;
|
|
1274
|
-
_PHOTO_RIN?: Common;
|
|
1275
|
-
_MTTAG?: Common & {
|
|
1276
|
-
NAME?: Common;
|
|
1277
|
-
};
|
|
1278
|
-
_MTCAT?: Common & {
|
|
1279
|
-
NAME?: Common;
|
|
1280
|
-
};
|
|
1281
|
-
_SREL?: Common;
|
|
1282
|
-
_FREL?: Common;
|
|
1283
|
-
_MREL?: Common;
|
|
1284
|
-
_MILT?: Common;
|
|
1285
|
-
_MILTID?: Common;
|
|
1286
|
-
_ORIG?: Common;
|
|
1287
|
-
_LABEL?: Common;
|
|
1288
|
-
_WLNK?: Common;
|
|
1289
|
-
_MARNM?: Common;
|
|
1290
|
-
_INDI?: Common;
|
|
1291
|
-
_GUESSEDORIGINAL?: Common;
|
|
1292
|
-
_FS_LINK?: Common;
|
|
1293
|
-
_FS_ID?: Common;
|
|
1294
|
-
_FS_MATCH?: Common;
|
|
1295
|
-
_FS_SOUR?: Common;
|
|
1296
|
-
_IS_FS?: Common<"Y" | "N">;
|
|
1297
|
-
_IS_ORPHAN_FAMILY?: Common<"Y" | "N">;
|
|
1298
|
-
MATCH?: Common;
|
|
1299
|
-
SCORE?: Common;
|
|
1300
|
-
TEXT?: Common;
|
|
1301
|
-
REF?: Common;
|
|
1302
|
-
DISPLAYTEXT?: Common;
|
|
1303
|
-
FAM?: Common;
|
|
1304
|
-
INDIVIDUALINTERNALHYPERLINK?: Common;
|
|
1305
|
-
OBJE?: Common;
|
|
1306
|
-
FAMS?: Common;
|
|
1307
|
-
FAMC?: Common;
|
|
1308
|
-
ABBR?: Common;
|
|
1309
|
-
ADDR?: Common;
|
|
1310
|
-
ADR1?: Common;
|
|
1311
|
-
ADR2?: Common;
|
|
1312
|
-
ADOP?: Common;
|
|
1313
|
-
AFN?: Common;
|
|
1314
|
-
AGE?: Common;
|
|
1315
|
-
ALIA?: Common;
|
|
1316
|
-
ANUL?: Common;
|
|
1317
|
-
ARVL?: Common;
|
|
1318
|
-
AUTH?: Common;
|
|
1319
|
-
BAPL?: Common;
|
|
1320
|
-
BAPM?: Common;
|
|
1321
|
-
BARM?: Common;
|
|
1322
|
-
BASM?: Common;
|
|
1323
|
-
BIRT?: Common;
|
|
1324
|
-
CAST?: Common;
|
|
1325
|
-
CAUS?: Common;
|
|
1326
|
-
CENS?: Common;
|
|
1327
|
-
CHIL?: Common;
|
|
1328
|
-
CHR?: Common;
|
|
1329
|
-
CHRA?: Common;
|
|
1330
|
-
CITY?: Common;
|
|
1331
|
-
CONC?: Common;
|
|
1332
|
-
CONF?: Common;
|
|
1333
|
-
CONT?: Common;
|
|
1334
|
-
CONL?: Common;
|
|
1335
|
-
CORP?: Common;
|
|
1336
|
-
CTRY?: Common;
|
|
1337
|
-
DATE?: Common;
|
|
1338
|
-
YEAR?: Common;
|
|
1339
|
-
MONTH?: Common;
|
|
1340
|
-
DAY?: Common;
|
|
1341
|
-
DEAT?: Common;
|
|
1342
|
-
DESC?: Common;
|
|
1343
|
-
DIV?: Common;
|
|
1344
|
-
DIVF?: Common;
|
|
1345
|
-
DSCR?: Common;
|
|
1346
|
-
EDUC?: Common;
|
|
1347
|
-
EMIG?: Common;
|
|
1348
|
-
ENDL?: Common;
|
|
1349
|
-
ENGA?: Common;
|
|
1350
|
-
EVEN?: Common;
|
|
1351
|
-
FCOM?: Common;
|
|
1352
|
-
FOST?: Common;
|
|
1353
|
-
GIVN?: Common;
|
|
1354
|
-
GRAD?: Common;
|
|
1355
|
-
HEAD?: Common;
|
|
1356
|
-
HUSB?: Common;
|
|
1357
|
-
ILLE?: Common;
|
|
1358
|
-
IMMI?: Common;
|
|
1359
|
-
INDI?: Common;
|
|
1360
|
-
LANG?: Common;
|
|
1361
|
-
LEGA?: Common;
|
|
1362
|
-
LVG?: Common;
|
|
1363
|
-
MARB?: Common;
|
|
1364
|
-
MARC?: Common;
|
|
1365
|
-
MARL?: Common;
|
|
1366
|
-
MARR?: Common;
|
|
1367
|
-
MARS?: Common;
|
|
1368
|
-
MISC?: Common;
|
|
1369
|
-
NAME?: Common;
|
|
1370
|
-
NATI?: Common;
|
|
1371
|
-
NATU?: Common;
|
|
1372
|
-
NICK?: Common;
|
|
1373
|
-
NOTE?: Common;
|
|
1374
|
-
NPFX?: Common;
|
|
1375
|
-
NSFX?: Common;
|
|
1376
|
-
OCCU?: Common;
|
|
1377
|
-
OCCUPATION?: Common;
|
|
1378
|
-
OCCUPATIONS?: Common;
|
|
1379
|
-
ORDI?: Common;
|
|
1380
|
-
ORDL?: Common;
|
|
1381
|
-
ORDN?: Common;
|
|
1382
|
-
PEDI?: Common;
|
|
1383
|
-
PART?: Common;
|
|
1384
|
-
PHON?: Common;
|
|
1385
|
-
PLAC?: Common;
|
|
1386
|
-
POST?: Common;
|
|
1387
|
-
PRIV?: Common;
|
|
1388
|
-
PROB?: Common;
|
|
1389
|
-
RACE?: Common;
|
|
1390
|
-
RELI?: Common;
|
|
1391
|
-
RESI?: Common;
|
|
1392
|
-
RETI?: Common;
|
|
1393
|
-
SEX?: Common<"F" | "M">;
|
|
1394
|
-
SLGC?: Common;
|
|
1395
|
-
SLGS?: Common;
|
|
1396
|
-
SOUR?: Common;
|
|
1397
|
-
SPFX?: Common;
|
|
1398
|
-
SSN?: Common;
|
|
1399
|
-
STAE?: Common;
|
|
1400
|
-
STAT?: Common;
|
|
1401
|
-
STIL?: Common;
|
|
1402
|
-
SUBM?: Common;
|
|
1403
|
-
SURN?: Common;
|
|
1404
|
-
REPO?: Common;
|
|
1405
|
-
TEL?: Common;
|
|
1406
|
-
TEMP?: Common;
|
|
1407
|
-
TIME?: Common;
|
|
1408
|
-
TITL?: Common;
|
|
1409
|
-
WIFE?: Common;
|
|
1410
|
-
WILL?: Common;
|
|
1411
|
-
RIN?: Common;
|
|
1412
|
-
FILE?: Common;
|
|
1413
|
-
AKA?: Common;
|
|
1414
|
-
FACT?: Common;
|
|
1415
|
-
TYPE?: Common;
|
|
1416
|
-
VERS?: Common;
|
|
1417
|
-
FORM?: Common;
|
|
1418
|
-
WWW?: Common;
|
|
1419
|
-
BAPT?: Common;
|
|
1420
|
-
CHRI?: Common;
|
|
1421
|
-
BURI?: Common;
|
|
1422
|
-
GEDC?: Common;
|
|
1423
|
-
RFN?: Common;
|
|
1424
|
-
}
|
|
1425
|
-
type Tag = keyof Tags | keyof NonStandard;
|
|
1426
|
-
type ListTag = `@@${keyof Tags}`;
|
|
1427
|
-
type MultiTag = ListTag | Tag | `${Tag}.${Tag}`;
|
|
1428
|
-
type FilterIterator<T, K> = (item: T, key: K | number, index: number) => boolean;
|
|
1429
|
-
type Filter<T = unknown> = Partial<Record<MultiTag, T>>;
|
|
1430
|
-
type RequiredFilter<T extends Tag, F = unknown> = Required<Pick<Filter<F>, T>> & Partial<Omit<Filter<F>, T>>;
|
|
1431
|
-
interface OrderDefinition {
|
|
1432
|
-
direction: "ASC" | "DESC";
|
|
1433
|
-
getter?: (orig: unknown, raw?: Common) => unknown;
|
|
1434
|
-
}
|
|
1435
|
-
type Order = MultiTag | Partial<Record<MultiTag, OrderDefinition>>;
|
|
1436
|
-
type OrderIterator<T, K> = (itemA: T, keyA: K | number, itemB: T, keyB: K | number) => number;
|
|
1437
|
-
interface GroupDefinition {
|
|
1438
|
-
getter?: (orig: unknown, raw?: Common) => unknown;
|
|
1439
|
-
}
|
|
1440
|
-
type Group = MultiTag | Partial<Record<MultiTag, GroupDefinition>>;
|
|
1441
|
-
type GroupMarker = {
|
|
1442
|
-
marker?: string;
|
|
1443
|
-
group: string;
|
|
1444
|
-
};
|
|
1445
|
-
type GroupIterator<T, K> = (item: T, key: K | number) => string | string[] | GroupMarker[];
|
|
1446
|
-
declare enum Range {
|
|
1447
|
-
Year = 1,
|
|
1448
|
-
FiveYear = 5,
|
|
1449
|
-
Decade = 10,
|
|
1450
|
-
FiftyYear = 50,
|
|
1451
|
-
Century = 100
|
|
1452
|
-
}
|
|
1453
|
-
type NestedGroup = {
|
|
1454
|
-
[Key: string]: NestedGroup;
|
|
1455
|
-
} & {
|
|
1456
|
-
items?: Individuals;
|
|
1457
|
-
length?: number;
|
|
1458
|
-
};
|
|
1459
|
-
type NameOrder = "first-last" | "last-first";
|
|
1460
|
-
type PlaceOrder = "country-to-city" | "city-to-country";
|
|
1461
|
-
type LinkedPersons = "merge" | "clone" | "skip";
|
|
1462
|
-
|
|
1463
|
-
interface IList<K extends IdType = IdType, T extends Common = Common> {
|
|
1464
|
-
readonly length: number;
|
|
1465
|
-
marker?: string;
|
|
1466
|
-
isListable: boolean;
|
|
1467
|
-
has: (item?: K | T) => boolean;
|
|
1468
|
-
get: (name: MultiTag) => List;
|
|
1469
|
-
keys: () => K[];
|
|
1470
|
-
values: () => Array<T | undefined>;
|
|
1471
|
-
entries: () => Array<[K, T | undefined]>;
|
|
1472
|
-
getIf: (name: MultiTag, condition: string, name2: MultiTag) => List;
|
|
1473
|
-
setLength: () => void;
|
|
1474
|
-
item: (name: K, value?: T) => T | undefined;
|
|
1475
|
-
removeItem: (name: K) => void;
|
|
1476
|
-
exclude: (mergedList: List<K, T>) => List<K, T>;
|
|
1477
|
-
prepend: (item: T) => List<K, T>;
|
|
1478
|
-
append: (item: T) => List<K, T>;
|
|
1479
|
-
merge: (mergedList: List<K, T>) => List<K, T>;
|
|
1480
|
-
intersection: (mergedList: List<K, T>) => List<K, T>;
|
|
1481
|
-
difference: (mergedList: List<K, T>) => List<K, T>;
|
|
1482
|
-
concat: (items: Partial<Record<K, T>>) => List<K, T>;
|
|
1483
|
-
delete: (item: T) => List<K, T>;
|
|
1484
|
-
copy: (ClassName?: typeof List<K, T>) => List<K, T>;
|
|
1485
|
-
except: (item: T, ClassName?: typeof List<K, T>) => List<K, T>;
|
|
1486
|
-
filter: (filters: Filter | FilterIterator<T, K>, ClassName?: typeof List<K, T>) => List<K, T>;
|
|
1487
|
-
find: (filters: Filter | FilterIterator<T, K>, ClassName?: typeof List<K, T>) => T | undefined;
|
|
1488
|
-
orderBy: (orders: Order | OrderIterator<T, K>, ClassName?: typeof List<K, T>) => List<K, T>;
|
|
1489
|
-
groupBy: (orders: Group | GroupIterator<T, K>, sort?: "length" | "group", minOccurance?: number, lessOccuranceLabel?: string, ClassName?: typeof List<K, T>) => Record<string, List<K, T>>;
|
|
1490
|
-
forEach: (iterate: (item: T, key: K | number, index: number) => void) => void;
|
|
1491
|
-
map: <R>(iterate: (item: T, key: K | number, index: number) => R) => void;
|
|
1492
|
-
findIndex: (item: T) => number;
|
|
1493
|
-
first: () => T | undefined;
|
|
1494
|
-
index: (index: number) => T | undefined;
|
|
1495
|
-
last: () => T | undefined;
|
|
1496
|
-
getItems: () => Partial<Record<K, T>>;
|
|
1497
|
-
toValue: (tag: MultiTag) => List;
|
|
1498
|
-
toProp: (tag: MultiTag) => List;
|
|
1499
|
-
toList: () => List;
|
|
1500
|
-
toValueList: () => List;
|
|
1501
|
-
toJson: (tag: MultiTag, options?: ConvertOptions) => string;
|
|
1502
|
-
toObject: (tag: MultiTag, options?: ConvertOptions) => Record<string, string | undefined | ({
|
|
1503
|
-
value?: string;
|
|
1504
|
-
} & Record<string, unknown>) | Array<string | undefined | ({
|
|
1505
|
-
value?: string;
|
|
1506
|
-
} & Record<string, unknown>)>>;
|
|
1507
|
-
toGedcomLines: (tag: MultiTag, level?: number, options?: ConvertOptions) => string[];
|
|
1508
|
-
toGedcom: (tag: MultiTag, level?: number, options?: ConvertOptions) => string;
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
declare class List<K extends IdType = IdType, T extends Common = Common> implements IList<K, T> {
|
|
1512
|
-
private items;
|
|
1513
|
-
isListable: boolean;
|
|
1514
|
-
marker: string | undefined;
|
|
1515
|
-
constructor(items?: Partial<Record<K, T>> | T[]);
|
|
1516
|
-
get length(): number;
|
|
1517
|
-
has(indi?: K | T): boolean;
|
|
1518
|
-
get(name: MultiTag): List<IdType, Common<string, IdType>>;
|
|
1519
|
-
getIf(name: MultiTag, condition: string, name2: MultiTag): List<IdType, Common<string, IdType>>;
|
|
1520
|
-
keys(): K[];
|
|
1521
|
-
values(): (T | undefined)[];
|
|
1522
|
-
entries(): [K, T | undefined][];
|
|
1523
|
-
setLength(_type?: "increase" | "decrease"): void;
|
|
1524
|
-
first(): Partial<Record<K, T>>[K];
|
|
1525
|
-
last(): Partial<Record<K, T>>[K];
|
|
1526
|
-
index(index: number): Partial<Record<K, T>>[K];
|
|
1527
|
-
item(name: K, value?: T): T | undefined;
|
|
1528
|
-
removeItem(name: K): void;
|
|
1529
|
-
exclude(excludedList: List<K, T>): this;
|
|
1530
|
-
concat(items?: Partial<Record<K, T>> | T[]): this;
|
|
1531
|
-
merge(mergedList?: List<K, T>): this;
|
|
1532
|
-
intersection(mergedList?: List<K, T>): List<K, T>;
|
|
1533
|
-
difference(mergedList?: List<K, T>): List<K, T>;
|
|
1534
|
-
prepend(item: T): this;
|
|
1535
|
-
append(item: T): this;
|
|
1536
|
-
delete(item: T): this;
|
|
1537
|
-
copy(ClassName?: typeof List<K, T>): List<K, T>;
|
|
1538
|
-
except(item: T, ClassName?: typeof List<K, T>): List<K, T>;
|
|
1539
|
-
forEach(iterate: (item: T, key: K, index: number) => void): void;
|
|
1540
|
-
map<R>(iterate: (item: T, key: K, index: number) => R): R[];
|
|
1541
|
-
reduce<R>(iterate: (acc: R, item: T, key: K, index: number) => R, initialValue: R): R;
|
|
1542
|
-
filter(filters: Filter | FilterIterator<T, K>, ClassName?: typeof List<K, T>): List<K, T>;
|
|
1543
|
-
find(filters: Filter | FilterIterator<T, K>, _ClassName?: typeof List<K, T>): T | undefined;
|
|
1544
|
-
orderBy(orders: Order | OrderIterator<T, K>, ClassName?: typeof List<K, T>): List<K, T>;
|
|
1545
|
-
groupBy(groups: Group | GroupIterator<T, K>, sort?: "length" | "group" | OrderIterator<List<K, T>, string>, minOccurance?: number, lessOccuranceLabel?: string, ClassName?: typeof List<K, T>): Record<string, List<K, T>>;
|
|
1546
|
-
findIndex(item: T): number;
|
|
1547
|
-
getItems(): Partial<Record<K, T>>;
|
|
1548
|
-
toJson(tag: MultiTag, options?: ConvertOptions): string;
|
|
1549
|
-
toObject(tag: MultiTag, options?: ConvertOptions): Record<string, string | ({
|
|
1550
|
-
value?: string;
|
|
1551
|
-
} & Record<string, unknown>) | (string | ({
|
|
1552
|
-
value?: string;
|
|
1553
|
-
} & Record<string, unknown>) | undefined)[] | undefined>;
|
|
1554
|
-
toGedcom(tag: MultiTag, level?: number, options?: ConvertOptions): string;
|
|
1555
|
-
toGedcomLines(tag: MultiTag, level?: number, options?: ConvertOptions): string[];
|
|
1556
|
-
toValue(): List<IdType, Common<string, IdType>>;
|
|
1557
|
-
toProp(tag: MultiTag): List<IdType, Common<string, IdType>>;
|
|
1558
|
-
toList(): List<IdType, Common<string, IdType>>;
|
|
1559
|
-
toValueList(): List<IdType, Common<string, IdType>>;
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
interface ConvertOptions {
|
|
1563
|
-
original?: boolean;
|
|
1564
|
-
obje?: {
|
|
1565
|
-
standardize?: boolean;
|
|
1566
|
-
override?: boolean;
|
|
1567
|
-
namespace?: string | number;
|
|
1568
|
-
};
|
|
1569
|
-
super?: boolean;
|
|
1570
|
-
}
|
|
1571
|
-
interface ICommon<P = string, I extends IdType = IdType> {
|
|
1572
|
-
set value(value: P | undefined);
|
|
1573
|
-
get value(): P | undefined;
|
|
1574
|
-
isListable: boolean;
|
|
1575
|
-
refType?: MultiTag;
|
|
1576
|
-
id?: I;
|
|
1577
|
-
removeValue: () => void;
|
|
1578
|
-
set: <T extends Common | List = Common | List>(name: MultiTag, value: T) => T | undefined;
|
|
1579
|
-
get: <T extends Common | List = Common | List>(name: MultiTag) => T | undefined;
|
|
1580
|
-
remove: (name: MultiTag) => void;
|
|
1581
|
-
getIf: <T extends Common | List = Common | List>(name: MultiTag, condition: string, name2: MultiTag) => T | undefined;
|
|
1582
|
-
assign: <T extends Common | List = Common | List>(name: MultiTag, value: T) => T | undefined;
|
|
1583
|
-
toString: () => string;
|
|
1584
|
-
toValue: () => P | undefined;
|
|
1585
|
-
exportValue: () => P | undefined;
|
|
1586
|
-
toProp: (tag: MultiTag) => Common<P, I> | undefined;
|
|
1587
|
-
toList: () => List;
|
|
1588
|
-
toValueList: () => List;
|
|
1589
|
-
toJson: (tag?: MultiTag, options?: ConvertOptions) => string;
|
|
1590
|
-
toObject: (tag?: MultiTag, options?: ConvertOptions) => Record<string, string | undefined | ({
|
|
1591
|
-
value?: string;
|
|
1592
|
-
} & Record<string, unknown>) | Array<string | undefined | ({
|
|
1593
|
-
value?: string;
|
|
1594
|
-
} & Record<string, unknown>)>>;
|
|
1595
|
-
toGedcomLines: (tag?: MultiTag, level?: number, options?: ConvertOptions) => string[];
|
|
1596
|
-
toGedcom: (tag?: MultiTag, level?: number, options?: ConvertOptions) => string;
|
|
1597
|
-
fromGedcom: (value: string) => void;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
declare class Common<T = string, I extends IdType = IdType> implements ICommon<T, I> {
|
|
1601
|
-
protected _gedcom?: GedComType;
|
|
1602
|
-
protected _value?: T;
|
|
1603
|
-
protected _id?: I;
|
|
1604
|
-
protected _main?: Common;
|
|
1605
|
-
protected _parent?: Common;
|
|
1606
|
-
protected _uniqueId?: string | undefined;
|
|
1607
|
-
protected _type?: MultiTag;
|
|
1608
|
-
protected _refs?: List;
|
|
1609
|
-
isListable: boolean;
|
|
1610
|
-
refType?: ListTag;
|
|
1611
|
-
cloneOf?: string;
|
|
1612
|
-
clonedBy?: string;
|
|
1613
|
-
constructor(gedcom?: GedComType, id?: I, main?: Common, parent?: Common);
|
|
1614
|
-
set type(type: MultiTag | undefined);
|
|
1615
|
-
get type(): MultiTag | undefined;
|
|
1616
|
-
initUniqueId(): void;
|
|
1617
|
-
set uniqueId(id: string | undefined);
|
|
1618
|
-
get uniqueId(): string | undefined;
|
|
1619
|
-
set id(id: I | undefined);
|
|
1620
|
-
get id(): I | undefined;
|
|
1621
|
-
set value(value: T | undefined);
|
|
1622
|
-
get value(): T | undefined;
|
|
1623
|
-
/**
|
|
1624
|
-
* Set the gedcom reference for this object
|
|
1625
|
-
* @param gedcom - The GedComType to set as the gedcom reference
|
|
1626
|
-
*/
|
|
1627
|
-
setGedcom(gedcom: GedComType): void;
|
|
1628
|
-
get originalValue(): T | undefined;
|
|
1629
|
-
get ref(): Common<T, I> | undefined;
|
|
1630
|
-
get main(): Common<string, IdType> | undefined;
|
|
1631
|
-
get parent(): Common<string, IdType> | undefined;
|
|
1632
|
-
addRef(refNode: Common): void;
|
|
1633
|
-
getRefs(): List<IdType, Common<string, IdType>> | undefined;
|
|
1634
|
-
exportValue(): T | undefined;
|
|
1635
|
-
removeValue(): void;
|
|
1636
|
-
set<T extends Common | List = Common | List>(name: MultiTag, value: T | string): T | undefined;
|
|
1637
|
-
assign<T extends Common | List = Common | List>(name: MultiTag, value: T, unique?: boolean): T | undefined;
|
|
1638
|
-
get<T extends Common | List = Common | List>(name: MultiTag): T | undefined;
|
|
1639
|
-
remove(name: MultiTag): void;
|
|
1640
|
-
getGedcom(): GedComType | undefined;
|
|
1641
|
-
getIf<T extends Common | List = Common | List>(name: MultiTag, condition: string, name2: MultiTag): T | undefined;
|
|
1642
|
-
toString(): string;
|
|
1643
|
-
toValue(): T | undefined;
|
|
1644
|
-
toProp(tag: MultiTag): Common<T, I> | undefined;
|
|
1645
|
-
toList(): List<IdType, Common<string, IdType>>;
|
|
1646
|
-
index(i: number): Common<string, IdType> | undefined;
|
|
1647
|
-
toValueList(): List<IdType, Common<string, IdType>>;
|
|
1648
|
-
private standardizeObject;
|
|
1649
|
-
toJson(tag?: MultiTag, options?: ConvertOptions): string;
|
|
1650
|
-
toObject(tag?: MultiTag, options?: ConvertOptions): Record<string, string | ({
|
|
1651
|
-
value?: string;
|
|
1652
|
-
} & Record<string, unknown>) | (string | ({
|
|
1653
|
-
value?: string;
|
|
1654
|
-
} & Record<string, unknown>) | undefined)[] | undefined>;
|
|
1655
|
-
merge(other: Common<T, I>, override?: boolean, avoidKeys?: MultiTag[]): this;
|
|
1656
|
-
clone(newId?: boolean, avoidKeys?: MultiTag[]): Common<T, I>;
|
|
1657
|
-
fromGedcom(_value: string): void;
|
|
1658
|
-
toGedcom(tag?: MultiTag, level?: number, options?: ConvertOptions): string;
|
|
1659
|
-
toGedcomLines(tag?: MultiTag, level?: number, options?: ConvertOptions): string[];
|
|
1660
|
-
isGenoPro(): boolean;
|
|
1661
|
-
isAhnenblatt(): boolean;
|
|
1662
|
-
isGeni(): boolean;
|
|
1663
|
-
isAncestry(): boolean;
|
|
1664
|
-
isMyHeritage(): boolean;
|
|
1665
|
-
/**
|
|
1666
|
-
* Get the source type as a string (for prefixing tree IDs and names)
|
|
1667
|
-
* Returns the detected source type or undefined if unknown
|
|
1668
|
-
*/
|
|
1669
|
-
getSourceType(): string | undefined;
|
|
1670
|
-
isFamilySearch(): boolean;
|
|
1671
|
-
isGNO2GED(): boolean;
|
|
1672
|
-
getAncestryTreeId(): string | undefined;
|
|
1673
|
-
getMyHeritageTreeId(): string | undefined;
|
|
1674
|
-
getTreeId(): string;
|
|
1675
|
-
getAncestryTreeName(): string | undefined;
|
|
1676
|
-
getMyHeritageTreeName(): string | undefined;
|
|
1677
|
-
getFamilySearchTreeId(): string;
|
|
1678
|
-
getFamilySearchTreeName(): string;
|
|
1679
|
-
getAhnenblattTreeId(): string | undefined;
|
|
1680
|
-
getAhnenblattTreeName(): string | undefined;
|
|
1681
|
-
getGeniTreeId(): string | undefined;
|
|
1682
|
-
getGeniTreeName(): string | undefined;
|
|
1683
|
-
getGenoProTreeId(): string | undefined;
|
|
1684
|
-
getGenoProTreeName(): string | undefined;
|
|
1685
|
-
getGNO2GEDTreeId(): string;
|
|
1686
|
-
getGNO2GEDTreeName(): string;
|
|
1687
|
-
/**
|
|
1688
|
-
* Universal tree ID getter for unknown/unrecognized GEDCOM sources
|
|
1689
|
-
* Tries to extract an ID from various common locations
|
|
1690
|
-
*/
|
|
1691
|
-
getUniversalTreeId(): string;
|
|
1692
|
-
/**
|
|
1693
|
-
* Universal tree name getter for unknown/unrecognized GEDCOM sources
|
|
1694
|
-
* Tries to extract a name from various common locations
|
|
1695
|
-
*/
|
|
1696
|
-
getUniversalTreeName(): string;
|
|
1697
|
-
getTreeName(): string;
|
|
1698
|
-
}
|
|
1699
|
-
type ProxyOriginal<T extends Common> = T & {
|
|
1700
|
-
unwrapped: T;
|
|
1701
|
-
};
|
|
1702
|
-
declare const createProxy: <T extends Common>(target: T) => T;
|
|
1703
|
-
declare const createCommon: (gedcom?: GedComType, id?: IdType, main?: Common, parent?: Common) => ProxyOriginal<Common>;
|
|
1704
|
-
declare const isOnlyMainProp: (key: string | symbol) => key is MultiTag | "_value" | "value";
|
|
1705
|
-
declare const isValidKey: <T>(common: Common<T>, key: string | symbol) => key is MultiTag | "_value" | "value" | "id" | "_id";
|
|
1706
|
-
declare const getValidKeys: <T>(common: Common<T>) => Array<MultiTag | "_value" | "value" | "id" | "_id">;
|
|
1707
|
-
declare const getValidTag: (tag: string) => string;
|
|
1708
|
-
declare const getListTag: (tag: string) => ListTag;
|
|
1709
|
-
declare const getValidKey: (tag: string, id: string) => string;
|
|
1710
|
-
declare const isId: (string: string) => string is IdType;
|
|
1711
|
-
declare const idGetter: <T extends IdType>(id?: T) => T | undefined;
|
|
1712
|
-
|
|
1713
|
-
export { type IPlaceStructure as $, type ICommon as A, type ICreationDateStructure as B, type Cases as C, type IDateStructure as D, Existed as E, Fam as F, GedCom as G, type IEventDetailStructure as H, type IAddressStructure as I, type IFam as J, type IFamilies as K, type IFamilyStructure as L, type IGedcom as M, type IGedComStructure as N, type IIndi as O, type IIndividualStructure as P, type IIndividualEventStructure as Q, type IIndividualEventDetailStructure as R, type IIndividuals as S, type ILdsOrdinanceDetailStructure as T, type ILdsSpouseSealingStructure as U, type IList as V, type IMarriageDateStructure as W, type IMultimediaLinkStructure as X, type INonEventStructure as Y, type INoteStructure as Z, type IObje as _, Common as a, type SubmKey as a$, type IRepo as a0, type IRepositoryStructure as a1, type ISour as a2, type ISourceStructure as a3, type ISourceCitationStructure as a4, type ISourceRepositoryCitationStructure as a5, type ISubm as a6, type IdType as a7, Indi as a8, type IndiGenealogy as a9, PartnerType as aA, type Path as aB, type PathItem as aC, type Place as aD, type PlaceOrder as aE, PlaceType as aF, type PrimitiveRange as aG, type ProfilePicture as aH, type ProxyOriginal as aI, type Queue as aJ, type QueueItem as aK, Range as aL, type Range$1 as aM, type ReducedPath as aN, RelationType as aO, Repo as aP, type RepoKey as aQ, type RepoType as aR, Repositories as aS, type RequiredFilter as aT, type Settings as aU, Sour as aV, type SourKey as aW, type SourType as aX, Sources as aY, type SplitResult as aZ, Subm as a_, type IndiGenealogyGenerations as aa, type IndiGenealogyResult as ab, type IndiKey as ac, type IndiMarker as ad, type IndiTree as ae, type IndiType as af, Individuals as ag, type IKinshipTranslator as ah, type Language as ai, type LinkedPersons as aj, List as ak, type ListTag as al, type MemberMain as am, type MemberSide as an, type MultiTag as ao, type NameOrder as ap, type NestedGroup as aq, type NonNullIndiGenealogyResult as ar, type NonStandard as as, Obje as at, type ObjeKey as au, type ObjeType as av, Objects as aw, type Order as ax, type OrderDefinition as ay, type OrderIterator as az, CommonDate as b, type SubmType as b0, Submitters as b1, type Tag as b2, type TagKey as b3, type TreeMember as b4, type UnknownKey as b5, createCommon as b6, createCommonDate as b7, createCommonName as b8, createCommonNote as b9, isValidKey as bA, mergeGedcoms as bB, parseRangeBounds as bC, splitOverlappingRanges as bD, splitRange as bE, validateGedcomContent as bF, createFam as ba, createGedCom as bb, createIndi as bc, createObje as bd, createProxy as be, createRepo as bf, createSour as bg, createSubm as bh, extractSeparationYears as bi, extractSplitPoints as bj, findMatchingRangeForSplitRange as bk, fromTuple as bl, generateSplitRanges as bm, getListTag as bn, getPlaces as bo, getValidKey as bp, getValidKeys as bq, getValidTag as br, idGetter as bs, inRange as bt, isCommonDate as bu, isGedcomString as bv, isId as bw, isIntersectedRange as bx, isOnlyMainProp as by, isRangeContained as bz, CommonName as c, CommonNote as d, type ConvertType as e, type CrossCase as f, type CrossCases as g, CustomTags as h, type FamKey as i, type FamType as j, Families as k, type FamilySearchMatch as l, type FamilySearchSource as m, type Filter as n, type FilterIterator as o, type GedComType as p, type GenealogyMember as q, type GeneratedIndiMethods as r, type GenerationIndiType as s, type GenerationSpouseType as t, type Group as u, type GroupDefinition as v, type GroupIterator as w, type GroupMarker as x, type IAssociationStructure as y, type IChangeDateStructure as z };
|