You've already forked flix
Add collections to verses and make lists optional
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "flix-cli"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
|
||||
categories = ["command-line-utilities"]
|
||||
description = "CLI for interacting with flix media"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "flix"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
|
||||
categories = []
|
||||
description = "Types for storing persistent data about media"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#[cfg(feature = "tmdb")]
|
||||
use flix_tmdb::model::{MovieId, ShowId};
|
||||
use flix_tmdb::model::{CollectionId, MovieId, ShowId};
|
||||
|
||||
/// A Verse container
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
@@ -25,10 +25,16 @@ pub struct GenericVerse {
|
||||
#[cfg(feature = "tmdb")]
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize)]
|
||||
pub struct TmdbVerse {
|
||||
/// The list of collection TMDB IDs in the verse
|
||||
#[serde(default)]
|
||||
pub collections: Vec<CollectionId>,
|
||||
/// The list of movie TMDB IDs in the verse
|
||||
#[serde(default)]
|
||||
pub movies: Vec<MovieId>,
|
||||
/// The list of show TMDB IDs in the verse
|
||||
#[serde(default)]
|
||||
pub shows: Vec<ShowId>,
|
||||
/// The list of sub-verse names
|
||||
#[serde(default)]
|
||||
pub verses: Vec<String>,
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "flix-tmdb"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
|
||||
categories = []
|
||||
description = "Clients and models for fetching data from TMDB"
|
||||
|
||||
Reference in New Issue
Block a user