aboutsummaryrefslogtreecommitdiff
path: root/src/models/FetchedCountry.model.ts
diff options
context:
space:
mode:
authorFridon <[email protected]>2022-06-23 00:01:12 +0400
committerFridon <[email protected]>2022-06-23 00:01:12 +0400
commit7d72153d68ea4c682266f0301aa45b4e3a9e45a9 (patch)
treeba2b4b8937d0c7785a468fae18880762a5e6b484 /src/models/FetchedCountry.model.ts
parentbe829dad070205555c514ff497fcf2eae355a6e2 (diff)
downloadcountryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.tar.xz
countryfetch-7d72153d68ea4c682266f0301aa45b4e3a9e45a9.zip
big refactor + raw option
Diffstat (limited to 'src/models/FetchedCountry.model.ts')
-rw-r--r--src/models/FetchedCountry.model.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/models/FetchedCountry.model.ts b/src/models/FetchedCountry.model.ts
new file mode 100644
index 0000000..be636ff
--- /dev/null
+++ b/src/models/FetchedCountry.model.ts
@@ -0,0 +1,9 @@
+export interface FetchedCountry {
+ country: string;
+ flag: string;
+ languages: string;
+ capital: string;
+ region: string;
+ population: number;
+ currencies: string;
+}