-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgothomist.d.ts
70 lines (62 loc) · 1.23 KB
/
gothomist.d.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
export type LDJSONRoot = LDJSONGraphRoot | Graph
interface LDJSONGraphRoot {
"@context": string
"@graph": Graph[]
}
export interface Graph {
"@type": string
mainEntityOfPage?: string
image?: Image
headline?: string
alternativeHeadline?: string[]
description?: string
datePublished?: string
dateModified?: string
author?: Author[] | Author | string
publisher?: Publisher
isAccessibleForFree?: boolean
itemListElement?: ItemListElement[]
}
export interface Image {
"@type": string
url: string
width: number
height: number
caption: string
}
export interface Author {
"@type": string
name: string
email: string
jobTitle: string
image: Image2
url: string
sameAs: string
}
export interface Image2 {
"@type": string
url: string
height: number
width: number
caption: string
}
export interface Publisher {
"@type": string
name: string
logo: Logo
sameAs: string
url: string
diversityPolicy: string
}
export interface Logo {
"@type": string
url: string
width: string
height: string
}
export interface ItemListElement {
"@type": string
position: number
name: string
item: string
}