-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
117 lines (113 loc) · 4.16 KB
/
types.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
117
export type IconProps = {
className?: string;
height?: number | string;
};
export type Currency = {
name: string;
symbol: string;
};
export type CountryName = {
common: string;
official: string;
nativeName: Record<string, { official: string; common: string }>;
};
export type Country = {
borders: string[];
capital: string[];
cca3: string;
currencies: Record<string, Currency>;
flags: {
png: string;
svg: string;
alt: string;
};
languages: Record<string, string>;
name: CountryName;
population: string;
region: string;
subregion: string;
tld: string[];
};
[
{
name: {
common: "Colombia",
official: "Republic of Colombia",
nativeName: {
spa: { official: "República de Colombia", common: "Colombia" },
},
},
tld: [".co"],
cca2: "CO",
ccn3: "170",
cca3: "COL",
cioc: "COL",
independent: true,
status: "officially-assigned",
unMember: true,
currencies: { COP: { name: "Colombian peso", symbol: "$" } },
idd: { root: "+5", suffixes: ["7"] },
capital: ["Bogotá"],
altSpellings: ["CO", "Republic of Colombia", "República de Colombia"],
region: "Americas",
subregion: "South America",
languages: { spa: "Spanish" },
translations: {
ara: { official: "جمهورية كولومبيا", common: "كولومبيا" },
bre: { official: "Republik Kolombia", common: "Kolombia" },
ces: { official: "Kolumbijská republika", common: "Kolumbie" },
cym: { official: "Gweriniaeth Colombia", common: "Colombia" },
deu: { official: "Republik Kolumbien", common: "Kolumbien" },
est: { official: "Colombia Vabariik", common: "Colombia" },
fin: { official: "Kolumbian tasavalta", common: "Kolumbia" },
fra: { official: "République de Colombie", common: "Colombie" },
hrv: { official: "Republika Kolumbija", common: "Kolumbija" },
hun: { official: "Kolumbiai Köztársaság", common: "Kolumbia" },
ita: { official: "Repubblica di Colombia", common: "Colombia" },
jpn: { official: "コロンビア共和国", common: "コロンビア" },
kor: { official: "콜롬비아 공화국", common: "콜롬비아" },
nld: { official: "Republiek Colombia", common: "Colombia" },
per: { official: "جمهوری کلمبیا", common: "کلمبیا" },
pol: { official: "Republika Kolumbii", common: "Kolumbia" },
por: { official: "República da Colômbia", common: "Colômbia" },
rus: { official: "Республика Колумбия", common: "Колумбия" },
slk: { official: "Kolumbijská republika", common: "Kolumbia" },
spa: { official: "República de Colombia", common: "Colombia" },
srp: { official: "Република Колумбија", common: "Колумбија" },
swe: { official: "Republiken Colombia", common: "Colombia" },
tur: { official: "Kolombiya Cumhuriyeti", common: "Kolombiya" },
urd: { official: "جمہوریہ کولمبیا", common: "کولمبیا" },
zho: { official: "哥伦比亚共和国", common: "哥伦比亚" },
},
latlng: [4.0, -72.0],
landlocked: false,
borders: ["BRA", "ECU", "PAN", "PER", "VEN"],
area: 1141748.0,
demonyms: {
eng: { f: "Colombian", m: "Colombian" },
fra: { f: "Colombienne", m: "Colombien" },
},
flag: "\uD83C\uDDE8\uD83C\uDDF4",
maps: {
googleMaps: "https://goo.gl/maps/RdwTG8e7gPwS62oR6",
openStreetMaps: "https://www.openstreetmap.org/relation/120027",
},
population: 50882884,
gini: { "2019": 51.3 },
fifa: "COL",
car: { signs: ["CO"], side: "right" },
timezones: ["UTC-05:00"],
continents: ["South America"],
flags: {
png: "https://flagcdn.com/w320/co.png",
svg: "https://flagcdn.com/co.svg",
alt: "The flag of Colombia is composed of three horizontal bands of yellow, blue and red, with the yellow band twice the height of the other two bands.",
},
coatOfArms: {
png: "https://mainfacts.com/media/images/coats_of_arms/co.png",
svg: "https://mainfacts.com/media/images/coats_of_arms/co.svg",
},
startOfWeek: "monday",
capitalInfo: { latlng: [4.71, -74.07] },
},
];