splitted functionality

This commit is contained in:
jkoschke
2021-02-22 01:03:28 +01:00
parent c77812d857
commit 0ed1e74080
11 changed files with 604 additions and 362 deletions

13
nextcloud-config.js Normal file
View File

@ -0,0 +1,13 @@
module.exports = function (RED) {
function NextcloudConfigNode(n) {
RED.nodes.createNode(this, n)
this.address = n.address;
this.insecure = n.insecure;
}
RED.nodes.registerType('nextcloud-credentials', NextcloudConfigNode, {
credentials: {
user: { type: 'text' },
pass: { type: 'password' }
}
})
}