Create ReaderAPI module.

This commit is contained in:
Brent Simmons
2024-04-06 13:06:24 -07:00
parent 552753abd2
commit 5555ae5adc
15 changed files with 152 additions and 72 deletions

View File

@@ -0,0 +1,29 @@
//
// ReaderAPIUnreadEntry.swift
// Account
//
// Created by Jeremy Beker on 5/28/19.
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
//
import Foundation
public struct ReaderAPIReferenceWrapper: Codable, Sendable {
public let itemRefs: [ReaderAPIReference]?
public let continuation: String?
enum CodingKeys: String, CodingKey {
case itemRefs = "itemRefs"
case continuation = "continuation"
}
}
public struct ReaderAPIReference: Codable, Sendable {
public let itemId: String?
enum CodingKeys: String, CodingKey {
case itemId = "id"
}
}