(feat) refactoring, migration, sqlx prepare

This commit is contained in:
Rorik Star Platinum 2025-11-06 21:45:09 +03:00
parent da3dfe40b0
commit 15b92ba3a4
17 changed files with 528 additions and 107 deletions

View file

@ -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};