FEAT-6: fix main build - align FEAT-4 makeLitter test factory with FEAT-3 Litter type (expectedGoHomeDate, notes)
This commit is contained in:
@@ -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 {
|
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 {
|
interface CountingSource extends PedigreeSource {
|
||||||
|
|||||||
Reference in New Issue
Block a user