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