Public should not be used in an app since it declares public to additional modules. However, an app is one module. Some structs/ classes need to be left public to conform to CoreData's generation. Signed-off-by: kingbri <bdashore3@proton.me>
20 lines
370 B
Swift
20 lines
370 B
Swift
//
|
|
// GithubModels.swift
|
|
// Ferrite
|
|
//
|
|
// Created by Brian Dashore on 8/28/22.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Github {
|
|
struct Release: Codable, Hashable, Sendable {
|
|
let htmlUrl: String
|
|
let tagName: String
|
|
|
|
enum CodingKeys: String, CodingKey {
|
|
case htmlUrl = "html_url"
|
|
case tagName = "tag_name"
|
|
}
|
|
}
|
|
}
|