ReleaseFacts

tcmts.registry.ReleaseFacts · #md6lpey7 · type

What the registry works out about a release once it's mirrored: from its code, not from what anyone says.

import type { Level } from "#codebase/tcmts/cli/semver_checks";
import type { Effect } from "#codebase/tcmts/core/effects";
import type { PlaceMix } from "#codebase/tcmts/share";

export interface ReleaseFacts {
  /** its manifest's, if it has one */
  description?: string;
  license?: string;
  /** how many definitions it names (types, tests and files left out of where they run) */
  definitions: number;
  places: PlaceMix;
  /** where it reaches outside itself, said plainly: "reaches the network (fetchTiles)" */
  reaches: string;
  /**
   * that, by effect: the definitions whose code does, or which use a package's export that does (`Pages (react)`);
   * and the packages whose code couldn't all be followed (facts worked out before these were kept lack them)
   */
  effects?: Partial<Record<Effect, string[]>>;
  unknown?: string[];
  /** how its API changed since the version before it, if there is one */
  level?: Level;
  /** that, said briefly: "2 added: hull, fetchTiles" */
  change?: string;
  /** the version it's compared with */
  after?: string;
}

uses

used by