Skip to content

@loontail/minecraft-kit / RepairPlan

Type Alias: RepairPlan

ts
type RepairPlan = {
  actions: readonly InstallAction[];
  directory: string;
  runtimeManifest?: RuntimeFilesManifest;
  target: Target;
  targetId: string;
  totalActions: number;
  totalBytes: number;
};

Defined in: src/types/repair.ts:33

A repair plan is, structurally, an install plan limited to actions needed to fix the issues reported by a previous VerificationResult. The runner is the same.

Properties

PropertyModifierTypeDescriptionDefined in
actionsreadonlyreadonly InstallAction[]-src/types/repair.ts:37
directoryreadonlystring-src/types/repair.ts:35
runtimeManifest?readonlyRuntimeFilesManifestRuntime files manifest carried over from the install plan this repair was derived from, so running the repair never has to refetch it. Absent when the repair was derived without a runtime resolution (e.g. repair.fromError).src/types/repair.ts:45
targetreadonlyTarget-src/types/repair.ts:36
targetIdreadonlystring-src/types/repair.ts:34
totalActionsreadonlynumber-src/types/repair.ts:39
totalBytesreadonlynumber-src/types/repair.ts:38

MIT License