-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
116 lines (108 loc) · 1.94 KB
/
index.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// Copyright (c) 2021 aasaam software development group
interface Organization {
"@context": "https://schema.org";
'@type': 'Organization';
description: string;
name: string;
url: string;
logo: string;
email: string;
telephone: string[];
foundingDate: string;
identifier: [
{
'@type': 'PropertyValue';
name: 'nationalIdentifier';
value: string;
},
{
'@type': 'PropertyValue';
name: 'economicCode';
value: string;
},
{
'@type': 'PropertyValue';
name: 'registerNumber';
value: string;
},
];
mainEntityOfPage: {
keywords: string;
};
location: {
'@type': 'Place';
additionalProperty: {
'@type': 'PropertyValue';
name: string;
value: string;
};
geo: {
'@type': 'GeoCoordinates';
latitude: number;
longitude: number;
};
};
address: {
'@type': 'PostalAddress';
addressCountry: string;
addressRegion: string;
postalCode: string;
addressLocality: string;
};
contactPoint: [
{
'@type': 'ContactPoint';
contactType: string;
email: string;
telephone: string;
},
];
sameAs: string[];
}
interface Service {
'@context': 'https://schema.org';
'@type': 'Product';
brand: {
name: string;
description: string;
},
logo: string;
image: string;
name: string;
description: string;
offers: {
'@type': 'Demand';
availability: 'https://schema.org/OnlineOnly';
url: string;
}
}
type languages = ['en', 'fa', 'ar', 'de'];
export const languages: languages;
export const Organization: {
ar: Organization,
de: Organization,
en: Organization,
fa: Organization,
};
export const Service: {
cms: {
fa: Service,
en: Service,
},
htm: {
fa: Service,
en: Service,
},
dns: {
fa: Service,
en: Service,
},
email: {
fa: Service,
en: Service,
},
sita: {
fa: Service,
en: Service,
},
};