Skip to content

Commit

Permalink
Add missing api fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Oct 6, 2024
1 parent 181d68a commit dd3326a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/media/anime/episode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ pub struct Episode {

pub available_offline: bool,
pub availability_notes: String,
/// Is "available" or "not available"
pub availability_status: String,

pub closed_captions_available: bool,

Expand Down
2 changes: 2 additions & 0 deletions src/media/anime/movie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ pub struct Movie {

pub available_offline: bool,
pub availability_notes: String,
/// Is "available" or "not available"
pub availability_status: String,

#[cfg(feature = "__test_strict")]
#[serde(rename = "type")]
Expand Down
2 changes: 2 additions & 0 deletions src/media/anime/movie_listing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ pub struct MovieListing {

pub available_offline: bool,
pub availability_notes: String,
/// Is "available" or "not available"
pub availability_status: String,

/// All versions of this movie listing (same movie listing but each entry has a different language).
pub versions: Vec<MovieListingVersion>,
Expand Down

0 comments on commit dd3326a

Please sign in to comment.