frontend / api/inventory/listFetcher
api/inventory/listFetcher
File
listFetcher.ts
Enterprise
- Single API endpoint: GET /api/inventory with pagination params
- Tolerant of response envelope variations (plain array, Spring Page format)
- Graceful error handling: returns empty page on network failure
- Type-safe response structure