(feat) refactoring, migration, sqlx prepare
This commit is contained in:
parent
da3dfe40b0
commit
15b92ba3a4
17 changed files with 528 additions and 107 deletions
12
src/api.rs
12
src/api.rs
|
|
@ -1,8 +1,10 @@
|
|||
// src/api.rs
|
||||
// This file is the public-facing module for all external API interactions.
|
||||
|
||||
// Make the banking submodule public.
|
||||
pub mod banking;
|
||||
pub mod client;
|
||||
pub mod models;
|
||||
pub mod consents;
|
||||
pub mod accounts;
|
||||
pub mod transactions;
|
||||
|
||||
// Re-export the primary client struct so other modules can use it via `crate::api::*`.
|
||||
pub use banking::BankingClients;
|
||||
pub use client::{Bank, BankClient, BankingClients, BankingError};
|
||||
pub use models::{ApiResponse, AccountData, TransactionData, ConsentResponse};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue