Appearance
@loontail/minecraft-kit / RepairModes
Variable: RepairModes
ts
const RepairModes: {
FIX: "fix";
REPORT: "report";
};Defined in: src/types/repair.ts:138
Modes accepted by kit.repair.verifyAndRepair.
'fix' (default) — when verification surfaces issues, plan and execute the repair, then return both the verification and the resulting repair report.
'report' — only run verification; never touch disk. The returned repair is always null. Useful for UIs that show the diagnosis first and ask the user before fixing.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
FIX | "fix" | "fix" | src/types/repair.ts:139 |
REPORT | "report" | "report" | src/types/repair.ts:140 |