feat: migrate rule bindings to group-based flow

This commit is contained in:
wren
2026-05-07 17:43:20 +08:00
parent 75c2111209
commit f8eb2dc817
8 changed files with 871 additions and 361 deletions
@@ -2,7 +2,7 @@
from abc import ABC, abstractmethod
from fastapi_modules.fastapi_leaudit.domian.vo.ruleConfigVo import RuleConfigPackVO
from fastapi_modules.fastapi_leaudit.domian.vo.ruleConfigVo import RuleConfigPackListVO, RuleConfigPackVO
class IRuleConfigService(ABC):
@@ -13,6 +13,12 @@ class IRuleConfigService(ABC):
"""列出规则配置页所需的全部 pack。"""
...
@abstractmethod
async def ListPackSummaries(self) -> list[RuleConfigPackListVO]:
"""列出规则列表页所需的轻量 pack。"""
...
@abstractmethod
async def GetPack(self, PackId: int) -> RuleConfigPackVO:
"""获取单个规则配置 pack。"""