Changes from Github AI

This commit is contained in:
Denis Urs Rudolph
2025-12-07 15:01:28 +01:00
parent e11b4a3dc4
commit c70cc79ff4
6 changed files with 75 additions and 8 deletions

View File

@@ -1,14 +1,14 @@
import { Bike, WearPart, MaintenanceHistory } from '@prisma/client'
export type BikeWithParts = Bike & {
wearParts: WearPart[]
}
export type WearPartWithHistory = WearPart & {
maintenanceHistory: MaintenanceHistory[]
bike: Bike
}
export type BikeWithParts = Bike & {
wearParts: WearPartWithHistory[]
}
export type MaintenanceHistoryWithPart = MaintenanceHistory & {
wearPart: WearPart
}