educr8 Schemas
Mongoose schemas/models for Kit
and StockItem
.
import { StockItem } from '@sherbst/educr8-schemas';
// Find all stockItems
StockItem.find({}, (err, stockItems) => {
stockItems.forEach(item => {
console.log(item);
})
})