LibraryRow

tcmts.studio.LibraryRow · #2sgyygsk · type

A library as the studio's Libraries page shows it.

export interface LibraryRow {
  /** its mount: `geo.lib.server` */
  path: string;
  /** what it is: `server@0.1.1`, or its namespace's hash */
  label: string;
  /** who announced it, if they did */
  by?: string;
  sources: string[];
  /** what it reaches outside itself, said (`the clock`), and what can't be told */
  reaches: string[];
  unknown: string[];
  /** whether its names are no longer the namespace it was added as */
  changed: boolean;
  /** code outside it using what only it names */
  users: string[];
  /** what its author and the people the codebase trusts say of it: yanks and advisories first */
  said: {
    kind: "yank" | "advisory" | "review";
    who: string;
    text: string;
    severity?: string;
    fixedIn?: string;
  }[];
}

used by