@xyne/workflow-sdk 3.2.31 → 3.2.32
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/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/types.d.ts +35 -17
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow-client.d.ts.map +1 -1
- package/dist/client/workflow-client.js +24 -13
- package/dist/client/workflow-client.js.map +1 -1
- package/dist/common/credentials.d.ts +258 -0
- package/dist/common/credentials.d.ts.map +1 -0
- package/dist/common/credentials.js +176 -0
- package/dist/common/credentials.js.map +1 -0
- package/dist/common/index.d.ts +7 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +19 -1
- package/dist/common/index.js.map +1 -1
- package/dist/engine/workflow-executor.d.ts.map +1 -1
- package/dist/engine/workflow-executor.js +24 -9
- package/dist/engine/workflow-executor.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/persistence/in-memory-adapter.d.ts +93 -29
- package/dist/persistence/in-memory-adapter.d.ts.map +1 -1
- package/dist/persistence/in-memory-adapter.js +171 -52
- package/dist/persistence/in-memory-adapter.js.map +1 -1
- package/dist/persistence/types.d.ts +84 -26
- package/dist/persistence/types.d.ts.map +1 -1
- package/dist/router/workflow-router.d.ts +3 -1
- package/dist/router/workflow-router.d.ts.map +1 -1
- package/dist/router/workflow-router.js +218 -40
- package/dist/router/workflow-router.js.map +1 -1
- package/dist/runtime/workflow-runtime.d.ts +22 -30
- package/dist/runtime/workflow-runtime.d.ts.map +1 -1
- package/dist/runtime/workflow-runtime.js +46 -54
- package/dist/runtime/workflow-runtime.js.map +1 -1
- package/dist/steps/base-step.d.ts +12 -26
- package/dist/steps/base-step.d.ts.map +1 -1
- package/dist/steps/base-step.js +2 -4
- package/dist/steps/base-step.js.map +1 -1
- package/dist/steps/builtin/code.step.d.ts +7 -3
- package/dist/steps/builtin/code.step.d.ts.map +1 -1
- package/dist/steps/builtin/code.step.js +77 -47
- package/dist/steps/builtin/code.step.js.map +1 -1
- package/dist/steps/builtin/http-request.step.d.ts +18 -264
- package/dist/steps/builtin/http-request.step.d.ts.map +1 -1
- package/dist/steps/builtin/http-request.step.js +48 -157
- package/dist/steps/builtin/http-request.step.js.map +1 -1
- package/dist/steps/builtin/ssrf-guard.d.ts +9 -0
- package/dist/steps/builtin/ssrf-guard.d.ts.map +1 -0
- package/dist/steps/builtin/ssrf-guard.js +115 -0
- package/dist/steps/builtin/ssrf-guard.js.map +1 -0
- package/dist/steps/builtin/switch.step.d.ts +14 -14
- package/dist/steps/builtin/wait.step.d.ts +56 -56
- package/dist/steps/step-registry.d.ts +1 -3
- package/dist/steps/step-registry.d.ts.map +1 -1
- package/dist/steps/step-registry.js +0 -1
- package/dist/steps/step-registry.js.map +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/mock-step-context.d.ts +7 -2
- package/dist/testing/mock-step-context.d.ts.map +1 -1
- package/dist/testing/mock-step-context.js +9 -1
- package/dist/testing/mock-step-context.js.map +1 -1
- package/dist/triggers/webhook-trigger.d.ts +1 -5
- package/dist/triggers/webhook-trigger.d.ts.map +1 -1
- package/dist/triggers/webhook-trigger.js.map +1 -1
- package/package.json +2 -2
|
@@ -71,16 +71,16 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
71
71
|
name: string;
|
|
72
72
|
label: string;
|
|
73
73
|
description?: string | undefined;
|
|
74
|
-
required?: boolean | undefined;
|
|
75
74
|
placeholder?: string | undefined;
|
|
75
|
+
required?: boolean | undefined;
|
|
76
76
|
defaultValue?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
type: "text";
|
|
79
79
|
name: string;
|
|
80
80
|
label: string;
|
|
81
81
|
description?: string | undefined;
|
|
82
|
-
required?: boolean | undefined;
|
|
83
82
|
placeholder?: string | undefined;
|
|
83
|
+
required?: boolean | undefined;
|
|
84
84
|
defaultValue?: string | undefined;
|
|
85
85
|
}>, z.ZodObject<{
|
|
86
86
|
type: z.ZodLiteral<"textarea">;
|
|
@@ -96,8 +96,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
96
96
|
name: string;
|
|
97
97
|
label: string;
|
|
98
98
|
description?: string | undefined;
|
|
99
|
-
required?: boolean | undefined;
|
|
100
99
|
placeholder?: string | undefined;
|
|
100
|
+
required?: boolean | undefined;
|
|
101
101
|
defaultValue?: string | undefined;
|
|
102
102
|
rows?: number | undefined;
|
|
103
103
|
}, {
|
|
@@ -105,8 +105,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
105
105
|
name: string;
|
|
106
106
|
label: string;
|
|
107
107
|
description?: string | undefined;
|
|
108
|
-
required?: boolean | undefined;
|
|
109
108
|
placeholder?: string | undefined;
|
|
109
|
+
required?: boolean | undefined;
|
|
110
110
|
defaultValue?: string | undefined;
|
|
111
111
|
rows?: number | undefined;
|
|
112
112
|
}>, z.ZodObject<{
|
|
@@ -124,20 +124,20 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
124
124
|
name: string;
|
|
125
125
|
label: string;
|
|
126
126
|
description?: string | undefined;
|
|
127
|
+
placeholder?: string | undefined;
|
|
127
128
|
min?: number | undefined;
|
|
128
129
|
max?: number | undefined;
|
|
129
130
|
required?: boolean | undefined;
|
|
130
|
-
placeholder?: string | undefined;
|
|
131
131
|
defaultValue?: number | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
type: "number";
|
|
134
134
|
name: string;
|
|
135
135
|
label: string;
|
|
136
136
|
description?: string | undefined;
|
|
137
|
+
placeholder?: string | undefined;
|
|
137
138
|
min?: number | undefined;
|
|
138
139
|
max?: number | undefined;
|
|
139
140
|
required?: boolean | undefined;
|
|
140
|
-
placeholder?: string | undefined;
|
|
141
141
|
defaultValue?: number | undefined;
|
|
142
142
|
}>, z.ZodObject<{
|
|
143
143
|
type: z.ZodLiteral<"select">;
|
|
@@ -167,8 +167,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
167
167
|
name: string;
|
|
168
168
|
label: string;
|
|
169
169
|
description?: string | undefined;
|
|
170
|
-
required?: boolean | undefined;
|
|
171
170
|
placeholder?: string | undefined;
|
|
171
|
+
required?: boolean | undefined;
|
|
172
172
|
defaultValue?: string | undefined;
|
|
173
173
|
allowCustomValue?: boolean | undefined;
|
|
174
174
|
}, {
|
|
@@ -180,8 +180,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
180
180
|
name: string;
|
|
181
181
|
label: string;
|
|
182
182
|
description?: string | undefined;
|
|
183
|
-
required?: boolean | undefined;
|
|
184
183
|
placeholder?: string | undefined;
|
|
184
|
+
required?: boolean | undefined;
|
|
185
185
|
defaultValue?: string | undefined;
|
|
186
186
|
allowCustomValue?: boolean | undefined;
|
|
187
187
|
}>, z.ZodObject<{
|
|
@@ -243,16 +243,16 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
243
243
|
name: string;
|
|
244
244
|
label: string;
|
|
245
245
|
description?: string | undefined;
|
|
246
|
-
required?: boolean | undefined;
|
|
247
246
|
placeholder?: string | undefined;
|
|
247
|
+
required?: boolean | undefined;
|
|
248
248
|
defaultValue?: string | undefined;
|
|
249
249
|
} | {
|
|
250
250
|
type: "textarea";
|
|
251
251
|
name: string;
|
|
252
252
|
label: string;
|
|
253
253
|
description?: string | undefined;
|
|
254
|
-
required?: boolean | undefined;
|
|
255
254
|
placeholder?: string | undefined;
|
|
255
|
+
required?: boolean | undefined;
|
|
256
256
|
defaultValue?: string | undefined;
|
|
257
257
|
rows?: number | undefined;
|
|
258
258
|
} | {
|
|
@@ -260,10 +260,10 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
260
260
|
name: string;
|
|
261
261
|
label: string;
|
|
262
262
|
description?: string | undefined;
|
|
263
|
+
placeholder?: string | undefined;
|
|
263
264
|
min?: number | undefined;
|
|
264
265
|
max?: number | undefined;
|
|
265
266
|
required?: boolean | undefined;
|
|
266
|
-
placeholder?: string | undefined;
|
|
267
267
|
defaultValue?: number | undefined;
|
|
268
268
|
} | {
|
|
269
269
|
options: string | {
|
|
@@ -274,8 +274,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
274
274
|
name: string;
|
|
275
275
|
label: string;
|
|
276
276
|
description?: string | undefined;
|
|
277
|
-
required?: boolean | undefined;
|
|
278
277
|
placeholder?: string | undefined;
|
|
278
|
+
required?: boolean | undefined;
|
|
279
279
|
defaultValue?: string | undefined;
|
|
280
280
|
allowCustomValue?: boolean | undefined;
|
|
281
281
|
} | {
|
|
@@ -303,16 +303,16 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
303
303
|
name: string;
|
|
304
304
|
label: string;
|
|
305
305
|
description?: string | undefined;
|
|
306
|
-
required?: boolean | undefined;
|
|
307
306
|
placeholder?: string | undefined;
|
|
307
|
+
required?: boolean | undefined;
|
|
308
308
|
defaultValue?: string | undefined;
|
|
309
309
|
} | {
|
|
310
310
|
type: "textarea";
|
|
311
311
|
name: string;
|
|
312
312
|
label: string;
|
|
313
313
|
description?: string | undefined;
|
|
314
|
-
required?: boolean | undefined;
|
|
315
314
|
placeholder?: string | undefined;
|
|
315
|
+
required?: boolean | undefined;
|
|
316
316
|
defaultValue?: string | undefined;
|
|
317
317
|
rows?: number | undefined;
|
|
318
318
|
} | {
|
|
@@ -320,10 +320,10 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
320
320
|
name: string;
|
|
321
321
|
label: string;
|
|
322
322
|
description?: string | undefined;
|
|
323
|
+
placeholder?: string | undefined;
|
|
323
324
|
min?: number | undefined;
|
|
324
325
|
max?: number | undefined;
|
|
325
326
|
required?: boolean | undefined;
|
|
326
|
-
placeholder?: string | undefined;
|
|
327
327
|
defaultValue?: number | undefined;
|
|
328
328
|
} | {
|
|
329
329
|
options: string | {
|
|
@@ -334,8 +334,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
334
334
|
name: string;
|
|
335
335
|
label: string;
|
|
336
336
|
description?: string | undefined;
|
|
337
|
-
required?: boolean | undefined;
|
|
338
337
|
placeholder?: string | undefined;
|
|
338
|
+
required?: boolean | undefined;
|
|
339
339
|
defaultValue?: string | undefined;
|
|
340
340
|
allowCustomValue?: boolean | undefined;
|
|
341
341
|
} | {
|
|
@@ -367,14 +367,14 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
368
|
key: string;
|
|
369
369
|
label: string;
|
|
370
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
371
370
|
abort?: boolean | undefined;
|
|
371
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
372
372
|
submitsForm?: boolean | undefined;
|
|
373
373
|
}, {
|
|
374
374
|
key: string;
|
|
375
375
|
label: string;
|
|
376
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
377
376
|
abort?: boolean | undefined;
|
|
377
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
378
378
|
submitsForm?: boolean | undefined;
|
|
379
379
|
}>, "many">>;
|
|
380
380
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -392,16 +392,16 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
392
392
|
name: string;
|
|
393
393
|
label: string;
|
|
394
394
|
description?: string | undefined;
|
|
395
|
-
required?: boolean | undefined;
|
|
396
395
|
placeholder?: string | undefined;
|
|
396
|
+
required?: boolean | undefined;
|
|
397
397
|
defaultValue?: string | undefined;
|
|
398
398
|
} | {
|
|
399
399
|
type: "textarea";
|
|
400
400
|
name: string;
|
|
401
401
|
label: string;
|
|
402
402
|
description?: string | undefined;
|
|
403
|
-
required?: boolean | undefined;
|
|
404
403
|
placeholder?: string | undefined;
|
|
404
|
+
required?: boolean | undefined;
|
|
405
405
|
defaultValue?: string | undefined;
|
|
406
406
|
rows?: number | undefined;
|
|
407
407
|
} | {
|
|
@@ -409,10 +409,10 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
409
409
|
name: string;
|
|
410
410
|
label: string;
|
|
411
411
|
description?: string | undefined;
|
|
412
|
+
placeholder?: string | undefined;
|
|
412
413
|
min?: number | undefined;
|
|
413
414
|
max?: number | undefined;
|
|
414
415
|
required?: boolean | undefined;
|
|
415
|
-
placeholder?: string | undefined;
|
|
416
416
|
defaultValue?: number | undefined;
|
|
417
417
|
} | {
|
|
418
418
|
options: string | {
|
|
@@ -423,8 +423,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
423
423
|
name: string;
|
|
424
424
|
label: string;
|
|
425
425
|
description?: string | undefined;
|
|
426
|
-
required?: boolean | undefined;
|
|
427
426
|
placeholder?: string | undefined;
|
|
427
|
+
required?: boolean | undefined;
|
|
428
428
|
defaultValue?: string | undefined;
|
|
429
429
|
allowCustomValue?: boolean | undefined;
|
|
430
430
|
} | {
|
|
@@ -450,8 +450,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
450
450
|
actions?: {
|
|
451
451
|
key: string;
|
|
452
452
|
label: string;
|
|
453
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
454
453
|
abort?: boolean | undefined;
|
|
454
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
455
455
|
submitsForm?: boolean | undefined;
|
|
456
456
|
}[] | undefined;
|
|
457
457
|
}, {
|
|
@@ -469,16 +469,16 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
469
469
|
name: string;
|
|
470
470
|
label: string;
|
|
471
471
|
description?: string | undefined;
|
|
472
|
-
required?: boolean | undefined;
|
|
473
472
|
placeholder?: string | undefined;
|
|
473
|
+
required?: boolean | undefined;
|
|
474
474
|
defaultValue?: string | undefined;
|
|
475
475
|
} | {
|
|
476
476
|
type: "textarea";
|
|
477
477
|
name: string;
|
|
478
478
|
label: string;
|
|
479
479
|
description?: string | undefined;
|
|
480
|
-
required?: boolean | undefined;
|
|
481
480
|
placeholder?: string | undefined;
|
|
481
|
+
required?: boolean | undefined;
|
|
482
482
|
defaultValue?: string | undefined;
|
|
483
483
|
rows?: number | undefined;
|
|
484
484
|
} | {
|
|
@@ -486,10 +486,10 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
486
486
|
name: string;
|
|
487
487
|
label: string;
|
|
488
488
|
description?: string | undefined;
|
|
489
|
+
placeholder?: string | undefined;
|
|
489
490
|
min?: number | undefined;
|
|
490
491
|
max?: number | undefined;
|
|
491
492
|
required?: boolean | undefined;
|
|
492
|
-
placeholder?: string | undefined;
|
|
493
493
|
defaultValue?: number | undefined;
|
|
494
494
|
} | {
|
|
495
495
|
options: string | {
|
|
@@ -500,8 +500,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
500
500
|
name: string;
|
|
501
501
|
label: string;
|
|
502
502
|
description?: string | undefined;
|
|
503
|
-
required?: boolean | undefined;
|
|
504
503
|
placeholder?: string | undefined;
|
|
504
|
+
required?: boolean | undefined;
|
|
505
505
|
defaultValue?: string | undefined;
|
|
506
506
|
allowCustomValue?: boolean | undefined;
|
|
507
507
|
} | {
|
|
@@ -527,8 +527,8 @@ export declare const WaitStepConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.Zo
|
|
|
527
527
|
actions?: {
|
|
528
528
|
key: string;
|
|
529
529
|
label: string;
|
|
530
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
531
530
|
abort?: boolean | undefined;
|
|
531
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
532
532
|
submitsForm?: boolean | undefined;
|
|
533
533
|
}[] | undefined;
|
|
534
534
|
}>]>;
|
|
@@ -589,16 +589,16 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
589
589
|
name: string;
|
|
590
590
|
label: string;
|
|
591
591
|
description?: string | undefined;
|
|
592
|
-
required?: boolean | undefined;
|
|
593
592
|
placeholder?: string | undefined;
|
|
593
|
+
required?: boolean | undefined;
|
|
594
594
|
defaultValue?: string | undefined;
|
|
595
595
|
}, {
|
|
596
596
|
type: "text";
|
|
597
597
|
name: string;
|
|
598
598
|
label: string;
|
|
599
599
|
description?: string | undefined;
|
|
600
|
-
required?: boolean | undefined;
|
|
601
600
|
placeholder?: string | undefined;
|
|
601
|
+
required?: boolean | undefined;
|
|
602
602
|
defaultValue?: string | undefined;
|
|
603
603
|
}>, z.ZodObject<{
|
|
604
604
|
type: z.ZodLiteral<"textarea">;
|
|
@@ -614,8 +614,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
614
614
|
name: string;
|
|
615
615
|
label: string;
|
|
616
616
|
description?: string | undefined;
|
|
617
|
-
required?: boolean | undefined;
|
|
618
617
|
placeholder?: string | undefined;
|
|
618
|
+
required?: boolean | undefined;
|
|
619
619
|
defaultValue?: string | undefined;
|
|
620
620
|
rows?: number | undefined;
|
|
621
621
|
}, {
|
|
@@ -623,8 +623,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
623
623
|
name: string;
|
|
624
624
|
label: string;
|
|
625
625
|
description?: string | undefined;
|
|
626
|
-
required?: boolean | undefined;
|
|
627
626
|
placeholder?: string | undefined;
|
|
627
|
+
required?: boolean | undefined;
|
|
628
628
|
defaultValue?: string | undefined;
|
|
629
629
|
rows?: number | undefined;
|
|
630
630
|
}>, z.ZodObject<{
|
|
@@ -642,20 +642,20 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
642
642
|
name: string;
|
|
643
643
|
label: string;
|
|
644
644
|
description?: string | undefined;
|
|
645
|
+
placeholder?: string | undefined;
|
|
645
646
|
min?: number | undefined;
|
|
646
647
|
max?: number | undefined;
|
|
647
648
|
required?: boolean | undefined;
|
|
648
|
-
placeholder?: string | undefined;
|
|
649
649
|
defaultValue?: number | undefined;
|
|
650
650
|
}, {
|
|
651
651
|
type: "number";
|
|
652
652
|
name: string;
|
|
653
653
|
label: string;
|
|
654
654
|
description?: string | undefined;
|
|
655
|
+
placeholder?: string | undefined;
|
|
655
656
|
min?: number | undefined;
|
|
656
657
|
max?: number | undefined;
|
|
657
658
|
required?: boolean | undefined;
|
|
658
|
-
placeholder?: string | undefined;
|
|
659
659
|
defaultValue?: number | undefined;
|
|
660
660
|
}>, z.ZodObject<{
|
|
661
661
|
type: z.ZodLiteral<"select">;
|
|
@@ -685,8 +685,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
685
685
|
name: string;
|
|
686
686
|
label: string;
|
|
687
687
|
description?: string | undefined;
|
|
688
|
-
required?: boolean | undefined;
|
|
689
688
|
placeholder?: string | undefined;
|
|
689
|
+
required?: boolean | undefined;
|
|
690
690
|
defaultValue?: string | undefined;
|
|
691
691
|
allowCustomValue?: boolean | undefined;
|
|
692
692
|
}, {
|
|
@@ -698,8 +698,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
698
698
|
name: string;
|
|
699
699
|
label: string;
|
|
700
700
|
description?: string | undefined;
|
|
701
|
-
required?: boolean | undefined;
|
|
702
701
|
placeholder?: string | undefined;
|
|
702
|
+
required?: boolean | undefined;
|
|
703
703
|
defaultValue?: string | undefined;
|
|
704
704
|
allowCustomValue?: boolean | undefined;
|
|
705
705
|
}>, z.ZodObject<{
|
|
@@ -761,16 +761,16 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
761
761
|
name: string;
|
|
762
762
|
label: string;
|
|
763
763
|
description?: string | undefined;
|
|
764
|
-
required?: boolean | undefined;
|
|
765
764
|
placeholder?: string | undefined;
|
|
765
|
+
required?: boolean | undefined;
|
|
766
766
|
defaultValue?: string | undefined;
|
|
767
767
|
} | {
|
|
768
768
|
type: "textarea";
|
|
769
769
|
name: string;
|
|
770
770
|
label: string;
|
|
771
771
|
description?: string | undefined;
|
|
772
|
-
required?: boolean | undefined;
|
|
773
772
|
placeholder?: string | undefined;
|
|
773
|
+
required?: boolean | undefined;
|
|
774
774
|
defaultValue?: string | undefined;
|
|
775
775
|
rows?: number | undefined;
|
|
776
776
|
} | {
|
|
@@ -778,10 +778,10 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
778
778
|
name: string;
|
|
779
779
|
label: string;
|
|
780
780
|
description?: string | undefined;
|
|
781
|
+
placeholder?: string | undefined;
|
|
781
782
|
min?: number | undefined;
|
|
782
783
|
max?: number | undefined;
|
|
783
784
|
required?: boolean | undefined;
|
|
784
|
-
placeholder?: string | undefined;
|
|
785
785
|
defaultValue?: number | undefined;
|
|
786
786
|
} | {
|
|
787
787
|
options: string | {
|
|
@@ -792,8 +792,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
792
792
|
name: string;
|
|
793
793
|
label: string;
|
|
794
794
|
description?: string | undefined;
|
|
795
|
-
required?: boolean | undefined;
|
|
796
795
|
placeholder?: string | undefined;
|
|
796
|
+
required?: boolean | undefined;
|
|
797
797
|
defaultValue?: string | undefined;
|
|
798
798
|
allowCustomValue?: boolean | undefined;
|
|
799
799
|
} | {
|
|
@@ -821,16 +821,16 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
821
821
|
name: string;
|
|
822
822
|
label: string;
|
|
823
823
|
description?: string | undefined;
|
|
824
|
-
required?: boolean | undefined;
|
|
825
824
|
placeholder?: string | undefined;
|
|
825
|
+
required?: boolean | undefined;
|
|
826
826
|
defaultValue?: string | undefined;
|
|
827
827
|
} | {
|
|
828
828
|
type: "textarea";
|
|
829
829
|
name: string;
|
|
830
830
|
label: string;
|
|
831
831
|
description?: string | undefined;
|
|
832
|
-
required?: boolean | undefined;
|
|
833
832
|
placeholder?: string | undefined;
|
|
833
|
+
required?: boolean | undefined;
|
|
834
834
|
defaultValue?: string | undefined;
|
|
835
835
|
rows?: number | undefined;
|
|
836
836
|
} | {
|
|
@@ -838,10 +838,10 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
838
838
|
name: string;
|
|
839
839
|
label: string;
|
|
840
840
|
description?: string | undefined;
|
|
841
|
+
placeholder?: string | undefined;
|
|
841
842
|
min?: number | undefined;
|
|
842
843
|
max?: number | undefined;
|
|
843
844
|
required?: boolean | undefined;
|
|
844
|
-
placeholder?: string | undefined;
|
|
845
845
|
defaultValue?: number | undefined;
|
|
846
846
|
} | {
|
|
847
847
|
options: string | {
|
|
@@ -852,8 +852,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
852
852
|
name: string;
|
|
853
853
|
label: string;
|
|
854
854
|
description?: string | undefined;
|
|
855
|
-
required?: boolean | undefined;
|
|
856
855
|
placeholder?: string | undefined;
|
|
856
|
+
required?: boolean | undefined;
|
|
857
857
|
defaultValue?: string | undefined;
|
|
858
858
|
allowCustomValue?: boolean | undefined;
|
|
859
859
|
} | {
|
|
@@ -885,14 +885,14 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
886
|
key: string;
|
|
887
887
|
label: string;
|
|
888
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
889
888
|
abort?: boolean | undefined;
|
|
889
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
890
890
|
submitsForm?: boolean | undefined;
|
|
891
891
|
}, {
|
|
892
892
|
key: string;
|
|
893
893
|
label: string;
|
|
894
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
895
894
|
abort?: boolean | undefined;
|
|
895
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
896
896
|
submitsForm?: boolean | undefined;
|
|
897
897
|
}>, "many">>;
|
|
898
898
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -910,16 +910,16 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
910
910
|
name: string;
|
|
911
911
|
label: string;
|
|
912
912
|
description?: string | undefined;
|
|
913
|
-
required?: boolean | undefined;
|
|
914
913
|
placeholder?: string | undefined;
|
|
914
|
+
required?: boolean | undefined;
|
|
915
915
|
defaultValue?: string | undefined;
|
|
916
916
|
} | {
|
|
917
917
|
type: "textarea";
|
|
918
918
|
name: string;
|
|
919
919
|
label: string;
|
|
920
920
|
description?: string | undefined;
|
|
921
|
-
required?: boolean | undefined;
|
|
922
921
|
placeholder?: string | undefined;
|
|
922
|
+
required?: boolean | undefined;
|
|
923
923
|
defaultValue?: string | undefined;
|
|
924
924
|
rows?: number | undefined;
|
|
925
925
|
} | {
|
|
@@ -927,10 +927,10 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
927
927
|
name: string;
|
|
928
928
|
label: string;
|
|
929
929
|
description?: string | undefined;
|
|
930
|
+
placeholder?: string | undefined;
|
|
930
931
|
min?: number | undefined;
|
|
931
932
|
max?: number | undefined;
|
|
932
933
|
required?: boolean | undefined;
|
|
933
|
-
placeholder?: string | undefined;
|
|
934
934
|
defaultValue?: number | undefined;
|
|
935
935
|
} | {
|
|
936
936
|
options: string | {
|
|
@@ -941,8 +941,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
941
941
|
name: string;
|
|
942
942
|
label: string;
|
|
943
943
|
description?: string | undefined;
|
|
944
|
-
required?: boolean | undefined;
|
|
945
944
|
placeholder?: string | undefined;
|
|
945
|
+
required?: boolean | undefined;
|
|
946
946
|
defaultValue?: string | undefined;
|
|
947
947
|
allowCustomValue?: boolean | undefined;
|
|
948
948
|
} | {
|
|
@@ -968,8 +968,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
968
968
|
actions?: {
|
|
969
969
|
key: string;
|
|
970
970
|
label: string;
|
|
971
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
972
971
|
abort?: boolean | undefined;
|
|
972
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
973
973
|
submitsForm?: boolean | undefined;
|
|
974
974
|
}[] | undefined;
|
|
975
975
|
}, {
|
|
@@ -987,16 +987,16 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
987
987
|
name: string;
|
|
988
988
|
label: string;
|
|
989
989
|
description?: string | undefined;
|
|
990
|
-
required?: boolean | undefined;
|
|
991
990
|
placeholder?: string | undefined;
|
|
991
|
+
required?: boolean | undefined;
|
|
992
992
|
defaultValue?: string | undefined;
|
|
993
993
|
} | {
|
|
994
994
|
type: "textarea";
|
|
995
995
|
name: string;
|
|
996
996
|
label: string;
|
|
997
997
|
description?: string | undefined;
|
|
998
|
-
required?: boolean | undefined;
|
|
999
998
|
placeholder?: string | undefined;
|
|
999
|
+
required?: boolean | undefined;
|
|
1000
1000
|
defaultValue?: string | undefined;
|
|
1001
1001
|
rows?: number | undefined;
|
|
1002
1002
|
} | {
|
|
@@ -1004,10 +1004,10 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
1004
1004
|
name: string;
|
|
1005
1005
|
label: string;
|
|
1006
1006
|
description?: string | undefined;
|
|
1007
|
+
placeholder?: string | undefined;
|
|
1007
1008
|
min?: number | undefined;
|
|
1008
1009
|
max?: number | undefined;
|
|
1009
1010
|
required?: boolean | undefined;
|
|
1010
|
-
placeholder?: string | undefined;
|
|
1011
1011
|
defaultValue?: number | undefined;
|
|
1012
1012
|
} | {
|
|
1013
1013
|
options: string | {
|
|
@@ -1018,8 +1018,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
1018
1018
|
name: string;
|
|
1019
1019
|
label: string;
|
|
1020
1020
|
description?: string | undefined;
|
|
1021
|
-
required?: boolean | undefined;
|
|
1022
1021
|
placeholder?: string | undefined;
|
|
1022
|
+
required?: boolean | undefined;
|
|
1023
1023
|
defaultValue?: string | undefined;
|
|
1024
1024
|
allowCustomValue?: boolean | undefined;
|
|
1025
1025
|
} | {
|
|
@@ -1045,8 +1045,8 @@ export declare class WaitStep extends BaseActionStep<typeof WaitStepConfigSchema
|
|
|
1045
1045
|
actions?: {
|
|
1046
1046
|
key: string;
|
|
1047
1047
|
label: string;
|
|
1048
|
-
style?: "default" | "primary" | "danger" | undefined;
|
|
1049
1048
|
abort?: boolean | undefined;
|
|
1049
|
+
style?: "default" | "primary" | "danger" | undefined;
|
|
1050
1050
|
submitsForm?: boolean | undefined;
|
|
1051
1051
|
}[] | undefined;
|
|
1052
1052
|
}>]>;
|
|
@@ -2,7 +2,7 @@ import type { z } from 'zod';
|
|
|
2
2
|
import type { StepType } from '../types/step-types.js';
|
|
3
3
|
import type { StepCategory } from '../types/categories.js';
|
|
4
4
|
import type { ServiceRegistry } from '../engine/service-registry.js';
|
|
5
|
-
import type { BranchModel, CredentialSlot,
|
|
5
|
+
import type { BranchModel, CredentialSlot, DeclaredOutput } from './base-step.js';
|
|
6
6
|
import { BaseStep, StepKind } from './base-step.js';
|
|
7
7
|
export interface StepSummary {
|
|
8
8
|
type: StepType;
|
|
@@ -27,8 +27,6 @@ export interface StepDescriptor extends StepSummary {
|
|
|
27
27
|
requiredServices: readonly string[];
|
|
28
28
|
/** Event types this step may emit (action steps only). Empty array if none. */
|
|
29
29
|
mayEmit: readonly string[];
|
|
30
|
-
/** Credential type schemas — defines what fields each credential type needs for UI forms. */
|
|
31
|
-
credentialTypeSchemas: readonly CredentialTypeSchema[];
|
|
32
30
|
}
|
|
33
31
|
export declare class UnknownStepError extends Error {
|
|
34
32
|
readonly stepType: StepType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-registry.d.ts","sourceRoot":"","sources":["../../src/steps/step-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"step-registry.d.ts","sourceRoot":"","sources":["../../src/steps/step-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAuC,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAczF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0GAA0G;IAC1G,WAAW,C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Ae;CAYxB"}
|
|
@@ -97,7 +97,6 @@ export class StepRegistry {
|
|
|
97
97
|
declaredOutputs: s.declaredOutputs ?? [],
|
|
98
98
|
requiredServices: s.requiredServices ?? [],
|
|
99
99
|
mayEmit: s instanceof BaseActionStep ? (s.mayEmit ?? []) : [],
|
|
100
|
-
credentialTypeSchemas: s.credentialTypeSchemas ?? [],
|
|
101
100
|
};
|
|
102
101
|
}
|
|
103
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-registry.js","sourceRoot":"","sources":["../../src/steps/step-registry.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"step-registry.js","sourceRoot":"","sources":["../../src/steps/step-registry.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,QAAQ,E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YACnD,eAAe,EAAE,CAAC,CAAC,eAAe,IAAI,EAAE;YACxC,eAAe,EAAE,CAAC,CAAC,eAAe,IAAI,EAAE;YACxC,gBAAgB,EAAE,CAAC,CAAC,gBAAgB,IAAI,EAAE;YAC1C,OAAO,EACL,CAAC,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;SACvD,CAAC;IACJ,CAAC;CACF"}
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* when writing custom steps and triggers.
|
|
7
7
|
*/
|
|
8
8
|
export { createMockContext } from './mock-context.js';
|
|
9
|
-
export { createMockStepContext, createMockControlFlowContext, } from './mock-step-context.js';
|
|
9
|
+
export { createMockStepContext, createMockControlFlowContext, mockResolvedCredential, } from './mock-step-context.js';
|
|
10
10
|
/**
|
|
11
11
|
* The authorization conformance kit — the contract test every host's
|
|
12
12
|
* authorizer + adapter pair should pass. Also available as its own entry point,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAEhC;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,eAAe,GAChB,MAAM,wBAAwB,CAAC"}
|
package/dist/testing/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* when writing custom steps and triggers.
|
|
7
7
|
*/
|
|
8
8
|
export { createMockContext } from './mock-context.js';
|
|
9
|
-
export { createMockStepContext, createMockControlFlowContext, } from './mock-step-context.js';
|
|
9
|
+
export { createMockStepContext, createMockControlFlowContext, mockResolvedCredential, } from './mock-step-context.js';
|
|
10
10
|
/**
|
|
11
11
|
* The authorization conformance kit — the contract test every host's
|
|
12
12
|
* authorizer + adapter pair should pass. Also available as its own entry point,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAEhC;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC"}
|