Skip to content

@loontail/minecraft-kit v0.8.14 / RepairSurface

Type alias: RepairSurface

ts
type RepairSurface: {
  fabric: RepairAspect;
  forge: RepairAspect;
  minecraft: RepairAspect;
  runtime: RepairAspect;
  all: Promise<RepairAllReport>;
  fromError: Promise<RepairPlan>;
  runVerifyAndRepair: Promise<VerifyAndRepairResult>;
};

Shape of kit.repair. Four aspect-specific surfaces plus the all convenience that verifies every applicable slice and repairs each broken one, and fromError which resumes a failed install by deriving a focused plan from a typed MinecraftKitError.

Type declaration

MemberType
fabricRepairAspect
forgeRepairAspect
minecraftRepairAspect
runtimeRepairAspect
allPromise<RepairAllReport>
fromErrorPromise<RepairPlan>
runVerifyAndRepairPromise<VerifyAndRepairResult>

Source

src/kit/repair-aspect.ts:37

MIT License