chore: add TypeScript dead-code checks

This commit is contained in:
Andrey Avtomonov 2026-05-13 13:04:30 +02:00
parent 46b013e32a
commit ef3ac8ee91
25 changed files with 818 additions and 252 deletions

View file

@ -53,7 +53,6 @@ function fixSuggestions(input: MemoryFlowReplayInput): string[] {
export function formatMemoryFlowFinalSummary(input: MemoryFlowReplayInput): string {
const sources = eventsOf(input.events, 'source_acquired');
const source = sources.at(-1);
const totalFiles = sources.reduce((sum, s) => sum + s.fileCount, 0);
const saved = latest(input.events, 'saved');
const provenance = latest(input.events, 'provenance_recorded');

View file

@ -68,15 +68,6 @@ export interface KtxDescriptionUpdate {
columnDescriptions?: Record<string, string | null>;
}
const PREFERRED_METADATA_FIELD_NAMES = [
'tags',
'constraints',
'enum_values',
'freshness',
'tests',
'lineage',
] as const;
export interface KtxMetadataUpdate {
connectionId: string;
table: KtxTableRef;