mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-25 03:16:26 +02:00
14 lines
263 B
Rust
14 lines
263 B
Rust
use std::sync::Arc;
|
|
|
|
use common::{
|
|
storage::{db::SurrealDbClient, store::StorageManager},
|
|
utils::config::AppConfig,
|
|
};
|
|
|
|
#[derive(Clone)]
|
|
pub struct ApiState {
|
|
pub db: Arc<SurrealDbClient>,
|
|
pub config: AppConfig,
|
|
pub storage: StorageManager,
|
|
}
|