@requence/service 1.0.0-alpha.51 → 1.0.0-alpha.53

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +235 -96
  3. package/build/cli.js +2 -1
  4. package/build/cli.js.map +3 -3
  5. package/build/index.js +69 -19
  6. package/build/index.js.map +6 -6
  7. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -1
  8. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -1
  9. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -1
  10. package/build/types/helpers/src/protocol/NodeTree.d.ts +16 -2
  11. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
  12. package/build/types/helpers/src/protocol/command.d.ts +26 -0
  13. package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
  14. package/build/types/helpers/src/protocol/nodeType.d.ts +10 -0
  15. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
  16. package/build/types/helpers/src/protocol/taskOptions.d.ts +3 -0
  17. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
  18. package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -1
  19. package/build/types/helpers/src/protocol/treeNodes.d.ts +38 -0
  20. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
  21. package/build/types/helpers/src/protocol/update.d.ts +23 -0
  22. package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
  23. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +1 -1
  24. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -1
  25. package/build/types/service/src/createAmqpConnection.d.ts +1 -1
  26. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  27. package/build/types/service/src/helpers.d.ts +6 -2
  28. package/build/types/service/src/helpers.d.ts.map +1 -1
  29. package/package.json +7 -3
@@ -3,6 +3,7 @@ export type OutputName = string | null;
3
3
  type ExtendedEdge = Edge & {
4
4
  traversed: number;
5
5
  data?: string;
6
+ traceIds: string[];
6
7
  };
