mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
update config model
This commit is contained in:
parent
e0eafeaee0
commit
ebac0ef3c5
@ -34,7 +34,7 @@
|
||||
"passport-jwt": "^4.0.1",
|
||||
"passport-local": "^1.0.0",
|
||||
"path-to-regexp": "^6.2.1",
|
||||
"sharp": "0.31.1"
|
||||
"sharp": "^0.31.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -2,7 +2,14 @@ export default {
|
||||
name: "Config",
|
||||
collection: "config",
|
||||
schema: {
|
||||
key: { type: String, required: true },
|
||||
value: { type: Object, required: true },
|
||||
key: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
value: {
|
||||
// type can be anything
|
||||
type: Object,
|
||||
required: true
|
||||
},
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user