aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <marcin@zelent.net>2021-01-08 19:47:37 +0100
committerMarcin Zelent <marcin@zelent.net>2021-01-08 19:47:37 +0100
commit628632ff5092f1e3cf6c968d9bdfbd9a24f59541 (patch)
treefeddb4e82267bba700a15a6a7091f922f48cae40 /models/Photo.ts
Initial commit
Diffstat (limited to 'models/Photo.ts')
-rw-r--r--models/Photo.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/models/Photo.ts b/models/Photo.ts
new file mode 100644
index 0000000..f40d492
--- /dev/null
+++ b/models/Photo.ts
@@ -0,0 +1,31 @@
+export default interface Photo {
+ /**
+ * Name of the photo or the file.
+ */
+ name: string;
+
+ /**
+ * Path to the photo.
+ */
+ src: string;
+
+ /**
+ * Latitude where the photo was taken.
+ */
+ latitude: number;
+
+ /**
+ * Logitude where the photo was taken.
+ */
+ longitude: number;
+
+ /**
+ * Date and time when the photo was taken.
+ */
+ time: string;
+
+ /**
+ * Photo thumnnail.
+ */
+ thumbnail: string;
+}