-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
24 lines (19 loc) · 800 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export type GedcomLinkedJs = object;
export type GedcomJson = object;
export type GedcomString = string;
/** Takes a linked data structure (javascript runtime object) and returns a
* GEDCOM file string in utf8, BOM included per GEDCOM spec */
export function linkedJsToGedcom(_gedcomJs: GedcomLinkedJs): GedcomString {
throw new Error('TODO');
}
/** Takes a json data structure populated with id links and returns a GEDCOM
* file string in utf8, BOM included per GEDCOM spec */
export function jsonToGedcom(_gedcomJson: GedcomJson): GedcomString {
throw new Error('TODO');
}
export function gedcomToJson(_gedcomFile: GedcomString): GedcomJson {
throw new Error('TODO');
}
export function gedcomToLinkedJs(_gedcomFile: GedcomString): GedcomLinkedJs {
throw new Error('TODO');
}