-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/430_cache_speaker_icon_image
- Loading branch information
Showing
96 changed files
with
2,268 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,7 @@ let package = Package( | |
.firebaseAuth, | ||
.firebaseRemoteConfig, | ||
.tca, | ||
.model | ||
] | ||
), | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Foundation | ||
|
||
public struct Contributor: Equatable, Sendable, Identifiable { | ||
public var id: Int | ||
public let userName: String | ||
public let profileUrl: URL? | ||
public let iconUrl: URL | ||
|
||
public init(id: Int, userName: String, profileUrl: URL?, iconUrl: URL) { | ||
self.id = id | ||
self.userName = userName | ||
self.profileUrl = profileUrl | ||
self.iconUrl = iconUrl | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import Foundation | ||
|
||
public struct Sponsor: Equatable, Identifiable, Sendable { | ||
public enum Plan: Equatable, Sendable { | ||
case platinum | ||
case gold | ||
case supporter | ||
} | ||
public let id: String | ||
public let logo: URL | ||
public let link: URL | ||
public let plan: Plan | ||
|
||
public init(id: String, logo: URL, link: URL, plan: Sponsor.Plan) { | ||
self.id = id | ||
self.logo = logo | ||
self.link = link | ||
self.plan = plan | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Foundation | ||
|
||
public struct Staff: Equatable, Identifiable, Sendable { | ||
public let id: Int | ||
public let name: String | ||
public let icon: URL | ||
public let github: URL | ||
|
||
public init(id: Int, name: String, icon: URL, github: URL) { | ||
self.id = id | ||
self.name = name | ||
self.icon = icon | ||
self.github = github | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
public protocol Selectable: CaseIterable, Equatable, Identifiable, Hashable { | ||
associatedtype Options: RandomAccessCollection = [Self] where Self == Self.Options.Element | ||
static var options: Options { get } | ||
var caseTitle: String { get } | ||
|
||
} | ||
|
||
public extension Selectable { | ||
static var options: Options { allCases as! Options } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.