Skip to content

@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

PropertyModifierTypeDefined in
aspectreadonlyVerificationKindsrc/types/repair.ts:154
mode?readonlyRepairModesrc/types/repair.ts:156
onEvent?readonlyProgressListenersrc/types/repair.ts:158
signal?readonlyAbortSignalsrc/types/repair.ts:157
targetreadonlyTargetsrc/types/repair.ts:155

MIT License