feat(ui): expose first-entry verification and explicit legacy mod recovery
This commit is contained in:
+24
-1
@@ -34,8 +34,28 @@ export interface ProfileInspection {
|
||||
missingFiles: number
|
||||
mismatchedFiles: number
|
||||
upToDate: boolean
|
||||
staleFiles?: number
|
||||
conflicts?: string[]
|
||||
pendingUpdate?: boolean
|
||||
legacyFiles?: number
|
||||
}
|
||||
|
||||
export interface ProfileMetadata {
|
||||
snapshot: string
|
||||
minecraftVersion: string
|
||||
loaderKind: string
|
||||
loaderVersion: string
|
||||
javaMajor: number
|
||||
}
|
||||
export interface PreparationResult {
|
||||
inspection: ProfileInspection
|
||||
metadata: ProfileMetadata
|
||||
onboarding: LinkChallenge | null
|
||||
}
|
||||
export interface LegacyMod { path: string; size: number; sha256: string; reason: string }
|
||||
export interface LegacySelection { path: string; sha256: string }
|
||||
export interface LegacyBackup { backupRoot: string; files: string[] }
|
||||
|
||||
export interface SyncResult {
|
||||
root: string
|
||||
downloadedFiles: number
|
||||
@@ -57,6 +77,9 @@ export interface LinkChallenge {
|
||||
challenge_id: number
|
||||
expires_in_seconds: number
|
||||
registered_on_server: boolean
|
||||
proof_code: string
|
||||
mc_username: string
|
||||
player_uuid: string
|
||||
}
|
||||
|
||||
export interface LinkStatus {
|
||||
@@ -71,7 +94,7 @@ export interface ServerStatus {
|
||||
}
|
||||
|
||||
export interface InstallProgressPayload {
|
||||
stage: 'java' | 'neoforge' | 'libraries' | 'assets'
|
||||
stage: 'mods' | 'java' | 'neoforge' | 'libraries' | 'assets' | 'launch'
|
||||
currentBytes: number
|
||||
totalBytes: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user