- Move app/domains/tokens/deployer.py -> app/domains/token/deployer.py. Delete app/domains/tokens/ (was a single-file shadow of the token domain). - Move app/domains/scanner/* into app/domains/scanners/core/. The 31 detector modules in app/domains/scanners/ + the core service are now a single coherent domain. - Update import paths in app/token_scanner.py and app/token_deployer.py. - Delete empty app/domain/ (singular, was a leftover scaffold). - Factory still loads 466 routes, mypy-gate clean.
11 lines
396 B
Python
11 lines
396 B
Python
"""Backward compatibility shim for app/token_scanner.py.
|
|
|
|
The token scanner has been refactored to app/domain/scanner/*.py for
|
|
better organization (per architecture standard: NO file > 500 lines).
|
|
|
|
This file re-exports the main API from the new modules.
|
|
"""
|
|
|
|
from app.domains.scanners.core import ScanResult, quick_scan_text, scan_token
|
|
|
|
__all__ = ["ScanResult", "quick_scan_text", "scan_token"]
|