Other Enumerations
The following enumerations are available globally.
-
A twist on Optional that, in a KeyedValueContainer, can distinguish between being unset entirely and being explicitly set to the nil value.
See moreDeclaration
Swift
public enum ExplicitNull<C> : Codable, Sendable where C : Decodable, C : Encodable, C : Sendable -
The age appropriateness rating of an
See moreEvent, as designated by the event’s organizer. There appears to be no Sched API to configure or read these so they were determined based on the results of the 2026 sailing API values. Additionally, AgeRating does NOT come from the ICS dump from Sched.Declaration
Swift
enum AgeRating : String, Codable, CaseIterable -
Where a Community Support report stands. Stored as a plain string column, so the vocabulary is cheap to change.
See moreDeclaration
Swift
enum CommunitySupportReportStatus : String, Codable, CaseIterable, Sendable -
What the reporter wants done with their report.
See moreDeclaration
Swift
enum CommunitySupportReportIntent : String, Codable, CaseIterable, Sendable -
The kinds of entries in the Community Support action log. Entries are append-only, and record changes–not views.
See moreDeclaration
Swift
enum CommunitySupportActionType : String, Codable, CaseIterable, Sendable -
Optional indicator of dinner seating team.
See moreDeclaration
Swift
enum DinnerTeam : String, CaseIterable, Codable -
Declaration
Swift
enum EventNotificationSetting : String, Codable, RESPValueConvertible -
The visibility of a
See moreFriendlyFez, controlling whether non-members/non-moderators can view or join it.Declaration
Swift
enum FezVisibility : String, CaseIterable, Codable -
Supported ordering for forum threads within a category.
See moreDeclaration
Swift
enum ForumSort : String, Codable
-
Declaration
Swift
enum MailInbox -
What a user must hold to read a privileged mailbox–and, equivalently, who the mailbox’s phantom account fans out to when it’s addressed or participates in a chat. Expressing this as data (rather than writing “is this user a moderator or does this user have role X” by hand at each call site) means the roster expansion and the access check can never drift apart.
See moreDeclaration
Swift
enum PrivilegedMailboxRequirement -
Declaration
Swift
enum PrivilegedUser : String, CaseIterable, Codable -
The category of a
See moreQuartermasterItem— whether the user has the item to offer, or needs it.Declaration
Swift
enum QuartermasterCategory : String, CaseIterable, Codable, Sendable -
Represents errors that can be thrown by image processing operations.
- invalidFormat: Image raster format mismatch on import/export
- invalidImage: Contains the reason this error was thrown.
- invalidColor: Contains the reason this error was thrown.
- invalidMaxColors: Asserts sane values for creating indexed Images
Declaration
Swift
public enum ImageError : Swift.Error -
Areas on the ship used for tagging PhotoStream photos. This list purposefully avoids using room names specific to the Nieuw Amsterdam (the ship we generally sail on each year), and is purposefully a bit vague.
See moreDeclaration
Swift
public enum PhotoStreamBoatLocation : String, Content, CaseIterable, Sendable -
Content-specific authorization rules for the reusable posting-as path.
See moreDeclaration
Swift
enum AuthorableContentType -
Declaration
Swift
private enum DayPlannerLayoutConstants -
Declaration
Swift
@main enum Entrypoint
View on GitHub
Other Enumerations Reference