1pub mod auth;
7pub mod clients;
8pub mod covers;
9mod demo;
10pub mod graphql;
11mod html;
12pub mod icon;
13pub mod mcp;
14pub mod pair;
15pub mod push;
16pub mod share;
17pub mod subsonic;
18mod transcode;
19pub mod ui;
20
21#[derive(Clone, Debug, PartialEq, Eq)]
23pub enum ServerUrl {
24 Fixed(Option<String>),
27 Live,
29}
30
31impl ServerUrl {
32 pub fn get(&self) -> Option<String> {
33 match self {
34 Self::Fixed(url) => url.clone(),
35 Self::Live => koan_core::config::Config::cached().server_url(),
36 }
37 }
38}
39
40pub use auth::AuthUser;
42pub use graphql::{KoanSchema, build_schema};
43pub use mcp::KoanMcpServer;