read-gedcom
Version:
Gedcom file reader
20 lines • 708 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionGedcomSource = void 0;
const internal_1 = require("./internal");
class SelectionGedcomSource extends internal_1.SelectionAny {
getVersion() {
return this.get("VERS" /* Tag.Version */);
}
getName() {
return this.get("NAME" /* Tag.Name */);
}
getCorporation() {
return this.get("CORP" /* Tag.Corporate */, null, internal_1.SelectionCorporation);
}
getDataSource() {
return this.get("DATA" /* Tag.Data */, null, internal_1.SelectionDataSource);
}
}
exports.SelectionGedcomSource = SelectionGedcomSource;
//# sourceMappingURL=SelectionGedcomSource.js.map