feat: 支持设置快捷订阅的路径默认值 (#502)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-10-14 18:44:33 +08:00
committed by GitHub
parent c7e0d31811
commit 84d353365a
13 changed files with 153 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
use bili_sync_entity::rule::Rule;
use serde::Deserialize;
use serde::{Deserialize, Serialize};
use validator::Validate;
use crate::bilibili::CollectionType;
@@ -91,3 +91,8 @@ pub struct UpdateVideoSourceRequest {
pub rule: Option<Rule>,
pub use_dynamic_api: Option<bool>,
}
#[derive(Serialize, Deserialize)]
pub struct DefaultPathRequest {
pub name: String,
}