summaryrefslogtreecommitdiff
path: root/Sora/Data/MoebooruPost.swift
blob: df332ecfabe41a5d3b4eedce1d6b5926042bc156 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Foundation

struct MoebooruPost: Identifiable, Hashable {
    let id: Int
    let tags: [String]
    let createdAt: Date
    let author: String
    let source: URL?
    let score: Int
    let fileURL: URL?
    let previewURL: URL?
    let sampleURL: URL?
    let jpegURL: URL?
    let width: Int
    let height: Int
}