aboutsummaryrefslogtreecommitdiff
path: root/src/models/fetched-country.model.ts
diff options
context:
space:
mode:
authorPridon Tetradze <[email protected]>2022-06-26 13:46:59 +0400
committerGitHub <[email protected]>2022-06-26 13:46:59 +0400
commit2e058526d896ab4ee5173ceb80d1248ac08ff594 (patch)
tree9550b812ea66f069396fef043cff1d10aeaec859 /src/models/fetched-country.model.ts
parent8626e2d8e258e11837d27a1e99ef3277e7dfdf3b (diff)
downloadcountryfetch-2e058526d896ab4ee5173ceb80d1248ac08ff594.tar.xz
countryfetch-2e058526d896ab4ee5173ceb80d1248ac08ff594.zip
Flag ASCII art, remove tabularization & refactor (#3)
* initial flag image converter * add flags caching * refactor, remove tabularization, make flag ASCII optional. * update readme * update readme
Diffstat (limited to 'src/models/fetched-country.model.ts')
-rw-r--r--src/models/fetched-country.model.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/models/fetched-country.model.ts b/src/models/fetched-country.model.ts
new file mode 100644
index 0000000..a53482e
--- /dev/null
+++ b/src/models/fetched-country.model.ts
@@ -0,0 +1,14 @@
+export interface FetchedCountry {
+ country: string;
+ latlng: string;
+ flag: string;
+ languages: string;
+ capital: string;
+ capitalLatLng: string;
+ region: string;
+ subregion: string;
+ population: string;
+ currencies: string;
+ timezones: string;
+ tld: string;
+}