blob: 215da5e3c939e3fcf3a9d47738dc98664526ded0 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
import Foundation
struct MoebooruPost: Identifiable, Hashable {
let id: String
let tags: [String]
let createdAt: Int
let updatedAt: Int
let creatorID: String
let approverID: String
let author: String
let change: String
let source: String
let score: String
let md5: String
let fileSize: Int
let fileExtension: String
let fileURL: URL
let isShownInIndex: Bool
let previewURL: URL
let previewWidth: Int
let previewHeight: Int
let actualPreviewWidth: Int
let actualPreviewHeight: Int
let sampleURL: URL
let sampleWidth: Int
let sampleHeight: Int
let sampleFileSize: Int
let jpegURL: URL
let jpegWidth: Int
let jpegHeight: Int
let jpegFileSize: Int
let rating: String
let isRatingLocked: Bool
let hasChildren: Bool
let parentId: String
let status: String
let isPending: Bool
let width: Int
let height: Int
let isHeld: Bool
let framesPendingString: String
let framesString: String
let isNoteLocked: Bool
let lastNotedAt: Int
let lastCommentedAt: Int
}
|