Skip to content

@loontail/minecraft-kit / LaunchPreflightResult

Type Alias: LaunchPreflightResult

ts
type LaunchPreflightResult = {
  durationMs: number;
  isReady: boolean;
  issues: readonly TargetReadinessIssue[];
  targetId: string;
};

Defined in: src/types/launch.ts:68

Result of a network-free kit.launch.preflight(target) check.

preflight is the network-free subset of kit.verify.targetReady.run: it checks existence only, never fetches a manifest and never hashes a file. It reports the same field names and the same issue shape as TargetReadinessResult, so one renderer covers both and a caller can upgrade from the cheap gate to the thorough one without rewriting its branches.

Properties

PropertyModifierTypeDescriptionDefined in
durationMsreadonlynumber-src/types/launch.ts:78
isReadyreadonlybooleanTrue when every launch-critical file is present on disk.src/types/launch.ts:71
issuesreadonlyreadonly TargetReadinessIssue[]The launch-critical files that are absent, every one with status: VerifyFileStatuses.MISSING — preflight cannot report corruption because it does not hash. Empty when isReady.src/types/launch.ts:77
targetIdreadonlystring-src/types/launch.ts:69

MIT License