Complete refactoring

This commit is contained in:
Nikola Bjelo committed 2018-10-27 15:59:48 +02:00
1 parent 1c7b350001
commit 959f9668e6
38 files changed
+704 -413

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import mongoose, { Schema } from 'mongoose'
const plotterSchema = new Schema({
ownerId: String,
isTemplate: Boolean,
name: String,
host: String,
repo: String,
moduleName: String
})
const Plotter = mongoose.model('Plotter', plotterSchema)
export default Plotter