mirror of
https://github.com/emqx/neuron.git
synced 2026-10-18 21:50:42 +08:00
schema: add file type
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"condition": {
|
||||
"filed": "ssl",
|
||||
"field": "ssl",
|
||||
"value": true
|
||||
},
|
||||
"valid": {
|
||||
@@ -94,13 +94,26 @@
|
||||
"attribute": "required",
|
||||
"type": "string",
|
||||
"condition": {
|
||||
"filed": "ssl",
|
||||
"field": "ssl",
|
||||
"value": true
|
||||
},
|
||||
"default": "",
|
||||
"valid": {
|
||||
"length": 100
|
||||
}
|
||||
},
|
||||
"ca": {
|
||||
"name": "ca",
|
||||
"description": "",
|
||||
"attribute": "optional",
|
||||
"type": "file",
|
||||
"condition": {
|
||||
"field": "ssl",
|
||||
"value": true
|
||||
},
|
||||
"valid": {
|
||||
"length": 1024
|
||||
}
|
||||
}
|
||||
},
|
||||
"opcua-plugin": {
|
||||
|
||||
Reference in New Issue
Block a user