summaryrefslogtreecommitdiff
path: root/Sora/Data/Booru/BooruPost.swift
blob: 7f995a32836d57dce5bb8d1f110275fc75ebe716 (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
}