1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Database table structs for the BSV wallet.
//!
//! Each struct maps 1:1 to a TypeScript table interface from `wallet-toolbox/src/storage/schema/tables/`.
//! All structs use `#[serde(rename_all = "camelCase")]` and `#[sqlx(rename_all = "camelCase")]`
//! to map snake_case Rust fields to camelCase database column names.
/// Certificate table struct.
/// Certificate field table struct (key-value pairs for certificate data).
/// Commission table struct (mining commissions).
/// Monitor event table struct (background task events).
/// Output table struct (transaction outputs / UTXOs).
/// Output basket table struct (named groups of outputs).
/// Output tag table struct (user-defined labels for outputs).
/// Output-to-tag mapping join table struct.
/// Proven transaction table struct (on-chain proofs).
/// Proven transaction request table struct (proof acquisition workflow).
/// Settings table struct (wallet configuration).
/// Sync state table struct (multi-device synchronization).
/// Transaction table struct.
/// Transaction label table struct.
/// Transaction-to-label mapping join table struct.
/// User table struct (wallet identity).
/// Certificate database record.
pub use Certificate;
/// Certificate field database record.
pub use CertificateField;
/// Commission database record.
pub use Commission;
/// Monitor event database record.
pub use MonitorEvent;
/// Transaction output database record.
pub use Output;
/// Output basket database record.
pub use OutputBasket;
/// Output tag database record.
pub use OutputTag;
/// Output-to-tag mapping database record.
pub use OutputTagMap;
/// Proven transaction database record.
pub use ProvenTx;
/// Proven transaction request database record.
pub use ProvenTxReq;
/// Settings database record.
pub use Settings;
/// Sync state database record.
pub use SyncState;
/// Transaction database record.
pub use Transaction;
/// Transaction label database record.
pub use TxLabel;
/// Transaction-to-label mapping database record.
pub use TxLabelMap;
/// User database record.
pub use User;