First version

This commit is contained in:
Christoph Hagen
2024-10-14 19:22:32 +02:00
parent 7c812de089
commit 0989f06d87
51 changed files with 2477 additions and 234 deletions

View File

@ -0,0 +1,51 @@
struct FeedEntryData {
let entryId: String
let title: String?
let textAboveTitle: String
let link: Link?
let tags: [Tag]
let text: [String]
let images: [Image]
init(entryId: String, title: String?, textAboveTitle: String, link: Link?, tags: [Tag], text: [String], images: [Image]) {
self.entryId = entryId
self.title = title
self.textAboveTitle = textAboveTitle
self.link = link
self.tags = tags
self.text = text
self.images = images
}
struct Link {
let url: String
let text: String
}
struct Tag {
let name: String
let url: String
}
struct Image {
let mainImageUrl: String
let altText: String
}
}