io.github.pidoveproject.showdown.room.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-showdown-api_3 Show documentation
Show all versions of scala-showdown-api_3 Show documentation
A Scala wrapper of Pokemon Showdown's API
The newest version!
package io.github.pidoveproject.showdown.room
import io.github.iltotore.iron.*
import io.github.iltotore.iron.constraint.all.*
opaque type RoomId = String :| Not[Blank]
object RoomId extends RefinedTypeOps[String, Not[Blank], RoomId]
opaque type ChatContent = String :| Not[Blank]
object ChatContent extends RefinedTypeOps[String, Not[Blank], ChatContent]
opaque type PopupMessage = String :| Not[Blank]
object PopupMessage extends RefinedTypeOps[String, Not[Blank], PopupMessage]
opaque type HTML = String :| Pure
object HTML extends RefinedTypeOps[String, Pure, HTML]
opaque type HighlightToken = String :| Not[Blank]
object HighlightToken extends RefinedTypeOps[String, Not[Blank], HighlightToken]