Renamed modules
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
],
|
||||
"node-red": {
|
||||
"nodes": {
|
||||
"ts3-config": "dist/nodes/ts3-config/ts3-config.js",
|
||||
"ts3-get": "dist/nodes/ts3-call/ts3-call.js",
|
||||
"ts3-event": "dist/nodes/ts3-event/ts3-event.js"
|
||||
"TS3Config": "dist/nodes/TS3Config/TS3Config.js",
|
||||
"TS3Get": "dist/nodes/TS3Call/TS3Call.js",
|
||||
"TS3Event": "dist/nodes/TS3Event/TS3Event.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NodeInitializer } from "node-red";
|
||||
import { TeamSpeak } from "ts3-nodejs-library";
|
||||
import { Ts3ConfigNode } from "../ts3-config/types";
|
||||
import { Ts3ConfigNode } from "../TS3Config/types";
|
||||
import { Ts3CallConfig, Ts3CallNode } from "./types";
|
||||
|
||||
const nodeInit: NodeInitializer = (RED): void => {
|
||||
@@ -54,7 +54,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
|
||||
}
|
||||
|
||||
RED.nodes.registerType("ts3-call", Ts3Call);
|
||||
RED.nodes.registerType("TS3Call", Ts3Call);
|
||||
};
|
||||
|
||||
export = nodeInit;
|
||||
@@ -3,12 +3,12 @@ import { Ts3CallEditorNodeProperties } from "../types";
|
||||
|
||||
declare const RED: EditorRED;
|
||||
|
||||
RED.nodes.registerType<Ts3CallEditorNodeProperties>('ts3-call',{
|
||||
RED.nodes.registerType<Ts3CallEditorNodeProperties>('TS3Call',{
|
||||
category: 'function',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
configid: { type:"ts3-config", value: "" },
|
||||
configid: { type:"TS3Config", value: "" },
|
||||
selection: { value:"version" }
|
||||
},
|
||||
inputs: 1,
|
||||
@@ -65,7 +65,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
})
|
||||
}
|
||||
|
||||
RED.nodes.registerType("ts3-config", Ts3Config,{
|
||||
RED.nodes.registerType("TS3Config", Ts3Config,{
|
||||
credentials: {
|
||||
username: {type: "text"},
|
||||
password: {type: "password"}
|
||||
@@ -3,7 +3,7 @@ import { Ts3ConfigCreds, Ts3ConfigEditorNodeProperties } from "../types";
|
||||
|
||||
declare const RED: EditorRED;
|
||||
|
||||
RED.nodes.registerType<Ts3ConfigEditorNodeProperties,Ts3ConfigCreds>('ts3-config',{
|
||||
RED.nodes.registerType<Ts3ConfigEditorNodeProperties,Ts3ConfigCreds>('TS3Config',{
|
||||
category: 'config',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
@@ -1,5 +1,5 @@
|
||||
import { NodeInitializer } from "node-red";
|
||||
import { Ts3ConfigNode } from "../ts3-config/types";
|
||||
import { Ts3ConfigNode } from "../TS3Config/types";
|
||||
import { Ts3EventConfig, Ts3EventNode } from "./types";
|
||||
|
||||
const nodeInit: NodeInitializer = (RED): void => {
|
||||
@@ -41,7 +41,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
|
||||
}
|
||||
|
||||
RED.nodes.registerType("ts3-event", Ts3Event);
|
||||
RED.nodes.registerType("TS3Event", Ts3Event);
|
||||
};
|
||||
|
||||
export = nodeInit;
|
||||
@@ -3,12 +3,12 @@ import { Ts3EventEditorNodeProperties } from "../types";
|
||||
|
||||
declare const RED: EditorRED;
|
||||
|
||||
RED.nodes.registerType<Ts3EventEditorNodeProperties>('ts3-event',{
|
||||
RED.nodes.registerType<Ts3EventEditorNodeProperties>('TS3Event',{
|
||||
category: 'function',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
configid: { type:"ts3-config", value: "" },
|
||||
configid: { type:"TS3Config", value: "" },
|
||||
selection: { value:"" }
|
||||
},
|
||||
inputs: 0,
|
||||
Reference in New Issue
Block a user