aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayItems.swift
blob: f1a1089c5fab7c1cb2adf5746f9629fe32eeb40e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}