CheckRequest
Rendered modules to analyze, as Codebase.rehash writes them: what a checker process is asked. Everything it needs
is in it (the files are on disk, in cacheDir), so a checker needs no codebase of its own.
import type { CompilerOptions } from "#codebase/tcmts/core/program"; export interface CheckRequest { files: string[]; cacheDir: string; /** each file's definitions' lineage salts, by name */ salts: Record<string, Record<string, string>>; /** each file's definitions that were tables, by name: they stay tables, their schemas worked out again */ tables?: Record<string, string[]>; ignore: number[]; options: CompilerOptions; typecheck: boolean; /** whether to work out type shapes */ shapes: boolean; }