reorganized files

This commit is contained in:
2025-12-05 12:50:25 +08:00
parent d9dbd5fe5d
commit a9068fe575
13 changed files with 18 additions and 22 deletions

View File

@@ -0,0 +1,18 @@
use serde::{Deserialize, Serialize};
use ts_rs::TS;
#[derive(Default, Serialize, Deserialize, Clone, Debug, TS)]
#[ts(export)]
pub struct AuthConfig {
pub audience: String,
pub auth_url: String,
pub redirect_uri: String,
pub redirect_host: String,
}
#[derive(Default, Serialize, Deserialize, Clone, Debug, TS)]
#[ts(export)]
pub struct AppConfig {
pub api_base_url: Option<String>,
pub auth: AuthConfig,
}

View File

@@ -0,0 +1 @@
pub mod app_config;