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

commonMain.ssm.couchdb.dsl.model.Database.kt Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy