attio 0.0.1-experimental.20240722 → 0.0.1-experimental.20240723.2

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.
@@ -413,7 +413,7 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
413
413
  message: string;
414
414
  }, {
415
415
  write: boolean;
416
- }>;
416
+ }, import("xstate").EventObject>;
417
417
  id: string | undefined;
418
418
  };
419
419
  build: {
@@ -464,7 +464,7 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
464
464
  }, {
465
465
  buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
466
466
  write: boolean;
467
- }>;
467
+ }, import("xstate").EventObject>;
468
468
  id: string | undefined;
469
469
  };
470
470
  }>, import("xstate").Values<{
@@ -561,993 +561,7 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
561
561
  }, string, {
562
562
  parentRef: import("./build-orchestrator.js").JavaScriptOrchestrator;
563
563
  write: boolean;
564
- }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, {
565
- type: "Build Contexts Prepared";
566
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
567
- } | {
568
- type: "Change";
569
- } | {
570
- type: "Result";
571
- contents: [string, string];
572
- error?: undefined;
573
- time: Date;
574
- } | {
575
- type: "Result";
576
- contents?: undefined;
577
- error: {
578
- errors: {
579
- text: string;
580
- location: {
581
- length: number;
582
- column: number;
583
- file: string;
584
- line: number;
585
- lineText: string;
586
- namespace: string;
587
- suggestion: string;
588
- };
589
- }[];
590
- warnings: {
591
- text: string;
592
- location: {
593
- length: number;
594
- column: number;
595
- file: string;
596
- line: number;
597
- lineText: string;
598
- namespace: string;
599
- suggestion: string;
600
- };
601
- }[];
602
- };
603
- time: Date;
604
- } | {
605
- type: "Log";
606
- message: string;
607
- }, import("xstate").Values<{
608
- prepareBuildContext: {
609
- src: "prepareBuildContext";
610
- logic: import("xstate").CallbackActorLogic<{
611
- type: "Build Contexts Prepared";
612
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
613
- } | {
614
- type: "Change";
615
- } | {
616
- type: "Result";
617
- contents: [string, string];
618
- error?: undefined;
619
- time: Date;
620
- } | {
621
- type: "Result";
622
- contents?: undefined;
623
- error: {
624
- errors: {
625
- text: string;
626
- location: {
627
- length: number;
628
- column: number;
629
- file: string;
630
- line: number;
631
- lineText: string;
632
- namespace: string;
633
- suggestion: string;
634
- };
635
- }[];
636
- warnings: {
637
- text: string;
638
- location: {
639
- length: number;
640
- column: number;
641
- file: string;
642
- line: number;
643
- lineText: string;
644
- namespace: string;
645
- suggestion: string;
646
- };
647
- }[];
648
- };
649
- time: Date;
650
- } | {
651
- type: "Log";
652
- message: string;
653
- }, {
654
- write: boolean;
655
- }>;
656
- id: string | undefined;
657
- };
658
- build: {
659
- src: "build";
660
- logic: import("xstate").CallbackActorLogic<{
661
- type: "Build Contexts Prepared";
662
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
663
- } | {
664
- type: "Change";
665
- } | {
666
- type: "Result";
667
- contents: [string, string];
668
- error?: undefined;
669
- time: Date;
670
- } | {
671
- type: "Result";
672
- contents?: undefined;
673
- error: {
674
- errors: {
675
- text: string;
676
- location: {
677
- length: number;
678
- column: number;
679
- file: string;
680
- line: number;
681
- lineText: string;
682
- namespace: string;
683
- suggestion: string;
684
- };
685
- }[];
686
- warnings: {
687
- text: string;
688
- location: {
689
- length: number;
690
- column: number;
691
- file: string;
692
- line: number;
693
- lineText: string;
694
- namespace: string;
695
- suggestion: string;
696
- };
697
- }[];
698
- };
699
- time: Date;
700
- } | {
701
- type: "Log";
702
- message: string;
703
- }, {
704
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
705
- write: boolean;
706
- }>;
707
- id: string | undefined;
708
- };
709
- }>, import("xstate").Values<{
710
- clearError: {
711
- type: "clearError";
712
- params: import("xstate").NonReducibleUnknown;
713
- };
714
- raiseErrored: {
715
- type: "raiseErrored";
716
- params: import("xstate").NonReducibleUnknown;
717
- };
718
- raiseSuccess: {
719
- type: "raiseSuccess";
720
- params: {
721
- contents: [string, string];
722
- time: Date;
723
- };
724
- };
725
- setBuildContexts: {
726
- type: "setBuildContexts";
727
- params: {
728
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
729
- };
730
- };
731
- setError: {
732
- type: "setError";
733
- params: {
734
- error: {
735
- errors: {
736
- text: string;
737
- location: {
738
- length: number;
739
- column: number;
740
- file: string;
741
- line: number;
742
- lineText: string;
743
- namespace: string;
744
- suggestion: string;
745
- };
746
- }[];
747
- warnings: {
748
- text: string;
749
- location: {
750
- length: number;
751
- column: number;
752
- file: string;
753
- line: number;
754
- lineText: string;
755
- namespace: string;
756
- suggestion: string;
757
- };
758
- }[];
759
- };
760
- };
761
- };
762
- setTime: {
763
- type: "setTime";
764
- params: {
765
- time: Date;
766
- };
767
- };
768
- }>, {
769
- type: "has errors";
770
- params: {
771
- error?: {
772
- errors: {
773
- text: string;
774
- location: {
775
- length: number;
776
- column: number;
777
- file: string;
778
- line: number;
779
- lineText: string;
780
- namespace: string;
781
- suggestion: string;
782
- };
783
- }[];
784
- warnings: {
785
- text: string;
786
- location: {
787
- length: number;
788
- column: number;
789
- file: string;
790
- line: number;
791
- lineText: string;
792
- namespace: string;
793
- suggestion: string;
794
- };
795
- }[];
796
- } | undefined;
797
- };
798
- }, never, string, import("xstate").EventObject>>;
799
- id: "javascript";
800
- };
801
- typescript: {
802
- src: "typescript";
803
- logic: import("xstate").StateMachine<import("./ts-machine.js").Context, {
804
- type: "Change";
805
- } | {
806
- type: "Result";
807
- errors?: {
808
- text: string;
809
- location?: {
810
- file: string;
811
- line: number;
812
- lineText: string;
813
- character: number;
814
- } | undefined;
815
- }[] | undefined;
816
- time: Date;
817
- }, {
818
- [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<import("xstate").NonReducibleUnknown>, import("xstate").EventObject, import("xstate").EventObject> | undefined;
819
- }, {
820
- src: "validate";
821
- logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown>;
822
- id: string | undefined;
823
- }, import("xstate").Values<{
824
- clearError: {
825
- type: "clearError";
826
- params: import("xstate").NonReducibleUnknown;
827
- };
828
- raiseErrored: {
829
- type: "raiseErrored";
830
- params: import("xstate").NonReducibleUnknown;
831
- };
832
- raiseSuccess: {
833
- type: "raiseSuccess";
834
- params: import("xstate").NonReducibleUnknown;
835
- };
836
- setTime: {
837
- type: "setTime";
838
- params: {
839
- time: Date;
840
- };
841
- };
842
- clearTime: {
843
- type: "clearTime";
844
- params: import("xstate").NonReducibleUnknown;
845
- };
846
- setErrors: {
847
- type: "setErrors";
848
- params: {
849
- errors?: {
850
- text: string;
851
- location?: {
852
- file: string;
853
- line: number;
854
- lineText: string;
855
- character: number;
856
- } | undefined;
857
- }[] | undefined;
858
- };
859
- };
860
- }>, {
861
- type: "has errors";
862
- params: {
863
- errors?: {
864
- text: string;
865
- location?: {
866
- file: string;
867
- line: number;
868
- lineText: string;
869
- character: number;
870
- } | undefined;
871
- }[] | undefined;
872
- };
873
- }, never, "Success" | "Errored" | "Validating", string, {
874
- parentRef: import("./build-orchestrator.js").TypeScriptOrchestrator;
875
- }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, {
876
- type: "Change";
877
- } | {
878
- type: "Result";
879
- errors?: {
880
- text: string;
881
- location?: {
882
- file: string;
883
- line: number;
884
- lineText: string;
885
- character: number;
886
- } | undefined;
887
- }[] | undefined;
888
- time: Date;
889
- }, {
890
- src: "validate";
891
- logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown>;
892
- id: string | undefined;
893
- }, import("xstate").Values<{
894
- clearError: {
895
- type: "clearError";
896
- params: import("xstate").NonReducibleUnknown;
897
- };
898
- raiseErrored: {
899
- type: "raiseErrored";
900
- params: import("xstate").NonReducibleUnknown;
901
- };
902
- raiseSuccess: {
903
- type: "raiseSuccess";
904
- params: import("xstate").NonReducibleUnknown;
905
- };
906
- setTime: {
907
- type: "setTime";
908
- params: {
909
- time: Date;
910
- };
911
- };
912
- clearTime: {
913
- type: "clearTime";
914
- params: import("xstate").NonReducibleUnknown;
915
- };
916
- setErrors: {
917
- type: "setErrors";
918
- params: {
919
- errors?: {
920
- text: string;
921
- location?: {
922
- file: string;
923
- line: number;
924
- lineText: string;
925
- character: number;
926
- } | undefined;
927
- }[] | undefined;
928
- };
929
- };
930
- }>, {
931
- type: "has errors";
932
- params: {
933
- errors?: {
934
- text: string;
935
- location?: {
936
- file: string;
937
- line: number;
938
- lineText: string;
939
- character: number;
940
- } | undefined;
941
- }[] | undefined;
942
- };
943
- }, never, string, import("xstate").EventObject>>;
944
- id: "typescript";
945
- };
946
- }>, import("xstate").Values<{
947
- setError: {
948
- type: "setError";
949
- params: {
950
- process: Process;
951
- };
952
- };
953
- setSuccess: {
954
- type: "setSuccess";
955
- params: {
956
- process: Process;
957
- };
958
- };
959
- }>, import("xstate").Values<{
960
- "all done": {
961
- type: "all done";
962
- params: unknown;
963
- };
964
- "all success": {
965
- type: "all success";
966
- params: unknown;
967
- };
968
- }>, never, "Success" | "Errored" | "All Done" | {
969
- Building?: Required<{
970
- JavaScript?: "Building" | "Waiting" | undefined;
971
- TypeScript?: "Validating" | "Waiting" | undefined;
972
- }> | undefined;
973
- }, string, import("xstate").NonReducibleUnknown, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, {
974
- type: "JavaScript Error";
975
- } | {
976
- type: "JavaScript Success";
977
- } | {
978
- type: "TypeScript Error";
979
- } | {
980
- type: "TypeScript Success";
981
- }, import("xstate").Values<{
982
- javascript: {
983
- src: "javascript";
984
- logic: import("xstate").StateMachine<import("./js-machine.js").Context, {
985
- type: "Build Contexts Prepared";
986
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
987
- } | {
988
- type: "Change";
989
- } | {
990
- type: "Result";
991
- contents: [string, string];
992
- error?: undefined;
993
- time: Date;
994
- } | {
995
- type: "Result";
996
- contents?: undefined;
997
- error: {
998
- errors: {
999
- text: string;
1000
- location: {
1001
- length: number;
1002
- column: number;
1003
- file: string;
1004
- line: number;
1005
- lineText: string;
1006
- namespace: string;
1007
- suggestion: string;
1008
- };
1009
- }[];
1010
- warnings: {
1011
- text: string;
1012
- location: {
1013
- length: number;
1014
- column: number;
1015
- file: string;
1016
- line: number;
1017
- lineText: string;
1018
- namespace: string;
1019
- suggestion: string;
1020
- };
1021
- }[];
1022
- };
1023
- time: Date;
1024
- } | {
1025
- type: "Log";
1026
- message: string;
1027
- }, {
1028
- [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
1029
- write: boolean;
1030
- }>, {
1031
- type: "Build Contexts Prepared";
1032
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1033
- } | {
1034
- type: "Change";
1035
- } | {
1036
- type: "Result";
1037
- contents: [string, string];
1038
- error?: undefined;
1039
- time: Date;
1040
- } | {
1041
- type: "Result";
1042
- contents?: undefined;
1043
- error: {
1044
- errors: {
1045
- text: string;
1046
- location: {
1047
- length: number;
1048
- column: number;
1049
- file: string;
1050
- line: number;
1051
- lineText: string;
1052
- namespace: string;
1053
- suggestion: string;
1054
- };
1055
- }[];
1056
- warnings: {
1057
- text: string;
1058
- location: {
1059
- length: number;
1060
- column: number;
1061
- file: string;
1062
- line: number;
1063
- lineText: string;
1064
- namespace: string;
1065
- suggestion: string;
1066
- };
1067
- }[];
1068
- };
1069
- time: Date;
1070
- } | {
1071
- type: "Log";
1072
- message: string;
1073
- }, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
1074
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1075
- write: boolean;
1076
- }>, {
1077
- type: "Build Contexts Prepared";
1078
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1079
- } | {
1080
- type: "Change";
1081
- } | {
1082
- type: "Result";
1083
- contents: [string, string];
1084
- error?: undefined;
1085
- time: Date;
1086
- } | {
1087
- type: "Result";
1088
- contents?: undefined;
1089
- error: {
1090
- errors: {
1091
- text: string;
1092
- location: {
1093
- length: number;
1094
- column: number;
1095
- file: string;
1096
- line: number;
1097
- lineText: string;
1098
- namespace: string;
1099
- suggestion: string;
1100
- };
1101
- }[];
1102
- warnings: {
1103
- text: string;
1104
- location: {
1105
- length: number;
1106
- column: number;
1107
- file: string;
1108
- line: number;
1109
- lineText: string;
1110
- namespace: string;
1111
- suggestion: string;
1112
- };
1113
- }[];
1114
- };
1115
- time: Date;
1116
- } | {
1117
- type: "Log";
1118
- message: string;
1119
- }, import("xstate").EventObject> | undefined;
1120
- }, import("xstate").Values<{
1121
- prepareBuildContext: {
1122
- src: "prepareBuildContext";
1123
- logic: import("xstate").CallbackActorLogic<{
1124
- type: "Build Contexts Prepared";
1125
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1126
- } | {
1127
- type: "Change";
1128
- } | {
1129
- type: "Result";
1130
- contents: [string, string];
1131
- error?: undefined;
1132
- time: Date;
1133
- } | {
1134
- type: "Result";
1135
- contents?: undefined;
1136
- error: {
1137
- errors: {
1138
- text: string;
1139
- location: {
1140
- length: number;
1141
- column: number;
1142
- file: string;
1143
- line: number;
1144
- lineText: string;
1145
- namespace: string;
1146
- suggestion: string;
1147
- };
1148
- }[];
1149
- warnings: {
1150
- text: string;
1151
- location: {
1152
- length: number;
1153
- column: number;
1154
- file: string;
1155
- line: number;
1156
- lineText: string;
1157
- namespace: string;
1158
- suggestion: string;
1159
- };
1160
- }[];
1161
- };
1162
- time: Date;
1163
- } | {
1164
- type: "Log";
1165
- message: string;
1166
- }, {
1167
- write: boolean;
1168
- }>;
1169
- id: string | undefined;
1170
- };
1171
- build: {
1172
- src: "build";
1173
- logic: import("xstate").CallbackActorLogic<{
1174
- type: "Build Contexts Prepared";
1175
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1176
- } | {
1177
- type: "Change";
1178
- } | {
1179
- type: "Result";
1180
- contents: [string, string];
1181
- error?: undefined;
1182
- time: Date;
1183
- } | {
1184
- type: "Result";
1185
- contents?: undefined;
1186
- error: {
1187
- errors: {
1188
- text: string;
1189
- location: {
1190
- length: number;
1191
- column: number;
1192
- file: string;
1193
- line: number;
1194
- lineText: string;
1195
- namespace: string;
1196
- suggestion: string;
1197
- };
1198
- }[];
1199
- warnings: {
1200
- text: string;
1201
- location: {
1202
- length: number;
1203
- column: number;
1204
- file: string;
1205
- line: number;
1206
- lineText: string;
1207
- namespace: string;
1208
- suggestion: string;
1209
- };
1210
- }[];
1211
- };
1212
- time: Date;
1213
- } | {
1214
- type: "Log";
1215
- message: string;
1216
- }, {
1217
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1218
- write: boolean;
1219
- }>;
1220
- id: string | undefined;
1221
- };
1222
- }>, import("xstate").Values<{
1223
- clearError: {
1224
- type: "clearError";
1225
- params: import("xstate").NonReducibleUnknown;
1226
- };
1227
- raiseErrored: {
1228
- type: "raiseErrored";
1229
- params: import("xstate").NonReducibleUnknown;
1230
- };
1231
- raiseSuccess: {
1232
- type: "raiseSuccess";
1233
- params: {
1234
- contents: [string, string];
1235
- time: Date;
1236
- };
1237
- };
1238
- setBuildContexts: {
1239
- type: "setBuildContexts";
1240
- params: {
1241
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1242
- };
1243
- };
1244
- setError: {
1245
- type: "setError";
1246
- params: {
1247
- error: {
1248
- errors: {
1249
- text: string;
1250
- location: {
1251
- length: number;
1252
- column: number;
1253
- file: string;
1254
- line: number;
1255
- lineText: string;
1256
- namespace: string;
1257
- suggestion: string;
1258
- };
1259
- }[];
1260
- warnings: {
1261
- text: string;
1262
- location: {
1263
- length: number;
1264
- column: number;
1265
- file: string;
1266
- line: number;
1267
- lineText: string;
1268
- namespace: string;
1269
- suggestion: string;
1270
- };
1271
- }[];
1272
- };
1273
- };
1274
- };
1275
- setTime: {
1276
- type: "setTime";
1277
- params: {
1278
- time: Date;
1279
- };
1280
- };
1281
- }>, {
1282
- type: "has errors";
1283
- params: {
1284
- error?: {
1285
- errors: {
1286
- text: string;
1287
- location: {
1288
- length: number;
1289
- column: number;
1290
- file: string;
1291
- line: number;
1292
- lineText: string;
1293
- namespace: string;
1294
- suggestion: string;
1295
- };
1296
- }[];
1297
- warnings: {
1298
- text: string;
1299
- location: {
1300
- length: number;
1301
- column: number;
1302
- file: string;
1303
- line: number;
1304
- lineText: string;
1305
- namespace: string;
1306
- suggestion: string;
1307
- };
1308
- }[];
1309
- } | undefined;
1310
- };
1311
- }, never, "Preparing" | {
1312
- Watching?: "Success" | "Building" | "Errored" | undefined;
1313
- }, string, {
1314
- parentRef: import("./build-orchestrator.js").JavaScriptOrchestrator;
1315
- write: boolean;
1316
- }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, {
1317
- type: "Build Contexts Prepared";
1318
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1319
- } | {
1320
- type: "Change";
1321
- } | {
1322
- type: "Result";
1323
- contents: [string, string];
1324
- error?: undefined;
1325
- time: Date;
1326
- } | {
1327
- type: "Result";
1328
- contents?: undefined;
1329
- error: {
1330
- errors: {
1331
- text: string;
1332
- location: {
1333
- length: number;
1334
- column: number;
1335
- file: string;
1336
- line: number;
1337
- lineText: string;
1338
- namespace: string;
1339
- suggestion: string;
1340
- };
1341
- }[];
1342
- warnings: {
1343
- text: string;
1344
- location: {
1345
- length: number;
1346
- column: number;
1347
- file: string;
1348
- line: number;
1349
- lineText: string;
1350
- namespace: string;
1351
- suggestion: string;
1352
- };
1353
- }[];
1354
- };
1355
- time: Date;
1356
- } | {
1357
- type: "Log";
1358
- message: string;
1359
- }, import("xstate").Values<{
1360
- prepareBuildContext: {
1361
- src: "prepareBuildContext";
1362
- logic: import("xstate").CallbackActorLogic<{
1363
- type: "Build Contexts Prepared";
1364
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1365
- } | {
1366
- type: "Change";
1367
- } | {
1368
- type: "Result";
1369
- contents: [string, string];
1370
- error?: undefined;
1371
- time: Date;
1372
- } | {
1373
- type: "Result";
1374
- contents?: undefined;
1375
- error: {
1376
- errors: {
1377
- text: string;
1378
- location: {
1379
- length: number;
1380
- column: number;
1381
- file: string;
1382
- line: number;
1383
- lineText: string;
1384
- namespace: string;
1385
- suggestion: string;
1386
- };
1387
- }[];
1388
- warnings: {
1389
- text: string;
1390
- location: {
1391
- length: number;
1392
- column: number;
1393
- file: string;
1394
- line: number;
1395
- lineText: string;
1396
- namespace: string;
1397
- suggestion: string;
1398
- };
1399
- }[];
1400
- };
1401
- time: Date;
1402
- } | {
1403
- type: "Log";
1404
- message: string;
1405
- }, {
1406
- write: boolean;
1407
- }>;
1408
- id: string | undefined;
1409
- };
1410
- build: {
1411
- src: "build";
1412
- logic: import("xstate").CallbackActorLogic<{
1413
- type: "Build Contexts Prepared";
1414
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1415
- } | {
1416
- type: "Change";
1417
- } | {
1418
- type: "Result";
1419
- contents: [string, string];
1420
- error?: undefined;
1421
- time: Date;
1422
- } | {
1423
- type: "Result";
1424
- contents?: undefined;
1425
- error: {
1426
- errors: {
1427
- text: string;
1428
- location: {
1429
- length: number;
1430
- column: number;
1431
- file: string;
1432
- line: number;
1433
- lineText: string;
1434
- namespace: string;
1435
- suggestion: string;
1436
- };
1437
- }[];
1438
- warnings: {
1439
- text: string;
1440
- location: {
1441
- length: number;
1442
- column: number;
1443
- file: string;
1444
- line: number;
1445
- lineText: string;
1446
- namespace: string;
1447
- suggestion: string;
1448
- };
1449
- }[];
1450
- };
1451
- time: Date;
1452
- } | {
1453
- type: "Log";
1454
- message: string;
1455
- }, {
1456
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1457
- write: boolean;
1458
- }>;
1459
- id: string | undefined;
1460
- };
1461
- }>, import("xstate").Values<{
1462
- clearError: {
1463
- type: "clearError";
1464
- params: import("xstate").NonReducibleUnknown;
1465
- };
1466
- raiseErrored: {
1467
- type: "raiseErrored";
1468
- params: import("xstate").NonReducibleUnknown;
1469
- };
1470
- raiseSuccess: {
1471
- type: "raiseSuccess";
1472
- params: {
1473
- contents: [string, string];
1474
- time: Date;
1475
- };
1476
- };
1477
- setBuildContexts: {
1478
- type: "setBuildContexts";
1479
- params: {
1480
- buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
1481
- };
1482
- };
1483
- setError: {
1484
- type: "setError";
1485
- params: {
1486
- error: {
1487
- errors: {
1488
- text: string;
1489
- location: {
1490
- length: number;
1491
- column: number;
1492
- file: string;
1493
- line: number;
1494
- lineText: string;
1495
- namespace: string;
1496
- suggestion: string;
1497
- };
1498
- }[];
1499
- warnings: {
1500
- text: string;
1501
- location: {
1502
- length: number;
1503
- column: number;
1504
- file: string;
1505
- line: number;
1506
- lineText: string;
1507
- namespace: string;
1508
- suggestion: string;
1509
- };
1510
- }[];
1511
- };
1512
- };
1513
- };
1514
- setTime: {
1515
- type: "setTime";
1516
- params: {
1517
- time: Date;
1518
- };
1519
- };
1520
- }>, {
1521
- type: "has errors";
1522
- params: {
1523
- error?: {
1524
- errors: {
1525
- text: string;
1526
- location: {
1527
- length: number;
1528
- column: number;
1529
- file: string;
1530
- line: number;
1531
- lineText: string;
1532
- namespace: string;
1533
- suggestion: string;
1534
- };
1535
- }[];
1536
- warnings: {
1537
- text: string;
1538
- location: {
1539
- length: number;
1540
- column: number;
1541
- file: string;
1542
- line: number;
1543
- lineText: string;
1544
- namespace: string;
1545
- suggestion: string;
1546
- };
1547
- }[];
1548
- } | undefined;
1549
- };
1550
- }, never, string, import("xstate").EventObject>>;
564
+ }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>;
1551
565
  id: "javascript";
