@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"treeNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/treeNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAQ1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAMZ,CAAA;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBvB,CAAA;AAEJ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod/v4';
|
|
|
2
2
|
declare const nodeInitUpdateSchema: z.ZodObject<{
|
|
3
3
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
4
4
|
id: z.ZodUUID;
|
|
5
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
5
6
|
node: z.ZodObject<{
|
|
6
7
|
id: z.ZodUUID;
|
|
7
8
|
type: z.ZodEnum<{
|
|
@@ -19,6 +20,7 @@ export type NodeInitUpdate = z.infer<typeof nodeInitUpdateSchema>;
|
|
|
19
20
|
declare const nodeStartUpdateSchema: z.ZodObject<{
|
|
20
21
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
21
22
|
id: z.ZodUUID;
|
|
23
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
22
24
|
node: z.ZodObject<{
|
|
23
25
|
id: z.ZodUUID;
|
|
24
26
|
type: z.ZodEnum<{
|
|
@@ -37,6 +39,7 @@ export type NodeStartUpdate = z.infer<typeof nodeStartUpdateSchema>;
|
|
|
37
39
|
declare const nodeErrorUpdateSchema: z.ZodObject<{
|
|
38
40
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
39
41
|
id: z.ZodUUID;
|
|
42
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
40
43
|
node: z.ZodObject<{
|
|
41
44
|
id: z.ZodUUID;
|
|
42
45
|
type: z.ZodEnum<{
|
|
@@ -54,6 +57,7 @@ export type NodeErrorUpdate = z.infer<typeof nodeErrorUpdateSchema>;
|
|
|
54
57
|
declare const nodeUpdateSchema: z.ZodObject<{
|
|
55
58
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
56
59
|
id: z.ZodUUID;
|
|
60
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
57
61
|
node: z.ZodObject<{
|
|
58
62
|
id: z.ZodUUID;
|
|
59
63
|
type: z.ZodEnum<{
|
|
@@ -72,6 +76,7 @@ export type NodeUpdate = z.infer<typeof nodeUpdateSchema>;
|
|
|
72
76
|
declare const nodeCallbackSchema: z.ZodObject<{
|
|
73
77
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
74
78
|
id: z.ZodUUID;
|
|
79
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
75
80
|
node: z.ZodObject<{
|
|
76
81
|
id: z.ZodUUID;
|
|
77
82
|
type: z.ZodEnum<{
|
|
@@ -101,6 +106,7 @@ export type NodeCallback = z.infer<typeof nodeCallbackSchema>;
|
|
|
101
106
|
declare const nodeEndUpdateSchema: z.ZodObject<{
|
|
102
107
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
103
108
|
id: z.ZodUUID;
|
|
109
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
104
110
|
node: z.ZodObject<{
|
|
105
111
|
id: z.ZodUUID;
|
|
106
112
|
type: z.ZodEnum<{
|
|
@@ -117,6 +123,7 @@ export type NodeEndUpdate = z.infer<typeof nodeEndUpdateSchema>;
|
|
|
117
123
|
declare const nodeDebugUpdateSchema: z.ZodObject<{
|
|
118
124
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
119
125
|
id: z.ZodUUID;
|
|
126
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
120
127
|
node: z.ZodObject<{
|
|
121
128
|
id: z.ZodUUID;
|
|
122
129
|
type: z.ZodEnum<{
|
|
@@ -141,6 +148,7 @@ export type NodeDebugUpdate = z.infer<typeof nodeDebugUpdateSchema>;
|
|
|
141
148
|
declare const nodeDeferUpdateSchema: z.ZodObject<{
|
|
142
149
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
143
150
|
id: z.ZodUUID;
|
|
151
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
144
152
|
node: z.ZodObject<{
|
|
145
153
|
id: z.ZodUUID;
|
|
146
154
|
type: z.ZodEnum<{
|
|
@@ -158,8 +166,10 @@ export type NodeDeferUpdate = z.infer<typeof nodeDeferUpdateSchema>;
|
|
|
158
166
|
declare const taskStartUpdateSchema: z.ZodObject<{
|
|
159
167
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
160
168
|
id: z.ZodUUID;
|
|
169
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
161
170
|
type: z.ZodLiteral<"TASK_START">;
|
|
162
171
|
parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
172
|
+
rootTaskId: z.ZodUUID;
|
|
163
173
|
taskId: z.ZodUUID;
|
|
164
174
|
nodeId: z.ZodUUID;
|
|
165
175
|
messageId: z.ZodUUID;
|
|
@@ -170,6 +180,7 @@ export type TaskStartUpdate = z.infer<typeof taskStartUpdateSchema>;
|
|
|
170
180
|
declare const taskErrorUpdateSchema: z.ZodObject<{
|
|
171
181
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
172
182
|
id: z.ZodUUID;
|
|
183
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
173
184
|
type: z.ZodLiteral<"TASK_ERROR">;
|
|
174
185
|
reason: z.ZodOptional<z.ZodString>;
|
|
175
186
|
}, z.core.$strip>;
|
|
@@ -177,6 +188,7 @@ export type TaskErrorUpdate = z.infer<typeof taskErrorUpdateSchema>;
|
|
|
177
188
|
declare const taskEndUpdateSchema: z.ZodObject<{
|
|
178
189
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
179
190
|
id: z.ZodUUID;
|
|
191
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
180
192
|
type: z.ZodLiteral<"TASK_END">;
|
|
181
193
|
exitName: z.ZodNullable<z.ZodString>;
|
|
182
194
|
result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -185,6 +197,7 @@ export type TaskEndUpdate = z.infer<typeof taskEndUpdateSchema>;
|
|
|
185
197
|
export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
186
198
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
187
199
|
id: z.ZodUUID;
|
|
200
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
188
201
|
node: z.ZodObject<{
|
|
189
202
|
id: z.ZodUUID;
|
|
190
203
|
type: z.ZodEnum<{
|
|
@@ -200,6 +213,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
200
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
201
214
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
202
215
|
id: z.ZodUUID;
|
|
216
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
203
217
|
node: z.ZodObject<{
|
|
204
218
|
id: z.ZodUUID;
|
|
205
219
|
type: z.ZodEnum<{
|
|
@@ -216,6 +230,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
216
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
231
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
218
232
|
id: z.ZodUUID;
|
|
233
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
219
234
|
node: z.ZodObject<{
|
|
220
235
|
id: z.ZodUUID;
|
|
221
236
|
type: z.ZodEnum<{
|
|
@@ -231,6 +246,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
231
246
|
}, z.core.$strip>, z.ZodObject<{
|
|
232
247
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
233
248
|
id: z.ZodUUID;
|
|
249
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
234
250
|
node: z.ZodObject<{
|
|
235
251
|
id: z.ZodUUID;
|
|
236
252
|
type: z.ZodEnum<{
|
|
@@ -247,6 +263,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
248
264
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
249
265
|
id: z.ZodUUID;
|
|
266
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
250
267
|
node: z.ZodObject<{
|
|
251
268
|
id: z.ZodUUID;
|
|
252
269
|
type: z.ZodEnum<{
|
|
@@ -274,6 +291,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
274
291
|
}, z.core.$strip>, z.ZodObject<{
|
|
275
292
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
276
293
|
id: z.ZodUUID;
|
|
294
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
277
295
|
node: z.ZodObject<{
|
|
278
296
|
id: z.ZodUUID;
|
|
279
297
|
type: z.ZodEnum<{
|
|
@@ -288,6 +306,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
288
306
|
}, z.core.$strip>, z.ZodObject<{
|
|
289
307
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
290
308
|
id: z.ZodUUID;
|
|
309
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
291
310
|
node: z.ZodObject<{
|
|
292
311
|
id: z.ZodUUID;
|
|
293
312
|
type: z.ZodEnum<{
|
|
@@ -310,6 +329,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
310
329
|
}, z.core.$strip>, z.ZodObject<{
|
|
311
330
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
312
331
|
id: z.ZodUUID;
|
|
332
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
313
333
|
node: z.ZodObject<{
|
|
314
334
|
id: z.ZodUUID;
|
|
315
335
|
type: z.ZodEnum<{
|
|
@@ -325,8 +345,10 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
325
345
|
}, z.core.$strip>, z.ZodObject<{
|
|
326
346
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
327
347
|
id: z.ZodUUID;
|
|
348
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
328
349
|
type: z.ZodLiteral<"TASK_START">;
|
|
329
350
|
parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
351
|
+
rootTaskId: z.ZodUUID;
|
|
330
352
|
taskId: z.ZodUUID;
|
|
331
353
|
nodeId: z.ZodUUID;
|
|
332
354
|
messageId: z.ZodUUID;
|
|
@@ -335,17 +357,20 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
335
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
336
358
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
337
359
|
id: z.ZodUUID;
|
|
360
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
338
361
|
type: z.ZodLiteral<"TASK_ERROR">;
|
|
339
362
|
reason: z.ZodOptional<z.ZodString>;
|
|
340
363
|
}, z.core.$strip>, z.ZodObject<{
|
|
341
364
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
342
365
|
id: z.ZodUUID;
|
|
366
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
343
367
|
type: z.ZodLiteral<"TASK_END">;
|
|
344
368
|
exitName: z.ZodNullable<z.ZodString>;
|
|
345
369
|
result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
346
370
|
}, z.core.$strip>, z.ZodObject<{
|
|
347
371
|
timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
|
|
348
372
|
id: z.ZodUUID;
|
|
373
|
+
rootTaskId: z.ZodOptional<z.ZodUUID>;
|
|
349
374
|
type: z.ZodLiteral<"TASK_ABORTED">;
|
|
350
375
|
reason: z.ZodOptional<z.ZodString>;
|
|
351
376
|
}, z.core.$strip>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAmB1B,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAGxB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;iBAIzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAavB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -3,13 +3,13 @@ import { type ContextHelper, type JSONValue } from './helpers.ts';
|
|
|
3
3
|
type Input<V extends keyof RequenceService.Version> = RequenceService.Version[V]['input'];
|
|
4
4
|
type Configuration<V extends keyof RequenceService.Version> = RequenceService.Version[V]['configuration'];
|
|
5
5
|
type OutputName<V extends keyof RequenceService.Version, K = keyof RequenceService.Version[V]['outputs']> = K extends '__default__' ? null : K;
|
|
6
|
-
type OutputValue<V extends keyof RequenceService.Version, O extends OutputName<V> |
|
|
6
|
+
type OutputValue<V extends keyof RequenceService.Version, O extends OutputName<V> | '__default__'> = O extends keyof RequenceService.Version[V]['outputs'] ? RequenceService.Version[V]['outputs'][O] : never;
|
|
7
7
|
interface ServiceContextHelper<V extends keyof RequenceService.Version> extends Omit<ContextHelper, 'input' | 'configuration' | 'getData' | 'getConfiguration' | 'toOutput'> {
|
|
8
8
|
input: Input<V>;
|
|
9
9
|
configuration: Configuration<V>;
|
|
10
10
|
toOutput<O extends OutputName<V>>(name: O, value: OutputValue<V, O>): '__output_value__';
|
|
11
11
|
}
|
|
12
|
-
type ReturnValue<V extends keyof RequenceService.Version> = ReturnType<ServiceContextHelper<V>['toOutput']> | OutputValue<V,
|
|
12
|
+
type ReturnValue<V extends keyof RequenceService.Version> = ReturnType<ServiceContextHelper<V>['toOutput']> | OutputValue<V, '__default__'> | '__output_value__';
|
|
13
13
|
type ApiOutputName<V> = V extends keyof RequenceService.Version ? OutputName<V> : string | null;
|
|
14
14
|
type ApiOutputValue<V, O> = V extends keyof RequenceService.Version ? O extends OutputName<V> ? OutputValue<V, O> : unknown : unknown;
|
|
15
15
|
interface ActorApi<V> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAmqpConnection.d.ts","sourceRoot":"","sources":["../../../../src/createAmqpConnection.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,yBAAyB,CAAA;AAIhC,OAA4B,EAE1B,KAAK,aAAa,EAClB,KAAK,SAAS,EAMf,MAAM,cAAc,CAAA;AAIrB,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,IAChD,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACrC,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,IACxD,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAA;AAC7C,KAAK,UAAU,CACb,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,EACvC,CAAC,GAAG,MAAM,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAC7C,CAAC,SAAS,aAAa,GAAG,IAAI,GAAG,CAAC,CAAA;AAEtC,KAAK,WAAW,CACd,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,EACvC,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"createAmqpConnection.d.ts","sourceRoot":"","sources":["../../../../src/createAmqpConnection.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,4BAA4B,EAGlC,MAAM,yBAAyB,CAAA;AAIhC,OAA4B,EAE1B,KAAK,aAAa,EAClB,KAAK,SAAS,EAMf,MAAM,cAAc,CAAA;AAIrB,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,IAChD,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACrC,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,IACxD,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,eAA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ACP,QAAY,EACZ,MAAc,EACd,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,iBAAiB,EACpB,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,oBAggBlC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requence/service",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.45",
|
|
5
5
|
"bin": {
|
|
6
6
|
"requence-service": "build/cli.js"
|
|
7
7
|
},
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@requence/helpers": "workspace:*",
|
|
24
|
-
"@requence/utils": "workspace:*"
|
|
24
|
+
"@requence/utils": "workspace:*",
|
|
25
|
+
"@types/amqplib": "^0.10.7",
|
|
26
|
+
"@types/bun": "^1.2.23"
|
|
25
27
|
},
|
|
26
28
|
"exports": {
|
|
27
29
|
"default": "./build/index.js",
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod/v4';
|
|
2
|
-
export declare const targetNodesSchema: z.ZodPipe<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
4
|
-
type: z.ZodLiteral<"entry">;
|
|
5
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
6
|
-
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
7
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
8
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
9
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
10
|
-
target: z.ZodString;
|
|
11
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
12
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
13
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
14
|
-
target: string;
|
|
15
|
-
}, string | {
|
|
16
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
17
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
18
|
-
target: string;
|
|
19
|
-
}>>>>;
|
|
20
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
21
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
22
|
-
type: z.ZodLiteral<"service">;
|
|
23
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
24
|
-
inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
25
|
-
type: z.ZodLiteral<"object">;
|
|
26
|
-
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
27
|
-
type: z.ZodLiteral<"null">;
|
|
28
|
-
}, z.core.$strip>]>>;
|
|
29
|
-
name: z.ZodString;
|
|
30
|
-
version: z.ZodString;
|
|
31
|
-
configuration: z.ZodOptional<z.ZodAny>;
|
|
32
|
-
configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
33
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
retry: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
37
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
38
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
39
|
-
target: z.ZodString;
|
|
40
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
41
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
42
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
43
|
-
target: string;
|
|
44
|
-
}, string | {
|
|
45
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
46
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
47
|
-
target: string;
|
|
48
|
-
}>>>>;
|
|
49
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
51
|
-
type: z.ZodLiteral<"logic">;
|
|
52
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
53
|
-
script: z.ZodString;
|
|
54
|
-
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
-
language: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
javascript: "javascript";
|
|
57
|
-
python: "python";
|
|
58
|
-
typescript: "typescript";
|
|
59
|
-
}>>;
|
|
60
|
-
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
61
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
62
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
63
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
64
|
-
target: z.ZodString;
|
|
65
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
66
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
67
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
68
|
-
target: string;
|
|
69
|
-
}, string | {
|
|
70
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
71
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
72
|
-
target: string;
|
|
73
|
-
}>>>>;
|
|
74
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
76
|
-
type: z.ZodLiteral<"or">;
|
|
77
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
78
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
79
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
80
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
81
|
-
target: z.ZodString;
|
|
82
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
83
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
84
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
85
|
-
target: string;
|
|
86
|
-
}, string | {
|
|
87
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
88
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
89
|
-
target: string;
|
|
90
|
-
}>>>>;
|
|
91
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
92
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
93
|
-
type: z.ZodLiteral<"reference">;
|
|
94
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
95
|
-
reference: z.ZodString;
|
|
96
|
-
configuration: z.ZodOptional<z.ZodAny>;
|
|
97
|
-
outputs: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
98
|
-
schema: z.ZodDefault<z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
99
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof import("./nodeType.ts").ERROR, typeof import("./nodeType.ts").ERROR>]>>;
|
|
100
|
-
target: z.ZodString;
|
|
101
|
-
}, z.core.$strict>]>, z.ZodTransform<{
|
|
102
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
103
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
104
|
-
target: string;
|
|
105
|
-
}, string | {
|
|
106
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
107
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
108
|
-
target: string;
|
|
109
|
-
}>>>>;
|
|
110
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
-
id: z.ZodDefault<z.ZodUUID>;
|
|
112
|
-
type: z.ZodLiteral<"exit">;
|
|
113
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
114
|
-
}, z.core.$strict>]>>, z.ZodTransform<{
|
|
115
|
-
nodes: ({
|
|
116
|
-
id: string;
|
|
117
|
-
type: "exit";
|
|
118
|
-
alias?: string | undefined;
|
|
119
|
-
} | {
|
|
120
|
-
id: string;
|
|
121
|
-
type: "entry";
|
|
122
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
123
|
-
outputs: {
|
|
124
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
125
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
126
|
-
}[];
|
|
127
|
-
alias?: string | undefined;
|
|
128
|
-
} | {
|
|
129
|
-
id: string;
|
|
130
|
-
type: "service";
|
|
131
|
-
inputSchema: ({
|
|
132
|
-
type: "object";
|
|
133
|
-
} & import("json-schema").JSONSchema7) | {
|
|
134
|
-
type: "null";
|
|
135
|
-
};
|
|
136
|
-
name: string;
|
|
137
|
-
version: string;
|
|
138
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
139
|
-
outputs: {
|
|
140
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
141
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
142
|
-
}[];
|
|
143
|
-
alias?: string | undefined;
|
|
144
|
-
configuration?: any;
|
|
145
|
-
ttl?: number | undefined;
|
|
146
|
-
retry?: number | undefined;
|
|
147
|
-
retryDelay?: number | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
id: string;
|
|
150
|
-
type: "logic";
|
|
151
|
-
script: string;
|
|
152
|
-
concurrency: boolean;
|
|
153
|
-
language: "javascript" | "python" | "typescript";
|
|
154
|
-
maxExecutionTime: number;
|
|
155
|
-
outputs: {
|
|
156
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
157
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
158
|
-
}[];
|
|
159
|
-
alias?: string | undefined;
|
|
160
|
-
} | {
|
|
161
|
-
id: string;
|
|
162
|
-
type: "or";
|
|
163
|
-
outputs: {
|
|
164
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
165
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
166
|
-
}[];
|
|
167
|
-
alias?: string | undefined;
|
|
168
|
-
} | {
|
|
169
|
-
id: string;
|
|
170
|
-
type: "reference";
|
|
171
|
-
reference: string;
|
|
172
|
-
outputs: {
|
|
173
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
174
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
175
|
-
}[];
|
|
176
|
-
alias?: string | undefined;
|
|
177
|
-
configuration?: any;
|
|
178
|
-
})[];
|
|
179
|
-
edges: {
|
|
180
|
-
source: string;
|
|
181
|
-
sourceHandle: string | typeof import("./nodeType.ts").ERROR | null;
|
|
182
|
-
target: string;
|
|
183
|
-
}[];
|
|
184
|
-
}, ({
|
|
185
|
-
id: string;
|
|
186
|
-
type: "entry";
|
|
187
|
-
inputSchema: import("json-schema").JSONSchema7;
|
|
188
|
-
outputs: {
|
|
189
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
190
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
191
|
-
target: string;
|
|
192
|
-
}[];
|
|
193
|
-
alias?: string | undefined;
|
|
194
|
-
} | {
|
|
195
|
-
id: string;
|
|
196
|
-
type: "service";
|
|
197
|
-
inputSchema: ({
|
|
198
|
-
type: "object";
|
|
199
|
-
} & import("json-schema").JSONSchema7) | {
|
|
200
|
-
type: "null";
|
|
201
|
-
};
|
|
202
|
-
name: string;
|
|
203
|
-
version: string;
|
|
204
|
-
configurationSchema: import("json-schema").JSONSchema7;
|
|
205
|
-
outputs: {
|
|
206
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
207
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
208
|
-
target: string;
|
|
209
|
-
}[];
|
|
210
|
-
alias?: string | undefined;
|
|
211
|
-
configuration?: any;
|
|
212
|
-
ttl?: number | undefined;
|
|
213
|
-
retry?: number | undefined;
|
|
214
|
-
retryDelay?: number | undefined;
|
|
215
|
-
} | {
|
|
216
|
-
id: string;
|
|
217
|
-
type: "logic";
|
|
218
|
-
script: string;
|
|
219
|
-
concurrency: boolean;
|
|
220
|
-
language: "javascript" | "python" | "typescript";
|
|
221
|
-
maxExecutionTime: number;
|
|
222
|
-
outputs: {
|
|
223
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
224
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
225
|
-
target: string;
|
|
226
|
-
}[];
|
|
227
|
-
alias?: string | undefined;
|
|
228
|
-
} | {
|
|
229
|
-
id: string;
|
|
230
|
-
type: "or";
|
|
231
|
-
outputs: {
|
|
232
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
233
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
234
|
-
target: string;
|
|
235
|
-
}[];
|
|
236
|
-
alias?: string | undefined;
|
|
237
|
-
} | {
|
|
238
|
-
id: string;
|
|
239
|
-
type: "reference";
|
|
240
|
-
reference: string;
|
|
241
|
-
outputs: {
|
|
242
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
243
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
244
|
-
target: string;
|
|
245
|
-
}[];
|
|
246
|
-
alias?: string | undefined;
|
|
247
|
-
configuration?: any;
|
|
248
|
-
} | {
|
|
249
|
-
id: string;
|
|
250
|
-
type: "exit";
|
|
251
|
-
alias?: string | undefined;
|
|
252
|
-
})[]>>;
|
|
253
|
-
//# sourceMappingURL=targetNodes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targetNodes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/targetNodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAU1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwG3B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA"}
|