spotify_client/
constant.rs

1pub use crate::model::*;
2// use once_cell::sync::Lazy;
3
4// pub static USER_TOP_TRACKS_ID: Lazy<TracksId> =
5//     Lazy::new(|| TracksId::new("tracks:user-top-tracks", "Top Tracks"));
6
7// pub static USER_RECENTLY_PLAYED_TRACKS_ID: Lazy<TracksId> = Lazy::new(|| {
8//     TracksId::new(
9//         "tracks:user-recently-played-tracks",
10//         "Recently Played Tracks",
11//     )
12// });
13
14// pub static USER_LIKED_TRACKS_ID: Lazy<TracksId> =
15//     Lazy::new(|| TracksId::new("tracks:user-liked-tracks", "Liked Tracks"));
16
17
18// pub const DEFAULT_CONFIG_FOLDER: &str = ".config/spotify-player";
19// pub const DEFAULT_CACHE_FOLDER: &str = ".cache/spotify-player";
20// pub const APP_CONFIG_FILE: &str = "app.toml";
21pub const SPOTIFY_API_ENDPOINT: &str = "https://api.spotify.com/v1";