summaryrefslogtreecommitdiff
path: root/lsfg_vk/types.py
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-13 14:55:28 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-13 14:55:28 -0400
commit9fd824270a2ea668b9cc264a7d0cee7dc93e2cb1 (patch)
tree4a2fd62c29871b50fcf759434df5ca8bb1888de5 /lsfg_vk/types.py
parentbbf9fed63432cccdb43b92fbb836ab4bbf9210ae (diff)
downloaddecky-lsfg-vk-9fd824270a2ea668b9cc264a7d0cee7dc93e2cb1.tar.gz
decky-lsfg-vk-9fd824270a2ea668b9cc264a7d0cee7dc93e2cb1.zip
rm dupe py files
Diffstat (limited to 'lsfg_vk/types.py')
-rw-r--r--lsfg_vk/types.py71
1 files changed, 0 insertions, 71 deletions
diff --git a/lsfg_vk/types.py b/lsfg_vk/types.py
deleted file mode 100644
index f0ec892..0000000
--- a/lsfg_vk/types.py
+++ /dev/null
@@ -1,71 +0,0 @@
-"""
-Type definitions for the lsfg-vk plugin responses.
-"""
-
-from typing import TypedDict, Optional, List
-
-
-class BaseResponse(TypedDict):
- """Base response structure"""
- success: bool
-
-
-class ErrorResponse(BaseResponse):
- """Response structure for errors"""
- error: str
-
-
-class MessageResponse(BaseResponse):
- """Response structure with message"""
- message: str
-
-
-class InstallationResponse(BaseResponse):
- """Response for installation operations"""
- message: str
- error: Optional[str]
-
-
-class UninstallationResponse(BaseResponse):
- """Response for uninstallation operations"""
- message: str
- removed_files: Optional[List[str]]
- error: Optional[str]
-
-
-class InstallationCheckResponse(TypedDict):
- """Response for installation check"""
- installed: bool
- lib_exists: bool
- json_exists: bool
- script_exists: bool
- lib_path: str
- json_path: str
- script_path: str
- error: Optional[str]
-
-
-class DllDetectionResponse(TypedDict):
- """Response for DLL detection"""
- detected: bool
- path: Optional[str]
- source: Optional[str]
- message: Optional[str]
- error: Optional[str]
-
-
-class ConfigurationData(TypedDict):
- """Configuration data structure"""
- enable_lsfg: bool
- multiplier: int
- flow_scale: float
- hdr: bool
- perf_mode: bool
- immediate_mode: bool
-
-
-class ConfigurationResponse(BaseResponse):
- """Response for configuration operations"""
- config: Optional[ConfigurationData]
- message: Optional[str]
- error: Optional[str]