TcmBuild

tcmts.cli.builds.TcmBuild · #2rk5uukv · type

A tcm kept to run again: the known-good one, the one it replaced, or an older one.

export interface TcmBuild {
  /** what `--build` takes: `known-good`, `previous`, or (an older one) its id, the history entry it was made from, shortened */
  name: string;
  dir: string;
  /** its tcm.js */
  bin: string;
  /** the history entry it was made from (its hash), if it says */
  head: string | undefined;
  /** verified (`pnpm verify` passed it), or made from a history entry (`tcm builds make`) */
  how: "verified" | "made";
  /** when, as it says ("2026-11-01 15:14") */
  when: string | undefined;
  /** when its record was written (ms) */
  at: number;
}

used by