mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
update iconnection type to match workflows
This commit is contained in:
parent
d4b1f908dd
commit
3772487d98
|
@ -303,7 +303,7 @@ export interface ICredentialDataDecryptedObject {
|
||||||
|
|
||||||
// First array index: The output/input-index (if node has multiple inputs/outputs of the same type)
|
// First array index: The output/input-index (if node has multiple inputs/outputs of the same type)
|
||||||
// Second array index: The different connections (if one node is connected to multiple nodes)
|
// Second array index: The different connections (if one node is connected to multiple nodes)
|
||||||
export type NodeInputConnections = IConnection[][];
|
export type NodeInputConnections = (IConnection[] | null)[];
|
||||||
|
|
||||||
export interface INodeConnections {
|
export interface INodeConnections {
|
||||||
// Input name
|
// Input name
|
||||||
|
|
|
@ -1487,7 +1487,7 @@ describe('Workflow', () => {
|
||||||
index: 0,
|
index: 0,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[], // todo why is null not accepted
|
null,
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
node: 'Switch',
|
node: 'Switch',
|
||||||
|
|
Loading…
Reference in a new issue