2022-01-02 05:46:01 +00:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
/// A protocol for retreiving the latest available version of an app.
|
2022-02-12 07:31:03 +00:00
|
|
|
public protocol UpdateCheckerProtocol: ObservableObject {
|
2022-01-02 05:46:01 +00:00
|
|
|
|
|
|
|
/// The latest update
|
|
|
|
var update: Release? { get }
|
|
|
|
/// A boolean describing whether or not the current build of the app is a "test" build (ie, a debug build or otherwise special build)
|
|
|
|
var testBuild: Bool { get }
|
|
|
|
|
|
|
|
}
|
|
|
|
|