summaryrefslogtreecommitdiff
path: root/Sora/Data/Booru/Post/BooruPost.swift
blob: 458faa6c1c2acc951b6046e0acc21b223e6c1593 (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
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: BooruRating
  let tags: [String]
  let width: Int
  let change: String?
  let md5: String
  let creatorID: String
  let authorID: String?
  let createdAt: Date
  let status: String
  let source: String
  let previewWidth: Int
  let previewHeight: Int
}