示例工程 62-workspace-shell-sandbox
62-workspace-shell-sandbox/app/.tsc/shared/ipc.d.ts
import type { SandboxResult, Scenario } from "./sandbox";
export declare const CH: {
readonly snapshot: "sandbox:snapshot";
readonly run: "sandbox:run";
readonly reset: "sandbox:reset";
};
export type RunReq = {
scenarioId: string;
};
export type Check = {
id: string;
label: string;
pass: boolean;
detail: string;
};
export type Snapshot = {
platform: string;
electronVersion: string;
nodeVersion: string;
root: string;
symlinks: Record<string, string>;
allowlist: string[];
timeoutMs: number;
outputCap: number;
scenarios: Scenario[];
audit: SandboxResult[];
checks: Check[];
score: number;
};
//# sourceMappingURL=ipc.d.ts.map