Appearance
@loontail/minecraft-kit v0.8.14 / RepairAllReport
Type alias: RepairAllReport
ts
type RepairAllReport: {
blockedAspects: ReadonlyMap<VerificationKind, RepairBlockedAspect>;
bytesDownloaded: number;
durationMs: number;
repairs: ReadonlyMap<VerificationKind, RepairReport>;
verifications: readonly VerificationResult[];
};Result of repairAll: every verification it ran, every repair it performed, every aspect a connectivity failure blocked, and the aggregate cost.
Example
ts
import type { RepairAllReport } from "@loontail/minecraft-kit";
const report: RepairAllReport = await kit.repair.all(target);
console.log(`verified ${report.verifications.length} aspects`);
console.log(`repaired ${report.repairs.size}, blocked ${report.blockedAspects.size}`);Type declaration
| Member | Type | Description |
|---|---|---|
blockedAspects | ReadonlyMap<VerificationKind, RepairBlockedAspect> | Aspects skipped because their repair needs the network and it was unreachable. |
bytesDownloaded | number | - |
durationMs | number | - |
repairs | ReadonlyMap<VerificationKind, RepairReport> | Present only for aspects that actually needed work. |
verifications | readonly VerificationResult[] | - |