Merge branch 'worktree-agent-a0e6f31173772c798'
# Conflicts: # GerbilManagerWebAPI/ApplicationContext.cs # GerbilManagerWebAPI/Program.cs # gerbil-manager-web/e2e/mock-data.ts # gerbil-manager-web/src/strings/de.ts
This commit is contained in:
@@ -89,6 +89,8 @@ export interface MockDb {
|
||||
acquisitions: Record<string, unknown>[]
|
||||
// ABGABE-STATUS: Reservierungs-/Abgabe-Status (POST/PUT/DELETE /reservations)
|
||||
reservations: Record<string, unknown>[]
|
||||
// WAITLIST: Warteliste/Nachfrage (RennmausPro nachfrage_tb)
|
||||
waitingList: Record<string, unknown>[]
|
||||
}
|
||||
|
||||
function gerbil(
|
||||
@@ -591,5 +593,29 @@ export function seedDb(): MockDb {
|
||||
updatedAt: '2026-06-16T09:00:00Z',
|
||||
},
|
||||
],
|
||||
waitingList: [
|
||||
{
|
||||
id: 'wl-seed-1',
|
||||
contactId: contacts[0]?.id ?? null,
|
||||
contactName: contacts[0]?.name ?? 'Familie Sonntag',
|
||||
wishColor: 'Schwarz',
|
||||
wishGender: 'female',
|
||||
requestedAt: '2026-05-01T00:00:00Z',
|
||||
status: 'offen',
|
||||
note: 'möchte zwei Weibchen',
|
||||
createdAt: '2026-05-01T00:00:00Z',
|
||||
},
|
||||
{
|
||||
id: 'wl-seed-2',
|
||||
contactId: null,
|
||||
contactName: 'Herr Maier',
|
||||
wishColor: null,
|
||||
wishGender: 'male',
|
||||
requestedAt: '2026-04-10T00:00:00Z',
|
||||
status: 'erfuellt',
|
||||
note: null,
|
||||
createdAt: '2026-04-10T00:00:00Z',
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user