npm workspace integration

This commit is contained in:
2022-03-13 14:06:16 +03:00
parent 1e397af280
commit ff2cc92b5f
24 changed files with 14406 additions and 648 deletions

View File

@@ -0,0 +1,9 @@
const mongoose = require('mongoose')
const scanResultSchema = new mongoose.Schema({
name: String,
partsPrice: Number,
setPrice: Number
})
module.exports = mongoose.models.ScanResult || mongoose.model('ScanResult', scanResultSchema)