Add mount_count and unmount_count tracking for samples
Introduced `mount_count` and `unmount_count` fields to track mounting events for samples. Updated models, schemas, and front-end components to support dynamic calculation and display of these counts. Enhanced backend queries and API responses to include the new data.
Showing
- backend/app/models.py 10 additions, 0 deletionsbackend/app/models.py
- backend/app/routers/sample.py 21 additions, 12 deletionsbackend/app/routers/sample.py
- backend/app/schemas.py 3 additions, 0 deletionsbackend/app/schemas.py
- frontend/src/components/SampleTracker.tsx 22 additions, 1 deletionfrontend/src/components/SampleTracker.tsx
Loading
Please register or sign in to comment