
io.github.ferhatwi.supabase.database.TextConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of supabase-database-kt Show documentation
Show all versions of supabase-database-kt Show documentation
Some experiments on Kotlin client for Supabase Database, currently in development phase.
package io.github.ferhatwi.supabase.database
sealed class TextConfig(val text: String?) {
override fun toString() = when (this) {
is Plain -> "p1"
is Phrase -> "ph"
is Website -> "w1"
is None -> ""
}
class Plain(text: String? = null) : TextConfig(text)
class Phrase(text: String? = null) : TextConfig(text)
class Website(text: String? = null) : TextConfig(text)
class None(text: String? = null) : TextConfig(text)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy