Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /**
* @file mutations.ts
* @module api/inventory/mutations
*
* @summary
* Barrel export for inventory mutations and queries.
* Provides unified interface for all inventory-related API operations:
* item CRUD, stock adjustments, price changes, and supplier searches.
*
* @enterprise
* - Single import location for all mutations and queries
* - Backward compatible with existing imports
* - Clear separation of concerns across modules
* - Full TypeDoc documentation inheritance
*
* @usage
* ```typescript
* // Import specific mutations
* import { upsertItem, adjustQuantity, changePrice } from '@/api/inventory/mutations';
*
* // Or import types
* import type { UpsertItemRequest, AdjustQuantityRequest } from '@/api/inventory/mutations';
*
* // Or import suppliers
* import { listSuppliers, searchItemsBySupplier } from '@/api/inventory/mutations';
* ```
*/
// Item lifecycle mutations (create, update, rename, delete)
export {
upsertItem,
renameItem,
deleteItem,
INVENTORY_BASE,
} from './itemMutations';
// Stock adjustment mutations (quantity changes)
export { adjustQuantity } from './stockMutations';
// Price change mutations
export { changePrice } from './priceMutations';
// Supplier and item search queries
export {
listSuppliers,
searchItemsBySupplier,
SUPPLIERS_BASE,
} from './supplierQueries';
// Data normalization utilities
export { normalizeInventoryRow } from './normalizers';
// Request/response types
export type {
UpsertItemRequest,
UpsertItemResponse,
AdjustQuantityRequest,
ChangePriceRequest,
} from './types';
|