7
8
  type Cycle = {
8
9
  node: Node;
@@ -52,6 +53,7 @@ export declare class NodeTree {
52
53
  name: string;
53
54
  version: string;
54
55
  configurationSchema: import("json-schema").JSONSchema7;
56
+ mode: "LINEAR" | "CONTINUOUS";
55
57
  outputs: {
56
58
  name: string | null;
57
59
  schema: import("json-schema").JSONSchema7 | null;
@@ -81,6 +83,7 @@ export declare class NodeTree {
81
83
  id: string;
82
84
  type: "reference";
83
85
  reference: string;
86
+ enabled: boolean;
84
87
  inputSchema: ({
85
88
  type: "object";
86
89
  } & import("json-schema").JSONSchema7) | {
@@ -128,6 +131,7 @@ export declare class NodeTree {
128
131
  name: string;
129
132
  version: string;
130
133
  configurationSchema: import("json-schema").JSONSchema7;
134
+ mode: "LINEAR" | "CONTINUOUS";
131
135
  outputs: {
132
136
  name: string | null;
133
137
  schema: import("json-schema").JSONSchema7 | null;
@@ -157,6 +161,7 @@ export declare class NodeTree {
157
161
  id: string;
158
162
  type: "reference";
159
163
  reference: string;
164
+ enabled: boolean;
160
165
  inputSchema: ({
161
166
  type: "object";
162
167
  } & import("json-schema").JSONSchema7) | {
@@ -199,6 +204,7 @@ export declare class NodeTree {
199
204
  name: string;
200
205
  version: string;
201
206
  configurationSchema: import("json-schema").JSONSchema7;
207
+ mode: "LINEAR" | "CONTINUOUS";
202
208
  outputs: {
203
209
  name: string | null;
204
210
  schema: import("json-schema").JSONSchema7 | null;
@@ -228,6 +234,7 @@ export declare class NodeTree {
228
234
  id: string;
229
235
  type: "reference";
230
236
  reference: string;
237
+ enabled: boolean;
231
238
  inputSchema: ({
232
239
  type: "object";
233
240
  } & import("json-schema").JSONSchema7) | {
@@ -270,6 +277,7 @@ export declare class NodeTree {
270
277
  name: string;
271
278
  version: string;
272
279
  configurationSchema: import("json-schema").JSONSchema7;
280
+ mode: "LINEAR" | "CONTINUOUS";
273
281
  outputs: {
274
282
  name: string | null;
275
283
  schema: import("json-schema").JSONSchema7 | null;
@@ -299,6 +307,7 @@ export declare class NodeTree {
299
307
  id: string;
300
308
  type: "reference";
301
309
  reference: string;
310
+ enabled: boolean;
302
311
  inputSchema: ({
303
312
  type: "object";
304
313
  } & import("json-schema").JSONSchema7) | {
@@ -340,6 +349,7 @@ export declare class NodeTree {
340
349
  name: string;
341
350
  version: string;
342
351
  configurationSchema: import("json-schema").JSONSchema7;
352
+ mode: "LINEAR" | "CONTINUOUS";
343
353
  outputs: {
344
354
  name: string | null;
345
355
  schema: import("json-schema").JSONSchema7 | null;
@@ -369,6 +379,7 @@ export declare class NodeTree {
369
379
  id: string;
370
380
  type: "reference";
371
381
  reference: string;
382
+ enabled: boolean;
372
383
  inputSchema: ({
373
384
  type: "object";
374
385
  } & import("json-schema").JSONSchema7) | {
@@ -423,6 +434,7 @@ export declare class NodeTree {
423
434
  name: string;
424
435
  version: string;
425
436
  configurationSchema: import("json-schema").JSONSchema7;
437
+ mode: "LINEAR" | "CONTINUOUS";
426
438
  outputs: {
427
439
  name: string | null;
428
440
  schema: import("json-schema").JSONSchema7 | null;
@@ -452,6 +464,7 @@ export declare class NodeTree {
452
464
  id: string;
453
465
  type: "reference";
454
466
  reference: string;
467
+ enabled: boolean;
455
468
  inputSchema: ({
456
469
  type: "object";
457
470
  } & import("json-schema").JSONSchema7) | {
@@ -478,8 +491,9 @@ export declare class NodeTree {
478
491
  handle: OutputName;
479
492
  }[];
480
493
  getTriggers(nodeId: string): string[];
481
- traverse(nodeId: string, outputName: OutputName): void;
482
- traverseWithData(nodeId: string, outputName: OutputName, data: unknown, overwrite?: boolean): void;
494
+ getTraceIds(nodeId: string): string[];
495
+ traverse(nodeId: string, outputName: OutputName, traceIds?: string[]): void;
496
+ traverseWithData(nodeId: string, outputName: OutputName, data: unknown, overwrite?: boolean, traceIds?: string[]): void;
483
497
  disconnect(sourceNodeId: string, sourceNodeOutputName: OutputName, targetNodeId: string): void;
484
498
  getData(nodeId: string, outputName: OutputName): unknown;
485
499
  traversed(sourceNodeId: string, targetNodeId: string): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"NodeTree.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/NodeTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAE/C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,CAAA;AAEtC,KAAK,YAAY,GAAG,IAAI,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAM/D,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,EAAE,CAAA;AAqG/C,KAAK,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,EAAE,CAAA;AAyC3D,KAAK,OAAO,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAElE,UAAU,eAAe;IACvB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,KAAK,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,CAAA;CAC/B;AAED,qBAAa,QAAQ;IACnB,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,KAAK,CAAqB;IAClC,OAAO,CAAC,IAAI,CAAsB;IAClC,OAAO,CAAC,kBAAkB,CAAsC;IAChE,SAAgB,MAAM,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,IAAI,EAAE,UAAU,CAAA;KAAE,EAAE,EAAE,CAAA;IAC5D,SAAgB,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;gBAGzD,EAAE,KAAK,E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;;;;;;;;;;;;;gBAKJ,UAAU;;IAI7C,WAAW,CAAC,MAAM,EAAE,MAAM;IAQ1B,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE;IAOrC,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,GAAE,MAAM,EAAO;IAUxE,gBAAgB,CACd,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,OAAO,EACb,SAAS,UAAQ,EACjB,QAAQ,GAAE,MAAM,EAAO;IAsBzB,UAAU,CACR,YAAY,EAAE,MAAM,EACpB,oBAAoB,EAAE,UAAU,EAChC,YAAY,EAAE,MAAM;IAatB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;IAS9C,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM;IASpD,UAAU;IAiBV,OAAO,CAAC,2BAA2B;IAgCnC,uBAAuB,CAAC,YAAY,EAAE,MAAM;IAqB5C,iBAAiB,CAAC,YAAY,EAAE,MAAM;IAwBtC,qBAAqB,CAAC,MAAM,EAAE,MAAM;IAwCpC,KAAK;IAUL,EAAE;IAaF,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAGzE"}
@@ -24,6 +24,9 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
24
24
  priority: z.ZodDefault<z.ZodInt>;
25
25
  uploadUrl: z.ZodOptional<z.ZodString>;
26
26
  streamUrl: z.ZodOptional<z.ZodString>;
27
+ continuous: z.ZodDefault<z.ZodObject<{
28
+ maxReconnects: z.ZodDefault<z.ZodNumber>;
29
+ }, z.core.$strip>>;
27
30
  referencedBy: z.ZodOptional<z.ZodObject<{
28
31
  rootTaskId: z.ZodUUID;
29
32
  taskId: z.ZodUUID;
@@ -52,6 +55,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
52
55
  name: string;
53
56
  version: string;
54
57
  configurationSchema: import("json-schema").JSONSchema7;
58
+ mode: "LINEAR" | "CONTINUOUS";
55
59
  outputs: {
56
60
  name: string | null;
57
61
  schema: import("json-schema").JSONSchema7 | null;
@@ -81,6 +85,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
81
85
  id: string;
82
86
  type: "reference";
83
87
  reference: string;
88
+ enabled: boolean;
84
89
  inputSchema: ({
85
90
  type: "object";
86
91
  } & import("json-schema").JSONSchema7) | {
@@ -136,6 +141,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
136
141
  name: string;
137
142
  version: string;
138
143
  configurationSchema: import("json-schema").JSONSchema7;
144
+ mode: "LINEAR" | "CONTINUOUS";
139
145
  outputs: {
140
146
  name: string | null;
141
147
  schema: import("json-schema").JSONSchema7 | null;
@@ -165,6 +171,7 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
165
171
  id: string;
166
172
  type: "reference";
167
173
  reference: string;
174
+ enabled: boolean;
168
175
  inputSchema: ({
169
176
  type: "object";
170
177
  } & import("json-schema").JSONSchema7) | {
@@ -204,6 +211,9 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
204
211
  maxExecutions: number;
205
212
  mode: "LINEAR" | "CONTINUOUS";
206
213
  priority: number;
214
+ continuous: {
215
+ maxReconnects: number;
216
+ };
207
217
  uploadUrl?: string | undefined;
208
218
  streamUrl?: string | undefined;
209
219
  referencedBy?: {
@@ -228,6 +238,9 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
228
238
  maxExecutions: number;
229
239
  mode: "LINEAR" | "CONTINUOUS";
230
240
  priority: number;
241
+ continuous: {
242
+ maxReconnects: number;
243
+ };
231
244
  uploadUrl?: string | undefined;
232
245
  streamUrl?: string | undefined;
233
246
  referencedBy?: {
@@ -262,6 +275,9 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
262
275
  priority: z.ZodDefault<z.ZodInt>;
263
276
  uploadUrl: z.ZodOptional<z.ZodString>;
264
277
  streamUrl: z.ZodOptional<z.ZodString>;
278
+ continuous: z.ZodDefault<z.ZodObject<{
279
+ maxReconnects: z.ZodDefault<z.ZodNumber>;
280
+ }, z.core.$strip>>;
265
281
  referencedBy: z.ZodOptional<z.ZodObject<{
266
282
  rootTaskId: z.ZodUUID;
267
283
  taskId: z.ZodUUID;
@@ -290,6 +306,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
290
306
  name: string;
291
307
  version: string;
292
308
  configurationSchema: import("json-schema").JSONSchema7;
309
+ mode: "LINEAR" | "CONTINUOUS";
293
310
  outputs: {
294
311
  name: string | null;
295
312
  schema: import("json-schema").JSONSchema7 | null;
@@ -319,6 +336,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
319
336
  id: string;
320
337
  type: "reference";
321
338
  reference: string;
339
+ enabled: boolean;
322
340
  inputSchema: ({
323
341
  type: "object";
324
342
  } & import("json-schema").JSONSchema7) | {
@@ -374,6 +392,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
374
392
  name: string;
375
393
  version: string;
376
394
  configurationSchema: import("json-schema").JSONSchema7;
395
+ mode: "LINEAR" | "CONTINUOUS";
377
396
  outputs: {
378
397
  name: string | null;
379
398
  schema: import("json-schema").JSONSchema7 | null;
@@ -403,6 +422,7 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
403
422
  id: string;
404
423
  type: "reference";
405
424
  reference: string;
425
+ enabled: boolean;
406
426
  inputSchema: ({
407
427
  type: "object";
408
428
  } & import("json-schema").JSONSchema7) | {
@@ -442,6 +462,9 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
442
462
  maxExecutions: number;
443
463
  mode: "LINEAR" | "CONTINUOUS";
444
464
  priority: number;
465
+ continuous: {
466
+ maxReconnects: number;
467
+ };
445
468
  uploadUrl?: string | undefined;
446
469
  streamUrl?: string | undefined;
447
470
  referencedBy?: {
@@ -466,6 +489,9 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
466
489
  maxExecutions: number;
467
490
  mode: "LINEAR" | "CONTINUOUS";
468
491
  priority: number;
492
+ continuous: {
493
+ maxReconnects: number;
494
+ };
469
495
  uploadUrl?: string | undefined;
470
496
  streamUrl?: string | undefined;
471
497
  referencedBy?: {
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuB3B,CAAA;AAEL,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAqD,CAAA;AA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a,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
@@ -24,6 +24,10 @@ export declare const serviceNodeSchema: z.ZodObject<{
24
24
  ttl: z.ZodOptional<z.ZodNumber>;
25
25
  retry: z.ZodOptional<z.ZodNumber>;
26
26
  retryDelay: z.ZodOptional<z.ZodNumber>;
27
+ mode: z.ZodDefault<z.ZodEnum<{
28
+ LINEAR: "LINEAR";
29
+ CONTINUOUS: "CONTINUOUS";
30
+ }>>;
27
31
  outputs: z.ZodArray<z.ZodObject<{
28
32
  name: z.ZodNullable<z.ZodString>;
29
33
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -59,6 +63,7 @@ export declare const referenceNodeSchema: z.ZodObject<{
59
63
  type: z.ZodLiteral<"reference">;
60
64
  alias: z.ZodOptional<z.ZodString>;
61
65
  reference: z.ZodString;
66
+ enabled: z.ZodDefault<z.ZodBoolean>;
62
67
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
63
68
  type: z.ZodLiteral<"object">;
64
69
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -109,6 +114,10 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
109
114
  ttl: z.ZodOptional<z.ZodNumber>;
110
115
  retry: z.ZodOptional<z.ZodNumber>;
111
116
  retryDelay: z.ZodOptional<z.ZodNumber>;
117
+ mode: z.ZodDefault<z.ZodEnum<{
118
+ LINEAR: "LINEAR";
119
+ CONTINUOUS: "CONTINUOUS";
120
+ }>>;
112
121
  outputs: z.ZodArray<z.ZodObject<{
113
122
  name: z.ZodNullable<z.ZodString>;
114
123
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -138,6 +147,7 @@ export declare const nodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
138
147
  type: z.ZodLiteral<"reference">;
139
148
  alias: z.ZodOptional<z.ZodString>;
140
149
  reference: z.ZodString;
150
+ enabled: z.ZodDefault<z.ZodBoolean>;
141
151
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
142
152
  type: z.ZodLiteral<"object">;
143
153
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"nodeType.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/nodeType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAkC1B,eAAO,MAAM,eAAe;;;;;kBAK1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAExD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;kBAoBF,CAAA;AAC5B,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE5D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;kBAYA,CAAA;AAC5B,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAExD,eAAO,MAAM,YAAY;;;;kBAIvB,CAAA;AACF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA;AAElD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;kBAcJ,CAAA;AAC5B,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;kBAKzB,CAAA;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAA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AAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;kBAKzB,CAAA;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEtD,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAG5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAQrB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAC9C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA"}
@@ -8,6 +8,9 @@ export declare const taskOptionsSchema: z.ZodObject<{
8
8
  priority: z.ZodDefault<z.ZodInt>;
9
9
  uploadUrl: z.ZodOptional<z.ZodString>;
10
10
  streamUrl: z.ZodOptional<z.ZodString>;
11
+ continuous: z.ZodDefault<z.ZodObject<{
12
+ maxReconnects: z.ZodDefault<z.ZodNumber>;
13
+ }, z.core.$strip>>;
11
14
  referencedBy: z.ZodOptional<z.ZodObject<{
12
15
  rootTaskId: z.ZodUUID;
13
16
  taskId: z.ZodUUID;
@@ -1 +1 @@
1
- {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAc5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"taskOptions.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/taskOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;iBAmB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"templateNodeTypes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/templateNodeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AA2B1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;iBAEP,CAAA;AAC7B,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;iBAaT,CAAA;AAC7B,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;iBAEP,CAAA;AAC7B,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;iBAEJ,CAAA;AAC7B,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CA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
  retry: z.ZodOptional<z.ZodNumber>;
25
25
  retryDelay: z.ZodOptional<z.ZodNumber>;
26
+ mode: z.ZodDefault<z.ZodEnum<{
27
+ LINEAR: "LINEAR";
28
+ CONTINUOUS: "CONTINUOUS";
29
+ }>>;
26
30
  outputs: z.ZodArray<z.ZodObject<{
27
31
  name: z.ZodNullable<z.ZodString>;
28
32
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -52,6 +56,7 @@ export declare const treeSchema: z.ZodObject<{
52
56
  type: z.ZodLiteral<"reference">;
53
57
  alias: z.ZodOptional<z.ZodString>;
54
58
  reference: z.ZodString;
59
+ enabled: z.ZodDefault<z.ZodBoolean>;
55
60
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
56
61
  type: z.ZodLiteral<"object">;
57
62
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -106,6 +111,10 @@ declare const extendedTreeSchema: z.ZodObject<{
106
111
  ttl: z.ZodOptional<z.ZodNumber>;
107
112
  retry: z.ZodOptional<z.ZodNumber>;
108
113
  retryDelay: z.ZodOptional<z.ZodNumber>;
114
+ mode: z.ZodDefault<z.ZodEnum<{
115
+ LINEAR: "LINEAR";
116
+ CONTINUOUS: "CONTINUOUS";
117
+ }>>;
109
118
  outputs: z.ZodArray<z.ZodObject<{
110
119
  name: z.ZodNullable<z.ZodString>;
111
120
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -135,6 +144,7 @@ declare const extendedTreeSchema: z.ZodObject<{
135
144
  type: z.ZodLiteral<"reference">;
136
145
  alias: z.ZodOptional<z.ZodString>;
137
146
  reference: z.ZodString;
147
+ enabled: z.ZodDefault<z.ZodBoolean>;
138
148
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
139
149
  type: z.ZodLiteral<"object">;
140
150
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -190,6 +200,10 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
190
200
  ttl: z.ZodOptional<z.ZodNumber>;
191
201
  retry: z.ZodOptional<z.ZodNumber>;
192
202
  retryDelay: z.ZodOptional<z.ZodNumber>;
203
+ mode: z.ZodDefault<z.ZodEnum<{
204
+ LINEAR: "LINEAR";
205
+ CONTINUOUS: "CONTINUOUS";
206
+ }>>;
193
207
  outputs: z.ZodArray<z.ZodObject<{
194
208
  name: z.ZodNullable<z.ZodString>;
195
209
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -219,6 +233,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
219
233
  type: z.ZodLiteral<"reference">;
220
234
  alias: z.ZodOptional<z.ZodString>;
221
235
  reference: z.ZodString;
236
+ enabled: z.ZodDefault<z.ZodBoolean>;
222
237
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
223
238
  type: z.ZodLiteral<"object">;
224
239
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -267,6 +282,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
267
282
  name: string;
268
283
  version: string;
269
284
  configurationSchema: import("json-schema").JSONSchema7;
285
+ mode: "LINEAR" | "CONTINUOUS";
270
286
  outputs: {
271
287
  name: string | null;
272
288
  schema: import("json-schema").JSONSchema7 | null;
@@ -296,6 +312,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
296
312
  id: string;
297
313
  type: "reference";
298
314
  reference: string;
315
+ enabled: boolean;
299
316
  inputSchema: ({
300
317
  type: "object";
301
318
  } & import("json-schema").JSONSchema7) | {
@@ -344,6 +361,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
344
361
  name: string;
345
362
  version: string;
346
363
  configurationSchema: import("json-schema").JSONSchema7;
364
+ mode: "LINEAR" | "CONTINUOUS";
347
365
  outputs: {
348
366
  name: string | null;
349
367
  schema: import("json-schema").JSONSchema7 | null;
@@ -373,6 +391,7 @@ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
373
391
  id: string;
374
392
  type: "reference";
375
393
  reference: string;
394
+ enabled: boolean;
376
395
  inputSchema: ({
377
396
  type: "object";
378
397
  } & import("json-schema").JSONSchema7) | {
@@ -437,6 +456,10 @@ export declare const treeReferenceSchema: z.ZodObject<{
437
456
  ttl: z.ZodOptional<z.ZodNumber>;
438
457
  retry: z.ZodOptional<z.ZodNumber>;
439
458
  retryDelay: z.ZodOptional<z.ZodNumber>;
459
+ mode: z.ZodDefault<z.ZodEnum<{
460
+ LINEAR: "LINEAR";
461
+ CONTINUOUS: "CONTINUOUS";
462
+ }>>;
440
463
  outputs: z.ZodArray<z.ZodObject<{
441
464
  name: z.ZodNullable<z.ZodString>;
442
465
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -466,6 +489,7 @@ export declare const treeReferenceSchema: z.ZodObject<{
466
489
  type: z.ZodLiteral<"reference">;
467
490
  alias: z.ZodOptional<z.ZodString>;
468
491
  reference: z.ZodString;
492
+ enabled: z.ZodDefault<z.ZodBoolean>;
469
493
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
470
494
  type: z.ZodLiteral<"object">;
471
495
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -522,6 +546,10 @@ export declare const treeListSchema: z.ZodObject<{
522
546
  ttl: z.ZodOptional<z.ZodNumber>;
523
547
  retry: z.ZodOptional<z.ZodNumber>;
524
548
  retryDelay: z.ZodOptional<z.ZodNumber>;
549
+ mode: z.ZodDefault<z.ZodEnum<{
550
+ LINEAR: "LINEAR";
551
+ CONTINUOUS: "CONTINUOUS";
552
+ }>>;
525
553
  outputs: z.ZodArray<z.ZodObject<{
526
554
  name: z.ZodNullable<z.ZodString>;
527
555
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -551,6 +579,7 @@ export declare const treeListSchema: z.ZodObject<{
551
579
  type: z.ZodLiteral<"reference">;
552
580
  alias: z.ZodOptional<z.ZodString>;
553
581
  reference: z.ZodString;
582
+ enabled: z.ZodDefault<z.ZodBoolean>;
554
583
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
555
584
  type: z.ZodLiteral<"object">;
556
585
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -599,6 +628,7 @@ export declare const treeListSchema: z.ZodObject<{
599
628
  name: string;
600
629
  version: string;
601
630
  configurationSchema: import("json-schema").JSONSchema7;
631
+ mode: "LINEAR" | "CONTINUOUS";
602
632
  outputs: {
603
633
  name: string | null;
604
634
  schema: import("json-schema").JSONSchema7 | null;
@@ -628,6 +658,7 @@ export declare const treeListSchema: z.ZodObject<{
628
658
  id: string;
629
659
  type: "reference";
630
660
  reference: string;
661
+ enabled: boolean;
631
662
  inputSchema: ({
632
663
  type: "object";
633
664
  } & import("json-schema").JSONSchema7) | {
@@ -676,6 +707,7 @@ export declare const treeListSchema: z.ZodObject<{
676
707
  name: string;
677
708
  version: string;
678
709
  configurationSchema: import("json-schema").JSONSchema7;
710
+ mode: "LINEAR" | "CONTINUOUS";
679
711
  outputs: {
680
712
  name: string | null;
681
713
  schema: import("json-schema").JSONSchema7 | null;
@@ -705,6 +737,7 @@ export declare const treeListSchema: z.ZodObject<{
705
737
  id: string;
706
738
  type: "reference";
707
739
  reference: string;
740
+ enabled: boolean;
708
741
  inputSchema: ({
709
742
  type: "object";
710
743
  } & import("json-schema").JSONSchema7) | {
@@ -769,6 +802,10 @@ export declare const treeListSchema: z.ZodObject<{
769
802
  ttl: z.ZodOptional<z.ZodNumber>;
770
803
  retry: z.ZodOptional<z.ZodNumber>;
771
804
  retryDelay: z.ZodOptional<z.ZodNumber>;
805
+ mode: z.ZodDefault<z.ZodEnum<{
806
+ LINEAR: "LINEAR";
807
+ CONTINUOUS: "CONTINUOUS";
808
+ }>>;
772
809
  outputs: z.ZodArray<z.ZodObject<{
773
810
  name: z.ZodNullable<z.ZodString>;
774
811
  schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
@@ -798,6 +835,7 @@ export declare const treeListSchema: z.ZodObject<{
798
835
  type: z.ZodLiteral<"reference">;
799
836
  alias: z.ZodOptional<z.ZodString>;
800
837
  reference: z.ZodString;
838
+ enabled: z.ZodDefault<z.ZodBoolean>;
801
839
  inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
802
840
  type: z.ZodLiteral<"object">;
803
841
  }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
@@ -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;AAQ1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9C,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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