gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
40 lines (39 loc) • 5.68 kB
TypeScript
import { Identifier as IdentifierEnum } from "./commons/Identifier.enum";
export { Person, Sex, type PersonGedcomImportOptions } from "./commons/Person";
export { PersonNameVariant, PersonNameTranslation } from "./commons/PersonNameVariant";
export type { IndiGedcomSubLine } from "./commons/IndiGedcomSubLine";
export { IndiAttribute } from "./commons/IndiAttribute";
export { Act, Acts, ActConstructionOptions, TypeAct } from "./commons/Act";
export { GEDCOM_7_ALL_EVENT_TAGS, GEDCOM_7_EVENT_SORT_ORDER, GEDCOM_7_EVENT_TAG_SET, GEDCOM_7_PAIR_UNION_EVENT_TAGS, } from "./commons/gedcomEventTags";
export type { Gedcom7EventTag, Gedcom7PairUnionEventTag } from "./commons/gedcomEventTags";
export { DateAct, Day, Month, dateToDateLine, days, months } from "./commons/DateAct";
export type { TypeDateActSimpleQualifier } from "./commons/DateAct";
export { Place, CoordinateGPS } from "./commons/Place";
export { MultimediaFile, MultimediaFiles } from "./commons/MultimediaFile";
export type { ObjeRecord, ObjeFileEntry, ObjeFileTranslation } from "./commons/ObjeRecord";
export { primaryObjeFileUri } from "./commons/ObjeRecord";
export { Note, Notes, TypeNote } from "./commons/Note";
export { Identifier } from "./commons/Identifier.enum";
/** @deprecated Use `Identifier` instead. */
export declare const Identificator: typeof IdentifierEnum;
export { EventsByYears, ActsByYear } from "./commons/ActsByYears";
export { ReadGed } from "./import/ReadGed";
export { importGedFile, createEmptyReadGed, IMPORT_ERR_ZIP_GED_UNREADABLE, type ImportGedFileOptions, } from "./import/LoadFile";
export { ExportGedcomFile, ExportGedzipFile, type GedcomExportOptions } from "./export/GEDCOM";
export type { GedcomTransferPhase, GedcomTransferProgress, GedcomTransferProgressCallback, } from "./utils/gedcom/transferProgress";
export { createSosaMap } from "./utils/sosa/calculate-sosa";
export { remainingTypesAct } from "./utils/acts-helper/acts-helper";
/** @deprecated Use `searchPlaces` / `searchPlacesWithContext`. */
export { getCityCoordinates } from "./services/CitySearch";
export { normalizeCityKey, tidyCityDisplay, findCanonicalCityLabel, type GeocodeCandidate, type GeocodeContext, type GeocodeFetchFn, type GeocodeSearchOptions, type CoordVariant, type CityHarmonizationCluster, NOMINATIM_SEARCH_URL, defaultGeocodeUserAgent, parseCityQuery, countryLabelToIso, isoToCountryLabel, inferGeocodeContext, buildGeocodeQuery, geocodeContextWithHint, rankGeocodeCandidates, searchPlaces, searchPlacesWithContext, levenshteinDistance, citiesAreSimilar, clusterKeyForCity, similarCityKey, type SimilarCityActGroup, type GroupActsBySimilarCityOptions, type FilterActsBySimilarCityOptions, groupActsBySimilarCity, filterActsBySimilarCity, actsNeedingGeocodeForCity, findHarmonizationClustersFromActs, findHarmonizationClusters, applyCoordinatesToActs, applyGeocodeCandidateToActs, } from "./geocode";
export { resolveDatasetVersion } from "./utils/gedcom/datasetVersion";
export type { GedcomDatasetVersion } from "./utils/gedcom/datasetVersion";
export { guessMediaFormFromFile, guessMediaFormFromUri, refineGenericObjeForm, } from "./utils/gedcom/mediaFormFromUri";
export { guessMediFromForm } from "./utils/gedcom/guessMediFromForm";
export { parseStandaloneObjeBlock } from "./utils/gedcom/parseStandaloneObje";
export { formatObjeRecordBlock } from "./utils/gedcom/formatObjeRecord";
export { GEDCOM_7_EVEN_TYPE_AUDIO_INTERVIEW, GEDCOM_7_EVEN_TYPE_ORAL_HISTORY, attachAudioInterviewToAct, createAudioInterviewAct, getAudioInterviewMedia, getAudioInterviewObjeRecords, getAudioInterviewTranscription, isAudioInterviewAct, isAudioInterviewEvenType, nextObjeXrefId, primaryAudioInterviewUri, registerObjeRecord, type AudioInterviewBundle, type CreateAudioInterviewActInit, } from "./utils/gedcom/audioInterviewAct";
export { GEDCOM_LIBRARY_VERSION } from "./version";
export { extractPersonNameVariants, extractIndiAttributes } from "./utils/gedcom/extractIndiNamesAndAttributes";
export { formatPersonNameFromVariant, parsePersonName, personDisplayName, personInitialsFromPerson, personNamePartsFromPerson, sanitizeGedcomNameToken, selectPrimaryNameVariant, } from "./utils/gedcom/personName";
export { ActEdit, ActMediaEdit, ActsEdit, DateActEdit, GedcomExportOptionsEdit, IndiAttributeEdit, IndiAttributesEdit, MultimediaFileEdit, NameVariantsEdit, NoteEdit, NotesEdit, PersonEdit, PersonMediaEdit, PersonNameVariantEdit, PlaceEdit, PreservedTopLevelEdit, ReadGedEdit, assertPersonConsistent, assertReadGedConsistent, cloneAct, clonePerson, createAct, createIndiAttribute, createMarriageFamily, createNote, createPersonNameVariant, createPersonStub, editAct, editActMedia, editActs, editAudioInterviewAct, editDateAct, editGedcomExportOptions, editIndiAttribute, editIndiAttributes, editMultimediaFile, editNameVariants, editNote, editNotes, editPerson, editPersonMedia, editPersonNameVariant, editPlace, editReadGed, linkChildToFamily, nextFamilyId, removeFamilyReferencesFromDataset, addPersonToReadGed, removePersonFromReadGedByIndi, commandBlockingIssues, tryAddPersonToReadGed, tryCreateMarriageFamily, tryLinkChildToFamily, tryRemovePersonFromReadGedByIndi, tryUnlinkChildFromFamily, validateAddPersonCommand, validateCreateMarriageCommand, validateLinkChildCommand, validateUnlinkChildCommand, unlinkChildFromFamily, validatePerson, validateReadGed, type AssertConsistencyOptions, type CommandFail, type CommandOk, type CommandResult, type ConsistencySeverity, type CreateActInit, type CreatePersonStubInit, type CreateUnionFamilyOptions, type ModelConsistencyIssue, type ModelConsistencyIssueCode, type ValidatePersonContext, type ValidateReadGedOptions, } from "./edit";