@treeviz/gedcom-parser 1.0.4 → 1.0.5
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 +3 -4
- package/dist/classes/common.d.ts.map +1 -1
- package/dist/classes/date.d.ts +1 -1
- package/dist/classes/date.d.ts.map +1 -1
- package/dist/classes/date.js +1 -1
- package/dist/classes/fam.d.ts +3 -3
- package/dist/classes/fam.d.ts.map +1 -1
- package/dist/classes/fams.d.ts +3 -3
- package/dist/classes/fams.d.ts.map +1 -1
- package/dist/classes/gedcom.d.ts +14 -14
- package/dist/classes/gedcom.d.ts.map +1 -1
- package/dist/classes/gedcom.js +38 -18
- package/dist/classes/indis.d.ts +5 -4
- package/dist/classes/indis.d.ts.map +1 -1
- package/dist/classes/indis.js +1 -1
- package/dist/classes/list.d.ts +4 -4
- package/dist/classes/list.d.ts.map +1 -1
- package/dist/classes/name.d.ts +1 -1
- package/dist/classes/name.d.ts.map +1 -1
- package/dist/classes/note.d.ts +1 -1
- package/dist/classes/note.d.ts.map +1 -1
- package/dist/classes/obje.d.ts +3 -3
- package/dist/classes/obje.d.ts.map +1 -1
- package/dist/classes/objes.d.ts +2 -2
- package/dist/classes/objes.d.ts.map +1 -1
- package/dist/classes/repo.d.ts +3 -3
- package/dist/classes/repo.d.ts.map +1 -1
- package/dist/classes/repos.d.ts +2 -2
- package/dist/classes/repos.d.ts.map +1 -1
- package/dist/classes/sour.d.ts +3 -3
- package/dist/classes/sour.d.ts.map +1 -1
- package/dist/classes/sours.d.ts +2 -2
- package/dist/classes/sours.d.ts.map +1 -1
- package/dist/classes/subm.d.ts +2 -2
- package/dist/classes/subm.d.ts.map +1 -1
- package/dist/classes/subms.d.ts +2 -2
- package/dist/classes/subms.d.ts.map +1 -1
- package/dist/cli/commands/convert.d.ts +1 -1
- package/dist/cli/commands/convert.d.ts.map +1 -1
- package/dist/cli/commands/extract.d.ts +1 -1
- package/dist/cli/commands/extract.d.ts.map +1 -1
- package/dist/cli/commands/extract.js +1 -1
- package/dist/cli/commands/find.d.ts +1 -1
- package/dist/cli/commands/find.d.ts.map +1 -1
- package/dist/cli/commands/info.d.ts +1 -1
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/merge.d.ts +1 -1
- package/dist/cli/commands/merge.d.ts.map +1 -1
- package/dist/cli/commands/merge.js +2 -2
- package/dist/cli/commands/relatives.d.ts +1 -1
- package/dist/cli/commands/relatives.d.ts.map +1 -1
- package/dist/cli/commands/show.d.ts +1 -1
- package/dist/cli/commands/show.d.ts.map +1 -1
- package/dist/cli/commands/stats.d.ts +1 -1
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +1 -1
- package/dist/cli/commands/validate.d.ts +1 -1
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/constants/filters.d.ts +2 -1
- package/dist/constants/filters.d.ts.map +1 -1
- package/dist/constants/filters.js +1 -1
- package/dist/constants/orders.d.ts +2 -2
- package/dist/constants/orders.d.ts.map +1 -1
- package/dist/init.d.ts +91 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +94 -0
- package/dist/interfaces/common.d.ts +3 -3
- package/dist/interfaces/common.d.ts.map +1 -1
- package/dist/interfaces/fam.d.ts +3 -3
- package/dist/interfaces/fam.d.ts.map +1 -1
- package/dist/interfaces/fams.d.ts +4 -4
- package/dist/interfaces/fams.d.ts.map +1 -1
- package/dist/interfaces/gedcom.d.ts +14 -14
- package/dist/interfaces/gedcom.d.ts.map +1 -1
- package/dist/interfaces/indi.d.ts +6 -6
- package/dist/interfaces/indi.d.ts.map +1 -1
- package/dist/interfaces/indis.d.ts +5 -5
- package/dist/interfaces/indis.d.ts.map +1 -1
- package/dist/interfaces/list.d.ts +4 -4
- package/dist/interfaces/list.d.ts.map +1 -1
- package/dist/interfaces/obje.d.ts +2 -2
- package/dist/interfaces/obje.d.ts.map +1 -1
- package/dist/interfaces/repo.d.ts +2 -2
- package/dist/interfaces/repo.d.ts.map +1 -1
- package/dist/interfaces/sour.d.ts +2 -2
- package/dist/interfaces/sour.d.ts.map +1 -1
- package/dist/interfaces/subm.d.ts +2 -2
- package/dist/interfaces/subm.d.ts.map +1 -1
- package/dist/kinship-translator/kinship-translator.basic.d.ts +1 -1
- package/dist/kinship-translator/kinship-translator.basic.d.ts.map +1 -1
- package/dist/kinship-translator/kinship-translator.d.ts +2 -2
- package/dist/kinship-translator/kinship-translator.d.ts.map +1 -1
- package/dist/kinship-translator/patterns.hu.d.ts +2 -2
- package/dist/kinship-translator/patterns.hu.d.ts.map +1 -1
- package/dist/structures/address.d.ts +1 -1
- package/dist/structures/address.d.ts.map +1 -1
- package/dist/structures/association.d.ts +1 -1
- package/dist/structures/association.d.ts.map +1 -1
- package/dist/structures/change-date.d.ts +1 -1
- package/dist/structures/change-date.d.ts.map +1 -1
- package/dist/structures/creation-date.d.ts +1 -1
- package/dist/structures/creation-date.d.ts.map +1 -1
- package/dist/structures/date.d.ts +2 -2
- package/dist/structures/date.d.ts.map +1 -1
- package/dist/structures/family.d.ts +1 -1
- package/dist/structures/family.d.ts.map +1 -1
- package/dist/structures/gedcom.d.ts +2 -3
- package/dist/structures/gedcom.d.ts.map +1 -1
- package/dist/structures/index.d.ts +24 -24
- package/dist/structures/index.d.ts.map +1 -1
- package/dist/structures/individual-event-detail-structure.d.ts +1 -1
- package/dist/structures/individual-event-detail-structure.d.ts.map +1 -1
- package/dist/structures/individual-event-structure.d.ts +1 -1
- package/dist/structures/individual-event-structure.d.ts.map +1 -1
- package/dist/structures/individual.d.ts +3 -3
- package/dist/structures/individual.d.ts.map +1 -1
- package/dist/structures/lds-ordinance-detail.d.ts +1 -1
- package/dist/structures/lds-ordinance-detail.d.ts.map +1 -1
- package/dist/structures/lds-spouse-sealing.d.ts +1 -1
- package/dist/structures/lds-spouse-sealing.d.ts.map +1 -1
- package/dist/structures/marriage-date.d.ts +1 -1
- package/dist/structures/marriage-date.d.ts.map +1 -1
- package/dist/structures/multimedia-link.d.ts +1 -1
- package/dist/structures/multimedia-link.d.ts.map +1 -1
- package/dist/structures/non-event.d.ts +1 -1
- package/dist/structures/non-event.d.ts.map +1 -1
- package/dist/structures/note.d.ts +2 -2
- package/dist/structures/note.d.ts.map +1 -1
- package/dist/structures/personal-name-pieces.d.ts +1 -1
- package/dist/structures/personal-name-pieces.d.ts.map +1 -1
- package/dist/structures/personal-name.d.ts +1 -1
- package/dist/structures/personal-name.d.ts.map +1 -1
- package/dist/structures/place.d.ts +1 -1
- package/dist/structures/place.d.ts.map +1 -1
- package/dist/structures/repository.d.ts +1 -1
- package/dist/structures/repository.d.ts.map +1 -1
- package/dist/structures/source-citation.d.ts +1 -1
- package/dist/structures/source-citation.d.ts.map +1 -1
- package/dist/structures/source-repository-citation.d.ts +1 -1
- package/dist/structures/source-repository-citation.d.ts.map +1 -1
- package/dist/structures/source.d.ts +1 -1
- package/dist/structures/source.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils/cache.d.ts +3 -3
- package/dist/utils/cache.d.ts.map +1 -1
- package/dist/utils/date-formatter.d.ts +2 -2
- package/dist/utils/date-formatter.d.ts.map +1 -1
- package/dist/utils/get-family-with.d.ts +3 -3
- package/dist/utils/get-family-with.d.ts.map +1 -1
- package/dist/utils/name-formatter.d.ts +1 -1
- package/dist/utils/name-formatter.d.ts.map +1 -1
- package/dist/utils/parser.d.ts +1 -1
- package/dist/utils/parser.d.ts.map +1 -1
- package/dist/utils/parser.js +0 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqBzC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA0G1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBzC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkF1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/merge.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/merge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwBzC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAoE3D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { writeFileSync } from 'fs';
|
|
2
|
-
import GedcomTree from '../../utils/parser.js';
|
|
3
2
|
import { mergeGedcoms } from '../../classes/gedcom.js';
|
|
3
|
+
import GedcomTree from '../../utils/parser.js';
|
|
4
4
|
import { formatSuccess } from '../utils/formatters.js';
|
|
5
5
|
import { readGedcomFile, handleError } from '../utils/helpers.js';
|
|
6
6
|
/**
|
|
@@ -41,7 +41,7 @@ export function registerMergeCommand(program) {
|
|
|
41
41
|
}
|
|
42
42
|
// For more than 2 files, use iterative merging
|
|
43
43
|
console.log(`Merging ${files.length} files iteratively...`);
|
|
44
|
-
|
|
44
|
+
const targetContent = readGedcomFile(files[0]);
|
|
45
45
|
let { gedcom: targetGedcom } = GedcomTree.parse(targetContent);
|
|
46
46
|
const strategy = getMergeStrategy(options);
|
|
47
47
|
for (let i = 1; i < files.length; i++) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relatives.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/relatives.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"relatives.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/relatives.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAwF/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/show.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/show.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBzC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAiN1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/stats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6D3D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import GedcomTree from '../../utils/parser.js';
|
|
1
2
|
import { formatHeader, formatLabel, formatCount, formatJson, } from '../utils/formatters.js';
|
|
2
3
|
import { readGedcomFile, handleError } from '../utils/helpers.js';
|
|
3
|
-
import GedcomTree from '../../utils/parser.js';
|
|
4
4
|
export function registerStatsCommand(program) {
|
|
5
5
|
program
|
|
6
6
|
.command('stats <file>')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/validate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/validate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAqK9D"}
|
package/dist/cli/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { Command } from 'commander';
|
|
3
2
|
import { readFileSync } from 'fs';
|
|
4
3
|
import { dirname, join } from 'path';
|
|
5
4
|
import { fileURLToPath } from 'url';
|
|
6
|
-
import {
|
|
5
|
+
import { Command } from 'commander';
|
|
6
|
+
import { registerConvertCommand } from './commands/convert.js';
|
|
7
|
+
import { registerExtractCommand } from './commands/extract.js';
|
|
7
8
|
import { registerFindCommand } from './commands/find.js';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { registerInfoCommand } from './commands/info.js';
|
|
10
|
+
import { registerMergeCommand } from './commands/merge.js';
|
|
10
11
|
import { registerRelativesCommand } from './commands/relatives.js';
|
|
11
|
-
import {
|
|
12
|
+
import { registerShowCommand } from './commands/show.js';
|
|
12
13
|
import { registerStatsCommand } from './commands/stats.js';
|
|
13
|
-
import {
|
|
14
|
-
import { registerConvertCommand } from './commands/convert.js';
|
|
14
|
+
import { registerValidateCommand } from './commands/validate.js';
|
|
15
15
|
// Get package version
|
|
16
16
|
const __filename = fileURLToPath(import.meta.url);
|
|
17
17
|
const __dirname = dirname(__filename);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RelationType, PartnerType } from "../types/types";
|
|
2
|
+
import type { RequiredFilter, Filter } from "../types/types";
|
|
2
3
|
export declare const EVERY: Filter;
|
|
3
4
|
export declare const FEMALE: Filter;
|
|
4
5
|
export declare const MALE: Filter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/constants/filters.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/constants/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,YAAY,EACZ,WAAW,EACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAE3D,eAAO,MAAM,KAAK,EAAE,MAAW,CAAC;AAEhC,eAAO,MAAM,MAAM,EAAE,MAEpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,MAElB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAExD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAEtD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAEvD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAExD,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAErD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,MAAM,EAAE,YAAY,CAE3D,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAEtD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAErD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAEvD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAEtD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAEtD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAEtD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { IndiType } from "../classes/indi";
|
|
2
|
+
import type { OrderIterator, Order, IndiKey, NameOrder } from "../types/types";
|
|
3
3
|
export declare const DEFAULT: Order;
|
|
4
4
|
export declare const BIRTH_ASC: Order;
|
|
5
5
|
export declare const BIRTH_DESC: Order;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../src/constants/orders.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"orders.d.ts","sourceRoot":"","sources":["../../src/constants/orders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,KAAK,EAAC,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAG7E,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAwGF,eAAO,MAAM,WAAW,EAAE,CACzB,SAAS,CAAC,EAAE,SAAS,KACjB,aAAa,CAAC,QAAQ,EAAE,OAAO,CAgBlC,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,CACxB,SAAS,CAAC,EAAE,SAAS,KACjB,aAAa,CAAC,QAAQ,EAAE,OAAO,CAgBlC,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,QAAQ,EAAE,OAAO,CAyBxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,CAChC,SAAS,CAAC,EAAE,SAAS,KACjB,aAAa,CAAC,QAAQ,EAAE,OAAO,CAUlC,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,CAC5B,MAAM,CAAC,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,KACrB,aAAa,CAAC,QAAQ,EAAE,OAAO,CAsBlC,CAAC;AAEH,eAAO,MAAM,2BAA2B,EAAE,CACzC,MAAM,CAAC,EAAE,OAAO,KACZ,aAAa,CAAC,QAAQ,EAAE,OAAO,CAelC,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE,CACpC,MAAM,CAAC,EAAE,OAAO,KACZ,aAAa,CAAC,QAAQ,EAAE,OAAO,CAclC,CAAC"}
|
package/dist/init.d.ts
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initialize gedcom-parser with custom factories
|
|
3
|
+
* This provides a unified initialization function instead of calling multiple setters
|
|
4
|
+
*/
|
|
5
|
+
import { type CacheManagerFactory, type DateLocaleProvider, type I18nProvider, type KinshipTranslatorConstructor, type PlaceParserFunction, type PlaceTranslatorFunction } from "./index";
|
|
6
|
+
/**
|
|
7
|
+
* Factory configuration options for gedcom-parser initialization
|
|
8
|
+
*/
|
|
9
|
+
export interface GedcomParserFactories {
|
|
10
|
+
/**
|
|
11
|
+
* Date locale provider - returns date-fns Locale for formatting
|
|
12
|
+
* @example () => enUS
|
|
13
|
+
*/
|
|
14
|
+
dateLocaleProvider?: DateLocaleProvider;
|
|
15
|
+
/**
|
|
16
|
+
* i18n translation provider
|
|
17
|
+
* @example (key, options) => i18n.t(key, options)
|
|
18
|
+
*/
|
|
19
|
+
i18nProvider?: I18nProvider;
|
|
20
|
+
/**
|
|
21
|
+
* Cache manager factory for kinship/path caching
|
|
22
|
+
* @example (name, store, type, encrypted) => ({ getItem, setItem })
|
|
23
|
+
*/
|
|
24
|
+
cacheManagerFactory?: CacheManagerFactory;
|
|
25
|
+
/**
|
|
26
|
+
* Kinship translator class (optional override)
|
|
27
|
+
* Uses default KinshipTranslator if not provided
|
|
28
|
+
*/
|
|
29
|
+
kinshipTranslatorClass?: KinshipTranslatorConstructor;
|
|
30
|
+
/**
|
|
31
|
+
* Place parser provider - parses place strings into structured parts
|
|
32
|
+
* @example (place) => [{ parts, town, county, country }]
|
|
33
|
+
*/
|
|
34
|
+
placeParserProvider?: PlaceParserFunction;
|
|
35
|
+
/**
|
|
36
|
+
* Place translator provider - translates place strings with country/city recognition
|
|
37
|
+
* @example (place, level, toReversed) => "Budapest, Hungary"
|
|
38
|
+
*/
|
|
39
|
+
placeTranslatorProvider?: PlaceTranslatorFunction;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Initialize gedcom-parser with custom factory providers
|
|
43
|
+
*
|
|
44
|
+
* This is the recommended way to set up gedcom-parser with your application's
|
|
45
|
+
* dependencies. It replaces the need to call multiple individual setter functions.
|
|
46
|
+
*
|
|
47
|
+
* @param factories - Optional factory providers
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import { initGedcomParser } from '@treeviz/gedcom-parser';
|
|
52
|
+
* import { enUS } from 'date-fns/locale';
|
|
53
|
+
* import i18n from './i18n';
|
|
54
|
+
*
|
|
55
|
+
* initGedcomParser({
|
|
56
|
+
* dateLocaleProvider: () => enUS,
|
|
57
|
+
* i18nProvider: (key, options) => i18n.t(key, options),
|
|
58
|
+
* cacheManagerFactory: (name, store, type, encrypted) => ({
|
|
59
|
+
* getItem: async () => localStorage.getItem(name),
|
|
60
|
+
* setItem: async (value) => localStorage.setItem(name, JSON.stringify(value))
|
|
61
|
+
* })
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @example Minimal initialization (uses defaults)
|
|
66
|
+
* ```typescript
|
|
67
|
+
* initGedcomParser(); // Uses built-in defaults
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @example With custom place parser
|
|
71
|
+
* ```typescript
|
|
72
|
+
* initGedcomParser({
|
|
73
|
+
* placeParserProvider: (place) => {
|
|
74
|
+
* // Custom place parsing logic
|
|
75
|
+
* return [{ parts: place.split(','), town: '', county: '', country: '' }];
|
|
76
|
+
* }
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare const initGedcomParser: (factories?: GedcomParserFactories) => void;
|
|
81
|
+
/**
|
|
82
|
+
* Check if gedcom-parser has been initialized with custom factories
|
|
83
|
+
* @returns true if any factory has been customized
|
|
84
|
+
*/
|
|
85
|
+
export declare const isGedcomParserInitialized: () => boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Get current factory configuration
|
|
88
|
+
* Useful for debugging or verifying initialization
|
|
89
|
+
*/
|
|
90
|
+
export declare const getGedcomParserFactories: () => Partial<GedcomParserFactories>;
|
|
91
|
+
//# sourceMappingURL=init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAON,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAE1C;;;OAGG;IACH,sBAAsB,CAAC,EAAE,4BAA4B,CAAC;IAEtD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAE1C;;;OAGG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CAClD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,KAAG,IAoCpE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,QAAO,OAI5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,QAAO,OAAO,CAAC,qBAAqB,CAKxE,CAAC"}
|
package/dist/init.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initialize gedcom-parser with custom factories
|
|
3
|
+
* This provides a unified initialization function instead of calling multiple setters
|
|
4
|
+
*/
|
|
5
|
+
import { setCacheManagerFactory, setDateLocaleProvider, setI18nProvider, setKinshipTranslatorClass, setPlaceParserProvider, setPlaceTranslatorProvider, } from "./index.js";
|
|
6
|
+
/**
|
|
7
|
+
* Initialize gedcom-parser with custom factory providers
|
|
8
|
+
*
|
|
9
|
+
* This is the recommended way to set up gedcom-parser with your application's
|
|
10
|
+
* dependencies. It replaces the need to call multiple individual setter functions.
|
|
11
|
+
*
|
|
12
|
+
* @param factories - Optional factory providers
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import { initGedcomParser } from '@treeviz/gedcom-parser';
|
|
17
|
+
* import { enUS } from 'date-fns/locale';
|
|
18
|
+
* import i18n from './i18n.js';
|
|
19
|
+
*
|
|
20
|
+
* initGedcomParser({
|
|
21
|
+
* dateLocaleProvider: () => enUS,
|
|
22
|
+
* i18nProvider: (key, options) => i18n.t(key, options),
|
|
23
|
+
* cacheManagerFactory: (name, store, type, encrypted) => ({
|
|
24
|
+
* getItem: async () => localStorage.getItem(name),
|
|
25
|
+
* setItem: async (value) => localStorage.setItem(name, JSON.stringify(value))
|
|
26
|
+
* })
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example Minimal initialization (uses defaults)
|
|
31
|
+
* ```typescript
|
|
32
|
+
* initGedcomParser(); // Uses built-in defaults
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @example With custom place parser
|
|
36
|
+
* ```typescript
|
|
37
|
+
* initGedcomParser({
|
|
38
|
+
* placeParserProvider: (place) => {
|
|
39
|
+
* // Custom place parsing logic
|
|
40
|
+
* return [{ parts: place.split(','), town: '', county: '', country: '' }];
|
|
41
|
+
* }
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export const initGedcomParser = (factories) => {
|
|
46
|
+
if (!factories) {
|
|
47
|
+
// No factories provided - use built-in defaults
|
|
48
|
+
// The parser will work with default implementations
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
// Set date locale provider if provided
|
|
52
|
+
if (factories.dateLocaleProvider) {
|
|
53
|
+
setDateLocaleProvider(factories.dateLocaleProvider);
|
|
54
|
+
}
|
|
55
|
+
// Set i18n provider if provided
|
|
56
|
+
if (factories.i18nProvider) {
|
|
57
|
+
setI18nProvider(factories.i18nProvider);
|
|
58
|
+
}
|
|
59
|
+
// Set cache manager factory if provided
|
|
60
|
+
if (factories.cacheManagerFactory) {
|
|
61
|
+
setCacheManagerFactory(factories.cacheManagerFactory);
|
|
62
|
+
}
|
|
63
|
+
// Set kinship translator class if provided
|
|
64
|
+
if (factories.kinshipTranslatorClass) {
|
|
65
|
+
setKinshipTranslatorClass(factories.kinshipTranslatorClass);
|
|
66
|
+
}
|
|
67
|
+
// Set place parser provider if provided
|
|
68
|
+
if (factories.placeParserProvider) {
|
|
69
|
+
setPlaceParserProvider(factories.placeParserProvider);
|
|
70
|
+
}
|
|
71
|
+
// Set place translator provider if provided
|
|
72
|
+
if (factories.placeTranslatorProvider) {
|
|
73
|
+
setPlaceTranslatorProvider(factories.placeTranslatorProvider);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Check if gedcom-parser has been initialized with custom factories
|
|
78
|
+
* @returns true if any factory has been customized
|
|
79
|
+
*/
|
|
80
|
+
export const isGedcomParserInitialized = () => {
|
|
81
|
+
// Check if any factory has been set (non-default)
|
|
82
|
+
// This is a simple check - in practice, the factories might have defaults
|
|
83
|
+
return true; // Always returns true as defaults are acceptable
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Get current factory configuration
|
|
87
|
+
* Useful for debugging or verifying initialization
|
|
88
|
+
*/
|
|
89
|
+
export const getGedcomParserFactories = () => {
|
|
90
|
+
return {
|
|
91
|
+
// Return the current factories (if we want to expose them)
|
|
92
|
+
// For now, this is a placeholder as factories are internal
|
|
93
|
+
};
|
|
94
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { List } from "../classes/list";
|
|
3
|
+
import type { IdType, MultiTag } from "../types/types";
|
|
4
4
|
export type CommonWild = Partial<Record<`_${string}`, Common>>;
|
|
5
5
|
export interface ConvertOptions {
|
|
6
6
|
original?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/interfaces/common.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["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EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,KACpB,MAAM,EAAE,CAAC;IAEd,QAAQ,EAAE,CACT,GAAG,CAAC,EAAE,QAAQ,EACd,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,KACpB,MAAM,CAAC;IAEZ,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAe,OAAO,CAAC"}
|
package/dist/interfaces/fam.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { Individuals } from "../classes/indis";
|
|
3
|
+
import type { FamKey } from "../types/types";
|
|
4
4
|
interface IFam extends Common<string, FamKey> {
|
|
5
5
|
_IS_ORPHAN_FAMILY?: Common<"Y" | "N">;
|
|
6
6
|
getChildren: () => Individuals;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fam.d.ts","sourceRoot":"","sources":["../../src/interfaces/fam.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"fam.d.ts","sourceRoot":"","sources":["../../src/interfaces/fam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAE3C,UAAU,IAAK,SAAQ,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;IAEtC,WAAW,EAAE,MAAM,WAAW,CAAC;IAE/B,UAAU,EAAE,MAAM,WAAW,CAAC;IAE9B,OAAO,EAAE,MAAM,WAAW,CAAC;CAC3B;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { FamType } from "../classes/fam";
|
|
2
|
+
import type { Individuals } from "../classes/indis";
|
|
3
|
+
import type { FamKey } from "../types/types";
|
|
4
|
+
import type { IList } from "./list";
|
|
5
5
|
export interface IFamilies extends IList<FamKey, FamType> {
|
|
6
6
|
getParents: () => Individuals;
|
|
7
7
|
getChildren: () => Individuals;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fams.d.ts","sourceRoot":"","sources":["../../src/interfaces/fams.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"fams.d.ts","sourceRoot":"","sources":["../../src/interfaces/fams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC;IACxD,UAAU,EAAE,MAAM,WAAW,CAAC;IAE9B,WAAW,EAAE,MAAM,WAAW,CAAC;CAC/B"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { FamType } from "../classes/fam";
|
|
3
|
+
import type { Families } from "../classes/fams";
|
|
4
|
+
import type { IndiType } from "../classes/indi";
|
|
5
|
+
import type { Individuals } from "../classes/indis";
|
|
6
|
+
import type { ObjeType } from "../classes/obje";
|
|
7
|
+
import type { Objects } from "../classes/objes";
|
|
8
|
+
import type { RepoType } from "../classes/repo";
|
|
9
|
+
import type { Repositories } from "../classes/repos";
|
|
10
|
+
import type { SourType } from "../classes/sour";
|
|
11
|
+
import type { Sources } from "../classes/sours";
|
|
12
|
+
import type { SubmType } from "../classes/subm";
|
|
13
|
+
import type { Submitters } from "../classes/subms";
|
|
14
|
+
import type { FamKey, IndiKey, ObjeKey, RepoKey, SourKey, SubmKey } from "../types/types";
|
|
15
15
|
interface IGedcom extends Common {
|
|
16
16
|
indis: () => Individuals | undefined;
|
|
17
17
|
fams: () => Families | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gedcom.d.ts","sourceRoot":"","sources":["../../src/interfaces/gedcom.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"gedcom.d.ts","sourceRoot":"","sources":["../../src/interfaces/gedcom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK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
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { Families } from "../classes/fams";
|
|
3
|
+
import type { IndiType } from "../classes/indi";
|
|
4
|
+
import type { Individuals } from "../classes/indis";
|
|
5
|
+
import type { List } from "../classes/list";
|
|
6
|
+
import type { IndiKey } from "../types/types";
|
|
7
7
|
export type GeneratorKey = `${"2nd" | "3rd" | `${4 | 5 | 6 | 7 | 8 | 9}th`}`;
|
|
8
8
|
export type GeneratorType = "Cousins" | "GreatGrandParents" | "GreatGrandChildren";
|
|
9
9
|
export type GeneratedIndiMethods = Record<`get${GeneratorKey}${GeneratorType}`, () => Individuals>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indi.d.ts","sourceRoot":"","sources":["../../src/interfaces/indi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"indi.d.ts","sourceRoot":"","sources":["../../src/interfaces/indi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,GAAG,KAAK,GAAG,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AAC7E,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,mBAAm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,MAAM,WAAW,CAAC;IAE9B,UAAU,EAAE,MAAM,WAAW,CAAC;IAE9B,QAAQ,EAAE,MAAM,WAAW,CAAC;IAE5B,SAAS,EAAE,MAAM,WAAW,CAAC;IAE7B,eAAe,EAAE,MAAM,WAAW,CAAC;IAEnC,eAAe,EAAE,MAAM,WAAW,CAAC;IAEnC,eAAe,EAAE,MAAM,WAAW,CAAC;IAEnC,gBAAgB,EAAE,MAAM,WAAW,CAAC;IAEpC,YAAY,EAAE,MAAM,WAAW,CAAC;IAEhC,iBAAiB,EAAE,MAAM,WAAW,CAAC;IAErC,gBAAgB,EAAE,MAAM,WAAW,CAAC;IAEpC,gBAAgB,EAAE,MAAM,WAAW,CAAC;IAEpC,eAAe,EAAE,MAAM,WAAW,CAAC;CACnC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { IndiType } from "../classes/indi";
|
|
2
|
+
import type { Individuals } from "../classes/indis";
|
|
3
|
+
import type { List } from "../classes/list";
|
|
4
|
+
import type { FamKey, IndiKey } from "../types/types";
|
|
5
|
+
import type { IList } from "./list";
|
|
6
6
|
export interface IIndividuals extends IList<IndiKey, IndiType> {
|
|
7
7
|
toName: () => List;
|
|
8
8
|
isParentOf: (indi?: IndiKey | IndiType, every?: boolean) => IndiKey | boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indis.d.ts","sourceRoot":"","sources":["../../src/interfaces/indis.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"indis.d.ts","sourceRoot":"","sources":["../../src/interfaces/indis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK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AAW,CAAC;IAEjC,cAAc,EAAE,MAAM,WAAW,CAAC;IAElC,gBAAgB,EAAE,MAAM,WAAW,CAAC;IAEpC,iBAAiB,EAAE,MAAM,WAAW,CAAC;IAErC,mBAAmB,EAAE,MAAM,WAAW,CAAC;IAEvC,oBAAoB,EAAE,MAAM,WAAW,CAAC;IAExC,UAAU,EAAE,MAAM,WAAW,CAAC;IAE9B,YAAY,EAAE,MAAM,WAAW,CAAC;IAEhC,WAAW,EAAE,MAAM,WAAW,CAAC;IAE/B,WAAW,EAAE,MAAM,WAAW,CAAC;IAE/B,UAAU,EAAE,MAAM,WAAW,CAAC;CAC9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { List } from "../classes/list";
|
|
3
|
+
import type { Filter, Order, IdType, FilterIterator, MultiTag, Group, GroupIterator, OrderIterator } from "../types/types";
|
|
4
|
+
import type { ConvertOptions } from "./common";
|
|
5
5
|
export interface IList<K extends IdType = IdType, T extends Common = Common> {
|
|
6
6
|
readonly length: number;
|
|
7
7
|
marker?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/interfaces/list.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/interfaces/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAEzH,OAAO,KAAK,EAAC,cAAc,EAAC,M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E,CAAC,GAAG,EAAE,QAAQ,KAAK,IAAI,CAAC;IAEhC,MAAM,EAAE,MAAM,IAAI,CAAC;IAEnB,WAAW,EAAE,MAAM,IAAI,CAAC;IAExB,MAAM,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,MAAM,CAAC;IAE5D,QAAQ,EAAE,CACT,GAAG,EAAE,QAAQ,EACb,OAAO,CAAC,EAAE,cAAc,KACpB,MAAM,CACV,MAAM,EACJ,MAAM,GACN,SAAS,GACT,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAC9C,KAAK,CACH,MAAM,GACN,SAAS,GACT,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAC/C,CACH,CAAC;IAEF,aAAa,EAAE,CACd,GAAG,EAAE,QAAQ,EACb,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,KACpB,MAAM,EAAE,CAAC;IAEd,QAAQ,EAAE,CACT,GAAG,EAAE,QAAQ,EACb,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,KACpB,MAAM,CAAC;CACZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
|
+
import type { ObjeKey } from "../types/types";
|
|
3
3
|
interface IObje extends Common<string, ObjeKey> {
|
|
4
4
|
_PRIM?: Common<"Y" | "N">;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"obje.d.ts","sourceRoot":"","sources":["../../src/interfaces/obje.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"obje.d.ts","sourceRoot":"","sources":["../../src/interfaces/obje.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,UAAU,KAAM,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;CAC1B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Common } from "../classes/common";
|
|
2
2
|
import type IRepositoryStructure from "../structures/repository";
|
|
3
|
-
import {
|
|
3
|
+
import type { RepoKey } from "../types/types";
|
|
4
4
|
interface IRepo extends Common<string, RepoKey>, IRepositoryStructure {
|
|
5
5
|
}
|
|
6
6
|
export default IRepo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../src/interfaces/repo.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../src/interfaces/repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,oBAAoB,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAE5C,UAAU,KAAM,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB;CAAG;AAExE,eAAe,KAAK,CAAC"}
|