Add local source ingest and podcasts

This commit is contained in:
Krishna Kumar
2026-07-02 01:11:03 -05:00
parent 4d875e12d6
commit f8693f4be0
18 changed files with 1044 additions and 31 deletions

View File

@@ -82,16 +82,35 @@ struct BookmarkCheck: Codable, Sendable {
struct BookmarkCreate: Codable, Sendable {
let url: String
let title: String
let description: String
let tagNames: [String]
let isArchived: Bool
let unread: Bool
let shared: Bool
enum CodingKeys: String, CodingKey {
case url, title, unread, shared
case url, title, description, unread, shared
case tagNames = "tag_names"
case isArchived = "is_archived"
}
init(
url: String,
title: String,
description: String = "",
tagNames: [String],
isArchived: Bool,
unread: Bool,
shared: Bool
) {
self.url = url
self.title = title
self.description = description
self.tagNames = tagNames
self.isArchived = isArchived
self.unread = unread
self.shared = shared
}
}
struct BookmarkUpdate: Codable, Sendable {