Initial commit: Nextcloud Node-RED Docker image and custom nodes

This commit is contained in:
newkle3r
2026-05-15 14:50:48 +02:00
commit fd7cc695f7
44 changed files with 3936 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
module.exports = function(RED) {
function NextcloudConfigNode(config) {
RED.nodes.createNode(this, config);
this.name = config.name;
this.baseUrl = config.baseUrl;
this.username = config.username;
this.password = config.password;
}
RED.nodes.registerType("nextcloud-config", NextcloudConfigNode, {
credentials: {
username: { type: "text" },
password: { type: "password" }
}
});
}