import type { PatchCheck } from '@shared/schemas/install.ts'; /** What the main process sends the patch check worker: everything the build needs. */ export interface PatchCheckRequest { /** Folder holding the four stock files (the copy's backup folder). */ readonly stockFolder: string; /** The local server's data folder: its store tuning names the packs that get bundle GUIDs. */ readonly dataFolder: string; /** Root of the patch set (@wto/patcher patch-set.ts). */ readonly patches: string; readonly networkHookLibrary: string; } export type PatchCheckReply = | { readonly ok: true; readonly check: PatchCheck } | { readonly ok: false; readonly error: string };