debugger/src/briefcase_debugger/config.py
raw| 1 | from typing import TypedDict |
| 2 | |
| 3 | |
| 4 | class AppPathMappings(TypedDict): |
| 5 | device_sys_path_regex: str |
| 6 | device_subfolders: list[str] |
| 7 | host_folders: list[str] |
| 8 | |
| 9 | |
| 10 | class AppPackagesPathMappings(TypedDict): |
| 11 | sys_path_regex: str |
| 12 | host_folder: str |
| 13 | |
| 14 | |
| 15 | class DebuggerConfig(TypedDict): |
| 16 | debugger: str |
| 17 | host: str |
| 18 | port: int |
| 19 | host_os: str |
| 20 | app_path_mappings: AppPathMappings | None |
| 21 | app_packages_path_mappings: AppPackagesPathMappings | None |