//! MovieMapper Backend Integration //! //! This crate provides a clean integration layer between the UI and the Rust backend. //! It exposes backend functionality with proper async handling and error propagation. pub mod backend; pub mod scanner; pub mod file_ops; pub mod error; // Re-export common types from the Rust backend pub use movie_mapper::model::file::MediaFile; pub use movie_mapper::service::file_scanner::FileScanner; pub use movie_mapper::service::file_mapper::{FileMapper, MappingResult}; pub use movie_mapper::service::tvdb_api::TVDBClient; pub use movie_mapper::service::tag_manager::TagManager; pub use movie_mapper::service::audit_logger::AuditLogger; // Re-export common error types pub use movie_mapper::utils::ScannerError; pub use movie_mapper::utils::MetadataError; pub use movie_mapper::utils::TVDBError; pub use movie_mapper::utils::MappingError; pub use movie_mapper::utils::FileError; // Re-export our custom error type and result pub use error::{BackendError, Result as BackendResult};