mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 19:44: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-jwt": "^4.0.1",
|
||||||
"passport-local": "^1.0.0",
|
"passport-local": "^1.0.0",
|
||||||
"path-to-regexp": "^6.2.1",
|
"path-to-regexp": "^6.2.1",
|
||||||
"sharp": "0.31.1"
|
"sharp": "^0.31.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
|
@ -2,7 +2,14 @@ export default {
|
|||||||
name: "Config",
|
name: "Config",
|
||||||
collection: "config",
|
collection: "config",
|
||||||
schema: {
|
schema: {
|
||||||
key: { type: String, required: true },
|
key: {
|
||||||
value: { type: Object, required: true },
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
value: {
|
||||||
|
// type can be anything
|
||||||
|
type: Object,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user