diff options
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index e348d21..73eb860 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -63,14 +63,16 @@ pub struct ImportOptions { #[serde(rename_all = "snake_case")] pub enum ImportSource { Override(Node), - Tmdb(u64), + Tmdb { + id: u64, + }, AutoChildren { path: Option<PathBuf>, }, Media { location: AssetLocation, - ignore_attachments: bool, - ignore_metadata: bool, + #[serde(default)] ignore_attachments: bool, + #[serde(default)] ignore_metadata: bool, // TODO all ignore options }, Federated { |