mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-06 07:57:12 +08:00
feat: 实现视频的筛选规则 (#457)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use bili_sync_entity::rule::Rule;
|
||||
use serde::Deserialize;
|
||||
use validator::Validate;
|
||||
|
||||
@@ -86,4 +87,5 @@ pub struct UpdateVideoSourceRequest {
|
||||
#[validate(custom(function = "crate::utils::validation::validate_path"))]
|
||||
pub path: String,
|
||||
pub enabled: bool,
|
||||
pub rule: Option<Rule>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user