@node-red/nodes 3.0.0-beta.2 → 3.0.0
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.
- package/core/common/20-inject.html +1 -1
- package/core/common/20-inject.js +3 -2
- package/core/common/21-debug.html +15 -22
- package/core/common/60-link.html +1 -1
- package/core/common/60-link.js +43 -46
- package/core/common/lib/debug/debug-utils.js +30 -22
- package/core/function/10-function.html +6 -6
- package/core/function/15-change.js +2 -2
- package/core/function/80-template.js +24 -0
- package/core/function/89-delay.js +13 -9
- package/core/network/10-mqtt.js +1 -1
- package/core/network/22-websocket.js +1 -0
- package/core/network/31-tcpin.js +15 -17
- package/core/parsers/70-CSV.js +5 -2
- package/core/sequence/17-split.js +4 -2
- package/core/storage/10-file.html +8 -8
- package/examples/function/delay/06 - Simple Queue with release +149 -0
- package/locales/en-US/messages.json +108 -108
- package/locales/ja/function/10-function.html +1 -1
- package/locales/ja/messages.json +4 -2
- package/locales/ja/network/10-mqtt.html +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "48d660b3a4109400",
|
|
4
|
+
"type": "inject",
|
|
5
|
+
"z": "9e5f48c16729e4f0",
|
|
6
|
+
"name": "inject",
|
|
7
|
+
"props": [
|
|
8
|
+
{
|
|
9
|
+
"p": "payload"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"repeat": "",
|
|
13
|
+
"crontab": "",
|
|
14
|
+
"once": false,
|
|
15
|
+
"onceDelay": 0.1,
|
|
16
|
+
"topic": "",
|
|
17
|
+
"payload": "",
|
|
18
|
+
"payloadType": "date",
|
|
19
|
+
"x": 185,
|
|
20
|
+
"y": 795,
|
|
21
|
+
"wires": [
|
|
22
|
+
[
|
|
23
|
+
"e0f9e206681f3504"
|
|
24
|
+
]
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "e0f9e206681f3504",
|
|
29
|
+
"type": "delay",
|
|
30
|
+
"z": "9e5f48c16729e4f0",
|
|
31
|
+
"name": "",
|
|
32
|
+
"pauseType": "rate",
|
|
33
|
+
"timeout": "5",
|
|
34
|
+
"timeoutUnits": "seconds",
|
|
35
|
+
"rate": "1",
|
|
36
|
+
"nbRateUnits": "30",
|
|
37
|
+
"rateUnits": "second",
|
|
38
|
+
"randomFirst": "1",
|
|
39
|
+
"randomLast": "5",
|
|
40
|
+
"randomUnits": "seconds",
|
|
41
|
+
"drop": false,
|
|
42
|
+
"allowrate": false,
|
|
43
|
+
"outputs": 1,
|
|
44
|
+
"x": 430,
|
|
45
|
+
"y": 795,
|
|
46
|
+
"wires": [
|
|
47
|
+
[
|
|
48
|
+
"e470f1d794e1bef9",
|
|
49
|
+
"af7cea1dfb797a75"
|
|
50
|
+
]
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "943543cf7a1958e4",
|
|
55
|
+
"type": "change",
|
|
56
|
+
"z": "9e5f48c16729e4f0",
|
|
57
|
+
"name": "set flush to 1",
|
|
58
|
+
"rules": [
|
|
59
|
+
{
|
|
60
|
+
"t": "set",
|
|
61
|
+
"p": "flush",
|
|
62
|
+
"pt": "msg",
|
|
63
|
+
"to": "1",
|
|
64
|
+
"tot": "num"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"t": "delete",
|
|
68
|
+
"p": "payload",
|
|
69
|
+
"pt": "msg"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"action": "",
|
|
73
|
+
"property": "",
|
|
74
|
+
"from": "",
|
|
75
|
+
"to": "",
|
|
76
|
+
"reg": false,
|
|
77
|
+
"x": 510,
|
|
78
|
+
"y": 915,
|
|
79
|
+
"wires": [
|
|
80
|
+
[
|
|
81
|
+
"e0f9e206681f3504"
|
|
82
|
+
]
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "e470f1d794e1bef9",
|
|
87
|
+
"type": "function",
|
|
88
|
+
"z": "9e5f48c16729e4f0",
|
|
89
|
+
"name": "Do something that takes a few seconds",
|
|
90
|
+
"func": "\n//send on the message between 3 and 6 seconds later\nsetTimeout(\n function() { \n node.send(msg) \n }, \n Math.random() * 3000 + 3000\n);\nreturn null;",
|
|
91
|
+
"outputs": 1,
|
|
92
|
+
"noerr": 0,
|
|
93
|
+
"initialize": "",
|
|
94
|
+
"finalize": "",
|
|
95
|
+
"libs": [],
|
|
96
|
+
"x": 760,
|
|
97
|
+
"y": 795,
|
|
98
|
+
"wires": [
|
|
99
|
+
[
|
|
100
|
+
"943543cf7a1958e4",
|
|
101
|
+
"859258551b8389b7"
|
|
102
|
+
]
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "af7cea1dfb797a75",
|
|
107
|
+
"type": "debug",
|
|
108
|
+
"z": "9e5f48c16729e4f0",
|
|
109
|
+
"name": "IN",
|
|
110
|
+
"active": true,
|
|
111
|
+
"tosidebar": true,
|
|
112
|
+
"console": false,
|
|
113
|
+
"tostatus": false,
|
|
114
|
+
"complete": "payload",
|
|
115
|
+
"targetType": "msg",
|
|
116
|
+
"statusVal": "",
|
|
117
|
+
"statusType": "auto",
|
|
118
|
+
"x": 710,
|
|
119
|
+
"y": 735,
|
|
120
|
+
"wires": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "859258551b8389b7",
|
|
124
|
+
"type": "debug",
|
|
125
|
+
"z": "9e5f48c16729e4f0",
|
|
126
|
+
"name": "OUT",
|
|
127
|
+
"active": true,
|
|
128
|
+
"tosidebar": true,
|
|
129
|
+
"console": false,
|
|
130
|
+
"tostatus": false,
|
|
131
|
+
"complete": "payload",
|
|
132
|
+
"targetType": "msg",
|
|
133
|
+
"statusVal": "",
|
|
134
|
+
"statusType": "auto",
|
|
135
|
+
"x": 895,
|
|
136
|
+
"y": 735,
|
|
137
|
+
"wires": []
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "ecaaf26326da10ee",
|
|
141
|
+
"type": "comment",
|
|
142
|
+
"z": "9e5f48c16729e4f0",
|
|
143
|
+
"name": "Simple Queue with release",
|
|
144
|
+
"info": "This example shows how to use a delay node set to rate limit mode as a simple queue to feed a\nprocess that may take some time to complete. Once that process completes the feedback is then\nset to flush out the next message - thus running the \"loop\" as fast as possible with no overlaps.\n\n**Note**: only the `msg.flush` property msut be set - otherwise the other properties that are fed \nback will be added as another new message to the queue.",
|
|
145
|
+
"x": 235,
|
|
146
|
+
"y": 915,
|
|
147
|
+
"wires": []
|
|
148
|
+
}
|
|
149
|
+
]
|
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"toConsole": "system console",
|
|
138
138
|
"toStatus": "node status (32 characters)",
|
|
139
139
|
"severity": "Level",
|
|
140
|
+
"node": "node",
|
|
140
141
|
"notification": {
|
|
141
142
|
"activated": "Successfully activated: __label__",
|
|
142
143
|
"deactivated": "Successfully deactivated: __label__"
|
|
@@ -193,22 +194,22 @@
|
|
|
193
194
|
"key": "Private Key",
|
|
194
195
|
"passphrase": "Passphrase",
|
|
195
196
|
"ca": "CA Certificate",
|
|
196
|
-
"verify-server-cert":"Verify server certificate",
|
|
197
|
+
"verify-server-cert": "Verify server certificate",
|
|
197
198
|
"servername": "Server Name",
|
|
198
199
|
"alpnprotocol": "ALPN Protocol"
|
|
199
200
|
},
|
|
200
201
|
"placeholder": {
|
|
201
|
-
"cert":"path to certificate (PEM format)",
|
|
202
|
-
"key":"path to private key (PEM format)",
|
|
203
|
-
"ca":"path to CA certificate (PEM format)",
|
|
204
|
-
"passphrase":"private key passphrase (optional)",
|
|
205
|
-
"servername":"for use with SNI",
|
|
206
|
-
"alpnprotocol":"for use with ALPN"
|
|
202
|
+
"cert": "path to certificate (PEM format)",
|
|
203
|
+
"key": "path to private key (PEM format)",
|
|
204
|
+
"ca": "path to CA certificate (PEM format)",
|
|
205
|
+
"passphrase": "private key passphrase (optional)",
|
|
206
|
+
"servername": "for use with SNI",
|
|
207
|
+
"alpnprotocol": "for use with ALPN"
|
|
207
208
|
},
|
|
208
209
|
"error": {
|
|
209
210
|
"missing-file": "No certificate/key file provided",
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
"invalid-cert": "Certificate not specified",
|
|
212
|
+
"invalid-key": "Private key not specified"
|
|
212
213
|
}
|
|
213
214
|
},
|
|
214
215
|
"exec": {
|
|
@@ -262,10 +263,10 @@
|
|
|
262
263
|
"moduleLoadError": "Failed to load module __module__: __error__",
|
|
263
264
|
"moduleNameError": "Invalid module variable name: __name__",
|
|
264
265
|
"moduleNameReserved": "Reserved variable name: __name__",
|
|
265
|
-
"inputListener":"Cannot add listener to 'input' event within Function",
|
|
266
|
-
"non-message-returned":"Function tried to send a message of type __type__",
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
"inputListener": "Cannot add listener to 'input' event within Function",
|
|
267
|
+
"non-message-returned": "Function tried to send a message of type __type__",
|
|
268
|
+
"invalid-js": "Error in JavaScript code",
|
|
269
|
+
"missing-module": "Module __module__ missing"
|
|
269
270
|
}
|
|
270
271
|
},
|
|
271
272
|
"template": {
|
|
@@ -319,35 +320,35 @@
|
|
|
319
320
|
"limit": "limit",
|
|
320
321
|
"limitTopic": "limit topic",
|
|
321
322
|
"random": "random",
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
"units"
|
|
323
|
+
"rate": "rate",
|
|
324
|
+
"random-first": "first random value",
|
|
325
|
+
"random-last": "last random value",
|
|
326
|
+
"units": {
|
|
326
327
|
"second": {
|
|
327
|
-
"plural"
|
|
328
|
+
"plural": "Seconds",
|
|
328
329
|
"singular": "Second"
|
|
329
330
|
},
|
|
330
331
|
"minute": {
|
|
331
|
-
"plural"
|
|
332
|
+
"plural": "Minutes",
|
|
332
333
|
"singular": "Minute"
|
|
333
334
|
},
|
|
334
335
|
"hour": {
|
|
335
|
-
"plural"
|
|
336
|
+
"plural": "Hours",
|
|
336
337
|
"singular": "Hour"
|
|
337
338
|
},
|
|
338
339
|
"day": {
|
|
339
|
-
"plural"
|
|
340
|
+
"plural": "Days",
|
|
340
341
|
"singular": "Day"
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
344
|
},
|
|
344
345
|
"errors": {
|
|
345
|
-
"too-many"
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
"too-many": "too many pending messages in delay node",
|
|
347
|
+
"invalid-timeout": "Invalid delay value",
|
|
348
|
+
"invalid-rate": "Invalid rate value",
|
|
349
|
+
"invalid-rate-unit": "Invalid rate unit value",
|
|
350
|
+
"invalid-random-first": "Invalid first random value",
|
|
351
|
+
"invalid-random-last": "Invalid last random value"
|
|
351
352
|
}
|
|
352
353
|
},
|
|
353
354
|
"trigger": {
|
|
@@ -382,11 +383,11 @@
|
|
|
382
383
|
"trigger-block": "trigger & block",
|
|
383
384
|
"trigger-loop": "resend every",
|
|
384
385
|
"reset": "Reset the trigger if:",
|
|
385
|
-
"resetMessage":"msg.reset is set",
|
|
386
|
-
"resetPayload":"msg.payload equals",
|
|
386
|
+
"resetMessage": "msg.reset is set",
|
|
387
|
+
"resetPayload": "msg.payload equals",
|
|
387
388
|
"resetprompt": "optional",
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
"duration": "duration",
|
|
390
|
+
"topic": "topic"
|
|
390
391
|
}
|
|
391
392
|
},
|
|
392
393
|
"comment": {
|
|
@@ -411,8 +412,8 @@
|
|
|
411
412
|
"cleansession": "Use clean session",
|
|
412
413
|
"cleanstart": "Use clean start",
|
|
413
414
|
"use-tls": "Use TLS",
|
|
414
|
-
"tls-config":"TLS Configuration",
|
|
415
|
-
"verify-server-cert":"Verify server certificate",
|
|
415
|
+
"tls-config": "TLS Configuration",
|
|
416
|
+
"verify-server-cert": "Verify server certificate",
|
|
416
417
|
"compatmode": "Use legacy MQTT 3.1 support",
|
|
417
418
|
"userProperties": "User Properties",
|
|
418
419
|
"subscriptionIdentifier": "Subscription ID",
|
|
@@ -447,10 +448,10 @@
|
|
|
447
448
|
"auto-connect": "Connect automatically",
|
|
448
449
|
"auto-mode-depreciated": "This option is depreciated. Please use the new auto-detect mode."
|
|
449
450
|
},
|
|
450
|
-
"sections-label":{
|
|
451
|
+
"sections-label": {
|
|
451
452
|
"birth-message": "Message sent on connection (birth message)",
|
|
452
|
-
"will-message":"Message sent on an unexpected disconnection (will message)",
|
|
453
|
-
"close-message":"Message sent before disconnecting (close message)"
|
|
453
|
+
"will-message": "Message sent on an unexpected disconnection (will message)",
|
|
454
|
+
"close-message": "Message sent before disconnecting (close message)"
|
|
454
455
|
},
|
|
455
456
|
"tabs-label": {
|
|
456
457
|
"connection": "Connection",
|
|
@@ -459,7 +460,7 @@
|
|
|
459
460
|
},
|
|
460
461
|
"placeholder": {
|
|
461
462
|
"clientid": "Leave blank for auto generated",
|
|
462
|
-
"clientid-nonclean":"Must be set for non-clean sessions",
|
|
463
|
+
"clientid-nonclean": "Must be set for non-clean sessions",
|
|
463
464
|
"will-topic": "Leave blank to disable will message",
|
|
464
465
|
"birth-topic": "Leave blank to disable birth message",
|
|
465
466
|
"close-topic": "Leave blank to disable close message"
|
|
@@ -492,8 +493,7 @@
|
|
|
492
493
|
"invalid-action-action": "Invalid action specified",
|
|
493
494
|
"invalid-action-alreadyconnected": "Disconnect from broker before connecting",
|
|
494
495
|
"invalid-action-badsubscription": "msg.topic is missing or invalid",
|
|
495
|
-
|
|
496
|
-
|
|
496
|
+
"invalid-client-id": "Missing Client ID"
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
"httpin": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
"status": "Status code",
|
|
507
507
|
"headers": "Headers",
|
|
508
508
|
"other": "other",
|
|
509
|
-
"paytoqs"
|
|
509
|
+
"paytoqs": {
|
|
510
510
|
"ignore": "Ignore",
|
|
511
511
|
"query": "Append to query-string parameters",
|
|
512
512
|
"body": "Send as request body"
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"setby": "- set by msg.method -",
|
|
521
521
|
"basicauth": "Use authentication",
|
|
522
522
|
"use-tls": "Enable secure (SSL/TLS) connection",
|
|
523
|
-
"tls-config":"TLS Configuration",
|
|
523
|
+
"tls-config": "TLS Configuration",
|
|
524
524
|
"basic": "basic authentication",
|
|
525
525
|
"digest": "digest authentication",
|
|
526
526
|
"bearer": "bearer authentication",
|
|
@@ -545,8 +545,8 @@
|
|
|
545
545
|
"no-response": "No response object",
|
|
546
546
|
"json-error": "JSON parse error",
|
|
547
547
|
"no-url": "No url specified",
|
|
548
|
-
"deprecated-call":"Deprecated call to __method__",
|
|
549
|
-
"invalid-transport":"non-http transport requested",
|
|
548
|
+
"deprecated-call": "Deprecated call to __method__",
|
|
549
|
+
"invalid-transport": "non-http transport requested",
|
|
550
550
|
"timeout-isnan": "Timeout value is not a valid number, ignoring",
|
|
551
551
|
"timeout-isnegative": "Timeout value is negative, ignoring",
|
|
552
552
|
"invalid-payload": "Invalid payload",
|
|
@@ -584,8 +584,8 @@
|
|
|
584
584
|
"send-error": "An error occurred while sending: ",
|
|
585
585
|
"missing-conf": "Missing server configuration",
|
|
586
586
|
"duplicate-path": "Cannot have two WebSocket listeners on the same path: __path__",
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
"missing-server": "Missing server configuration",
|
|
588
|
+
"missing-client": "Missing client configuration"
|
|
589
589
|
}
|
|
590
590
|
},
|
|
591
591
|
"watch": {
|
|
@@ -645,7 +645,6 @@
|
|
|
645
645
|
"connection-closed": "connection closed from __host__:__port__",
|
|
646
646
|
"connections": "__count__ connection",
|
|
647
647
|
"connections_plural": "__count__ connections"
|
|
648
|
-
|
|
649
648
|
},
|
|
650
649
|
"errors": {
|
|
651
650
|
"connection-lost": "connection lost to __host__:__port__",
|
|
@@ -657,8 +656,8 @@
|
|
|
657
656
|
"connect-timeout": "connect timeout",
|
|
658
657
|
"connect-fail": "connect failed",
|
|
659
658
|
"bad-string": "failed to convert to string",
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
"invalid-host": "Invalid host",
|
|
660
|
+
"invalid-port": "Invalid port"
|
|
662
661
|
}
|
|
663
662
|
},
|
|
664
663
|
"udp": {
|
|
@@ -673,7 +672,7 @@
|
|
|
673
672
|
"toport": "to port",
|
|
674
673
|
"address": "Address",
|
|
675
674
|
"decode-base64": "Decode Base64 encoded payload?",
|
|
676
|
-
|
|
675
|
+
"port": "port"
|
|
677
676
|
},
|
|
678
677
|
"placeholder": {
|
|
679
678
|
"interface": "(optional) local interface or address to bind to",
|
|
@@ -721,7 +720,7 @@
|
|
|
721
720
|
"port-invalid": "udp: port number not valid",
|
|
722
721
|
"alreadyused": "udp: port __port__ already in use",
|
|
723
722
|
"ifnotfound": "udp: interface __iface__ not found",
|
|
724
|
-
|
|
723
|
+
"invalid-group": "invalid multicast group"
|
|
725
724
|
}
|
|
726
725
|
},
|
|
727
726
|
"switch": {
|
|
@@ -730,8 +729,8 @@
|
|
|
730
729
|
"property": "Property",
|
|
731
730
|
"rule": "rule",
|
|
732
731
|
"repair": "recreate message sequences",
|
|
733
|
-
|
|
734
|
-
|
|
732
|
+
"value-rules": "value rules",
|
|
733
|
+
"sequence-rules": "sequence rules"
|
|
735
734
|
},
|
|
736
735
|
"previous": "previous value",
|
|
737
736
|
"and": "and",
|
|
@@ -788,8 +787,8 @@
|
|
|
788
787
|
"invalid-json": "Invalid 'to' JSON property",
|
|
789
788
|
"invalid-expr": "Invalid JSONata expression: __error__",
|
|
790
789
|
"no-override": "Cannot set property of non-object type: __property__",
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
"invalid-prop": "Invalid property expression: __property__",
|
|
791
|
+
"invalid-json-data": "Invalid JSON data: __error__"
|
|
793
792
|
}
|
|
794
793
|
},
|
|
795
794
|
"range": {
|
|
@@ -801,10 +800,10 @@
|
|
|
801
800
|
"from": "from",
|
|
802
801
|
"to": "to",
|
|
803
802
|
"roundresult": "Round result to the nearest integer?",
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
803
|
+
"minin": "input from",
|
|
804
|
+
"maxin": "input to",
|
|
805
|
+
"minout": "target from",
|
|
806
|
+
"maxout": "target to"
|
|
808
807
|
},
|
|
809
808
|
"placeholder": {
|
|
810
809
|
"min": "e.g. 0",
|
|
@@ -901,8 +900,8 @@
|
|
|
901
900
|
"property": "Property",
|
|
902
901
|
"actions": {
|
|
903
902
|
"toggle": "Convert between JSON String & Object",
|
|
904
|
-
"str":"Always convert to JSON String",
|
|
905
|
-
"obj":"Always convert to JavaScript Object"
|
|
903
|
+
"str": "Always convert to JSON String",
|
|
904
|
+
"obj": "Always convert to JavaScript Object"
|
|
906
905
|
}
|
|
907
906
|
}
|
|
908
907
|
},
|
|
@@ -929,6 +928,7 @@
|
|
|
929
928
|
"write": "write file",
|
|
930
929
|
"read": "read file",
|
|
931
930
|
"filename": "Filename",
|
|
931
|
+
"path": "path",
|
|
932
932
|
"action": "Action",
|
|
933
933
|
"addnewline": "Add newline (\\n) to each payload?",
|
|
934
934
|
"createdir": "Create directory if it doesn't exist?",
|
|
@@ -988,15 +988,15 @@
|
|
|
988
988
|
},
|
|
989
989
|
"split": {
|
|
990
990
|
"split": "split",
|
|
991
|
-
"intro":"Split <code>msg.payload</code> based on type:",
|
|
992
|
-
"object":"<b>Object</b>",
|
|
993
|
-
"objectSend":"Send a message for each key/value pair",
|
|
994
|
-
"strBuff":"<b>String</b> / <b>Buffer</b>",
|
|
995
|
-
"array":"<b>Array</b>",
|
|
996
|
-
"splitUsing":"Split using",
|
|
997
|
-
"splitLength":"Fixed length of",
|
|
998
|
-
"stream":"Handle as a stream of messages",
|
|
999
|
-
"addname":" Copy key to "
|
|
991
|
+
"intro": "Split <code>msg.payload</code> based on type:",
|
|
992
|
+
"object": "<b>Object</b>",
|
|
993
|
+
"objectSend": "Send a message for each key/value pair",
|
|
994
|
+
"strBuff": "<b>String</b> / <b>Buffer</b>",
|
|
995
|
+
"array": "<b>Array</b>",
|
|
996
|
+
"splitUsing": "Split using",
|
|
997
|
+
"splitLength": "Fixed length of",
|
|
998
|
+
"stream": "Handle as a stream of messages",
|
|
999
|
+
"addname": " Copy key to "
|
|
1000
1000
|
},
|
|
1001
1001
|
"join": {
|
|
1002
1002
|
"join": "join",
|
|
@@ -1029,7 +1029,7 @@
|
|
|
1029
1029
|
"complete": "After a message with the <code>msg.complete</code> property set",
|
|
1030
1030
|
"tip": "This mode assumes this node is either paired with a <i>split</i> node or the received messages will have a properly configured <code>msg.parts</code> property.",
|
|
1031
1031
|
"too-many": "too many pending messages in join node",
|
|
1032
|
-
|
|
1032
|
+
"message-prop": "message property",
|
|
1033
1033
|
"merge": {
|
|
1034
1034
|
"topics-label": "Merged Topics",
|
|
1035
1035
|
"topics": "topics",
|
|
@@ -1048,51 +1048,51 @@
|
|
|
1048
1048
|
"invalid-type": "Cannot join __error__ to buffer"
|
|
1049
1049
|
}
|
|
1050
1050
|
},
|
|
1051
|
-
"sort"
|
|
1051
|
+
"sort": {
|
|
1052
1052
|
"sort": "sort",
|
|
1053
|
-
"target"
|
|
1054
|
-
"seq"
|
|
1055
|
-
"key"
|
|
1056
|
-
"elem"
|
|
1057
|
-
"order"
|
|
1058
|
-
"ascending"
|
|
1059
|
-
"descending"
|
|
1060
|
-
"as-number"
|
|
1061
|
-
"invalid-exp"
|
|
1062
|
-
"too-many"
|
|
1063
|
-
"clear"
|
|
1053
|
+
"target": "Sort",
|
|
1054
|
+
"seq": "message sequence",
|
|
1055
|
+
"key": "Key",
|
|
1056
|
+
"elem": "element value",
|
|
1057
|
+
"order": "Order",
|
|
1058
|
+
"ascending": "ascending",
|
|
1059
|
+
"descending": "descending",
|
|
1060
|
+
"as-number": "as number",
|
|
1061
|
+
"invalid-exp": "Invalid JSONata expression in sort node: __message__",
|
|
1062
|
+
"too-many": "Too many pending messages in sort node",
|
|
1063
|
+
"clear": "clear pending message in sort node"
|
|
1064
1064
|
},
|
|
1065
|
-
"batch"
|
|
1065
|
+
"batch": {
|
|
1066
1066
|
"batch": "batch",
|
|
1067
1067
|
"mode": {
|
|
1068
|
-
"label"
|
|
1069
|
-
"num-msgs"
|
|
1070
|
-
"interval"
|
|
1071
|
-
"concat"
|
|
1068
|
+
"label": "Mode",
|
|
1069
|
+
"num-msgs": "Group by number of messages",
|
|
1070
|
+
"interval": "Group by time interval",
|
|
1071
|
+
"concat": "Concatenate sequences"
|
|
1072
1072
|
},
|
|
1073
1073
|
"count": {
|
|
1074
|
-
"label"
|
|
1075
|
-
"overlap"
|
|
1076
|
-
"count"
|
|
1077
|
-
"invalid"
|
|
1074
|
+
"label": "Number of messages",
|
|
1075
|
+
"overlap": "Overlap",
|
|
1076
|
+
"count": "count",
|
|
1077
|
+
"invalid": "Invalid count and overlap"
|
|
1078
1078
|
},
|
|
1079
1079
|
"interval": {
|
|
1080
|
-
"label"
|
|
1081
|
-
"seconds"
|
|
1082
|
-
"empty"
|
|
1080
|
+
"label": "Interval",
|
|
1081
|
+
"seconds": "seconds",
|
|
1082
|
+
"empty": "send empty message when no message arrives"
|
|
1083
1083
|
},
|
|
1084
1084
|
"concat": {
|
|
1085
1085
|
"topics-label": "Topics",
|
|
1086
|
-
"topic"
|
|
1087
|
-
},
|
|
1088
|
-
"too-many"
|
|
1089
|
-
"unexpected"
|
|
1090
|
-
"no-parts"
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1086
|
+
"topic": "topic"
|
|
1087
|
+
},
|
|
1088
|
+
"too-many": "too many pending messages in batch node",
|
|
1089
|
+
"unexpected": "unexpected mode",
|
|
1090
|
+
"no-parts": "no parts property in message",
|
|
1091
|
+
"error": {
|
|
1092
|
+
"invalid-count": "Invalid count",
|
|
1093
|
+
"invalid-overlap": "Invalid overlap",
|
|
1094
|
+
"invalid-interval": "Invalid interval"
|
|
1095
|
+
}
|
|
1096
1096
|
},
|
|
1097
1097
|
"rbe": {
|
|
1098
1098
|
"rbe": "filter",
|
|
@@ -1102,11 +1102,11 @@
|
|
|
1102
1102
|
"start": "Start value",
|
|
1103
1103
|
"name": "Name",
|
|
1104
1104
|
"septopics": "Apply mode separately for each ",
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1105
|
+
"gap": "value change",
|
|
1106
|
+
"property": "property",
|
|
1107
|
+
"topic": "topic"
|
|
1108
1108
|
},
|
|
1109
|
-
"placeholder":{
|
|
1109
|
+
"placeholder": {
|
|
1110
1110
|
"bandgap": "e.g. 10 or 5%",
|
|
1111
1111
|
"start": "leave blank to use first data received"
|
|
1112
1112
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<p>返却/sendの対象は次のとおりです:</p>
|
|
29
29
|
<ul>
|
|
30
30
|
<li>単一メッセージオブジェクト - 最初の出力に接続されたノードに渡されます</li>
|
|
31
|
-
<li>メッセージオブジェクトの配列 - 対応する出力に接続されたノードに渡されます</li>
|
|
31
|
+
<li>メッセージオブジェクトの配列 - 対応する出力に接続されたノードに渡されます</li>
|
|
32
32
|
</ul>
|
|
33
33
|
<p>注: 初期化処理の実行はノードの初期化中に行われます。そのため、初期化処理タブにsendを記述した場合に後続ノードでメッセージを受け取れないことがあります。</p>
|
|
34
34
|
<p>配列要素が配列の場合には、複数のメッセージを対応する出力に送出します。</p>
|
package/locales/ja/messages.json
CHANGED
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"toConsole": "システムコンソール",
|
|
138
138
|
"toStatus": "ノードステータス(32 文字)",
|
|
139
139
|
"severity": "Level",
|
|
140
|
+
"node": "ノード",
|
|
140
141
|
"notification": {
|
|
141
142
|
"activated": "有効化しました: __label__",
|
|
142
143
|
"deactivated": "無効化しました: __label__"
|
|
@@ -728,8 +729,8 @@
|
|
|
728
729
|
"property": "プロパティ",
|
|
729
730
|
"rule": "条件",
|
|
730
731
|
"repair": "メッセージ列の補正",
|
|
731
|
-
|
|
732
|
-
|
|
732
|
+
"value-rules": "値ルール",
|
|
733
|
+
"sequence-rules": "列ルール"
|
|
733
734
|
},
|
|
734
735
|
"previous": "前回の値",
|
|
735
736
|
"and": "~",
|
|
@@ -927,6 +928,7 @@
|
|
|
927
928
|
"write": "write file",
|
|
928
929
|
"read": "read file",
|
|
929
930
|
"filename": "ファイル名",
|
|
931
|
+
"path": "パス",
|
|
930
932
|
"action": "動作",
|
|
931
933
|
"addnewline": "メッセージの入力のたびに改行を追加",
|
|
932
934
|
"createdir": "ディレクトリが存在しない場合は作成",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
<dt class="optional">userProperties <span class="property-type">オブジェクト</span></dt>
|
|
90
90
|
<dd><b>MQTTv5</b>: メッセージのユーザプロパティ</dd>
|
|
91
91
|
<dt class="optional">messageExpiryInterval <span class="property-type">数値</span></dt>
|
|
92
|
-
<dd><b>MQTTv5</b>: 秒単位のメッセージの有効期限</dd>
|
|
92
|
+
<dd><b>MQTTv5</b>: 秒単位のメッセージの有効期限</dd>
|
|
93
93
|
<dt class="optional">topicAlias <span class="property-type">数値</span></dt>
|
|
94
94
|
<dd><b>MQTTv5</b>: 使用するMQTTトピックエイリアス</dd>
|
|
95
95
|
</dl>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-red/nodes",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"denque": "2.0.1",
|
|
29
29
|
"form-data": "4.0.0",
|
|
30
30
|
"fs-extra": "10.1.0",
|
|
31
|
-
"got": "11.8.
|
|
31
|
+
"got": "11.8.5",
|
|
32
32
|
"hash-sum": "2.0.0",
|
|
33
33
|
"hpagent": "1.0.0",
|
|
34
34
|
"https-proxy-agent": "5.0.1",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"js-yaml": "4.1.0",
|
|
37
37
|
"media-typer": "1.1.0",
|
|
38
38
|
"mqtt": "4.3.7",
|
|
39
|
-
"multer": "1.4.
|
|
39
|
+
"multer": "1.4.5-lts.1",
|
|
40
40
|
"mustache": "4.2.0",
|
|
41
41
|
"node-watch": "0.7.3",
|
|
42
42
|
"on-headers": "1.0.2",
|