UNPKG

read-gedcom

Version:
36 lines 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionHeader = void 0; const internal_1 = require("./internal"); const mixin_1 = require("./mixin"); class SelectionHeader extends (0, mixin_1.SelectionWithNoteMixin)(internal_1.SelectionAny) { getGedcomFile() { return this.get("GEDC" /* Tag.Gedcom */, null, internal_1.SelectionGedcomFile); } getCharacterEncoding() { return this.get("CHAR" /* Tag.Character */); } getSourceSystem() { return this.get("SOUR" /* Tag.Source */, null, internal_1.SelectionGedcomSource); } getDestinationSystem() { return this.get("DEST" /* Tag.Destination */); } getFileCreationDate() { return this.get("DATE" /* Tag.Date */, null, internal_1.SelectionDateExact); } getLanguage() { return this.get("LANG" /* Tag.Language */); } getSubmitterReference() { return this.get("SUBM" /* Tag.Submitter */, null, internal_1.SelectionSubmitterReference); } getFilename() { return this.get("FILE" /* Tag.File */); } getCopyright() { return this.get("COPR" /* Tag.Copyright */); } } exports.SelectionHeader = SelectionHeader; //# sourceMappingURL=SelectionHeader.js.map