aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayItems.swift
diff options
context:
space:
mode:
Diffstat (limited to 'foray/ForayItems.swift')
-rw-r--r--foray/ForayItems.swift25
1 files changed, 25 insertions, 0 deletions
diff --git a/foray/ForayItems.swift b/foray/ForayItems.swift
new file mode 100644
index 0000000..f1a1089
--- /dev/null
+++ b/foray/ForayItems.swift
@@ -0,0 +1,25 @@
+//
+// ForayItems.swift
+// foray
+//
+// Created by Nicholas Tay on 20/3/2022.
+//
+
+import Foundation
+
+enum ItemType: String, Decodable {
+ case item
+ case quest
+}
+
+struct YearSection {
+ var year: Date
+ var items: [PenguinItem]
+}
+
+struct PenguinItem: Decodable {
+ var type: ItemType
+ var releaseDate: Date
+ var id: String
+ var name: String
+}