mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor(application): filter_rules.py 更名 rules.py 并合并 RuleHelper
规则域收敛为单一事实来源 app/application/rules.py: - filter_rules.py 更名为 rules.py(内置规则集 + RuleParser) - filter.py 仅含 66 行 RuleHelper(用户规则组配置访问),并入 rules.py - 同步更新 5 处引用方导入、nettest stub 目标与架构文档 - 兼容映射 app.helper.rule 指向新路径,legacy 导入仍可用
This commit is contained in:
@@ -543,7 +543,7 @@ MODULE_ALIASES: Dict[str, ModuleAlias] = {
|
||||
introduced="v3.0.0", owner="application",
|
||||
),
|
||||
"app.helper.rule": ModuleAlias(
|
||||
target="app.application.filter", replacement="app.sdk.services",
|
||||
target="app.application.rules", replacement="app.sdk.services",
|
||||
introduced="v3.0.0", owner="application",
|
||||
),
|
||||
"app.helper.scraper": ModuleAlias(
|
||||
|
||||
Reference in New Issue
Block a user