KaraokeSong
final class KaraokeSong : Model, SearchableA song in the Karaoke Jukebox. The Jukebox has ~25000 songs; rather too many to let users browse without searching. For Heroku deploys there’s an alternate import file that only import ~1000 songs. This is due to Heroku’s free tier limiting us to 10000 database rows.
- 
                  
                  DeclarationSwift static let schema: String
- 
                  
                  The song’s ID, provisioned automatically. DeclarationSwift @ID var id: UUID?
- 
                  
                  The name of the person or group. DeclarationSwift @Field var artist: String
- 
                  
                  The title of the song DeclarationSwift @Field var title: String
- 
                  
                  If TRUE, this is the regular (non-karaoke) version of the song that’s been processed through voice-remover software. DeclarationSwift @Field var voiceRemoved: Bool
- 
                  
                  If TRUE, this song is a MIDI track. DeclarationSwift @Field var midi: Bool
- 
                  
                  A list of who, if anyone, has already performed this song on the boat this trip. DeclarationSwift @Children var sungBy: [KaraokePlayedSong]
- 
                  
                  DeclarationSwift init()
- 
                  
                  DeclarationSwift init(artist: String, title: String, isVoiceRemoved: Bool = false, isMidi: Bool = false)
 View on GitHub
            View on GitHub
           KaraokeSong Class Reference
      KaraokeSong Class Reference