@machhub-dev/node-red-nodes 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,13 @@
|
|
|
5
5
|
defaults: {
|
|
6
6
|
name: { value: "" },
|
|
7
7
|
useConfigNode: { value: false }, // Toggle between JSON file and config node
|
|
8
|
-
machhub: {
|
|
8
|
+
machhub: {
|
|
9
|
+
value: "",
|
|
10
|
+
type: "machhub-config",
|
|
11
|
+
validate: function(v) {
|
|
12
|
+
return !this.useConfigNode || (this.useConfigNode && v !== "");
|
|
13
|
+
}
|
|
14
|
+
}
|
|
9
15
|
},
|
|
10
16
|
paletteLabel: "Bulk Tag Write",
|
|
11
17
|
inputs: 1,
|
|
@@ -5,7 +5,13 @@
|
|
|
5
5
|
defaults: {
|
|
6
6
|
name: { value: "" },
|
|
7
7
|
useConfigNode: { value: false },
|
|
8
|
-
machhub: {
|
|
8
|
+
machhub: {
|
|
9
|
+
value: "",
|
|
10
|
+
type: "machhub-config",
|
|
11
|
+
validate: function(v) {
|
|
12
|
+
return !this.useConfigNode || (this.useConfigNode && v !== "");
|
|
13
|
+
}
|
|
14
|
+
},
|
|
9
15
|
collectionID: { value: "" },
|
|
10
16
|
action: { value: "select" },
|
|
11
17
|
selectFields: { value: [] },
|
package/dist/nodes/dbquery.html
CHANGED
|
@@ -5,7 +5,13 @@
|
|
|
5
5
|
defaults: {
|
|
6
6
|
name: { value: "" },
|
|
7
7
|
useConfigNode: { value: false },
|
|
8
|
-
machhub: {
|
|
8
|
+
machhub: {
|
|
9
|
+
value: "",
|
|
10
|
+
type: "machhub-config",
|
|
11
|
+
validate: function(v) {
|
|
12
|
+
return !this.useConfigNode || (this.useConfigNode && v !== "");
|
|
13
|
+
}
|
|
14
|
+
},
|
|
9
15
|
query: { value: "" }
|
|
10
16
|
},
|
|
11
17
|
paletteLabel: "DB Query",
|
package/dist/nodes/tag-read.html
CHANGED
|
@@ -6,7 +6,13 @@
|
|
|
6
6
|
name: { value: "" },
|
|
7
7
|
selectedTag: { value: "", required: true },
|
|
8
8
|
useConfigNode: { value: false }, // Toggle between JSON file and config node
|
|
9
|
-
machhub: {
|
|
9
|
+
machhub: {
|
|
10
|
+
value: "",
|
|
11
|
+
type: "machhub-config",
|
|
12
|
+
validate: function(v) {
|
|
13
|
+
return !this.useConfigNode || (this.useConfigNode && v !== "");
|
|
14
|
+
}
|
|
15
|
+
} // Will fill in below if empty
|
|
10
16
|
},
|
|
11
17
|
paletteLabel: "Tag Read",
|
|
12
18
|
outputs: 1,
|