consistency 2
This commit is contained in:
parent
a7542f9272
commit
6daa3aa443
@ -5,7 +5,7 @@
|
||||
defaults: {
|
||||
name: {value:"Chats Out"},
|
||||
whatsappLink: {value:"whatsapp-web", type:'whatsappLink'},
|
||||
recipient: {value:"", type:'number-recipient', required:false}
|
||||
recipient: {value:"", type:'numberRecipient', required:false}
|
||||
},
|
||||
outputs:0,
|
||||
inputs:1,
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
defaults: {
|
||||
name: {value:"Group Message"},
|
||||
whatsappLink: {value:"whatsapp-web", type:'whatsappLink'},
|
||||
recipient: {value:"", type:'group-recipient', required:false}
|
||||
recipient: {value:"", type:'groupRecipient', required:false}
|
||||
},
|
||||
outputs:0,
|
||||
inputs:1,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('group-recipient', {
|
||||
RED.nodes.registerType('groupRecipient', {
|
||||
category: 'config',
|
||||
defaults: {
|
||||
name: {value: ""},
|
||||
@ -11,7 +11,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="group-recipient">
|
||||
<script type="text/html" data-template-name="groupRecipient">
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-config-input-name" placeholder="Name">
|
||||
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="group-recipient">
|
||||
<script type="text/html" data-help-name="groupRecipient">
|
||||
<p>Configuration node for a WhatsApp group recipient.</p>
|
||||
<h3>Details</h3>
|
||||
<p>This configuration node stores a group ID that can be reused across multiple group output nodes.</p>
|
||||
|
||||
@ -4,5 +4,5 @@ module.exports = function(RED) {
|
||||
this.groupId = n.groupId;
|
||||
this.name = n.name;
|
||||
}
|
||||
RED.nodes.registerType("group-recipient", GroupRecipientNode);
|
||||
RED.nodes.registerType("groupRecipient", GroupRecipientNode);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user