UNPKG

460 BTypeScriptView Raw
1type FicheTravailEmploi = {
2 date: string
3 description: string
4 intro: string
5 pubId: string
6 sections: Section[]
7 title: string
8 url: string
9}
10
11type Section = {
12 anchor: string
13 description: string
14 html: string
15 references: ReferencesMap
16 text: string
17 titre: string
18}
19
20type ReferencesMap = {
21 [key: string]: {
22 name: string
23 articles: ReferenceFTE[]
24 }
25}
26
27type ReferenceFTE = {
28 id: string
29 cid: string
30 fmt: string
31 text: string
32}