FEAT-6: fix main build - align FEAT-4 makeLitter test factory with FEAT-3 Litter type (expectedGoHomeDate, notes)

This commit is contained in:
2026-06-06 00:27:09 +02:00
parent 17879b1cfb
commit 1bf94c2040

View File

@@ -38,7 +38,16 @@ function makeGerbil(id: string, name: string, litterId: string | null = null): G
}
function makeLitter(id: string, fatherId: string | null, motherId: string | null): Litter {
return { id, name: `Wurf ${id}`, date: '2025-01-01', totalBorn: null, fatherId, motherId }
return {
id,
name: `Wurf ${id}`,
date: '2025-01-01',
totalBorn: null,
expectedGoHomeDate: null,
notes: null,
fatherId,
motherId,
}
}
interface CountingSource extends PedigreeSource {