@requence/service 1.0.0-alpha.40 → 1.0.0-alpha.45
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/CHANGELOG.md +30 -0
- package/build/index.js +6 -6
- package/build/index.js.map +3 -3
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/types.d.ts +1 -0
- package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/validate.d.ts +3 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/zod.d.ts +3 -0
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/NodeTree.d.ts +610 -64
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/command.d.ts +430 -48
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/helpers.d.ts +2 -0
- package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/index.d.ts +0 -1
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/nodeType.d.ts +255 -104
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/taskOptions.d.ts +1 -0
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/treeNodes.d.ts +1014 -108
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/update.d.ts +25 -0
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
- package/build/types/service/src/createAmqpConnection.d.ts +2 -2
- package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
- package/package.json +4 -2
- package/build/types/helpers/src/protocol/targetNodes.d.ts +0 -253
- package/build/types/helpers/src/protocol/targetNodes.d.ts.map +0 -1
- package/build/types/helpers/src/utils/types.d.ts +0 -4
- package/build/types/helpers/src/utils/types.d.ts.map +0 -1
|
@@ -12,6 +12,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
12
12
|
edges: z.ZodArray<z.ZodAny>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
15
|
+
schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
input: z.ZodAny;
|
|
17
18
|
options: z.ZodObject<{
|
|
@@ -27,6 +28,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
27
28
|
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
28
29
|
streamUrl: z.ZodOptional<z.ZodString>;
|
|
29
30
|
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
rootTaskId: z.ZodUUID;
|
|
30
32
|
taskId: z.ZodUUID;
|
|
31
33
|
nodeId: z.ZodUUID;
|
|
32
34
|
messageId: z.ZodUUID;
|
|
@@ -36,18 +38,26 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
36
38
|
treeList: {
|
|
37
39
|
tree: {
|
|
38
40
|
nodes: ({
|
|
39
|
-
id: string;
|
|
40
|
-
type: "exit";
|
|
41
|
-
alias?: string | undefined;
|
|
42
|
-
} | {
|
|
43
41
|
id: string;
|
|
44
42
|
type: "entry";
|
|
45
43
|
inputSchema: import("json-schema").JSONSchema7;
|
|
46
44
|
outputs: {
|
|
47
|
-
name: string |
|
|
45
|
+
name: string | null;
|
|
48
46
|
schema: import("json-schema").JSONSchema7 | null;
|
|
47
|
+
types?: {
|
|
48
|
+
input: string;
|
|
49
|
+
output: string;
|
|
50
|
+
} | undefined;
|
|
49
51
|
}[];
|
|
52
|
+
position: {
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
};
|
|
50
56
|
alias?: string | undefined;
|
|
57
|
+
size?: {
|
|
58
|
+
width?: number | undefined;
|
|
59
|
+
height?: number | undefined;
|
|
60
|
+
} | undefined;
|
|
51
61
|
} | {
|
|
52
62
|
id: string;
|
|
53
63
|
type: "service";
|
|
@@ -55,19 +65,37 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
55
65
|
type: "object";
|
|
56
66
|
} & import("json-schema").JSONSchema7) | {
|
|
57
67
|
type: "null";
|
|
58
|
-
}
|
|
68
|
+
} | ({
|
|
69
|
+
$ref: string;
|
|
70
|
+
} & import("json-schema").JSONSchema7);
|
|
59
71
|
name: string;
|
|
60
72
|
version: string;
|
|
61
73
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
62
74
|
outputs: {
|
|
63
|
-
name: string |
|
|
75
|
+
name: string | null;
|
|
64
76
|
schema: import("json-schema").JSONSchema7 | null;
|
|
77
|
+
types?: {
|
|
78
|
+
input: string;
|
|
79
|
+
output: string;
|
|
80
|
+
} | undefined;
|
|
65
81
|
}[];
|
|
82
|
+
position: {
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
};
|
|
66
86
|
alias?: string | undefined;
|
|
87
|
+
inputTypes?: {
|
|
88
|
+
input: string;
|
|
89
|
+
output: string;
|
|
90
|
+
} | undefined;
|
|
67
91
|
configuration?: any;
|
|
68
92
|
ttl?: number | undefined;
|
|
69
93
|
retry?: number | undefined;
|
|
70
94
|
retryDelay?: number | undefined;
|
|
95
|
+
size?: {
|
|
96
|
+
width?: number | undefined;
|
|
97
|
+
height?: number | undefined;
|
|
98
|
+
} | undefined;
|
|
71
99
|
} | {
|
|
72
100
|
id: string;
|
|
73
101
|
type: "logic";
|
|
@@ -76,32 +104,98 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
76
104
|
language: "javascript" | "python" | "typescript";
|
|
77
105
|
maxExecutionTime: number;
|
|
78
106
|
outputs: {
|
|
79
|
-
name: string |
|
|
107
|
+
name: string | null;
|
|
80
108
|
schema: import("json-schema").JSONSchema7 | null;
|
|
109
|
+
types?: {
|
|
110
|
+
input: string;
|
|
111
|
+
output: string;
|
|
112
|
+
} | undefined;
|
|
81
113
|
}[];
|
|
114
|
+
position: {
|
|
115
|
+
x: number;
|
|
116
|
+
y: number;
|
|
117
|
+
};
|
|
82
118
|
alias?: string | undefined;
|
|
119
|
+
outputNames?: string[] | undefined;
|
|
120
|
+
size?: {
|
|
121
|
+
width?: number | undefined;
|
|
122
|
+
height?: number | undefined;
|
|
123
|
+
} | undefined;
|
|
83
124
|
} | {
|
|
84
125
|
id: string;
|
|
85
126
|
type: "or";
|
|
86
127
|
outputs: {
|
|
87
|
-
name: string |
|
|
128
|
+
name: string | null;
|
|
88
129
|
schema: import("json-schema").JSONSchema7 | null;
|
|
130
|
+
types?: {
|
|
131
|
+
input: string;
|
|
132
|
+
output: string;
|
|
133
|
+
} | undefined;
|
|
89
134
|
}[];
|
|
135
|
+
position: {
|
|
136
|
+
x: number;
|
|
137
|
+
y: number;
|
|
138
|
+
};
|
|
90
139
|
alias?: string | undefined;
|
|
140
|
+
size?: {
|
|
141
|
+
width?: number | undefined;
|
|
142
|
+
height?: number | undefined;
|
|
143
|
+
} | undefined;
|
|
91
144
|
} | {
|
|
92
145
|
id: string;
|
|
93
146
|
type: "reference";
|
|
94
147
|
reference: string;
|
|
95
148
|
outputs: {
|
|
96
|
-
name: string |
|
|
149
|
+
name: string | null;
|
|
97
150
|
schema: import("json-schema").JSONSchema7 | null;
|
|
151
|
+
types?: {
|
|
152
|
+
input: string;
|
|
153
|
+
output: string;
|
|
154
|
+
} | undefined;
|
|
98
155
|
}[];
|
|
156
|
+
position: {
|
|
157
|
+
x: number;
|
|
158
|
+
y: number;
|
|
159
|
+
};
|
|
99
160
|
alias?: string | undefined;
|
|
100
|
-
|
|
161
|
+
inputTypes?: {
|
|
162
|
+
input: string;
|
|
163
|
+
output: string;
|
|
164
|
+
} | undefined;
|
|
165
|
+
size?: {
|
|
166
|
+
width?: number | undefined;
|
|
167
|
+
height?: number | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
} | {
|
|
170
|
+
id: string;
|
|
171
|
+
type: "exit";
|
|
172
|
+
position: {
|
|
173
|
+
x: number;
|
|
174
|
+
y: number;
|
|
175
|
+
};
|
|
176
|
+
alias?: string | undefined;
|
|
177
|
+
size?: {
|
|
178
|
+
width?: number | undefined;
|
|
179
|
+
height?: number | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
id: string;
|
|
183
|
+
type: "comment";
|
|
184
|
+
text: string;
|
|
185
|
+
position: {
|
|
186
|
+
x: number;
|
|
187
|
+
y: number;
|
|
188
|
+
};
|
|
189
|
+
alias?: string | undefined;
|
|
190
|
+
size?: {
|
|
191
|
+
width?: number | undefined;
|
|
192
|
+
height?: number | undefined;
|
|
193
|
+
} | undefined;
|
|
101
194
|
})[];
|
|
102
195
|
edges: {
|
|
196
|
+
id: string;
|
|
103
197
|
source: string;
|
|
104
|
-
sourceHandle: string |
|
|
198
|
+
sourceHandle: string | null;
|
|
105
199
|
target: string;
|
|
106
200
|
}[];
|
|
107
201
|
};
|
|
@@ -115,6 +209,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
115
209
|
uploadUrl?: string | undefined;
|
|
116
210
|
streamUrl?: string | undefined;
|
|
117
211
|
referencedBy?: {
|
|
212
|
+
rootTaskId: string;
|
|
118
213
|
taskId: string;
|
|
119
214
|
nodeId: string;
|
|
120
215
|
messageId: string;
|
|
@@ -122,18 +217,26 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
122
217
|
};
|
|
123
218
|
tree: {
|
|
124
219
|
nodes: ({
|
|
125
|
-
id: string;
|
|
126
|
-
type: "exit";
|
|
127
|
-
alias?: string | undefined;
|
|
128
|
-
} | {
|
|
129
220
|
id: string;
|
|
130
221
|
type: "entry";
|
|
131
222
|
inputSchema: import("json-schema").JSONSchema7;
|
|
132
223
|
outputs: {
|
|
133
|
-
name: string |
|
|
224
|
+
name: string | null;
|
|
134
225
|
schema: import("json-schema").JSONSchema7 | null;
|
|
226
|
+
types?: {
|
|
227
|
+
input: string;
|
|
228
|
+
output: string;
|
|
229
|
+
} | undefined;
|
|
135
230
|
}[];
|
|
231
|
+
position: {
|
|
232
|
+
x: number;
|
|
233
|
+
y: number;
|
|
234
|
+
};
|
|
136
235
|
alias?: string | undefined;
|
|
236
|
+
size?: {
|
|
237
|
+
width?: number | undefined;
|
|
238
|
+
height?: number | undefined;
|
|
239
|
+
} | undefined;
|
|
137
240
|
} | {
|
|
138
241
|
id: string;
|
|
139
242
|
type: "service";
|
|
@@ -141,19 +244,37 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
141
244
|
type: "object";
|
|
142
245
|
} & import("json-schema").JSONSchema7) | {
|
|
143
246
|
type: "null";
|
|
144
|
-
}
|
|
247
|
+
} | ({
|
|
248
|
+
$ref: string;
|
|
249
|
+
} & import("json-schema").JSONSchema7);
|
|
145
250
|
name: string;
|
|
146
251
|
version: string;
|
|
147
252
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
148
253
|
outputs: {
|
|
149
|
-
name: string |
|
|
254
|
+
name: string | null;
|
|
150
255
|
schema: import("json-schema").JSONSchema7 | null;
|
|
256
|
+
types?: {
|
|
257
|
+
input: string;
|
|
258
|
+
output: string;
|
|
259
|
+
} | undefined;
|
|
151
260
|
}[];
|
|
261
|
+
position: {
|
|
262
|
+
x: number;
|
|
263
|
+
y: number;
|
|
264
|
+
};
|
|
152
265
|
alias?: string | undefined;
|
|
266
|
+
inputTypes?: {
|
|
267
|
+
input: string;
|
|
268
|
+
output: string;
|
|
269
|
+
} | undefined;
|
|
153
270
|
configuration?: any;
|
|
154
271
|
ttl?: number | undefined;
|
|
155
272
|
retry?: number | undefined;
|
|
156
273
|
retryDelay?: number | undefined;
|
|
274
|
+
size?: {
|
|
275
|
+
width?: number | undefined;
|
|
276
|
+
height?: number | undefined;
|
|
277
|
+
} | undefined;
|
|
157
278
|
} | {
|
|
158
279
|
id: string;
|
|
159
280
|
type: "logic";
|
|
@@ -162,37 +283,104 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
162
283
|
language: "javascript" | "python" | "typescript";
|
|
163
284
|
maxExecutionTime: number;
|
|
164
285
|
outputs: {
|
|
165
|
-
name: string |
|
|
286
|
+
name: string | null;
|
|
166
287
|
schema: import("json-schema").JSONSchema7 | null;
|
|
288
|
+
types?: {
|
|
289
|
+
input: string;
|
|
290
|
+
output: string;
|
|
291
|
+
} | undefined;
|
|
167
292
|
}[];
|
|
293
|
+
position: {
|
|
294
|
+
x: number;
|
|
295
|
+
y: number;
|
|
296
|
+
};
|
|
168
297
|
alias?: string | undefined;
|
|
298
|
+
outputNames?: string[] | undefined;
|
|
299
|
+
size?: {
|
|
300
|
+
width?: number | undefined;
|
|
301
|
+
height?: number | undefined;
|
|
302
|
+
} | undefined;
|
|
169
303
|
} | {
|
|
170
304
|
id: string;
|
|
171
305
|
type: "or";
|
|
172
306
|
outputs: {
|
|
173
|
-
name: string |
|
|
307
|
+
name: string | null;
|
|
174
308
|
schema: import("json-schema").JSONSchema7 | null;
|
|
309
|
+
types?: {
|
|
310
|
+
input: string;
|
|
311
|
+
output: string;
|
|
312
|
+
} | undefined;
|
|
175
313
|
}[];
|
|
314
|
+
position: {
|
|
315
|
+
x: number;
|
|
316
|
+
y: number;
|
|
317
|
+
};
|
|
176
318
|
alias?: string | undefined;
|
|
319
|
+
size?: {
|
|
320
|
+
width?: number | undefined;
|
|
321
|
+
height?: number | undefined;
|
|
322
|
+
} | undefined;
|
|
177
323
|
} | {
|
|
178
324
|
id: string;
|
|
179
325
|
type: "reference";
|
|
180
326
|
reference: string;
|
|
181
327
|
outputs: {
|
|
182
|
-
name: string |
|
|
328
|
+
name: string | null;
|
|
183
329
|
schema: import("json-schema").JSONSchema7 | null;
|
|
330
|
+
types?: {
|
|
331
|
+
input: string;
|
|
332
|
+
output: string;
|
|
333
|
+
} | undefined;
|
|
184
334
|
}[];
|
|
335
|
+
position: {
|
|
336
|
+
x: number;
|
|
337
|
+
y: number;
|
|
338
|
+
};
|
|
185
339
|
alias?: string | undefined;
|
|
186
|
-
|
|
340
|
+
inputTypes?: {
|
|
341
|
+
input: string;
|
|
342
|
+
output: string;
|
|
343
|
+
} | undefined;
|
|
344
|
+
size?: {
|
|
345
|
+
width?: number | undefined;
|
|
346
|
+
height?: number | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
} | {
|
|
349
|
+
id: string;
|
|
350
|
+
type: "exit";
|
|
351
|
+
position: {
|
|
352
|
+
x: number;
|
|
353
|
+
y: number;
|
|
354
|
+
};
|
|
355
|
+
alias?: string | undefined;
|
|
356
|
+
size?: {
|
|
357
|
+
width?: number | undefined;
|
|
358
|
+
height?: number | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
} | {
|
|
361
|
+
id: string;
|
|
362
|
+
type: "comment";
|
|
363
|
+
text: string;
|
|
364
|
+
position: {
|
|
365
|
+
x: number;
|
|
366
|
+
y: number;
|
|
367
|
+
};
|
|
368
|
+
alias?: string | undefined;
|
|
369
|
+
size?: {
|
|
370
|
+
width?: number | undefined;
|
|
371
|
+
height?: number | undefined;
|
|
372
|
+
} | undefined;
|
|
187
373
|
})[];
|
|
188
374
|
edges: {
|
|
375
|
+
id: string;
|
|
189
376
|
source: string;
|
|
190
|
-
sourceHandle: string |
|
|
377
|
+
sourceHandle: string | null;
|
|
191
378
|
target: string;
|
|
192
379
|
}[];
|
|
193
380
|
};
|
|
194
381
|
references: /*elided*/ any[];
|
|
195
382
|
}[] | undefined;
|
|
383
|
+
schemas?: Record<string, import("json-schema").JSONSchema7> | undefined;
|
|
196
384
|
};
|
|
197
385
|
type: "CREATE";
|
|
198
386
|
input: any;
|
|
@@ -204,6 +392,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
204
392
|
uploadUrl?: string | undefined;
|
|
205
393
|
streamUrl?: string | undefined;
|
|
206
394
|
referencedBy?: {
|
|
395
|
+
rootTaskId: string;
|
|
207
396
|
taskId: string;
|
|
208
397
|
nodeId: string;
|
|
209
398
|
messageId: string;
|
|
@@ -217,6 +406,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
217
406
|
edges: any[];
|
|
218
407
|
};
|
|
219
408
|
references?: any[] | undefined;
|
|
409
|
+
schemas?: Record<string, any> | undefined;
|
|
220
410
|
};
|
|
221
411
|
input: any;
|
|
222
412
|
options: {
|
|
@@ -227,6 +417,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
227
417
|
uploadUrl?: string | undefined;
|
|
228
418
|
streamUrl?: string | undefined;
|
|
229
419
|
referencedBy?: {
|
|
420
|
+
rootTaskId: string;
|
|
230
421
|
taskId: string;
|
|
231
422
|
nodeId: string;
|
|
232
423
|
messageId: string;
|
|
@@ -245,6 +436,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
245
436
|
edges: z.ZodArray<z.ZodAny>;
|
|
246
437
|
}, z.core.$strip>;
|
|
247
438
|
references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
439
|
+
schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
248
440
|
}, z.core.$strip>;
|
|
249
441
|
input: z.ZodAny;
|
|
250
442
|
options: z.ZodObject<{
|
|
@@ -260,6 +452,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
260
452
|
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
261
453
|
streamUrl: z.ZodOptional<z.ZodString>;
|
|
262
454
|
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
rootTaskId: z.ZodUUID;
|
|
263
456
|
taskId: z.ZodUUID;
|
|
264
457
|
nodeId: z.ZodUUID;
|
|
265
458
|
messageId: z.ZodUUID;
|
|
@@ -269,18 +462,26 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
269
462
|
treeList: {
|
|
270
463
|
tree: {
|
|
271
464
|
nodes: ({
|
|
272
|
-
id: string;
|
|
273
|
-
type: "exit";
|
|
274
|
-
alias?: string | undefined;
|
|
275
|
-
} | {
|
|
276
465
|
id: string;
|
|
277
466
|
type: "entry";
|
|
278
467
|
inputSchema: import("json-schema").JSONSchema7;
|
|
279
468
|
outputs: {
|
|
280
|
-
name: string |
|
|
469
|
+
name: string | null;
|
|
281
470
|
schema: import("json-schema").JSONSchema7 | null;
|
|
471
|
+
types?: {
|
|
472
|
+
input: string;
|
|
473
|
+
output: string;
|
|
474
|
+
} | undefined;
|
|
282
475
|
}[];
|
|
476
|
+
position: {
|
|
477
|
+
x: number;
|
|
478
|
+
y: number;
|
|
479
|
+
};
|
|
283
480
|
alias?: string | undefined;
|
|
481
|
+
size?: {
|
|
482
|
+
width?: number | undefined;
|
|
483
|
+
height?: number | undefined;
|
|
484
|
+
} | undefined;
|
|
284
485
|
} | {
|
|
285
486
|
id: string;
|
|
286
487
|
type: "service";
|
|
@@ -288,19 +489,37 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
288
489
|
type: "object";
|
|
289
490
|
} & import("json-schema").JSONSchema7) | {
|
|
290
491
|
type: "null";
|
|
291
|
-
}
|
|
492
|
+
} | ({
|
|
493
|
+
$ref: string;
|
|
494
|
+
} & import("json-schema").JSONSchema7);
|
|
292
495
|
name: string;
|
|
293
496
|
version: string;
|
|
294
497
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
295
498
|
outputs: {
|
|
296
|
-
name: string |
|
|
499
|
+
name: string | null;
|
|
297
500
|
schema: import("json-schema").JSONSchema7 | null;
|
|
501
|
+
types?: {
|
|
502
|
+
input: string;
|
|
503
|
+
output: string;
|
|
504
|
+
} | undefined;
|
|
298
505
|
}[];
|
|
506
|
+
position: {
|
|
507
|
+
x: number;
|
|
508
|
+
y: number;
|
|
509
|
+
};
|
|
299
510
|
alias?: string | undefined;
|
|
511
|
+
inputTypes?: {
|
|
512
|
+
input: string;
|
|
513
|
+
output: string;
|
|
514
|
+
} | undefined;
|
|
300
515
|
configuration?: any;
|
|
301
516
|
ttl?: number | undefined;
|
|
302
517
|
retry?: number | undefined;
|
|
303
518
|
retryDelay?: number | undefined;
|
|
519
|
+
size?: {
|
|
520
|
+
width?: number | undefined;
|
|
521
|
+
height?: number | undefined;
|
|
522
|
+
} | undefined;
|
|
304
523
|
} | {
|
|
305
524
|
id: string;
|
|
306
525
|
type: "logic";
|
|
@@ -309,32 +528,98 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
309
528
|
language: "javascript" | "python" | "typescript";
|
|
310
529
|
maxExecutionTime: number;
|
|
311
530
|
outputs: {
|
|
312
|
-
name: string |
|
|
531
|
+
name: string | null;
|
|
313
532
|
schema: import("json-schema").JSONSchema7 | null;
|
|
533
|
+
types?: {
|
|
534
|
+
input: string;
|
|
535
|
+
output: string;
|
|
536
|
+
} | undefined;
|
|
314
537
|
}[];
|
|
538
|
+
position: {
|
|
539
|
+
x: number;
|
|
540
|
+
y: number;
|
|
541
|
+
};
|
|
315
542
|
alias?: string | undefined;
|
|
543
|
+
outputNames?: string[] | undefined;
|
|
544
|
+
size?: {
|
|
545
|
+
width?: number | undefined;
|
|
546
|
+
height?: number | undefined;
|
|
547
|
+
} | undefined;
|
|
316
548
|
} | {
|
|
317
549
|
id: string;
|
|
318
550
|
type: "or";
|
|
319
551
|
outputs: {
|
|
320
|
-
name: string |
|
|
552
|
+
name: string | null;
|
|
321
553
|
schema: import("json-schema").JSONSchema7 | null;
|
|
554
|
+
types?: {
|
|
555
|
+
input: string;
|
|
556
|
+
output: string;
|
|
557
|
+
} | undefined;
|
|
322
558
|
}[];
|
|
559
|
+
position: {
|
|
560
|
+
x: number;
|
|
561
|
+
y: number;
|
|
562
|
+
};
|
|
323
563
|
alias?: string | undefined;
|
|
564
|
+
size?: {
|
|
565
|
+
width?: number | undefined;
|
|
566
|
+
height?: number | undefined;
|
|
567
|
+
} | undefined;
|
|
324
568
|
} | {
|
|
325
569
|
id: string;
|
|
326
570
|
type: "reference";
|
|
327
571
|
reference: string;
|
|
328
572
|
outputs: {
|
|
329
|
-
name: string |
|
|
573
|
+
name: string | null;
|
|
330
574
|
schema: import("json-schema").JSONSchema7 | null;
|
|
575
|
+
types?: {
|
|
576
|
+
input: string;
|
|
577
|
+
output: string;
|
|
578
|
+
} | undefined;
|
|
331
579
|
}[];
|
|
580
|
+
position: {
|
|
581
|
+
x: number;
|
|
582
|
+
y: number;
|
|
583
|
+
};
|
|
332
584
|
alias?: string | undefined;
|
|
333
|
-
|
|
585
|
+
inputTypes?: {
|
|
586
|
+
input: string;
|
|
587
|
+
output: string;
|
|
588
|
+
} | undefined;
|
|
589
|
+
size?: {
|
|
590
|
+
width?: number | undefined;
|
|
591
|
+
height?: number | undefined;
|
|
592
|
+
} | undefined;
|
|
593
|
+
} | {
|
|
594
|
+
id: string;
|
|
595
|
+
type: "exit";
|
|
596
|
+
position: {
|
|
597
|
+
x: number;
|
|
598
|
+
y: number;
|
|
599
|
+
};
|
|
600
|
+
alias?: string | undefined;
|
|
601
|
+
size?: {
|
|
602
|
+
width?: number | undefined;
|
|
603
|
+
height?: number | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
} | {
|
|
606
|
+
id: string;
|
|
607
|
+
type: "comment";
|
|
608
|
+
text: string;
|
|
609
|
+
position: {
|
|
610
|
+
x: number;
|
|
611
|
+
y: number;
|
|
612
|
+
};
|
|
613
|
+
alias?: string | undefined;
|
|
614
|
+
size?: {
|
|
615
|
+
width?: number | undefined;
|
|
616
|
+
height?: number | undefined;
|
|
617
|
+
} | undefined;
|
|
334
618
|
})[];
|
|
335
619
|
edges: {
|
|
620
|
+
id: string;
|
|
336
621
|
source: string;
|
|
337
|
-
sourceHandle: string |
|
|
622
|
+
sourceHandle: string | null;
|
|
338
623
|
target: string;
|
|
339
624
|
}[];
|
|
340
625
|
};
|
|
@@ -348,6 +633,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
348
633
|
uploadUrl?: string | undefined;
|
|
349
634
|
streamUrl?: string | undefined;
|
|
350
635
|
referencedBy?: {
|
|
636
|
+
rootTaskId: string;
|
|
351
637
|
taskId: string;
|
|
352
638
|
nodeId: string;
|
|
353
639
|
messageId: string;
|
|
@@ -355,18 +641,26 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
355
641
|
};
|
|
356
642
|
tree: {
|
|
357
643
|
nodes: ({
|
|
358
|
-
id: string;
|
|
359
|
-
type: "exit";
|
|
360
|
-
alias?: string | undefined;
|
|
361
|
-
} | {
|
|
362
644
|
id: string;
|
|
363
645
|
type: "entry";
|
|
364
646
|
inputSchema: import("json-schema").JSONSchema7;
|
|
365
647
|
outputs: {
|
|
366
|
-
name: string |
|
|
648
|
+
name: string | null;
|
|
367
649
|
schema: import("json-schema").JSONSchema7 | null;
|
|
650
|
+
types?: {
|
|
651
|
+
input: string;
|
|
652
|
+
output: string;
|
|
653
|
+
} | undefined;
|
|
368
654
|
}[];
|
|
655
|
+
position: {
|
|
656
|
+
x: number;
|
|
657
|
+
y: number;
|
|
658
|
+
};
|
|
369
659
|
alias?: string | undefined;
|
|
660
|
+
size?: {
|
|
661
|
+
width?: number | undefined;
|
|
662
|
+
height?: number | undefined;
|
|
663
|
+
} | undefined;
|
|
370
664
|
} | {
|
|
371
665
|
id: string;
|
|
372
666
|
type: "service";
|
|
@@ -374,19 +668,37 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
374
668
|
type: "object";
|
|
375
669
|
} & import("json-schema").JSONSchema7) | {
|
|
376
670
|
type: "null";
|
|
377
|
-
}
|
|
671
|
+
} | ({
|
|
672
|
+
$ref: string;
|
|
673
|
+
} & import("json-schema").JSONSchema7);
|
|
378
674
|
name: string;
|
|
379
675
|
version: string;
|
|
380
676
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
381
677
|
outputs: {
|
|
382
|
-
name: string |
|
|
678
|
+
name: string | null;
|
|
383
679
|
schema: import("json-schema").JSONSchema7 | null;
|
|
680
|
+
types?: {
|
|
681
|
+
input: string;
|
|
682
|
+
output: string;
|
|
683
|
+
} | undefined;
|
|
384
684
|
}[];
|
|
685
|
+
position: {
|
|
686
|
+
x: number;
|
|
687
|
+
y: number;
|
|
688
|
+
};
|
|
385
689
|
alias?: string | undefined;
|
|
690
|
+
inputTypes?: {
|
|
691
|
+
input: string;
|
|
692
|
+
output: string;
|
|
693
|
+
} | undefined;
|
|
386
694
|
configuration?: any;
|
|
387
695
|
ttl?: number | undefined;
|
|
388
696
|
retry?: number | undefined;
|
|
389
697
|
retryDelay?: number | undefined;
|
|
698
|
+
size?: {
|
|
699
|
+
width?: number | undefined;
|
|
700
|
+
height?: number | undefined;
|
|
701
|
+
} | undefined;
|
|
390
702
|
} | {
|
|
391
703
|
id: string;
|
|
392
704
|
type: "logic";
|
|
@@ -395,37 +707,104 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
395
707
|
language: "javascript" | "python" | "typescript";
|
|
396
708
|
maxExecutionTime: number;
|
|
397
709
|
outputs: {
|
|
398
|
-
name: string |
|
|
710
|
+
name: string | null;
|
|
399
711
|
schema: import("json-schema").JSONSchema7 | null;
|
|
712
|
+
types?: {
|
|
713
|
+
input: string;
|
|
714
|
+
output: string;
|
|
715
|
+
} | undefined;
|
|
400
716
|
}[];
|
|
717
|
+
position: {
|
|
718
|
+
x: number;
|
|
719
|
+
y: number;
|
|
720
|
+
};
|
|
401
721
|
alias?: string | undefined;
|
|
722
|
+
outputNames?: string[] | undefined;
|
|
723
|
+
size?: {
|
|
724
|
+
width?: number | undefined;
|
|
725
|
+
height?: number | undefined;
|
|
726
|
+
} | undefined;
|
|
402
727
|
} | {
|
|
403
728
|
id: string;
|
|
404
729
|
type: "or";
|
|
405
730
|
outputs: {
|
|
406
|
-
name: string |
|
|
731
|
+
name: string | null;
|
|
407
732
|
schema: import("json-schema").JSONSchema7 | null;
|
|
733
|
+
types?: {
|
|
734
|
+
input: string;
|
|
735
|
+
output: string;
|
|
736
|
+
} | undefined;
|
|
408
737
|
}[];
|
|
738
|
+
position: {
|
|
739
|
+
x: number;
|
|
740
|
+
y: number;
|
|
741
|
+
};
|
|
409
742
|
alias?: string | undefined;
|
|
743
|
+
size?: {
|
|
744
|
+
width?: number | undefined;
|
|
745
|
+
height?: number | undefined;
|
|
746
|
+
} | undefined;
|
|
410
747
|
} | {
|
|
411
748
|
id: string;
|
|
412
749
|
type: "reference";
|
|
413
750
|
reference: string;
|
|
414
751
|
outputs: {
|
|
415
|
-
name: string |
|
|
752
|
+
name: string | null;
|
|
416
753
|
schema: import("json-schema").JSONSchema7 | null;
|
|
754
|
+
types?: {
|
|
755
|
+
input: string;
|
|
756
|
+
output: string;
|
|
757
|
+
} | undefined;
|
|
417
758
|
}[];
|
|
759
|
+
position: {
|
|
760
|
+
x: number;
|
|
761
|
+
y: number;
|
|
762
|
+
};
|
|
418
763
|
alias?: string | undefined;
|
|
419
|
-
|
|
764
|
+
inputTypes?: {
|
|
765
|
+
input: string;
|
|
766
|
+
output: string;
|
|
767
|
+
} | undefined;
|
|
768
|
+
size?: {
|
|
769
|
+
width?: number | undefined;
|
|
770
|
+
height?: number | undefined;
|
|
771
|
+
} | undefined;
|
|
772
|
+
} | {
|
|
773
|
+
id: string;
|
|
774
|
+
type: "exit";
|
|
775
|
+
position: {
|
|
776
|
+
x: number;
|
|
777
|
+
y: number;
|
|
778
|
+
};
|
|
779
|
+
alias?: string | undefined;
|
|
780
|
+
size?: {
|
|
781
|
+
width?: number | undefined;
|
|
782
|
+
height?: number | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
} | {
|
|
785
|
+
id: string;
|
|
786
|
+
type: "comment";
|
|
787
|
+
text: string;
|
|
788
|
+
position: {
|
|
789
|
+
x: number;
|
|
790
|
+
y: number;
|
|
791
|
+
};
|
|
792
|
+
alias?: string | undefined;
|
|
793
|
+
size?: {
|
|
794
|
+
width?: number | undefined;
|
|
795
|
+
height?: number | undefined;
|
|
796
|
+
} | undefined;
|
|
420
797
|
})[];
|
|
421
798
|
edges: {
|
|
799
|
+
id: string;
|
|
422
800
|
source: string;
|
|
423
|
-
sourceHandle: string |
|
|
801
|
+
sourceHandle: string | null;
|
|
424
802
|
target: string;
|
|
425
803
|
}[];
|
|
426
804
|
};
|
|
427
805
|
references: /*elided*/ any[];
|
|
428
806
|
}[] | undefined;
|
|
807
|
+
schemas?: Record<string, import("json-schema").JSONSchema7> | undefined;
|
|
429
808
|
};
|
|
430
809
|
type: "CREATE";
|
|
431
810
|
input: any;
|
|
@@ -437,6 +816,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
437
816
|
uploadUrl?: string | undefined;
|
|
438
817
|
streamUrl?: string | undefined;
|
|
439
818
|
referencedBy?: {
|
|
819
|
+
rootTaskId: string;
|
|
440
820
|
taskId: string;
|
|
441
821
|
nodeId: string;
|
|
442
822
|
messageId: string;
|
|
@@ -450,6 +830,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
450
830
|
edges: any[];
|
|
451
831
|
};
|
|
452
832
|
references?: any[] | undefined;
|
|
833
|
+
schemas?: Record<string, any> | undefined;
|
|
453
834
|
};
|
|
454
835
|
input: any;
|
|
455
836
|
options: {
|
|
@@ -460,6 +841,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
460
841
|
uploadUrl?: string | undefined;
|
|
461
842
|
streamUrl?: string | undefined;
|
|
462
843
|
referencedBy?: {
|
|
844
|
+
rootTaskId: string;
|
|
463
845
|
taskId: string;
|
|
464
846
|
nodeId: string;
|
|
465
847
|
messageId: string;
|