示例工程 53-code-signing-notarization

53-code-signing-notarization/app/shared/ipc.ts

typescript · 0.5 KB

import type { Plan, Readiness } from "./plans";

export const CH = {
  snapshot: "sign:snapshot",
  refresh: "sign:refresh",
} as const;

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;
  plans: Plan[];
  readiness: Readiness;
  checks: Check[];
  score: number;
  events: EventRow[];
};