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

commonMain.ssm.couchdb.dsl.query.CouchdbChaincodeListQuery.kt Maven / Gradle / Ivy

The newest version!
package ssm.couchdb.dsl.query

import f2.dsl.cqrs.Event
import f2.dsl.cqrs.Query
import f2.dsl.fnc.F2Function
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Serializable
import ssm.chaincode.dsl.model.uri.ChaincodeUri
import ssm.chaincode.dsl.model.uri.ChaincodeUriDTO

/**
 * @title Fetch all chaincodes
 * @d2 function
 * @order 20
 * @parent [ssm.couchdb.dsl.CouchdbSsmD2Query]
 */
typealias CouchdbChaincodeListQueryFunction
		= F2Function

/**
 * @title Get all chaincode: Parameters
 * @d2 model
 * @parent [CouchdbChaincodeListQueryFunction]
 */
@JsExport
@JsName("CouchdbChaincodeListQueryDTO")
interface CouchdbChaincodeListQueryDTO : Query

/**
 * @d2 model
 * @title Get all chaincodes: Result
 * @parent [CouchdbChaincodeListQueryFunction]
 */
@JsExport
@JsName("CouchdbChaincodeListQueryResultDTO")
interface CouchdbChaincodeListQueryResultDTO : Event {
	/**
	 * The name of the database.
	 */
	val items: List
}

@Serializable
@JsExport
@JsName("CouchdbChaincodeListQuery")
class CouchdbChaincodeListQuery: CouchdbChaincodeListQueryDTO

@Serializable
@JsExport
@JsName("CouchdbChaincodeListQueryResult")
class CouchdbChaincodeListQueryResult(
	override val items: List,
) : CouchdbChaincodeListQueryResultDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy