n8n-mcp 2.22.20 → 2.23.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/data/nodes.db +0 -0
- package/dist/constants/type-structures.d.ts +123 -0
- package/dist/constants/type-structures.d.ts.map +1 -0
- package/dist/constants/type-structures.js +654 -0
- package/dist/constants/type-structures.js.map +1 -0
- package/dist/mcp/tools-documentation.js +4 -4
- package/dist/services/enhanced-config-validator.d.ts +3 -0
- package/dist/services/enhanced-config-validator.d.ts.map +1 -1
- package/dist/services/enhanced-config-validator.js +216 -2
- package/dist/services/enhanced-config-validator.js.map +1 -1
- package/dist/services/n8n-validation.d.ts +2 -2
- package/dist/services/n8n-validation.d.ts.map +1 -1
- package/dist/services/n8n-validation.js +9 -4
- package/dist/services/n8n-validation.js.map +1 -1
- package/dist/services/node-specific-validators.d.ts.map +1 -1
- package/dist/services/node-specific-validators.js +12 -8
- package/dist/services/node-specific-validators.js.map +1 -1
- package/dist/services/type-structure-service.d.ts +23 -0
- package/dist/services/type-structure-service.d.ts.map +1 -0
- package/dist/services/type-structure-service.js +109 -0
- package/dist/services/type-structure-service.js.map +1 -0
- package/dist/services/workflow-diff-engine.d.ts.map +1 -1
- package/dist/services/workflow-diff-engine.js +5 -3
- package/dist/services/workflow-diff-engine.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/n8n-api.d.ts +1 -0
- package/dist/types/n8n-api.d.ts.map +1 -1
- package/dist/types/n8n-api.js.map +1 -1
- package/dist/types/type-structures.d.ts +42 -0
- package/dist/types/type-structures.d.ts.map +1 -0
- package/dist/types/type-structures.js +32 -0
- package/dist/types/type-structures.js.map +1 -0
- package/package.json +1 -1
package/data/nodes.db
CHANGED
|
Binary file
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { NodePropertyTypes } from 'n8n-workflow';
|
|
2
|
+
import type { TypeStructure } from '../types/type-structures';
|
|
3
|
+
export declare const TYPE_STRUCTURES: Record<NodePropertyTypes, TypeStructure>;
|
|
4
|
+
export declare const COMPLEX_TYPE_EXAMPLES: {
|
|
5
|
+
collection: {
|
|
6
|
+
basic: {
|
|
7
|
+
name: string;
|
|
8
|
+
email: string;
|
|
9
|
+
};
|
|
10
|
+
nested: {
|
|
11
|
+
user: {
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
};
|
|
15
|
+
preferences: {
|
|
16
|
+
theme: string;
|
|
17
|
+
notifications: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
withExpressions: {
|
|
21
|
+
id: string;
|
|
22
|
+
timestamp: string;
|
|
23
|
+
data: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
fixedCollection: {
|
|
27
|
+
httpHeaders: {
|
|
28
|
+
headers: {
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
33
|
+
queryParameters: {
|
|
34
|
+
queryParameters: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
39
|
+
multipleCollections: {
|
|
40
|
+
headers: {
|
|
41
|
+
name: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
44
|
+
queryParameters: {
|
|
45
|
+
name: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
filter: {
|
|
51
|
+
simple: {
|
|
52
|
+
conditions: {
|
|
53
|
+
id: string;
|
|
54
|
+
leftValue: string;
|
|
55
|
+
operator: {
|
|
56
|
+
type: string;
|
|
57
|
+
operation: string;
|
|
58
|
+
};
|
|
59
|
+
rightValue: string;
|
|
60
|
+
}[];
|
|
61
|
+
combinator: string;
|
|
62
|
+
};
|
|
63
|
+
complex: {
|
|
64
|
+
conditions: ({
|
|
65
|
+
id: string;
|
|
66
|
+
leftValue: string;
|
|
67
|
+
operator: {
|
|
68
|
+
type: string;
|
|
69
|
+
operation: string;
|
|
70
|
+
};
|
|
71
|
+
rightValue: number;
|
|
72
|
+
} | {
|
|
73
|
+
id: string;
|
|
74
|
+
leftValue: string;
|
|
75
|
+
operator: {
|
|
76
|
+
type: string;
|
|
77
|
+
operation: string;
|
|
78
|
+
};
|
|
79
|
+
rightValue: string;
|
|
80
|
+
})[];
|
|
81
|
+
combinator: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
resourceMapper: {
|
|
85
|
+
autoMap: {
|
|
86
|
+
mappingMode: string;
|
|
87
|
+
value: {};
|
|
88
|
+
};
|
|
89
|
+
manual: {
|
|
90
|
+
mappingMode: string;
|
|
91
|
+
value: {
|
|
92
|
+
firstName: string;
|
|
93
|
+
lastName: string;
|
|
94
|
+
email: string;
|
|
95
|
+
status: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
assignmentCollection: {
|
|
100
|
+
basic: {
|
|
101
|
+
assignments: {
|
|
102
|
+
id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
value: string;
|
|
105
|
+
type: string;
|
|
106
|
+
}[];
|
|
107
|
+
};
|
|
108
|
+
multiple: {
|
|
109
|
+
assignments: ({
|
|
110
|
+
id: string;
|
|
111
|
+
name: string;
|
|
112
|
+
value: string;
|
|
113
|
+
type: string;
|
|
114
|
+
} | {
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
value: boolean;
|
|
118
|
+
type: string;
|
|
119
|
+
})[];
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=type-structures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-structures.d.ts","sourceRoot":"","sources":["../../src/constants/type-structures.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAe9D,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,iBAAiB,EAAE,aAAa,CAilBpE,CAAC;AAUF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GjC,CAAC"}
|