SwiftarrFeature
public enum SwiftarrFeature : String, Content, CaseIterable, Sendable
Functional areas of the Swiftarr API. Used in the SettingsAppFeaturePair struct.
Clients: Be sure to anticipate server values not listed here.
-
Deprecated: the tweet stream has been removed. Kept so admins can still list it in
disabledFeatures, which is how clients such as Kraken know to hide their stream tab.Declaration
Swift
case tweets -
Declaration
Swift
case forums -
Declaration
Swift
case seamail -
Declaration
Swift
case schedule -
Declaration
Swift
case friendlyfez -
Declaration
Swift
case karaoke -
Declaration
Swift
case microkaraoke -
Declaration
Swift
case gameslist -
Declaration
Swift
case images -
Declaration
Swift
case users -
Declaration
Swift
case phone -
Declaration
Swift
case directphone -
Declaration
Swift
case photostream -
Declaration
Swift
case performers -
Declaration
Swift
case personalevents -
Declaration
Swift
case registration -
Declaration
Swift
case hunts -
Declaration
Swift
case eventFeedback -
Declaration
Swift
case quartermaster -
Declaration
Swift
case notificationLog -
Declaration
Swift
case communitySupport -
Declaration
Swift
case all -
For clients use. Clients need to be prepared for additional values to be added serverside. Those new values get decoded as ‘unknown’.
Declaration
Swift
case unknown -
When creating ourselves from a decoder, return .unknown for cases we’re not prepared to handle.
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub