@requence/task 1.0.0-alpha.2 → 1.0.0-alpha.4

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.
@@ -34,36 +34,46 @@ export interface Result<T> {
34
34
  };
35
35
  getError(alias: Alias<T>): string | null;
36
36
  }
37
- export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
38
- type: z.ZodLiteral<"taskStart">;
37
+ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
39
38
  timestamp: z.ZodDate;
39
+ taskId: z.ZodString;
40
+ }, {
41
+ type: z.ZodLiteral<"taskStart">;
40
42
  input: z.ZodUnknown;
41
43
  meta: z.ZodUnknown;
42
- }, "strip", z.ZodTypeAny, {
44
+ }>, "strip", z.ZodTypeAny, {
43
45
  type: "taskStart";
44
46
  timestamp: Date;
47
+ taskId: string;
45
48
  input?: unknown;
46
49
  meta?: unknown;
47
50
  }, {
48
51
  type: "taskStart";
49
52
  timestamp: Date;
53
+ taskId: string;
50
54
  input?: unknown;
51
55
  meta?: unknown;
52
- }>, z.ZodObject<{
53
- type: z.ZodLiteral<"taskError">;
56
+ }>, z.ZodObject<z.objectUtil.extendShape<{
54
57
  timestamp: z.ZodDate;
58
+ taskId: z.ZodString;
59
+ }, {
60
+ type: z.ZodLiteral<"taskError">;
55
61
  error: z.ZodString;
56
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
57
63
  type: "taskError";
58
64
  timestamp: Date;
65
+ taskId: string;
59
66
  error: string;
60
67
  }, {
61
68
  type: "taskError";
62
69
  timestamp: Date;
70
+ taskId: string;
63
71
  error: string;
64
- }>, z.ZodObject<{
65
- type: z.ZodLiteral<"taskEnd">;
72
+ }>, z.ZodObject<z.objectUtil.extendShape<{
66
73
  timestamp: z.ZodDate;
74
+ taskId: z.ZodString;
75
+ }, {
76
+ type: z.ZodLiteral<"taskEnd">;
67
77
  result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
68
78
  partialResults: z.ZodArray<z.ZodObject<{
69
79
  node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -173,9 +183,10 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
173
183
  error?: string | undefined;
174
184
  data?: unknown;
175
185
  }>, "many">;
176
- }, "strip", z.ZodTypeAny, {
186
+ }>, "strip", z.ZodTypeAny, {
177
187
  type: "taskEnd";
178
188
  timestamp: Date;
189
+ taskId: string;
179
190
  result: Record<string, unknown>;
180
191
  partialResults: {
181
192
  timestamp: Date | null;
@@ -202,6 +213,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
202
213
  }, {
203
214
  type: "taskEnd";
204
215
  timestamp: Date;
216
+ taskId: string;
205
217
  result: Record<string, unknown>;
206
218
  partialResults: {
207
219
  timestamp: Date | null;
@@ -225,9 +237,11 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
225
237
  error?: string | undefined;
226
238
  data?: unknown;
227
239
  }[];
228
- }>, z.ZodObject<{
229
- type: z.ZodLiteral<"nodeStart">;
240
+ }>, z.ZodObject<z.objectUtil.extendShape<{
230
241
  timestamp: z.ZodDate;
242
+ taskId: z.ZodString;
243
+ }, {
244
+ type: z.ZodLiteral<"nodeStart">;
231
245
  node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
232
246
  id: z.ZodString;
233
247
  type: z.ZodLiteral<"service">;
@@ -289,9 +303,10 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
289
303
  language: "typescript" | "javascript" | "python";
290
304
  } | undefined;
291
305
  }>]>;
