示例工程 55-installers-and-channels
55-installers-and-channels/app/.tsc/shared/ipc.d.ts
import type { Channel, Installer, Recommendation } from "./channels";
export declare const CH: {
readonly snapshot: "chan:snapshot";
readonly refresh: "chan:refresh";
};
export type EventRow = {
at: number;
kind: string;
detail: string;
};
export type Check = {
id: string;
label: string;
pass: boolean;
detail: string;
};
export type Snapshot = {
platform: string;
electronVersion: string;
nodeVersion: string;
channels: Channel[];
installers: Installer[];
decisions: Array<{
id: string;
label: string;
result: Recommendation;
}>;
checks: Check[];
score: number;
events: EventRow[];
};
//# sourceMappingURL=ipc.d.ts.map