Added pagination support to: - ListCompanies: filter by role, search - ListProducts: filter by seller, search - ListOrders: filter by buyer, seller, status - ListInventory: filter by expiring date, seller New domain types: - ProductFilter, ProductPage - CompanyFilter, CompanyPage - OrderFilter, OrderPage - InventoryPage All endpoints now return paginated responses with: - items array - total count - current page - page size Updated MockRepository in both test files to match new signatures
6 lines
167 B
JavaScript
6 lines
167 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
});
|