Complete refactoring
This commit is contained in:
1 parent
1c7b350001
commit
959f9668e6
38 files changed
+704
-413
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user