@5minds/node-red-contrib-processcube 1.7.6-feature-581893-m6tfilg9 → 1.7.6-feature-e920aa-m6ujqgzl

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.
@@ -6,15 +6,7 @@
6
6
  name: { value: '' },
7
7
  engine: { value: '', type: 'processcube-engine-config' },
8
8
  options: {
9
- value: [{ label: '' }],
10
- // validate: function (v) {
11
- // const unique = new Set(
12
- // v.map(function (o) {
13
- // return o.label;
14
- // })
15
- // );
16
- // return v.length === unique.size;
17
- // },
9
+ value: [{ claim: '' }],
18
10
  },
19
11
  },
20
12
  inputs: 1,
@@ -131,7 +123,7 @@
131
123
  <ol id="node-input-option-container" style="list-style-type:none; margin:0;"></ol>
132
124
  </div>
133
125
  </div>
134
- <!-- Add Option Button -->
126
+ <!-- Add Claim Button -->
135
127
  <div class="form-row">
136
128
  <a href="#" class="editor-button editor-button-small" id="node-input-add-option" style="margin-top:4px; margin-left:103px;"><i class="fa fa-plus"></i> <span>action</span></a>
137
129
  </div>
@@ -143,11 +135,8 @@ A Node that checks if a user has the specified claims
143
135
  ## Configs
144
136
 
145
137
  : name (string): name of the node
146
- : engine (string): the engine to connect to
147
-
148
- ## Outputs
149
-
150
- : payload (string): The id of the processinstance that was terminated.
138
+ : engine (engine-node): the engine to connect to
139
+ : claims (list of strings): the claims the user needs to be authorized
151
140
 
152
141
  ### References
153
142
 
@@ -72,7 +72,7 @@ the connected ProcessCube Engine for processing.
72
72
  ## Configs
73
73
 
74
74
  : name (string) : The name of the node
75
- : engine (string) : The ProcessCube Engine to connect to
75
+ : engine (engine-node) : The ProcessCube Engine to connect to
76
76
  : topic (string) : The topic of the external task
77
77
  : workerConfig (object) : The configuration for the worker
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.7.6-feature-581893-m6tfilg9",
3
+ "version": "1.7.6-feature-e920aa-m6ujqgzl",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -32,7 +32,7 @@ Terminate an instance of a process model in the ProcessCube.
32
32
  ## Configs
33
33
 
34
34
  : name (string): name of the node
35
- : engine (string): the engine to connect to
35
+ : engine (engine-node): the engine to connect to
36
36
 
37
37
  ## Outputs
38
38