NamespaceDiff

tcmts.cli.diff.NamespaceDiff · #eaaxmrsx · type

import type { Change } from "#codebase/tcmts/cli/diff";

export interface NamespaceDiff {
  /** the code itself changed */
  edited: Change[];
  /** only references to other changed definitions moved; `because` names them */
  propagated: (Change & { because: string[] })[];
  added: { path: string; hash: string }[];
  removed: { path: string; hash: string }[];
  renamed: { from: string; to: string; hash: string }[];
  aliased: { path: string; hash: string; existing: string[] }[];
  conflicted: { path: string; hashes: string[] }[];
  /** the same definition reading differently: its comments, layout or doc changed (`old`, `new`: text versions) */
  reworded: { path: string; hash: string; old?: string; new?: string }[];
}

uses

used by