pub mod auth;
pub mod clients;
pub mod covers;
mod demo;
pub mod graphql;
mod html;
pub mod icon;
pub mod mcp;
pub mod pair;
pub mod push;
pub mod share;
pub mod subsonic;
mod transcode;
pub mod ui;
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum ServerUrl {
Fixed(Option<String>),
Live,
}
impl ServerUrl {
pub fn get(&self) -> Option<String> {
match self {
Self::Fixed(url) => url.clone(),
Self::Live => koan_core::config::Config::cached().server_url(),
}
}
}
pub use auth::AuthUser;
pub use graphql::{KoanSchema, build_schema};
pub use mcp::KoanMcpServer;