示例工程 56-auto-update

56-auto-update/app/.tsc/shared/ipc.d.ts

typescript · 0.7 KB

import type { Decision, Feed, Scheme } from "./feed";
export declare const CH: {
    readonly snapshot: "update:snapshot";
    readonly refresh: "update:refresh";
};
export type EventRow = {
    at: number;
    kind: string;
    detail: string;
};
export type Check = {
    id: string;
    label: string;
    pass: boolean;
    detail: string;
};
export type FeedRow = Feed & {
    decision: Decision;
};
export type Snapshot = {
    platform: string;
    electronVersion: string;
    nodeVersion: string;
    schemes: Scheme[];
    feeds: FeedRow[];
    currentVersion: string;
    checks: Check[];
    score: number;
    events: EventRow[];
};
//# sourceMappingURL=ipc.d.ts.map