better build pipeline

This commit is contained in:
2021-04-23 13:01:16 +02:00
parent 8b86e8ea40
commit 288927e74c
14 changed files with 134 additions and 83 deletions

View File

@@ -0,0 +1,20 @@
import { EditorRED } from "node-red";
import { Ts3ConfigCreds, Ts3ConfigEditorNodeProperties } from "../types";
declare const RED: EditorRED;
RED.nodes.registerType<Ts3ConfigEditorNodeProperties,Ts3ConfigCreds>('ts3-config',{
category: 'config',
color: '#a6bbcf',
defaults: {
host: { value: ""},
nickname: {value: "ServerQuery"}
},
credentials: {
username: {type: "text"},
password: {type: "password"}
},
label: function() {
return this.name || "Ts3 Config";
}
});