global: snap

This commit is contained in:
nym21
2026-04-12 18:00:02 +02:00
parent 18d9c166d8
commit c3cef71aa3
36 changed files with 2366 additions and 371 deletions
+2
View File
@@ -11,6 +11,7 @@ mod pool_slug_param;
mod series_param;
mod time_period_param;
mod timestamp_param;
mod tx_index_param;
mod txid_param;
mod txid_vout;
mod txids_param;
@@ -29,6 +30,7 @@ pub use pool_slug_param::*;
pub use series_param::*;
pub use time_period_param::*;
pub use timestamp_param::*;
pub use tx_index_param::*;
pub use txid_param::*;
pub use txid_vout::*;
pub use txids_param::*;
@@ -0,0 +1,10 @@
use schemars::JsonSchema;
use serde::Deserialize;
use brk_types::TxIndex;
/// Transaction index path parameter
#[derive(Deserialize, JsonSchema)]
pub struct TxIndexParam {
pub index: TxIndex,
}