feat(api): add /library/shows and /library/shows/:name/seasons routes + season filter
This commit is contained in:
@@ -22,7 +22,7 @@ use axum::{
|
|||||||
response::IntoResponse,
|
response::IntoResponse,
|
||||||
routing::{get, post, put},
|
routing::{get, post, put},
|
||||||
};
|
};
|
||||||
use domain::{ContentType, ILibraryRepository, LibrarySearchFilter, LibrarySyncAdapter, SeasonSummary, ShowSummary};
|
use domain::{ContentType, ILibraryRepository, LibrarySearchFilter, LibrarySyncAdapter};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use crate::{error::ApiError, extractors::{AdminUser, CurrentUser}, state::AppState};
|
use crate::{error::ApiError, extractors::{AdminUser, CurrentUser}, state::AppState};
|
||||||
|
|||||||
Reference in New Issue
Block a user