summaryrefslogtreecommitdiff
path: root/Sora/Data/Booru/BooruPost.swift
blob: 59b895252fe074ca4ec1e850e4824bcff2cdfabd (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
26
27
import Foundation

struct BooruPost: Identifiable, Hashable {
    let id: String
    let height: Int
    let score: String
    let fileURL: URL
    let parentID: String
    let sampleURL: URL
    let sampleWidth: Int
    let sampleHeight: Int
    let previewURL: URL
    let rating: String
    let tags: [String]
    let width: Int
    let change: String
    let md5: String
    let creatorID: String
    let hasChildren: Bool
    let createdAt: Date
    let status: String
    let source: String
    let hasNotes: Bool
    let hasComments: Bool
    let previewWidth: Int
    let previewHeight: Int
}