[][src]Module transistor::types

Generic Request/Response Types for Crux. Availables types are:

  • CruxId is the field that receives a String and serielizes it to a EDN Keyword.
  • StateResponse response for Crux RESTapi at endpoint /state.
  • TxLogResponse response for Crux RESTapi at endpoint /tx-log. For POSTs, tx__event___tx_events (:crux-tx.event/tx_events) comes with None.
  • TxLogsResponse response is the wrapper for a GET at endpoint /tx-logs, it is a Vector of type TxLogResponse.

Structs

CruxId

Id to use as reference in Crux, similar to ids with Uuid. This id is supposed to be a KEYWORD, Edn::Key.

Documents
EntityTxResponse

Definition for the response of a POST at /entity-tx endpoint

StateResponse

Definition for the response of a GET at state endpoint

TxLogResponse

Definition for the response of a POST at tx-log endpoint

TxLogsResponse

Definition for the response of a GET at tx-log endpoint