pc 프로그램 다운로드 기능 적용

This commit is contained in:
Macbook
2026-06-14 10:25:22 +09:00
parent 86b99d8c10
commit 92f67580e3
25 changed files with 1031 additions and 125 deletions
+22
View File
@@ -643,6 +643,28 @@ export async function loadMobileAppReleaseInfo(): Promise<MobileAppReleaseInfoDt
return request<MobileAppReleaseInfoDto>('/mobile-app/info');
}
// ── PC(데스크톱) 앱 배포 ───────────────────────────────────────────────────────
export interface DesktopAppPlatformReleaseDto {
available: boolean;
fileName?: string;
version?: string;
sizeBytes?: number;
updatedAt?: string;
downloadUrl?: string;
}
export interface DesktopAppReleaseInfoDto {
version?: string;
updatedAt?: string;
mac?: DesktopAppPlatformReleaseDto;
windows?: DesktopAppPlatformReleaseDto;
}
export async function loadDesktopAppReleaseInfo(): Promise<DesktopAppReleaseInfoDto | null> {
return request<DesktopAppReleaseInfoDto>('/desktop-app/info');
}
// ── 모의투자 ───────────────────────────────────────────────────────────────────
export interface PaperPositionDto {