From 3000190d4f9d43bd33b074cc1c242ff0b87d8235 Mon Sep 17 00:00:00 2001 From: "Begonia, HE" <163421589+BegoniaHe@users.noreply.github.com> Date: Wed, 14 Jan 2026 22:06:55 +0100 Subject: feat: re-integrate Java download UI into new component architecture - Add Java download functionality to settings store - Add JavaDownloadInfo type definition - Add Download Java button and modal to SettingsView - Support JRE/JDK selection with version picker - Maintain integration with Adoptium API backend --- ui/src/types/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ui/src/types/index.ts') diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts index 7e2cc67..f92cbf2 100644 --- a/ui/src/types/index.ts +++ b/ui/src/types/index.ts @@ -43,6 +43,16 @@ export interface JavaInstallation { is_64bit: boolean; } +export interface JavaDownloadInfo { + version: string; + release_name: string; + download_url: string; + file_name: string; + file_size: number; + checksum: string | null; + image_type: string; +} + // ==================== Fabric Types ==================== export interface FabricGameVersion { -- cgit v1.2.3-70-g09d2