Allow null values for optional account properties

This commit is contained in:
Basti 2021-07-30 09:57:07 +02:00
parent e6ab24db9a
commit 86c2ac04ba
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -16,22 +16,22 @@ const Kosmos = function(privateClient/*, publicClient*/) {
"enum": ["IRC", "XMPP"] // Mattermost, Slack, ...
},
"username": {
"type": "string"
"type": [ "string", "null" ]
},
"password": {
"type": "string"
"type": [ "string", "null" ]
},
"nickname": {
"type": "string"
"type": [ "string", "null" ]
},
"server": {
"type": "object",
"properties": {
"hostname": {
"type": "string"
"type": [ "string", "null" ]
},
"port": {
"type": "number"
"type": [ "number", "null" ]
},
"secure": {
"type": "boolean"
@ -39,7 +39,7 @@ const Kosmos = function(privateClient/*, publicClient*/) {
}
},
"botkaURL": {
"type": "string"
"type": [ "string", "null" ]
}
},
"required": [