aboutsummaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorpridon <[email protected]>2022-06-24 19:30:47 +0400
committerpridon <[email protected]>2022-06-24 19:30:47 +0400
commit8626e2d8e258e11837d27a1e99ef3277e7dfdf3b (patch)
tree930adb4c070108adbe709b395959462983da12be /src/models
parentd8a686e743f51b20d34bf86d176c1bc1bc8f2e3c (diff)
downloadcountryfetch-8626e2d8e258e11837d27a1e99ef3277e7dfdf3b.tar.xz
countryfetch-8626e2d8e258e11837d27a1e99ef3277e7dfdf3b.zip
add top level domain, increase tabularization
Diffstat (limited to 'src/models')
-rw-r--r--src/models/FetchedCountry.model.ts1
-rw-r--r--src/models/country.model.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/models/FetchedCountry.model.ts b/src/models/FetchedCountry.model.ts
index af80281..a53482e 100644
--- a/src/models/FetchedCountry.model.ts
+++ b/src/models/FetchedCountry.model.ts
@@ -10,4 +10,5 @@ export interface FetchedCountry {
population: string;
currencies: string;
timezones: string;
+ tld: string;
}
diff --git a/src/models/country.model.ts b/src/models/country.model.ts
index 7866187..61e0dfc 100644
--- a/src/models/country.model.ts
+++ b/src/models/country.model.ts
@@ -34,4 +34,5 @@ export interface Country {
capitalInfo: {
latlng: number[];
};
+ tld: string[];
}