292
- }, "strip", z.ZodTypeAny, {
306
+ }>, "strip", z.ZodTypeAny, {
293
307
  type: "nodeStart";
294
308
  timestamp: Date;
309
+ taskId: string;
295
310
  node: {
296
311
  type: "service";
297
312
  id: string;
@@ -312,6 +327,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
312
327
  }, {
313
328
  type: "nodeStart";
314
329
  timestamp: Date;
330
+ taskId: string;
315
331
  node: {
316
332
  type: "service";
317
333
  id: string;
@@ -329,45 +345,59 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
329
345
  language: "typescript" | "javascript" | "python";
330
346
  } | undefined;
331
347
  };
332
- }>, z.ZodObject<{
333
- type: z.ZodLiteral<"nodeUpdate">;
348
+ }>, z.ZodObject<z.objectUtil.extendShape<{
334
349
  timestamp: z.ZodDate;
350
+ taskId: z.ZodString;
351
+ }, {
352
+ type: z.ZodLiteral<"nodeUpdate">;
335
353
  data: z.ZodUnknown;
336
- }, "strip", z.ZodTypeAny, {
354
+ }>, "strip", z.ZodTypeAny, {
337
355
  type: "nodeUpdate";
338
356
  timestamp: Date;
357
+ taskId: string;
339
358
  data?: unknown;
340
359
  }, {
341
360
  type: "nodeUpdate";
342
361
  timestamp: Date;
362
+ taskId: string;
343
363
  data?: unknown;
344
- }>, z.ZodObject<{
345
- type: z.ZodLiteral<"nodeError">;
364
+ }>, z.ZodObject<z.objectUtil.extendShape<{
346
365
  timestamp: z.ZodDate;
366
+ taskId: z.ZodString;
367
+ }, {
368
+ type: z.ZodLiteral<"nodeError">;
347
369
  error: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
370
+ }>, "strip", z.ZodTypeAny, {
349
371
  type: "nodeError";
350
372
  timestamp: Date;
373
+ taskId: string;
351
374
  error: string;
352
375
  }, {
353
376
  type: "nodeError";
354
377
  timestamp: Date;
378
+ taskId: string;
355
379
  error: string;
356
- }>, z.ZodObject<{
357
- type: z.ZodLiteral<"nodeDefer">;
380
+ }>, z.ZodObject<z.objectUtil.extendShape<{
358
381
  timestamp: z.ZodDate;
382
+ taskId: z.ZodString;
383
+ }, {
384
+ type: z.ZodLiteral<"nodeDefer">;
359
385
  reason: z.ZodOptional<z.ZodString>;
360
- }, "strip", z.ZodTypeAny, {
386
+ }>, "strip", z.ZodTypeAny, {
361
387
  type: "nodeDefer";
362
388
  timestamp: Date;
389
+ taskId: string;
363
390
  reason?: string | undefined;
364
391
  }, {
365
392
  type: "nodeDefer";
366
393
  timestamp: Date;
394
+ taskId: string;
367
395
  reason?: string | undefined;
368
- }>, z.ZodObject<{
369
- type: z.ZodLiteral<"nodeEnd">;
396
+ }>, z.ZodObject<z.objectUtil.extendShape<{
370
397
  timestamp: z.ZodDate;
398
+ taskId: z.ZodString;
399
+ }, {
400
+ type: z.ZodLiteral<"nodeEnd">;
371
401
  node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
372
402
  id: z.ZodString;
373
403
  type: z.ZodLiteral<"service">;
@@ -429,9 +459,10 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
429
459
  language: "typescript" | "javascript" | "python";
430
460
  } | undefined;
431
461
  }>]>;
432
- }, "strip", z.ZodTypeAny, {
462
+ }>, "strip", z.ZodTypeAny, {
433
463
  type: "nodeEnd";
434
464
  timestamp: Date;
465
+ taskId: string;
435
466
  node: {
436
467
  type: "service";
437
468
  id: string;
@@ -452,6 +483,7 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
452
483
  }, {
453
484
  type: "nodeEnd";
454
485
  timestamp: Date;
486
+ taskId: string;
455
487
  node: {
456
488
  type: "service";
457
489
  id: string;
@@ -471,5 +503,485 @@ export declare const updateSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
471
503
  };
472
504
  }>]>;
473
505
  export type Update = z.infer<typeof updateSchema>;
506
+ export declare const eventSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
507
+ type: z.ZodString;
508
+ data: z.ZodString;
509
+ }, "strip", z.ZodTypeAny, {
510
+ type: string;
511
+ data: string;
512
+ }, {
513
+ type: string;
514
+ data: string;
515
+ }>, any, {
516
+ type: string;
517
+ data: string;
518
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
519
+ timestamp: z.ZodDate;
520
+ taskId: z.ZodString;
521
+ }, {
522
+ type: z.ZodLiteral<"taskStart">;
523
+ input: z.ZodUnknown;
524
+ meta: z.ZodUnknown;
525
+ }>, "strip", z.ZodTypeAny, {
526
+ type: "taskStart";
527
+ timestamp: Date;
528
+ taskId: string;
529
+ input?: unknown;
530
+ meta?: unknown;
531
+ }, {
532
+ type: "taskStart";
533
+ timestamp: Date;
534
+ taskId: string;
535
+ input?: unknown;
536
+ meta?: unknown;
537
+ }>, z.ZodObject<z.objectUtil.extendShape<{
538
+ timestamp: z.ZodDate;
539
+ taskId: z.ZodString;
540
+ }, {
541
+ type: z.ZodLiteral<"taskError">;
542
+ error: z.ZodString;
543
+ }>, "strip", z.ZodTypeAny, {
544
+ type: "taskError";
545
+ timestamp: Date;
546
+ taskId: string;
547
+ error: string;
548
+ }, {
549
+ type: "taskError";
550
+ timestamp: Date;
551
+ taskId: string;
552
+ error: string;
553
+ }>, z.ZodObject<z.objectUtil.extendShape<{
554
+ timestamp: z.ZodDate;
555
+ taskId: z.ZodString;
556
+ }, {
557
+ type: z.ZodLiteral<"taskEnd">;
558
+ result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
559
+ partialResults: z.ZodArray<z.ZodObject<{
560
+ node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
561
+ id: z.ZodString;
562
+ type: z.ZodLiteral<"service">;
563
+ alias: z.ZodOptional<z.ZodString>;
564
+ service: z.ZodOptional<z.ZodObject<{
565
+ id: z.ZodString;
566
+ name: z.ZodString;
567
+ version: z.ZodString;
568
+ }, "strip", z.ZodTypeAny, {
569
+ id: string;
570
+ name: string;
571
+ version: string;
572
+ }, {
573
+ id: string;
574
+ name: string;
575
+ version: string;
576
+ }>>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ type: "service";
579
+ id: string;
580
+ service?: {
581
+ id: string;
582
+ name: string;
583
+ version: string;
584
+ } | undefined;
585
+ alias?: string | undefined;
586
+ }, {
587
+ type: "service";
588
+ id: string;
589
+ service?: {
590
+ id: string;
591
+ name: string;
592
+ version: string;
593
+ } | undefined;
594
+ alias?: string | undefined;
595
+ }>, z.ZodObject<{
596
+ id: z.ZodString;
597
+ type: z.ZodLiteral<"logic">;
598
+ alias: z.ZodOptional<z.ZodString>;
599
+ logic: z.ZodOptional<z.ZodObject<{
600
+ language: z.ZodEnum<["typescript", "javascript", "python"]>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ language: "typescript" | "javascript" | "python";
603
+ }, {
604
+ language: "typescript" | "javascript" | "python";
605
+ }>>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ type: "logic";
608
+ id: string;
609
+ alias?: string | undefined;
610
+ logic?: {
611
+ language: "typescript" | "javascript" | "python";
612
+ } | undefined;
613
+ }, {
614
+ type: "logic";
615
+ id: string;
616
+ alias?: string | undefined;
617
+ logic?: {
618
+ language: "typescript" | "javascript" | "python";
619
+ } | undefined;
620
+ }>]>;
621
+ timestamp: z.ZodNullable<z.ZodDate>;
622
+ data: z.ZodUnknown;
623
+ error: z.ZodOptional<z.ZodString>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ timestamp: Date | null;
626
+ node: {
627
+ type: "service";
628
+ id: string;
629
+ service?: {
630
+ id: string;
631
+ name: string;
632
+ version: string;
633
+ } | undefined;
634
+ alias?: string | undefined;
635
+ } | {
636
+ type: "logic";
637
+ id: string;
638
+ alias?: string | undefined;
639
+ logic?: {
640
+ language: "typescript" | "javascript" | "python";
641
+ } | undefined;
642
+ };
643
+ error?: string | undefined;
644
+ data?: unknown;
645
+ }, {
646
+ timestamp: Date | null;
647
+ node: {
648
+ type: "service";
649
+ id: string;
650
+ service?: {
651
+ id: string;
652
+ name: string;
653
+ version: string;
654
+ } | undefined;
655
+ alias?: string | undefined;
656
+ } | {
657
+ type: "logic";
658
+ id: string;
659
+ alias?: string | undefined;
660
+ logic?: {
661
+ language: "typescript" | "javascript" | "python";
662
+ } | undefined;
663
+ };
664
+ error?: string | undefined;
665
+ data?: unknown;
666
+ }>, "many">;
667
+ }>, "strip", z.ZodTypeAny, {
668
+ type: "taskEnd";
669
+ timestamp: Date;
670
+ taskId: string;
671
+ result: Record<string, unknown>;
672
+ partialResults: {
673
+ timestamp: Date | null;
674
+ node: {
675
+ type: "service";
676
+ id: string;
677
+ service?: {
678
+ id: string;
679
+ name: string;
680
+ version: string;
681
+ } | undefined;
682
+ alias?: string | undefined;
683
+ } | {
684
+ type: "logic";
685
+ id: string;
686
+ alias?: string | undefined;
687
+ logic?: {
688
+ language: "typescript" | "javascript" | "python";
689
+ } | undefined;
690
+ };
691
+ error?: string | undefined;
692
+ data?: unknown;
693
+ }[];
694
+ }, {
695
+ type: "taskEnd";
696
+ timestamp: Date;
697
+ taskId: string;
698
+ result: Record<string, unknown>;
699
+ partialResults: {
700
+ timestamp: Date | null;
701
+ node: {
702
+ type: "service";
703
+ id: string;
704
+ service?: {
705
+ id: string;
706
+ name: string;
707
+ version: string;
708
+ } | undefined;
709
+ alias?: string | undefined;
710
+ } | {
711
+ type: "logic";
712
+ id: string;
713
+ alias?: string | undefined;
714
+ logic?: {
715
+ language: "typescript" | "javascript" | "python";
716
+ } | undefined;
717
+ };
718
+ error?: string | undefined;
719
+ data?: unknown;
720
+ }[];
721
+ }>, z.ZodObject<z.objectUtil.extendShape<{
722
+ timestamp: z.ZodDate;
723
+ taskId: z.ZodString;
724
+ }, {
725
+ type: z.ZodLiteral<"nodeStart">;
726
+ node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
727
+ id: z.ZodString;
728
+ type: z.ZodLiteral<"service">;
729
+ alias: z.ZodOptional<z.ZodString>;
730
+ service: z.ZodOptional<z.ZodObject<{
731
+ id: z.ZodString;
732
+ name: z.ZodString;
733
+ version: z.ZodString;
734
+ }, "strip", z.ZodTypeAny, {
735
+ id: string;
736
+ name: string;
737
+ version: string;
738
+ }, {
739
+ id: string;
740
+ name: string;
741
+ version: string;
742
+ }>>;
743
+ }, "strip", z.ZodTypeAny, {
744
+ type: "service";
745
+ id: string;
746
+ service?: {
747
+ id: string;
748
+ name: string;
749
+ version: string;
750
+ } | undefined;
751
+ alias?: string | undefined;
752
+ }, {
753
+ type: "service";
754
+ id: string;
755
+ service?: {
756
+ id: string;
757
+ name: string;
758
+ version: string;
759
+ } | undefined;
760
+ alias?: string | undefined;
761
+ }>, z.ZodObject<{
762
+ id: z.ZodString;
763
+ type: z.ZodLiteral<"logic">;
764
+ alias: z.ZodOptional<z.ZodString>;
765
+ logic: z.ZodOptional<z.ZodObject<{
766
+ language: z.ZodEnum<["typescript", "javascript", "python"]>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ language: "typescript" | "javascript" | "python";
769
+ }, {
770
+ language: "typescript" | "javascript" | "python";
771
+ }>>;
772
+ }, "strip", z.ZodTypeAny, {
773
+ type: "logic";
774
+ id: string;
775
+ alias?: string | undefined;
776
+ logic?: {
777
+ language: "typescript" | "javascript" | "python";
778
+ } | undefined;
779
+ }, {
780
+ type: "logic";
781
+ id: string;
782
+ alias?: string | undefined;
783
+ logic?: {
784
+ language: "typescript" | "javascript" | "python";
785
+ } | undefined;
786
+ }>]>;
787
+ }>, "strip", z.ZodTypeAny, {
788
+ type: "nodeStart";
789
+ timestamp: Date;
790
+ taskId: string;
791
+ node: {
792
+ type: "service";
793
+ id: string;
794
+ service?: {
795
+ id: string;
796
+ name: string;
797
+ version: string;
798
+ } | undefined;
799
+ alias?: string | undefined;
800
+ } | {
801
+ type: "logic";
802
+ id: string;
803
+ alias?: string | undefined;
804
+ logic?: {
805
+ language: "typescript" | "javascript" | "python";
806
+ } | undefined;
807
+ };
808
+ }, {
809
+ type: "nodeStart";
810
+ timestamp: Date;
811
+ taskId: string;
812
+ node: {
813
+ type: "service";
814
+ id: string;
815
+ service?: {
816
+ id: string;
817
+ name: string;
818
+ version: string;
819
+ } | undefined;
820
+ alias?: string | undefined;
821
+ } | {
822
+ type: "logic";
823
+ id: string;
824
+ alias?: string | undefined;
825
+ logic?: {
826
+ language: "typescript" | "javascript" | "python";
827
+ } | undefined;
828
+ };
829
+ }>, z.ZodObject<z.objectUtil.extendShape<{
830
+ timestamp: z.ZodDate;
831
+ taskId: z.ZodString;
832
+ }, {
833
+ type: z.ZodLiteral<"nodeUpdate">;
834
+ data: z.ZodUnknown;
835
+ }>, "strip", z.ZodTypeAny, {
836
+ type: "nodeUpdate";
837
+ timestamp: Date;
838
+ taskId: string;
839
+ data?: unknown;
840
+ }, {
841
+ type: "nodeUpdate";
842
+ timestamp: Date;
843
+ taskId: string;
844
+ data?: unknown;
845
+ }>, z.ZodObject<z.objectUtil.extendShape<{
846
+ timestamp: z.ZodDate;
847
+ taskId: z.ZodString;
848
+ }, {
849
+ type: z.ZodLiteral<"nodeError">;
850
+ error: z.ZodString;
851
+ }>, "strip", z.ZodTypeAny, {
852
+ type: "nodeError";
853
+ timestamp: Date;
854
+ taskId: string;
855
+ error: string;
856
+ }, {
857
+ type: "nodeError";
858
+ timestamp: Date;
859
+ taskId: string;
860
+ error: string;
861
+ }>, z.ZodObject<z.objectUtil.extendShape<{
862
+ timestamp: z.ZodDate;
863
+ taskId: z.ZodString;
864
+ }, {
865
+ type: z.ZodLiteral<"nodeDefer">;
866
+ reason: z.ZodOptional<z.ZodString>;
867
+ }>, "strip", z.ZodTypeAny, {
868
+ type: "nodeDefer";
869
+ timestamp: Date;
870
+ taskId: string;
871
+ reason?: string | undefined;
872
+ }, {
873
+ type: "nodeDefer";
874
+ timestamp: Date;
875
+ taskId: string;
876
+ reason?: string | undefined;
877
+ }>, z.ZodObject<z.objectUtil.extendShape<{
878
+ timestamp: z.ZodDate;
879
+ taskId: z.ZodString;
880
+ }, {
881
+ type: z.ZodLiteral<"nodeEnd">;
882
+ node: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
883
+ id: z.ZodString;
884
+ type: z.ZodLiteral<"service">;
885
+ alias: z.ZodOptional<z.ZodString>;
886
+ service: z.ZodOptional<z.ZodObject<{
887
+ id: z.ZodString;
888
+ name: z.ZodString;
889
+ version: z.ZodString;
890
+ }, "strip", z.ZodTypeAny, {
891
+ id: string;
892
+ name: string;
893
+ version: string;
894
+ }, {
895
+ id: string;
896
+ name: string;
897
+ version: string;
898
+ }>>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ type: "service";
901
+ id: string;
902
+ service?: {
903
+ id: string;
904
+ name: string;
905
+ version: string;
906
+ } | undefined;
907
+ alias?: string | undefined;
908
+ }, {
909
+ type: "service";
910
+ id: string;
911
+ service?: {
912
+ id: string;
913
+ name: string;
914
+ version: string;
915
+ } | undefined;
916
+ alias?: string | undefined;
917
+ }>, z.ZodObject<{
918
+ id: z.ZodString;
919
+ type: z.ZodLiteral<"logic">;
920
+ alias: z.ZodOptional<z.ZodString>;
921
+ logic: z.ZodOptional<z.ZodObject<{
922
+ language: z.ZodEnum<["typescript", "javascript", "python"]>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ language: "typescript" | "javascript" | "python";
925
+ }, {
926
+ language: "typescript" | "javascript" | "python";
927
+ }>>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ type: "logic";
930
+ id: string;
931
+ alias?: string | undefined;
932
+ logic?: {
933
+ language: "typescript" | "javascript" | "python";
934
+ } | undefined;
935
+ }, {
936
+ type: "logic";
937
+ id: string;
938
+ alias?: string | undefined;
939
+ logic?: {
940
+ language: "typescript" | "javascript" | "python";
941
+ } | undefined;
942
+ }>]>;
943
+ }>, "strip", z.ZodTypeAny, {
944
+ type: "nodeEnd";
945
+ timestamp: Date;
946
+ taskId: string;
947
+ node: {
948
+ type: "service";
949
+ id: string;
950
+ service?: {
951
+ id: string;
952
+ name: string;
953
+ version: string;
954
+ } | undefined;
955
+ alias?: string | undefined;
956
+ } | {
957
+ type: "logic";
958
+ id: string;
959
+ alias?: string | undefined;
960
+ logic?: {
961
+ language: "typescript" | "javascript" | "python";
962
+ } | undefined;
963
+ };
964
+ }, {
965
+ type: "nodeEnd";
966
+ timestamp: Date;
967
+ taskId: string;
968
+ node: {
969
+ type: "service";
970
+ id: string;
971
+ service?: {
972
+ id: string;
973
+ name: string;
974
+ version: string;
975
+ } | undefined;
976
+ alias?: string | undefined;
977
+ } | {
978
+ type: "logic";
979
+ id: string;
980
+ alias?: string | undefined;
981
+ logic?: {
982
+ language: "typescript" | "javascript" | "python";
983
+ } | undefined;
984
+ };
985
+ }>]>>;
474
986
  export {};
475
987
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,KAAK,QAAQ,CAAC,CAAC,IAAI;KAChB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA;AAEN,KAAK,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,OAAO,SAAS,CAAC,GAC7C,CAAC,SAAS,OAAO,GACf,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,KAAK,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,GACvC,IAAI,SAAS,CAAC,GACZ,IAAI,GACJ,IAAI,GACN,IAAI,CAAA;AAER,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,YAAY,EAAE,CAAC,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,GAAG,MAAM,CACR,KAAK,CAAC,CAAC,CAAC,EACR;IAAE,KAAK,CAAC,EAAE,IAAI,CAAA;CAAE,EAChB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,GAAG,CAAA;CAAE,EAAE;IAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,CAC1D,GACC,MAAM,CACJ,IAAI,CAAC,CAAC,CAAC,EACP;IAAE,IAAI,CAAC,EAAE,IAAI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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASvB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEjD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAGH,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export default function callbackToAsyncIterator<T>(options: {
2
2
  subscribe: (push: (value: T) => void) => void | (() => void);
3
- done: (value: T) => boolean;
3
+ done?: (value: T) => boolean;
4
4
  }): AsyncIterable<T>;
5
5
  //# sourceMappingURL=callbackToAsyncIterator.d.ts.map