1552
566
  };
1553
567
  typescript: {
@@ -1570,7 +584,7 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
1570
584
  [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<import("xstate").NonReducibleUnknown>, import("xstate").EventObject, import("xstate").EventObject> | undefined;
1571
585
  }, {
1572
586
  src: "validate";
1573
- logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown>;
587
+ logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown, import("xstate").EventObject>;
1574
588
  id: string | undefined;
1575
589
  }, import("xstate").Values<{
1576
590
  clearError: {
@@ -1624,75 +638,7 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
1624
638
  };
1625
639
  }, never, "Success" | "Errored" | "Validating", string, {
1626
640
  parentRef: import("./build-orchestrator.js").TypeScriptOrchestrator;
1627
- }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, {
1628
- type: "Change";
1629
- } | {
1630
- type: "Result";
1631
- errors?: {
1632
- text: string;
1633
- location?: {
1634
- file: string;
1635
- line: number;
1636
- lineText: string;
1637
- character: number;
1638
- } | undefined;
1639
- }[] | undefined;
1640
- time: Date;
1641
- }, {
1642
- src: "validate";
1643
- logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown>;
1644
- id: string | undefined;
1645
- }, import("xstate").Values<{
1646
- clearError: {
1647
- type: "clearError";
1648
- params: import("xstate").NonReducibleUnknown;
1649
- };
1650
- raiseErrored: {
1651
- type: "raiseErrored";
1652
- params: import("xstate").NonReducibleUnknown;
1653
- };
1654
- raiseSuccess: {
1655
- type: "raiseSuccess";
1656
- params: import("xstate").NonReducibleUnknown;
1657
- };
1658
- setTime: {
1659
- type: "setTime";
1660
- params: {
1661
- time: Date;
1662
- };
1663
- };
1664
- clearTime: {
1665
- type: "clearTime";
1666
- params: import("xstate").NonReducibleUnknown;
1667
- };
1668
- setErrors: {
1669
- type: "setErrors";
1670
- params: {
1671
- errors?: {
1672
- text: string;
1673
- location?: {
1674
- file: string;
1675
- line: number;
1676
- lineText: string;
1677
- character: number;
1678
- } | undefined;
1679
- }[] | undefined;
1680
- };
1681
- };
1682
- }>, {
1683
- type: "has errors";
1684
- params: {
1685
- errors?: {
1686
- text: string;
1687
- location?: {
1688
- file: string;
1689
- line: number;
1690
- lineText: string;
1691
- character: number;
1692
- } | undefined;
1693
- }[] | undefined;
1694
- };
1695
- }, never, string, import("xstate").EventObject>>;
641
+ }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>;
1696
642
  id: "typescript";
1697
643
  };
1698
644
  }>, import("xstate").Values<{
@@ -1717,6 +663,11 @@ export declare const buildMachine: import("xstate").StateMachine<Context, {
1717
663
  type: "all success";
1718
664
  params: unknown;
1719
665
  };
1720
- }>, never, string, import("xstate").EventObject>>;
666
+ }>, never, "Success" | "Errored" | "All Done" | {
667
+ Building?: Required<{
668
+ JavaScript?: "Building" | "Waiting" | undefined;
669
+ TypeScript?: "Validating" | "Waiting" | undefined;
670
+ }> | undefined;
671
+ }, string, import("xstate").NonReducibleUnknown, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>;
1721
672
  export {};
1722
673
  //# sourceMappingURL=build-machine.d.ts.map