@ue-too/being-portable / LoadResult
Type Alias: LoadResult
LoadResult = {
machine:PortableMachine;ok:true;restoreReport?:RestoreReport; } | {errors: readonlyLoadError[];ok:false; }
Defined in: being-portable/src/api-types.ts:102
Type Declaration
{ machine: PortableMachine; ok: true; restoreReport?: RestoreReport; }
machine
readonlymachine:PortableMachine
ok
readonlyok:true
restoreReport?
readonlyoptionalrestoreReport:RestoreReport
Present when a snapshot was restored.
{ errors: readonly LoadError[]; ok: false; }
errors
readonlyerrors: readonlyLoadError[]
ok
readonlyok:false