From e23a8714f6cdc1b55ef96f6bc0f024af049ce299 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 20 Feb 2025 19:33:19 -0800 Subject: feat: Development commit --- Sora/Data/Booru/BooruPost.swift | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Sora/Data/Booru/BooruPost.swift (limited to 'Sora/Data/Booru/BooruPost.swift') diff --git a/Sora/Data/Booru/BooruPost.swift b/Sora/Data/Booru/BooruPost.swift new file mode 100644 index 0000000..59b8952 --- /dev/null +++ b/Sora/Data/Booru/BooruPost.swift @@ -0,0 +1,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 +} -- cgit v1.2.3