示例工程 52-ci-matrix-smoke

52-ci-matrix-smoke/app/.tsc/shared/ipc.d.ts

typescript · 1.0 KB

import type { Finding, Flags, Rule } from "./rules";
export declare const CH: {
    readonly snapshot: "ci:snapshot";
    readonly scan: "ci:scan";
    readonly refresh: "ci:refresh";
};
export type EventRow = {
    at: number;
    kind: string;
    detail: string;
};
export type Check = {
    id: string;
    label: string;
    pass: boolean;
    detail: string;
};
export type WorkflowReport = {
    id: string;
    file: string;
    name: string;
    flags: Flags;
    findings: Finding[];
    score: number;
    high: number;
    medium: number;
};
export type ExpectedState = {
    match: boolean;
    checked: number;
    mismatches: string[];
};
export type Snapshot = {
    platform: string;
    electronVersion: string;
    nodeVersion: string;
    workflows: WorkflowReport[];
    rules: Rule[];
    expected: ExpectedState;
    checks: Check[];
    score: number;
    totals: {
        findings: number;
        high: number;
        medium: number;
        echo: number;
    };
    events: EventRow[];
};
//# sourceMappingURL=ipc.d.ts.map