Appearance
@loontail/minecraft-kit / VerifyAndRepairInput
Type Alias: VerifyAndRepairInput
ts
type VerifyAndRepairInput = {
aspect: VerificationKind;
mode?: RepairMode;
onEvent?: ProgressListener;
signal?: AbortSignal;
target: Target;
};Defined in: src/types/repair.ts:153
Inputs to kit.repair.verifyAndRepair({ aspect, target, mode? }). Runs a single aspect's verifier and, in 'fix' mode, plans + executes the repair for any issues it finds. In 'report' mode the function never writes to disk.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
aspect | readonly | VerificationKind | src/types/repair.ts:154 |
mode? | readonly | RepairMode | src/types/repair.ts:156 |
onEvent? | readonly | ProgressListener | src/types/repair.ts:158 |
signal? | readonly | AbortSignal | src/types/repair.ts:157 |
target | readonly | Target | src/types/repair.ts:155 |