diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-18 20:59:47 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-18 20:59:47 -0400 |
| commit | fb3d3d4d3414394237cc9d664d65c14be179927f (patch) | |
| tree | a4f3bcc67983ef012893b6a14013150026b123db /src/api/lsfgApi.ts | |
| parent | b9302548a4def670c8600086ba8685c075ceac3d (diff) | |
| download | decky-lsfg-vk-fb3d3d4d3414394237cc9d664d65c14be179927f.tar.gz decky-lsfg-vk-fb3d3d4d3414394237cc9d664d65c14be179927f.zip | |
add nerd stuff modal with dll details
Diffstat (limited to 'src/api/lsfgApi.ts')
| -rw-r--r-- | src/api/lsfgApi.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts index 5770c43..5bf2dc2 100644 --- a/src/api/lsfgApi.ts +++ b/src/api/lsfgApi.ts @@ -28,6 +28,14 @@ export interface DllDetectionResult { error?: string; } +export interface DllStatsResult { + success: boolean; + dll_path?: string; + dll_sha256?: string; + dll_source?: string; + error?: string; +} + // Use centralized configuration data type export type LsfgConfig = ConfigurationData; @@ -77,6 +85,7 @@ export const installLsfgVk = callable<[], InstallationResult>("install_lsfg_vk") export const uninstallLsfgVk = callable<[], InstallationResult>("uninstall_lsfg_vk"); export const checkLsfgVkInstalled = callable<[], InstallationStatus>("check_lsfg_vk_installed"); export const checkLosslessScalingDll = callable<[], DllDetectionResult>("check_lossless_scaling_dll"); +export const getDllStats = callable<[], DllStatsResult>("get_dll_stats"); export const getLsfgConfig = callable<[], ConfigResult>("get_lsfg_config"); export const getConfigSchema = callable<[], ConfigSchemaResult>("get_config_schema"); export const getLaunchOption = callable<[], LaunchOptionResult>("get_launch_option"); |
