- update: major refactor of the database-service to make it easy to add newer api services

- add: character database api
This commit is contained in:
2024-12-17 01:58:18 -05:00
parent 267422adb4
commit 52455d6ffc
18 changed files with 378 additions and 180 deletions

View File

@@ -0,0 +1,7 @@
use crate::db::Database;
use std::sync::Arc;
#[derive(Clone)]
pub struct MyDatabaseService {
pub db: Arc<Database>, // Use the Database struct from users.rs
}