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 more

    Declaration

    Swift

    public enum ExplicitNull<C> : Codable, Sendable where C : Decodable, C : Encodable, C : Sendable
  • The age appropriateness rating of an Event, 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.

    See more

    Declaration

    Swift

    enum AgeRating : String, Codable, CaseIterable
  • The platform a ClientApp runs on. A client app may be available on several platforms. Clients: Be sure to anticipate server values not listed here.

    See more

    Declaration

    Swift

    enum ClientAppPlatform : String, CaseIterable, Codable, Sendable
  • Where a Community Support report stands. Stored as a plain string column, so the vocabulary is cheap to change.

    See more

    Declaration

    Swift

    enum CommunitySupportReportStatus : String, Codable, CaseIterable, Sendable
  • What the reporter wants done with their report.

    See more

    Declaration

    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 more

    Declaration

    Swift

    enum CommunitySupportActionType : String, Codable, CaseIterable, Sendable
  • Optional indicator of dinner seating team.

    See more

    Declaration

    Swift

    enum DinnerTeam : String, CaseIterable, Codable
  • Declaration

    Swift

    enum EventNotificationSetting : String, Codable, RESPValueConvertible
  • The visibility of a FriendlyFez, controlling whether non-members/non-moderators can view or join it.

    See more

    Declaration

    Swift

    enum FezVisibility : String, CaseIterable, Codable
  • Supported ordering for forum threads within a category.

    See more

    Declaration

    Swift

    enum ForumSort : String, Codable

Seamails

  • 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 more

    Declaration

    Swift

    enum PrivilegedMailboxRequirement
  • Declaration

    Swift

    enum PrivilegedUser : String, CaseIterable, Codable
  • The category of a QuartermasterItem — whether the user has the item to offer, or needs it.

    See more

    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
    See more

    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 more

    Declaration

    Swift

    public enum PhotoStreamBoatLocation : String, Content, CaseIterable, Sendable
  • Content-specific authorization rules for the reusable posting-as path.

    See more

    Declaration

    Swift

    enum AuthorableContentType
  • Declaration

    Swift

    private enum DayPlannerLayoutConstants
  • Declaration

    Swift

    @main
    enum Entrypoint