commonMain.ssm.couchdb.dsl.model.Database.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssm-couchdb-dsl Show documentation
Show all versions of ssm-couchdb-dsl Show documentation
Aggregate all ssm data source to optimize request
The newest version!
package ssm.couchdb.dsl.model
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Serializable
typealias DatabaseName = String
/**
* Information about a couchdb database.
* TODO Use SHOUlD NOT BE H2 BU H3
* @d2 query
* @title Database
* @parent [ssm.couchdb.dsl.CouchdbSsmD2Model]
*/
@JsExport
@JsName("DatabaseDTO")
interface DatabaseDTO {
/**
* Name of the database
* @example "komunease_ssm"
*/
val name: DatabaseName
}
@Serializable
@JsExport
@JsName("Database")
class Database(
override val name: DatabaseName,
) : DatabaseDTO