mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-04-12 04:07:22 +02:00
Break up Brief + Document (#311)
This commit is contained in:
12
Sources/Packages/Sources/Brief/UpdaterProtocol.swift
Normal file
12
Sources/Packages/Sources/Brief/UpdaterProtocol.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
|
||||
/// A protocol for retreiving the latest available version of an app.
|
||||
public protocol UpdaterProtocol: ObservableObject {
|
||||
|
||||
/// 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 }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user