better build pipeline
This commit is contained in:
20
src/nodes/ts3-config/ui/index.ts
Normal file
20
src/nodes/ts3-config/ui/index.ts
Normal 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";
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user