feat : Ajout de zod, création d'un composant de chargement loading-dots.vue et finalisation du flow d'une reception

This commit is contained in:
2026-01-13 15:52:47 +01:00
parent cfe7baa4ae
commit 6dab1d789a
19 changed files with 547 additions and 165 deletions

View File

@@ -1,9 +1,16 @@
export interface ReceptionData {
id: number
dsd: number | null
licensePlate: string | null
weight: number | null
weights?: WeightEntryData[] | null
receptionDate: string
currentStep: number
isValid: boolean
}
export interface WeightEntryData {
id?: number
type: 'gross' | 'tare'
dsd: number | null
weight: number | null
weighedAt: string | null
}