All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.pidoveproject.showdown.room.package.scala Maven / Gradle / Ivy

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]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy