Refactor map color threshold storage into dedicated settings service
This commit is contained in:
@@ -284,21 +284,6 @@ class ConfigService(Protocol):
|
||||
) -> None:
|
||||
...
|
||||
|
||||
async def read_fail2ban_log(
|
||||
self,
|
||||
socket_path: str,
|
||||
lines: int,
|
||||
filter_text: str | None = None,
|
||||
) -> Fail2BanLogResponse:
|
||||
...
|
||||
|
||||
async def get_service_status(
|
||||
self,
|
||||
socket_path: str,
|
||||
probe_fn: Callable[[str], Awaitable[ServiceStatusResponse]] | None = None,
|
||||
) -> ServiceStatusResponse:
|
||||
...
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class HistoryService(Protocol):
|
||||
|
||||
Reference in New Issue
Block a user