n8n-nodes-comfyui-all 2.3.15 → 2.4.1
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/dist/nodes/ComfyUi/ComfyUi.node.d.ts +78 -69
- package/dist/nodes/ComfyUi/ComfyUi.node.d.ts.map +1 -1
- package/dist/nodes/ComfyUi/ComfyUi.node.js +116 -252
- package/dist/nodes/ComfyUi/ComfyUi.node.js.map +1 -1
- package/dist/nodes/ComfyUiTool/ComfyUiTool.node.d.ts +26 -65
- package/dist/nodes/ComfyUiTool/ComfyUiTool.node.d.ts.map +1 -1
- package/dist/nodes/ComfyUiTool/ComfyUiTool.node.js +99 -236
- package/dist/nodes/ComfyUiTool/ComfyUiTool.node.js.map +1 -1
- package/dist/nodes/agentToolHelpers.d.ts +0 -17
- package/dist/nodes/agentToolHelpers.d.ts.map +1 -1
- package/dist/nodes/agentToolHelpers.js +0 -95
- package/dist/nodes/agentToolHelpers.js.map +1 -1
- package/dist/nodes/parameterProcessor.d.ts.map +1 -1
- package/dist/nodes/parameterProcessor.js +23 -56
- package/dist/nodes/parameterProcessor.js.map +1 -1
- package/dist/nodes/types.d.ts +0 -2
- package/dist/nodes/types.d.ts.map +1 -1
- package/dist/nodes/validation.d.ts +0 -10
- package/dist/nodes/validation.d.ts.map +1 -1
- package/dist/nodes/validation.js +0 -81
- package/dist/nodes/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IExecuteFunctions,
|
|
1
|
+
import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
|
2
2
|
export declare class ComfyUi {
|
|
3
3
|
/**
|
|
4
4
|
* Node description for n8n
|
|
@@ -49,6 +49,7 @@ export declare class ComfyUi {
|
|
|
49
49
|
description: string;
|
|
50
50
|
typeOptions?: undefined;
|
|
51
51
|
placeholder?: undefined;
|
|
52
|
+
hint?: undefined;
|
|
52
53
|
minValue?: undefined;
|
|
53
54
|
maxValue?: undefined;
|
|
54
55
|
options?: undefined;
|
|
@@ -65,6 +66,7 @@ export declare class ComfyUi {
|
|
|
65
66
|
default: string;
|
|
66
67
|
description: string;
|
|
67
68
|
placeholder: string;
|
|
69
|
+
hint: string;
|
|
68
70
|
minValue?: undefined;
|
|
69
71
|
maxValue?: undefined;
|
|
70
72
|
options?: undefined;
|
|
@@ -79,6 +81,7 @@ export declare class ComfyUi {
|
|
|
79
81
|
required?: undefined;
|
|
80
82
|
typeOptions?: undefined;
|
|
81
83
|
placeholder?: undefined;
|
|
84
|
+
hint?: undefined;
|
|
82
85
|
options?: undefined;
|
|
83
86
|
} | {
|
|
84
87
|
displayName: string;
|
|
@@ -89,6 +92,7 @@ export declare class ComfyUi {
|
|
|
89
92
|
placeholder: string;
|
|
90
93
|
required?: undefined;
|
|
91
94
|
typeOptions?: undefined;
|
|
95
|
+
hint?: undefined;
|
|
92
96
|
minValue?: undefined;
|
|
93
97
|
maxValue?: undefined;
|
|
94
98
|
options?: undefined;
|
|
@@ -112,15 +116,11 @@ export declare class ComfyUi {
|
|
|
112
116
|
type: string;
|
|
113
117
|
default: string;
|
|
114
118
|
description: string;
|
|
115
|
-
typeOptions: {
|
|
116
|
-
loadOptionsMethod: string;
|
|
117
|
-
loadOptionsDependsOn?: undefined;
|
|
118
|
-
rows?: undefined;
|
|
119
|
-
};
|
|
120
119
|
placeholder: string;
|
|
120
|
+
required: boolean;
|
|
121
121
|
options?: undefined;
|
|
122
|
-
required?: undefined;
|
|
123
122
|
displayOptions?: undefined;
|
|
123
|
+
typeOptions?: undefined;
|
|
124
124
|
hint?: undefined;
|
|
125
125
|
} | {
|
|
126
126
|
displayName: string;
|
|
@@ -133,10 +133,10 @@ export declare class ComfyUi {
|
|
|
133
133
|
value: string;
|
|
134
134
|
description: string;
|
|
135
135
|
}[];
|
|
136
|
-
typeOptions?: undefined;
|
|
137
136
|
placeholder?: undefined;
|
|
138
137
|
required?: undefined;
|
|
139
138
|
displayOptions?: undefined;
|
|
139
|
+
typeOptions?: undefined;
|
|
140
140
|
hint?: undefined;
|
|
141
141
|
} | {
|
|
142
142
|
displayName: string;
|
|
@@ -145,47 +145,80 @@ export declare class ComfyUi {
|
|
|
145
145
|
default: string;
|
|
146
146
|
description: string;
|
|
147
147
|
placeholder: string;
|
|
148
|
-
|
|
148
|
+
displayOptions: {
|
|
149
|
+
show: {
|
|
150
|
+
parameterMode: string[];
|
|
151
|
+
type?: undefined;
|
|
152
|
+
imageSource?: undefined;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
required?: undefined;
|
|
156
|
+
options?: undefined;
|
|
157
|
+
typeOptions?: undefined;
|
|
158
|
+
hint?: undefined;
|
|
159
|
+
} | {
|
|
160
|
+
displayName: string;
|
|
161
|
+
name: string;
|
|
162
|
+
type: string;
|
|
149
163
|
typeOptions: {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
164
|
+
rows: number;
|
|
165
|
+
};
|
|
166
|
+
default: string;
|
|
167
|
+
description: string;
|
|
168
|
+
placeholder: string;
|
|
169
|
+
displayOptions: {
|
|
170
|
+
show: {
|
|
171
|
+
parameterMode: string[];
|
|
172
|
+
type?: undefined;
|
|
173
|
+
imageSource?: undefined;
|
|
174
|
+
};
|
|
153
175
|
};
|
|
176
|
+
required?: undefined;
|
|
154
177
|
options?: undefined;
|
|
155
|
-
displayOptions?: undefined;
|
|
156
178
|
hint?: undefined;
|
|
157
179
|
} | {
|
|
158
180
|
displayName: string;
|
|
159
181
|
name: string;
|
|
160
182
|
type: string;
|
|
161
183
|
default: string;
|
|
162
|
-
description
|
|
163
|
-
|
|
184
|
+
description: string;
|
|
185
|
+
options: {
|
|
186
|
+
name: string;
|
|
187
|
+
value: string;
|
|
188
|
+
description: string;
|
|
189
|
+
}[];
|
|
190
|
+
displayOptions: {
|
|
191
|
+
show: {
|
|
192
|
+
parameterMode: string[];
|
|
193
|
+
type?: undefined;
|
|
194
|
+
imageSource?: undefined;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
164
197
|
placeholder?: undefined;
|
|
165
|
-
options?: undefined;
|
|
166
198
|
required?: undefined;
|
|
167
|
-
|
|
199
|
+
typeOptions?: undefined;
|
|
168
200
|
hint?: undefined;
|
|
169
201
|
} | {
|
|
170
202
|
displayName: string;
|
|
171
203
|
name: string;
|
|
172
204
|
type: string;
|
|
173
|
-
typeOptions: {
|
|
174
|
-
rows: number;
|
|
175
|
-
loadOptionsMethod?: undefined;
|
|
176
|
-
loadOptionsDependsOn?: undefined;
|
|
177
|
-
};
|
|
178
205
|
default: string;
|
|
179
206
|
description: string;
|
|
180
|
-
|
|
207
|
+
options: {
|
|
208
|
+
name: string;
|
|
209
|
+
value: string;
|
|
210
|
+
description: string;
|
|
211
|
+
}[];
|
|
181
212
|
displayOptions: {
|
|
182
213
|
show: {
|
|
183
214
|
parameterMode: string[];
|
|
184
|
-
|
|
215
|
+
type: string[];
|
|
216
|
+
imageSource?: undefined;
|
|
185
217
|
};
|
|
186
218
|
};
|
|
187
|
-
|
|
219
|
+
placeholder?: undefined;
|
|
188
220
|
required?: undefined;
|
|
221
|
+
typeOptions?: undefined;
|
|
189
222
|
hint?: undefined;
|
|
190
223
|
} | {
|
|
191
224
|
displayName: string;
|
|
@@ -196,56 +229,56 @@ export declare class ComfyUi {
|
|
|
196
229
|
placeholder: string;
|
|
197
230
|
displayOptions: {
|
|
198
231
|
show: {
|
|
199
|
-
|
|
200
|
-
|
|
232
|
+
parameterMode: string[];
|
|
233
|
+
type: string[];
|
|
234
|
+
imageSource: string[];
|
|
201
235
|
};
|
|
202
236
|
};
|
|
203
237
|
hint: string;
|
|
204
|
-
typeOptions?: undefined;
|
|
205
|
-
options?: undefined;
|
|
206
238
|
required?: undefined;
|
|
239
|
+
options?: undefined;
|
|
240
|
+
typeOptions?: undefined;
|
|
207
241
|
} | {
|
|
208
242
|
displayName: string;
|
|
209
243
|
name: string;
|
|
210
244
|
type: string;
|
|
211
|
-
default:
|
|
245
|
+
default: string;
|
|
212
246
|
description: string;
|
|
213
247
|
placeholder: string;
|
|
214
248
|
displayOptions: {
|
|
215
249
|
show: {
|
|
216
|
-
|
|
217
|
-
|
|
250
|
+
parameterMode: string[];
|
|
251
|
+
type: string[];
|
|
252
|
+
imageSource?: undefined;
|
|
218
253
|
};
|
|
219
254
|
};
|
|
220
|
-
hint: string;
|
|
221
|
-
typeOptions?: undefined;
|
|
222
|
-
options?: undefined;
|
|
223
255
|
required?: undefined;
|
|
256
|
+
options?: undefined;
|
|
257
|
+
typeOptions?: undefined;
|
|
258
|
+
hint?: undefined;
|
|
224
259
|
} | {
|
|
225
260
|
displayName: string;
|
|
226
261
|
name: string;
|
|
227
262
|
type: string;
|
|
228
|
-
default:
|
|
263
|
+
default: number;
|
|
229
264
|
description: string;
|
|
230
|
-
|
|
231
|
-
name: string;
|
|
232
|
-
value: string;
|
|
233
|
-
description: string;
|
|
234
|
-
}[];
|
|
265
|
+
placeholder: string;
|
|
235
266
|
displayOptions: {
|
|
236
267
|
show: {
|
|
237
|
-
|
|
238
|
-
|
|
268
|
+
parameterMode: string[];
|
|
269
|
+
type: string[];
|
|
270
|
+
imageSource?: undefined;
|
|
239
271
|
};
|
|
240
272
|
};
|
|
241
|
-
typeOptions?: undefined;
|
|
242
|
-
placeholder?: undefined;
|
|
243
273
|
required?: undefined;
|
|
274
|
+
options?: undefined;
|
|
275
|
+
typeOptions?: undefined;
|
|
244
276
|
hint?: undefined;
|
|
245
277
|
})[];
|
|
246
278
|
}[];
|
|
247
279
|
required?: undefined;
|
|
248
280
|
placeholder?: undefined;
|
|
281
|
+
hint?: undefined;
|
|
249
282
|
minValue?: undefined;
|
|
250
283
|
maxValue?: undefined;
|
|
251
284
|
})[];
|
|
@@ -256,29 +289,5 @@ export declare class ComfyUi {
|
|
|
256
289
|
* @throws {NodeOperationError} If URL validation, workflow validation, or execution fails
|
|
257
290
|
*/
|
|
258
291
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
259
|
-
/**
|
|
260
|
-
* Load options methods for dynamic parameter selection
|
|
261
|
-
*/
|
|
262
|
-
methods: {
|
|
263
|
-
loadOptions: {
|
|
264
|
-
/**
|
|
265
|
-
* Load all nodes from workflow JSON for Node ID dropdown
|
|
266
|
-
*/
|
|
267
|
-
getWorkflowNodes(this: ILoadOptionsFunctions): Promise<{
|
|
268
|
-
name: string;
|
|
269
|
-
value: string;
|
|
270
|
-
description?: string;
|
|
271
|
-
}[]>;
|
|
272
|
-
/**
|
|
273
|
-
* Load parameters for a specific node for Parameter Name dropdown
|
|
274
|
-
* Returns parameters from the selected node only (cascaded from Node Name or ID selection)
|
|
275
|
-
*/
|
|
276
|
-
getNodeParameters(this: ILoadOptionsFunctions): Promise<{
|
|
277
|
-
name: string;
|
|
278
|
-
value: string;
|
|
279
|
-
description?: string;
|
|
280
|
-
}[]>;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
292
|
}
|
|
284
293
|
//# sourceMappingURL=ComfyUi.node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComfyUi.node.d.ts","sourceRoot":"","sources":["../../../nodes/ComfyUi/ComfyUi.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"ComfyUi.node.d.ts","sourceRoot":"","sources":["../../../nodes/ComfyUi/ComfyUi.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AAQtB,qBAAa,OAAO;IAClB;;;OAGG;IACH,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4ST;IAEF;;;;OAIG;IACG,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAgFxE"}
|