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