attio 0.0.1-experimental.20240821 → 0.0.1-experimental.20240821.1

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.
@@ -0,0 +1,873 @@
1
+ import { AppVersion } from "../api/create-version.js";
2
+ import { InitialConfigError } from "../util/load-config.js";
3
+ export declare const connectionTypes: readonly [{
4
+ readonly value: "secret";
5
+ readonly label: "Secret";
6
+ }, {
7
+ readonly value: "oauth2_code";
8
+ readonly label: "OAuth2";
9
+ }];
10
+ export declare const audiences: readonly [{
11
+ readonly value: "workspace";
12
+ readonly label: "Workspace";
13
+ }, {
14
+ readonly value: "workspace-member";
15
+ readonly label: "Workspace Member";
16
+ }];
17
+ export type ConnectionType = (typeof connectionTypes)[number]["value"];
18
+ export type Audience = (typeof audiences)[number]["value"];
19
+ interface Context {
20
+ error?: string;
21
+ configError?: InitialConfigError;
22
+ audience?: Audience;
23
+ haveConnection: boolean;
24
+ connectionType?: ConnectionType;
25
+ version?: AppVersion;
26
+ jsContents?: [string, string];
27
+ developer: {
28
+ slug: string;
29
+ token: string;
30
+ };
31
+ appId: string;
32
+ }
33
+ type Event = {
34
+ type: "App Config Loaded";
35
+ appId: string;
36
+ haveConnection: boolean;
37
+ } | {
38
+ type: "Developer Config Loaded";
39
+ token: string;
40
+ slug: string;
41
+ } | {
42
+ type: "No Developer Config";
43
+ configError: InitialConfigError;
44
+ } | {
45
+ type: "JavaScript Success";
46
+ contents: [string, string];
47
+ time: Date;
48
+ } | {
49
+ type: "JavaScript Error";
50
+ } | {
51
+ type: "Version Created";
52
+ version: AppVersion;
53
+ } | {
54
+ type: "Error";
55
+ error: string;
56
+ } | {
57
+ type: "Submit";
58
+ } | {
59
+ type: "Success";
60
+ };
61
+ export declare const createVersionMachine: import("xstate").StateMachine<Context, {
62
+ type: "App Config Loaded";
63
+ appId: string;
64
+ haveConnection: boolean;
65
+ } | {
66
+ type: "Developer Config Loaded";
67
+ token: string;
68
+ slug: string;
69
+ } | {
70
+ type: "No Developer Config";
71
+ configError: InitialConfigError;
72
+ } | {
73
+ type: "JavaScript Success";
74
+ contents: [string, string];
75
+ time: Date;
76
+ } | {
77
+ type: "JavaScript Error";
78
+ } | {
79
+ type: "Version Created";
80
+ version: AppVersion;
81
+ } | {
82
+ type: "Error";
83
+ error: string;
84
+ } | {
85
+ type: "Submit";
86
+ } | {
87
+ type: "Success";
88
+ }, {
89
+ [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<import("xstate").NonReducibleUnknown>, import("xstate").EventObject, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").MachineSnapshot<import("./js-machine.js").Context, {
90
+ type: "Build Contexts Prepared";
91
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
92
+ } | {
93
+ type: "Change";
94
+ } | {
95
+ type: "Result";
96
+ contents: [string, string];
97
+ error?: undefined;
98
+ time: Date;
99
+ } | {
100
+ type: "Result";
101
+ contents?: undefined;
102
+ error: {
103
+ errors: {
104
+ text: string;
105
+ location: {
106
+ length: number;
107
+ column: number;
108
+ file: string;
109
+ line: number;
110
+ lineText: string;
111
+ namespace: string;
112
+ suggestion: string;
113
+ };
114
+ }[];
115
+ warnings: {
116
+ text: string;
117
+ location: {
118
+ length: number;
119
+ column: number;
120
+ file: string;
121
+ line: number;
122
+ lineText: string;
123
+ namespace: string;
124
+ suggestion: string;
125
+ };
126
+ }[];
127
+ };
128
+ time: Date;
129
+ } | {
130
+ type: "Log";
131
+ message: string;
132
+ }, {
133
+ [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
134
+ write: boolean;
135
+ }>, {
136
+ type: "Build Contexts Prepared";
137
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
138
+ } | {
139
+ type: "Change";
140
+ } | {
141
+ type: "Result";
142
+ contents: [string, string];
143
+ error?: undefined;
144
+ time: Date;
145
+ } | {
146
+ type: "Result";
147
+ contents?: undefined;
148
+ error: {
149
+ errors: {
150
+ text: string;
151
+ location: {
152
+ length: number;
153
+ column: number;
154
+ file: string;
155
+ line: number;
156
+ lineText: string;
157
+ namespace: string;
158
+ suggestion: string;
159
+ };
160
+ }[];
161
+ warnings: {
162
+ text: string;
163
+ location: {
164
+ length: number;
165
+ column: number;
166
+ file: string;
167
+ line: number;
168
+ lineText: string;
169
+ namespace: string;
170
+ suggestion: string;
171
+ };
172
+ }[];
173
+ };
174
+ time: Date;
175
+ } | {
176
+ type: "Log";
177
+ message: string;
178
+ }, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
179
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
180
+ write: boolean;
181
+ }>, {
182
+ type: "Build Contexts Prepared";
183
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
184
+ } | {
185
+ type: "Change";
186
+ } | {
187
+ type: "Result";
188
+ contents: [string, string];
189
+ error?: undefined;
190
+ time: Date;
191
+ } | {
192
+ type: "Result";
193
+ contents?: undefined;
194
+ error: {
195
+ errors: {
196
+ text: string;
197
+ location: {
198
+ length: number;
199
+ column: number;
200
+ file: string;
201
+ line: number;
202
+ lineText: string;
203
+ namespace: string;
204
+ suggestion: string;
205
+ };
206
+ }[];
207
+ warnings: {
208
+ text: string;
209
+ location: {
210
+ length: number;
211
+ column: number;
212
+ file: string;
213
+ line: number;
214
+ lineText: string;
215
+ namespace: string;
216
+ suggestion: string;
217
+ };
218
+ }[];
219
+ };
220
+ time: Date;
221
+ } | {
222
+ type: "Log";
223
+ message: string;
224
+ }, import("xstate").EventObject> | undefined;
225
+ }, "Preparing" | {
226
+ Watching?: "Success" | "Building" | "Errored" | undefined;
227
+ }, string, import("xstate").NonReducibleUnknown, import("xstate").MetaObject>, {
228
+ type: "Build Contexts Prepared";
229
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
230
+ } | {
231
+ type: "Change";
232
+ } | {
233
+ type: "Result";
234
+ contents: [string, string];
235
+ error?: undefined;
236
+ time: Date;
237
+ } | {
238
+ type: "Result";
239
+ contents?: undefined;
240
+ error: {
241
+ errors: {
242
+ text: string;
243
+ location: {
244
+ length: number;
245
+ column: number;
246
+ file: string;
247
+ line: number;
248
+ lineText: string;
249
+ namespace: string;
250
+ suggestion: string;
251
+ };
252
+ }[];
253
+ warnings: {
254
+ text: string;
255
+ location: {
256
+ length: number;
257
+ column: number;
258
+ file: string;
259
+ line: number;
260
+ lineText: string;
261
+ namespace: string;
262
+ suggestion: string;
263
+ };
264
+ }[];
265
+ };
266
+ time: Date;
267
+ } | {
268
+ type: "Log";
269
+ message: string;
270
+ }, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
271
+ version: AppVersion;
272
+ developer: {
273
+ token: string;
274
+ slug: string;
275
+ };
276
+ jsContents: [string, string];
277
+ }>, any, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<Pick<Context, "audience" | "appId" | "connectionType" | "developer">>, Event, import("xstate").EventObject> | undefined;
278
+ javascript?: import("xstate").ActorRef<import("xstate").MachineSnapshot<import("./js-machine.js").Context, {
279
+ type: "Build Contexts Prepared";
280
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
281
+ } | {
282
+ type: "Change";
283
+ } | {
284
+ type: "Result";
285
+ contents: [string, string];
286
+ error?: undefined;
287
+ time: Date;
288
+ } | {
289
+ type: "Result";
290
+ contents?: undefined;
291
+ error: {
292
+ errors: {
293
+ text: string;
294
+ location: {
295
+ length: number;
296
+ column: number;
297
+ file: string;
298
+ line: number;
299
+ lineText: string;
300
+ namespace: string;
301
+ suggestion: string;
302
+ };
303
+ }[];
304
+ warnings: {
305
+ text: string;
306
+ location: {
307
+ length: number;
308
+ column: number;
309
+ file: string;
310
+ line: number;
311
+ lineText: string;
312
+ namespace: string;
313
+ suggestion: string;
314
+ };
315
+ }[];
316
+ };
317
+ time: Date;
318
+ } | {
319
+ type: "Log";
320
+ message: string;
321
+ }, {
322
+ [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
323
+ write: boolean;
324
+ }>, {
325
+ type: "Build Contexts Prepared";
326
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
327
+ } | {
328
+ type: "Change";
329
+ } | {
330
+ type: "Result";
331
+ contents: [string, string];
332
+ error?: undefined;
333
+ time: Date;
334
+ } | {
335
+ type: "Result";
336
+ contents?: undefined;
337
+ error: {
338
+ errors: {
339
+ text: string;
340
+ location: {
341
+ length: number;
342
+ column: number;
343
+ file: string;
344
+ line: number;
345
+ lineText: string;
346
+ namespace: string;
347
+ suggestion: string;
348
+ };
349
+ }[];
350
+ warnings: {
351
+ text: string;
352
+ location: {
353
+ length: number;
354
+ column: number;
355
+ file: string;
356
+ line: number;
357
+ lineText: string;
358
+ namespace: string;
359
+ suggestion: string;
360
+ };
361
+ }[];
362
+ };
363
+ time: Date;
364
+ } | {
365
+ type: "Log";
366
+ message: string;
367
+ }, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
368
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
369
+ write: boolean;
370
+ }>, {
371
+ type: "Build Contexts Prepared";
372
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
373
+ } | {
374
+ type: "Change";
375
+ } | {
376
+ type: "Result";
377
+ contents: [string, string];
378
+ error?: undefined;
379
+ time: Date;
380
+ } | {
381
+ type: "Result";
382
+ contents?: undefined;
383
+ error: {
384
+ errors: {
385
+ text: string;
386
+ location: {
387
+ length: number;
388
+ column: number;
389
+ file: string;
390
+ line: number;
391
+ lineText: string;
392
+ namespace: string;
393
+ suggestion: string;
394
+ };
395
+ }[];
396
+ warnings: {
397
+ text: string;
398
+ location: {
399
+ length: number;
400
+ column: number;
401
+ file: string;
402
+ line: number;
403
+ lineText: string;
404
+ namespace: string;
405
+ suggestion: string;
406
+ };
407
+ }[];
408
+ };
409
+ time: Date;
410
+ } | {
411
+ type: "Log";
412
+ message: string;
413
+ }, import("xstate").EventObject> | undefined;
414
+ }, "Preparing" | {
415
+ Watching?: "Success" | "Building" | "Errored" | undefined;
416
+ }, string, import("xstate").NonReducibleUnknown, import("xstate").MetaObject>, {
417
+ type: "Build Contexts Prepared";
418
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
419
+ } | {
420
+ type: "Change";
421
+ } | {
422
+ type: "Result";
423
+ contents: [string, string];
424
+ error?: undefined;
425
+ time: Date;
426
+ } | {
427
+ type: "Result";
428
+ contents?: undefined;
429
+ error: {
430
+ errors: {
431
+ text: string;
432
+ location: {
433
+ length: number;
434
+ column: number;
435
+ file: string;
436
+ line: number;
437
+ lineText: string;
438
+ namespace: string;
439
+ suggestion: string;
440
+ };
441
+ }[];
442
+ warnings: {
443
+ text: string;
444
+ location: {
445
+ length: number;
446
+ column: number;
447
+ file: string;
448
+ line: number;
449
+ lineText: string;
450
+ namespace: string;
451
+ suggestion: string;
452
+ };
453
+ }[];
454
+ };
455
+ time: Date;
456
+ } | {
457
+ type: "Log";
458
+ message: string;
459
+ }, import("xstate").EventObject> | undefined;
460
+ }, import("xstate").Values<{
461
+ javascript: {
462
+ src: "javascript";
463
+ logic: import("xstate").StateMachine<import("./js-machine.js").Context, {
464
+ type: "Build Contexts Prepared";
465
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
466
+ } | {
467
+ type: "Change";
468
+ } | {
469
+ type: "Result";
470
+ contents: [string, string];
471
+ error?: undefined;
472
+ time: Date;
473
+ } | {
474
+ type: "Result";
475
+ contents?: undefined;
476
+ error: {
477
+ errors: {
478
+ text: string;
479
+ location: {
480
+ length: number;
481
+ column: number;
482
+ file: string;
483
+ line: number;
484
+ lineText: string;
485
+ namespace: string;
486
+ suggestion: string;
487
+ };
488
+ }[];
489
+ warnings: {
490
+ text: string;
491
+ location: {
492
+ length: number;
493
+ column: number;
494
+ file: string;
495
+ line: number;
496
+ lineText: string;
497
+ namespace: string;
498
+ suggestion: string;
499
+ };
500
+ }[];
501
+ };
502
+ time: Date;
503
+ } | {
504
+ type: "Log";
505
+ message: string;
506
+ }, {
507
+ [x: string]: import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
508
+ write: boolean;
509
+ }>, {
510
+ type: "Build Contexts Prepared";
511
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
512
+ } | {
513
+ type: "Change";
514
+ } | {
515
+ type: "Result";
516
+ contents: [string, string];
517
+ error?: undefined;
518
+ time: Date;
519
+ } | {
520
+ type: "Result";
521
+ contents?: undefined;
522
+ error: {
523
+ errors: {
524
+ text: string;
525
+ location: {
526
+ length: number;
527
+ column: number;
528
+ file: string;
529
+ line: number;
530
+ lineText: string;
531
+ namespace: string;
532
+ suggestion: string;
533
+ };
534
+ }[];
535
+ warnings: {
536
+ text: string;
537
+ location: {
538
+ length: number;
539
+ column: number;
540
+ file: string;
541
+ line: number;
542
+ lineText: string;
543
+ namespace: string;
544
+ suggestion: string;
545
+ };
546
+ }[];
547
+ };
548
+ time: Date;
549
+ } | {
550
+ type: "Log";
551
+ message: string;
552
+ }, import("xstate").EventObject> | import("xstate").ActorRef<import("xstate").CallbackSnapshot<{
553
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
554
+ write: boolean;
555
+ }>, {
556
+ type: "Build Contexts Prepared";
557
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
558
+ } | {
559
+ type: "Change";
560
+ } | {
561
+ type: "Result";
562
+ contents: [string, string];
563
+ error?: undefined;
564
+ time: Date;
565
+ } | {
566
+ type: "Result";
567
+ contents?: undefined;
568
+ error: {
569
+ errors: {
570
+ text: string;
571
+ location: {
572
+ length: number;
573
+ column: number;
574
+ file: string;
575
+ line: number;
576
+ lineText: string;
577
+ namespace: string;
578
+ suggestion: string;
579
+ };
580
+ }[];
581
+ warnings: {
582
+ text: string;
583
+ location: {
584
+ length: number;
585
+ column: number;
586
+ file: string;
587
+ line: number;
588
+ lineText: string;
589
+ namespace: string;
590
+ suggestion: string;
591
+ };
592
+ }[];
593
+ };
594
+ time: Date;
595
+ } | {
596
+ type: "Log";
597
+ message: string;
598
+ }, import("xstate").EventObject> | undefined;
599
+ }, import("xstate").Values<{
600
+ prepareBuildContext: {
601
+ src: "prepareBuildContext";
602
+ logic: import("xstate").CallbackActorLogic<{
603
+ type: "Build Contexts Prepared";
604
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
605
+ } | {
606
+ type: "Change";
607
+ } | {
608
+ type: "Result";
609
+ contents: [string, string];
610
+ error?: undefined;
611
+ time: Date;
612
+ } | {
613
+ type: "Result";
614
+ contents?: undefined;
615
+ error: {
616
+ errors: {
617
+ text: string;
618
+ location: {
619
+ length: number;
620
+ column: number;
621
+ file: string;
622
+ line: number;
623
+ lineText: string;
624
+ namespace: string;
625
+ suggestion: string;
626
+ };
627
+ }[];
628
+ warnings: {
629
+ text: string;
630
+ location: {
631
+ length: number;
632
+ column: number;
633
+ file: string;
634
+ line: number;
635
+ lineText: string;
636
+ namespace: string;
637
+ suggestion: string;
638
+ };
639
+ }[];
640
+ };
641
+ time: Date;
642
+ } | {
643
+ type: "Log";
644
+ message: string;
645
+ }, {
646
+ write: boolean;
647
+ }, import("xstate").EventObject>;
648
+ id: string | undefined;
649
+ };
650
+ build: {
651
+ src: "build";
652
+ logic: import("xstate").CallbackActorLogic<{
653
+ type: "Build Contexts Prepared";
654
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
655
+ } | {
656
+ type: "Change";
657
+ } | {
658
+ type: "Result";
659
+ contents: [string, string];
660
+ error?: undefined;
661
+ time: Date;
662
+ } | {
663
+ type: "Result";
664
+ contents?: undefined;
665
+ error: {
666
+ errors: {
667
+ text: string;
668
+ location: {
669
+ length: number;
670
+ column: number;
671
+ file: string;
672
+ line: number;
673
+ lineText: string;
674
+ namespace: string;
675
+ suggestion: string;
676
+ };
677
+ }[];
678
+ warnings: {
679
+ text: string;
680
+ location: {
681
+ length: number;
682
+ column: number;
683
+ file: string;
684
+ line: number;
685
+ lineText: string;
686
+ namespace: string;
687
+ suggestion: string;
688
+ };
689
+ }[];
690
+ };
691
+ time: Date;
692
+ } | {
693
+ type: "Log";
694
+ message: string;
695
+ }, {
696
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
697
+ write: boolean;
698
+ }, import("xstate").EventObject>;
699
+ id: string | undefined;
700
+ };
701
+ }>, import("xstate").Values<{
702
+ clearError: {
703
+ type: "clearError";
704
+ params: import("xstate").NonReducibleUnknown;
705
+ };
706
+ raiseErrored: {
707
+ type: "raiseErrored";
708
+ params: import("xstate").NonReducibleUnknown;
709
+ };
710
+ raiseSuccess: {
711
+ type: "raiseSuccess";
712
+ params: {
713
+ contents: [string, string];
714
+ time: Date;
715
+ };
716
+ };
717
+ setBuildContexts: {
718
+ type: "setBuildContexts";
719
+ params: {
720
+ buildContexts: import("esbuild").BuildContext<import("esbuild").BuildOptions>[];
721
+ };
722
+ };
723
+ setError: {
724
+ type: "setError";
725
+ params: {
726
+ error: {
727
+ errors: {
728
+ text: string;
729
+ location: {
730
+ length: number;
731
+ column: number;
732
+ file: string;
733
+ line: number;
734
+ lineText: string;
735
+ namespace: string;
736
+ suggestion: string;
737
+ };
738
+ }[];
739
+ warnings: {
740
+ text: string;
741
+ location: {
742
+ length: number;
743
+ column: number;
744
+ file: string;
745
+ line: number;
746
+ lineText: string;
747
+ namespace: string;
748
+ suggestion: string;
749
+ };
750
+ }[];
751
+ };
752
+ };
753
+ };
754
+ setTime: {
755
+ type: "setTime";
756
+ params: {
757
+ time: Date;
758
+ };
759
+ };
760
+ }>, {
761
+ type: "has errors";
762
+ params: {
763
+ error?: {
764
+ errors: {
765
+ text: string;
766
+ location: {
767
+ length: number;
768
+ column: number;
769
+ file: string;
770
+ line: number;
771
+ lineText: string;
772
+ namespace: string;
773
+ suggestion: string;
774
+ };
775
+ }[];
776
+ warnings: {
777
+ text: string;
778
+ location: {
779
+ length: number;
780
+ column: number;
781
+ file: string;
782
+ line: number;
783
+ lineText: string;
784
+ namespace: string;
785
+ suggestion: string;
786
+ };
787
+ }[];
788
+ } | undefined;
789
+ };
790
+ }, never, "Preparing" | {
791
+ Watching?: "Success" | "Building" | "Errored" | undefined;
792
+ }, string, {
793
+ parentRef: import("./build-orchestrator.js").JavaScriptOrchestrator;
794
+ write: boolean;
795
+ }, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>;
796
+ id: "javascript";
797
+ };
798
+ upload: {
799
+ src: "upload";
800
+ logic: import("xstate").CallbackActorLogic<any, {
801
+ version: AppVersion;
802
+ developer: {
803
+ token: string;
804
+ slug: string;
805
+ };
806
+ jsContents: [string, string];
807
+ }, import("xstate").EventObject>;
808
+ id: string | undefined;
809
+ };
810
+ loadDeveloperConfig: {
811
+ src: "loadDeveloperConfig";
812
+ logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown, import("xstate").EventObject>;
813
+ id: string | undefined;
814
+ };
815
+ loadAppConfig: {
816
+ src: "loadAppConfig";
817
+ logic: import("xstate").CallbackActorLogic<import("xstate").EventObject, import("xstate").NonReducibleUnknown, import("xstate").EventObject>;
818
+ id: string | undefined;
819
+ };
820
+ createVersion: {
821
+ src: "createVersion";
822
+ logic: import("xstate").CallbackActorLogic<Event, Pick<Context, "audience" | "appId" | "connectionType" | "developer">, import("xstate").EventObject>;
823
+ id: string | undefined;
824
+ };
825
+ }>, import("xstate").Values<{
826
+ clearError: {
827
+ type: "clearError";
828
+ params: import("xstate").NonReducibleUnknown;
829
+ };
830
+ setError: {
831
+ type: "setError";
832
+ params: {
833
+ error: string;
834
+ };
835
+ };
836
+ setConfigError: {
837
+ type: "setConfigError";
838
+ params: {
839
+ configError: InitialConfigError;
840
+ };
841
+ };
842
+ setDeveloperConfig: {
843
+ type: "setDeveloperConfig";
844
+ params: {
845
+ token: string;
846
+ slug: string;
847
+ };
848
+ };
849
+ setAppConfig: {
850
+ type: "setAppConfig";
851
+ params: {
852
+ appId: string;
853
+ haveConnection: boolean;
854
+ };
855
+ };
856
+ setJsContents: {
857
+ type: "setJsContents";
858
+ params: {
859
+ contents: [string, string];
860
+ time: Date;
861
+ };
862
+ };
863
+ setVersion: {
864
+ type: "setVersion";
865
+ params: {
866
+ version: AppVersion;
867
+ };
868
+ };
869
+ }>, never, never, "Success" | "Error" | "Show config instructions" | "Uploading" | "Loading Developer Config" | "Loading App Config" | "Creating version" | {
870
+ JavaScript?: "Building" | "Build Error" | undefined;
871
+ }, string, import("xstate").NonReducibleUnknown, import("xstate").NonReducibleUnknown, import("xstate").EventObject, import("xstate").MetaObject>;
872
+ export {};
873
+ //# sourceMappingURL=create-version-machine.d.ts.map