commonMain.ssm.couchdb.dsl.query.CouchdbChaincodeListQuery.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.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