@epic-web/workshop-utils 6.50.3 → 6.50.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apps.server.d.ts +423 -0
- package/dist/apps.server.js +9 -1
- package/dist/cache.server.d.ts +12 -0
- package/dist/config.server.d.ts +7 -0
- package/dist/config.server.js +19 -1
- package/package.json +1 -1
package/dist/apps.server.d.ts
CHANGED
|
@@ -71,6 +71,15 @@ declare const BaseExerciseStepAppSchema: z.ZodObject<{
|
|
|
71
71
|
type: "script";
|
|
72
72
|
initialRoute: string;
|
|
73
73
|
portNumber: number;
|
|
74
|
+
}>, z.ZodObject<{
|
|
75
|
+
type: z.ZodLiteral<"export">;
|
|
76
|
+
pathname: z.ZodString;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
type: "export";
|
|
79
|
+
pathname: string;
|
|
80
|
+
}, {
|
|
81
|
+
type: "export";
|
|
82
|
+
pathname: string;
|
|
74
83
|
}>, z.ZodObject<{
|
|
75
84
|
type: z.ZodLiteral<"none">;
|
|
76
85
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -103,6 +112,9 @@ declare const BaseExerciseStepAppSchema: z.ZodObject<{
|
|
|
103
112
|
type: "script";
|
|
104
113
|
initialRoute: string;
|
|
105
114
|
portNumber: number;
|
|
115
|
+
} | {
|
|
116
|
+
type: "export";
|
|
117
|
+
pathname: string;
|
|
106
118
|
} | {
|
|
107
119
|
type: "none";
|
|
108
120
|
};
|
|
@@ -134,6 +146,9 @@ declare const BaseExerciseStepAppSchema: z.ZodObject<{
|
|
|
134
146
|
type: "script";
|
|
135
147
|
initialRoute: string;
|
|
136
148
|
portNumber: number;
|
|
149
|
+
} | {
|
|
150
|
+
type: "export";
|
|
151
|
+
pathname: string;
|
|
137
152
|
} | {
|
|
138
153
|
type: "none";
|
|
139
154
|
};
|
|
@@ -205,6 +220,15 @@ declare const ProblemAppSchema: z.ZodObject<{
|
|
|
205
220
|
type: "script";
|
|
206
221
|
initialRoute: string;
|
|
207
222
|
portNumber: number;
|
|
223
|
+
}>, z.ZodObject<{
|
|
224
|
+
type: z.ZodLiteral<"export">;
|
|
225
|
+
pathname: z.ZodString;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
type: "export";
|
|
228
|
+
pathname: string;
|
|
229
|
+
}, {
|
|
230
|
+
type: "export";
|
|
231
|
+
pathname: string;
|
|
208
232
|
}>, z.ZodObject<{
|
|
209
233
|
type: z.ZodLiteral<"none">;
|
|
210
234
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -241,6 +265,9 @@ declare const ProblemAppSchema: z.ZodObject<{
|
|
|
241
265
|
type: "script";
|
|
242
266
|
initialRoute: string;
|
|
243
267
|
portNumber: number;
|
|
268
|
+
} | {
|
|
269
|
+
type: "export";
|
|
270
|
+
pathname: string;
|
|
244
271
|
} | {
|
|
245
272
|
type: "none";
|
|
246
273
|
};
|
|
@@ -274,6 +301,9 @@ declare const ProblemAppSchema: z.ZodObject<{
|
|
|
274
301
|
type: "script";
|
|
275
302
|
initialRoute: string;
|
|
276
303
|
portNumber: number;
|
|
304
|
+
} | {
|
|
305
|
+
type: "export";
|
|
306
|
+
pathname: string;
|
|
277
307
|
} | {
|
|
278
308
|
type: "none";
|
|
279
309
|
};
|
|
@@ -346,6 +376,15 @@ declare const SolutionAppSchema: z.ZodObject<{
|
|
|
346
376
|
type: "script";
|
|
347
377
|
initialRoute: string;
|
|
348
378
|
portNumber: number;
|
|
379
|
+
}>, z.ZodObject<{
|
|
380
|
+
type: z.ZodLiteral<"export">;
|
|
381
|
+
pathname: z.ZodString;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
type: "export";
|
|
384
|
+
pathname: string;
|
|
385
|
+
}, {
|
|
386
|
+
type: "export";
|
|
387
|
+
pathname: string;
|
|
349
388
|
}>, z.ZodObject<{
|
|
350
389
|
type: z.ZodLiteral<"none">;
|
|
351
390
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -382,6 +421,9 @@ declare const SolutionAppSchema: z.ZodObject<{
|
|
|
382
421
|
type: "script";
|
|
383
422
|
initialRoute: string;
|
|
384
423
|
portNumber: number;
|
|
424
|
+
} | {
|
|
425
|
+
type: "export";
|
|
426
|
+
pathname: string;
|
|
385
427
|
} | {
|
|
386
428
|
type: "none";
|
|
387
429
|
};
|
|
@@ -415,6 +457,9 @@ declare const SolutionAppSchema: z.ZodObject<{
|
|
|
415
457
|
type: "script";
|
|
416
458
|
initialRoute: string;
|
|
417
459
|
portNumber: number;
|
|
460
|
+
} | {
|
|
461
|
+
type: "export";
|
|
462
|
+
pathname: string;
|
|
418
463
|
} | {
|
|
419
464
|
type: "none";
|
|
420
465
|
};
|
|
@@ -487,6 +532,15 @@ declare const ExampleAppSchema: z.ZodObject<{
|
|
|
487
532
|
type: "script";
|
|
488
533
|
initialRoute: string;
|
|
489
534
|
portNumber: number;
|
|
535
|
+
}>, z.ZodObject<{
|
|
536
|
+
type: z.ZodLiteral<"export">;
|
|
537
|
+
pathname: z.ZodString;
|
|
538
|
+
}, "strip", z.ZodTypeAny, {
|
|
539
|
+
type: "export";
|
|
540
|
+
pathname: string;
|
|
541
|
+
}, {
|
|
542
|
+
type: "export";
|
|
543
|
+
pathname: string;
|
|
490
544
|
}>, z.ZodObject<{
|
|
491
545
|
type: z.ZodLiteral<"none">;
|
|
492
546
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -519,6 +573,9 @@ declare const ExampleAppSchema: z.ZodObject<{
|
|
|
519
573
|
type: "script";
|
|
520
574
|
initialRoute: string;
|
|
521
575
|
portNumber: number;
|
|
576
|
+
} | {
|
|
577
|
+
type: "export";
|
|
578
|
+
pathname: string;
|
|
522
579
|
} | {
|
|
523
580
|
type: "none";
|
|
524
581
|
};
|
|
@@ -549,6 +606,9 @@ declare const ExampleAppSchema: z.ZodObject<{
|
|
|
549
606
|
type: "script";
|
|
550
607
|
initialRoute: string;
|
|
551
608
|
portNumber: number;
|
|
609
|
+
} | {
|
|
610
|
+
type: "export";
|
|
611
|
+
pathname: string;
|
|
552
612
|
} | {
|
|
553
613
|
type: "none";
|
|
554
614
|
};
|
|
@@ -618,6 +678,15 @@ declare const PlaygroundAppSchema: z.ZodObject<{
|
|
|
618
678
|
type: "script";
|
|
619
679
|
initialRoute: string;
|
|
620
680
|
portNumber: number;
|
|
681
|
+
}>, z.ZodObject<{
|
|
682
|
+
type: z.ZodLiteral<"export">;
|
|
683
|
+
pathname: z.ZodString;
|
|
684
|
+
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
type: "export";
|
|
686
|
+
pathname: string;
|
|
687
|
+
}, {
|
|
688
|
+
type: "export";
|
|
689
|
+
pathname: string;
|
|
621
690
|
}>, z.ZodObject<{
|
|
622
691
|
type: z.ZodLiteral<"none">;
|
|
623
692
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -652,6 +721,9 @@ declare const PlaygroundAppSchema: z.ZodObject<{
|
|
|
652
721
|
type: "script";
|
|
653
722
|
initialRoute: string;
|
|
654
723
|
portNumber: number;
|
|
724
|
+
} | {
|
|
725
|
+
type: "export";
|
|
726
|
+
pathname: string;
|
|
655
727
|
} | {
|
|
656
728
|
type: "none";
|
|
657
729
|
};
|
|
@@ -684,6 +756,9 @@ declare const PlaygroundAppSchema: z.ZodObject<{
|
|
|
684
756
|
type: "script";
|
|
685
757
|
initialRoute: string;
|
|
686
758
|
portNumber: number;
|
|
759
|
+
} | {
|
|
760
|
+
type: "export";
|
|
761
|
+
pathname: string;
|
|
687
762
|
} | {
|
|
688
763
|
type: "none";
|
|
689
764
|
};
|
|
@@ -770,6 +845,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
770
845
|
type: "script";
|
|
771
846
|
initialRoute: string;
|
|
772
847
|
portNumber: number;
|
|
848
|
+
}>, z.ZodObject<{
|
|
849
|
+
type: z.ZodLiteral<"export">;
|
|
850
|
+
pathname: z.ZodString;
|
|
851
|
+
}, "strip", z.ZodTypeAny, {
|
|
852
|
+
type: "export";
|
|
853
|
+
pathname: string;
|
|
854
|
+
}, {
|
|
855
|
+
type: "export";
|
|
856
|
+
pathname: string;
|
|
773
857
|
}>, z.ZodObject<{
|
|
774
858
|
type: z.ZodLiteral<"none">;
|
|
775
859
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -806,6 +890,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
806
890
|
type: "script";
|
|
807
891
|
initialRoute: string;
|
|
808
892
|
portNumber: number;
|
|
893
|
+
} | {
|
|
894
|
+
type: "export";
|
|
895
|
+
pathname: string;
|
|
809
896
|
} | {
|
|
810
897
|
type: "none";
|
|
811
898
|
};
|
|
@@ -839,6 +926,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
839
926
|
type: "script";
|
|
840
927
|
initialRoute: string;
|
|
841
928
|
portNumber: number;
|
|
929
|
+
} | {
|
|
930
|
+
type: "export";
|
|
931
|
+
pathname: string;
|
|
842
932
|
} | {
|
|
843
933
|
type: "none";
|
|
844
934
|
};
|
|
@@ -911,6 +1001,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
911
1001
|
type: "script";
|
|
912
1002
|
initialRoute: string;
|
|
913
1003
|
portNumber: number;
|
|
1004
|
+
}>, z.ZodObject<{
|
|
1005
|
+
type: z.ZodLiteral<"export">;
|
|
1006
|
+
pathname: z.ZodString;
|
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
|
1008
|
+
type: "export";
|
|
1009
|
+
pathname: string;
|
|
1010
|
+
}, {
|
|
1011
|
+
type: "export";
|
|
1012
|
+
pathname: string;
|
|
914
1013
|
}>, z.ZodObject<{
|
|
915
1014
|
type: z.ZodLiteral<"none">;
|
|
916
1015
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -947,6 +1046,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
947
1046
|
type: "script";
|
|
948
1047
|
initialRoute: string;
|
|
949
1048
|
portNumber: number;
|
|
1049
|
+
} | {
|
|
1050
|
+
type: "export";
|
|
1051
|
+
pathname: string;
|
|
950
1052
|
} | {
|
|
951
1053
|
type: "none";
|
|
952
1054
|
};
|
|
@@ -980,6 +1082,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
980
1082
|
type: "script";
|
|
981
1083
|
initialRoute: string;
|
|
982
1084
|
portNumber: number;
|
|
1085
|
+
} | {
|
|
1086
|
+
type: "export";
|
|
1087
|
+
pathname: string;
|
|
983
1088
|
} | {
|
|
984
1089
|
type: "none";
|
|
985
1090
|
};
|
|
@@ -1016,6 +1121,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1016
1121
|
type: "script";
|
|
1017
1122
|
initialRoute: string;
|
|
1018
1123
|
portNumber: number;
|
|
1124
|
+
} | {
|
|
1125
|
+
type: "export";
|
|
1126
|
+
pathname: string;
|
|
1019
1127
|
} | {
|
|
1020
1128
|
type: "none";
|
|
1021
1129
|
};
|
|
@@ -1050,6 +1158,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1050
1158
|
type: "script";
|
|
1051
1159
|
initialRoute: string;
|
|
1052
1160
|
portNumber: number;
|
|
1161
|
+
} | {
|
|
1162
|
+
type: "export";
|
|
1163
|
+
pathname: string;
|
|
1053
1164
|
} | {
|
|
1054
1165
|
type: "none";
|
|
1055
1166
|
};
|
|
@@ -1086,6 +1197,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1086
1197
|
type: "script";
|
|
1087
1198
|
initialRoute: string;
|
|
1088
1199
|
portNumber: number;
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "export";
|
|
1202
|
+
pathname: string;
|
|
1089
1203
|
} | {
|
|
1090
1204
|
type: "none";
|
|
1091
1205
|
};
|
|
@@ -1120,6 +1234,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1120
1234
|
type: "script";
|
|
1121
1235
|
initialRoute: string;
|
|
1122
1236
|
portNumber: number;
|
|
1237
|
+
} | {
|
|
1238
|
+
type: "export";
|
|
1239
|
+
pathname: string;
|
|
1123
1240
|
} | {
|
|
1124
1241
|
type: "none";
|
|
1125
1242
|
};
|
|
@@ -1194,6 +1311,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1194
1311
|
type: "script";
|
|
1195
1312
|
initialRoute: string;
|
|
1196
1313
|
portNumber: number;
|
|
1314
|
+
}>, z.ZodObject<{
|
|
1315
|
+
type: z.ZodLiteral<"export">;
|
|
1316
|
+
pathname: z.ZodString;
|
|
1317
|
+
}, "strip", z.ZodTypeAny, {
|
|
1318
|
+
type: "export";
|
|
1319
|
+
pathname: string;
|
|
1320
|
+
}, {
|
|
1321
|
+
type: "export";
|
|
1322
|
+
pathname: string;
|
|
1197
1323
|
}>, z.ZodObject<{
|
|
1198
1324
|
type: z.ZodLiteral<"none">;
|
|
1199
1325
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1230,6 +1356,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1230
1356
|
type: "script";
|
|
1231
1357
|
initialRoute: string;
|
|
1232
1358
|
portNumber: number;
|
|
1359
|
+
} | {
|
|
1360
|
+
type: "export";
|
|
1361
|
+
pathname: string;
|
|
1233
1362
|
} | {
|
|
1234
1363
|
type: "none";
|
|
1235
1364
|
};
|
|
@@ -1263,6 +1392,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1263
1392
|
type: "script";
|
|
1264
1393
|
initialRoute: string;
|
|
1265
1394
|
portNumber: number;
|
|
1395
|
+
} | {
|
|
1396
|
+
type: "export";
|
|
1397
|
+
pathname: string;
|
|
1266
1398
|
} | {
|
|
1267
1399
|
type: "none";
|
|
1268
1400
|
};
|
|
@@ -1300,6 +1432,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1300
1432
|
type: "script";
|
|
1301
1433
|
initialRoute: string;
|
|
1302
1434
|
portNumber: number;
|
|
1435
|
+
} | {
|
|
1436
|
+
type: "export";
|
|
1437
|
+
pathname: string;
|
|
1303
1438
|
} | {
|
|
1304
1439
|
type: "none";
|
|
1305
1440
|
};
|
|
@@ -1337,6 +1472,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1337
1472
|
type: "script";
|
|
1338
1473
|
initialRoute: string;
|
|
1339
1474
|
portNumber: number;
|
|
1475
|
+
} | {
|
|
1476
|
+
type: "export";
|
|
1477
|
+
pathname: string;
|
|
1340
1478
|
} | {
|
|
1341
1479
|
type: "none";
|
|
1342
1480
|
};
|
|
@@ -1413,6 +1551,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1413
1551
|
type: "script";
|
|
1414
1552
|
initialRoute: string;
|
|
1415
1553
|
portNumber: number;
|
|
1554
|
+
}>, z.ZodObject<{
|
|
1555
|
+
type: z.ZodLiteral<"export">;
|
|
1556
|
+
pathname: z.ZodString;
|
|
1557
|
+
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
type: "export";
|
|
1559
|
+
pathname: string;
|
|
1560
|
+
}, {
|
|
1561
|
+
type: "export";
|
|
1562
|
+
pathname: string;
|
|
1416
1563
|
}>, z.ZodObject<{
|
|
1417
1564
|
type: z.ZodLiteral<"none">;
|
|
1418
1565
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1449,6 +1596,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1449
1596
|
type: "script";
|
|
1450
1597
|
initialRoute: string;
|
|
1451
1598
|
portNumber: number;
|
|
1599
|
+
} | {
|
|
1600
|
+
type: "export";
|
|
1601
|
+
pathname: string;
|
|
1452
1602
|
} | {
|
|
1453
1603
|
type: "none";
|
|
1454
1604
|
};
|
|
@@ -1482,6 +1632,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1482
1632
|
type: "script";
|
|
1483
1633
|
initialRoute: string;
|
|
1484
1634
|
portNumber: number;
|
|
1635
|
+
} | {
|
|
1636
|
+
type: "export";
|
|
1637
|
+
pathname: string;
|
|
1485
1638
|
} | {
|
|
1486
1639
|
type: "none";
|
|
1487
1640
|
};
|
|
@@ -1518,6 +1671,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1518
1671
|
type: "script";
|
|
1519
1672
|
initialRoute: string;
|
|
1520
1673
|
portNumber: number;
|
|
1674
|
+
} | {
|
|
1675
|
+
type: "export";
|
|
1676
|
+
pathname: string;
|
|
1521
1677
|
} | {
|
|
1522
1678
|
type: "none";
|
|
1523
1679
|
};
|
|
@@ -1555,6 +1711,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1555
1711
|
type: "script";
|
|
1556
1712
|
initialRoute: string;
|
|
1557
1713
|
portNumber: number;
|
|
1714
|
+
} | {
|
|
1715
|
+
type: "export";
|
|
1716
|
+
pathname: string;
|
|
1558
1717
|
} | {
|
|
1559
1718
|
type: "none";
|
|
1560
1719
|
};
|
|
@@ -1592,6 +1751,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1592
1751
|
type: "script";
|
|
1593
1752
|
initialRoute: string;
|
|
1594
1753
|
portNumber: number;
|
|
1754
|
+
} | {
|
|
1755
|
+
type: "export";
|
|
1756
|
+
pathname: string;
|
|
1595
1757
|
} | {
|
|
1596
1758
|
type: "none";
|
|
1597
1759
|
};
|
|
@@ -1626,6 +1788,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1626
1788
|
type: "script";
|
|
1627
1789
|
initialRoute: string;
|
|
1628
1790
|
portNumber: number;
|
|
1791
|
+
} | {
|
|
1792
|
+
type: "export";
|
|
1793
|
+
pathname: string;
|
|
1629
1794
|
} | {
|
|
1630
1795
|
type: "none";
|
|
1631
1796
|
};
|
|
@@ -1662,6 +1827,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1662
1827
|
type: "script";
|
|
1663
1828
|
initialRoute: string;
|
|
1664
1829
|
portNumber: number;
|
|
1830
|
+
} | {
|
|
1831
|
+
type: "export";
|
|
1832
|
+
pathname: string;
|
|
1665
1833
|
} | {
|
|
1666
1834
|
type: "none";
|
|
1667
1835
|
};
|
|
@@ -1699,6 +1867,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1699
1867
|
type: "script";
|
|
1700
1868
|
initialRoute: string;
|
|
1701
1869
|
portNumber: number;
|
|
1870
|
+
} | {
|
|
1871
|
+
type: "export";
|
|
1872
|
+
pathname: string;
|
|
1702
1873
|
} | {
|
|
1703
1874
|
type: "none";
|
|
1704
1875
|
};
|
|
@@ -1736,6 +1907,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1736
1907
|
type: "script";
|
|
1737
1908
|
initialRoute: string;
|
|
1738
1909
|
portNumber: number;
|
|
1910
|
+
} | {
|
|
1911
|
+
type: "export";
|
|
1912
|
+
pathname: string;
|
|
1739
1913
|
} | {
|
|
1740
1914
|
type: "none";
|
|
1741
1915
|
};
|
|
@@ -1770,6 +1944,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1770
1944
|
type: "script";
|
|
1771
1945
|
initialRoute: string;
|
|
1772
1946
|
portNumber: number;
|
|
1947
|
+
} | {
|
|
1948
|
+
type: "export";
|
|
1949
|
+
pathname: string;
|
|
1773
1950
|
} | {
|
|
1774
1951
|
type: "none";
|
|
1775
1952
|
};
|
|
@@ -1806,6 +1983,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1806
1983
|
type: "script";
|
|
1807
1984
|
initialRoute: string;
|
|
1808
1985
|
portNumber: number;
|
|
1986
|
+
} | {
|
|
1987
|
+
type: "export";
|
|
1988
|
+
pathname: string;
|
|
1809
1989
|
} | {
|
|
1810
1990
|
type: "none";
|
|
1811
1991
|
};
|
|
@@ -1843,6 +2023,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1843
2023
|
type: "script";
|
|
1844
2024
|
initialRoute: string;
|
|
1845
2025
|
portNumber: number;
|
|
2026
|
+
} | {
|
|
2027
|
+
type: "export";
|
|
2028
|
+
pathname: string;
|
|
1846
2029
|
} | {
|
|
1847
2030
|
type: "none";
|
|
1848
2031
|
};
|
|
@@ -1917,6 +2100,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1917
2100
|
type: "script";
|
|
1918
2101
|
initialRoute: string;
|
|
1919
2102
|
portNumber: number;
|
|
2103
|
+
}>, z.ZodObject<{
|
|
2104
|
+
type: z.ZodLiteral<"export">;
|
|
2105
|
+
pathname: z.ZodString;
|
|
2106
|
+
}, "strip", z.ZodTypeAny, {
|
|
2107
|
+
type: "export";
|
|
2108
|
+
pathname: string;
|
|
2109
|
+
}, {
|
|
2110
|
+
type: "export";
|
|
2111
|
+
pathname: string;
|
|
1920
2112
|
}>, z.ZodObject<{
|
|
1921
2113
|
type: z.ZodLiteral<"none">;
|
|
1922
2114
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1953,6 +2145,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1953
2145
|
type: "script";
|
|
1954
2146
|
initialRoute: string;
|
|
1955
2147
|
portNumber: number;
|
|
2148
|
+
} | {
|
|
2149
|
+
type: "export";
|
|
2150
|
+
pathname: string;
|
|
1956
2151
|
} | {
|
|
1957
2152
|
type: "none";
|
|
1958
2153
|
};
|
|
@@ -1986,6 +2181,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
1986
2181
|
type: "script";
|
|
1987
2182
|
initialRoute: string;
|
|
1988
2183
|
portNumber: number;
|
|
2184
|
+
} | {
|
|
2185
|
+
type: "export";
|
|
2186
|
+
pathname: string;
|
|
1989
2187
|
} | {
|
|
1990
2188
|
type: "none";
|
|
1991
2189
|
};
|
|
@@ -2058,6 +2256,15 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2058
2256
|
type: "script";
|
|
2059
2257
|
initialRoute: string;
|
|
2060
2258
|
portNumber: number;
|
|
2259
|
+
}>, z.ZodObject<{
|
|
2260
|
+
type: z.ZodLiteral<"export">;
|
|
2261
|
+
pathname: z.ZodString;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
type: "export";
|
|
2264
|
+
pathname: string;
|
|
2265
|
+
}, {
|
|
2266
|
+
type: "export";
|
|
2267
|
+
pathname: string;
|
|
2061
2268
|
}>, z.ZodObject<{
|
|
2062
2269
|
type: z.ZodLiteral<"none">;
|
|
2063
2270
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2094,6 +2301,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2094
2301
|
type: "script";
|
|
2095
2302
|
initialRoute: string;
|
|
2096
2303
|
portNumber: number;
|
|
2304
|
+
} | {
|
|
2305
|
+
type: "export";
|
|
2306
|
+
pathname: string;
|
|
2097
2307
|
} | {
|
|
2098
2308
|
type: "none";
|
|
2099
2309
|
};
|
|
@@ -2127,6 +2337,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2127
2337
|
type: "script";
|
|
2128
2338
|
initialRoute: string;
|
|
2129
2339
|
portNumber: number;
|
|
2340
|
+
} | {
|
|
2341
|
+
type: "export";
|
|
2342
|
+
pathname: string;
|
|
2130
2343
|
} | {
|
|
2131
2344
|
type: "none";
|
|
2132
2345
|
};
|
|
@@ -2168,6 +2381,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2168
2381
|
type: "script";
|
|
2169
2382
|
initialRoute: string;
|
|
2170
2383
|
portNumber: number;
|
|
2384
|
+
} | {
|
|
2385
|
+
type: "export";
|
|
2386
|
+
pathname: string;
|
|
2171
2387
|
} | {
|
|
2172
2388
|
type: "none";
|
|
2173
2389
|
};
|
|
@@ -2202,6 +2418,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2202
2418
|
type: "script";
|
|
2203
2419
|
initialRoute: string;
|
|
2204
2420
|
portNumber: number;
|
|
2421
|
+
} | {
|
|
2422
|
+
type: "export";
|
|
2423
|
+
pathname: string;
|
|
2205
2424
|
} | {
|
|
2206
2425
|
type: "none";
|
|
2207
2426
|
};
|
|
@@ -2238,6 +2457,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2238
2457
|
type: "script";
|
|
2239
2458
|
initialRoute: string;
|
|
2240
2459
|
portNumber: number;
|
|
2460
|
+
} | {
|
|
2461
|
+
type: "export";
|
|
2462
|
+
pathname: string;
|
|
2241
2463
|
} | {
|
|
2242
2464
|
type: "none";
|
|
2243
2465
|
};
|
|
@@ -2275,6 +2497,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2275
2497
|
type: "script";
|
|
2276
2498
|
initialRoute: string;
|
|
2277
2499
|
portNumber: number;
|
|
2500
|
+
} | {
|
|
2501
|
+
type: "export";
|
|
2502
|
+
pathname: string;
|
|
2278
2503
|
} | {
|
|
2279
2504
|
type: "none";
|
|
2280
2505
|
};
|
|
@@ -2311,6 +2536,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2311
2536
|
type: "script";
|
|
2312
2537
|
initialRoute: string;
|
|
2313
2538
|
portNumber: number;
|
|
2539
|
+
} | {
|
|
2540
|
+
type: "export";
|
|
2541
|
+
pathname: string;
|
|
2314
2542
|
} | {
|
|
2315
2543
|
type: "none";
|
|
2316
2544
|
};
|
|
@@ -2345,6 +2573,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2345
2573
|
type: "script";
|
|
2346
2574
|
initialRoute: string;
|
|
2347
2575
|
portNumber: number;
|
|
2576
|
+
} | {
|
|
2577
|
+
type: "export";
|
|
2578
|
+
pathname: string;
|
|
2348
2579
|
} | {
|
|
2349
2580
|
type: "none";
|
|
2350
2581
|
};
|
|
@@ -2390,6 +2621,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2390
2621
|
type: "script";
|
|
2391
2622
|
initialRoute: string;
|
|
2392
2623
|
portNumber: number;
|
|
2624
|
+
} | {
|
|
2625
|
+
type: "export";
|
|
2626
|
+
pathname: string;
|
|
2393
2627
|
} | {
|
|
2394
2628
|
type: "none";
|
|
2395
2629
|
};
|
|
@@ -2424,6 +2658,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2424
2658
|
type: "script";
|
|
2425
2659
|
initialRoute: string;
|
|
2426
2660
|
portNumber: number;
|
|
2661
|
+
} | {
|
|
2662
|
+
type: "export";
|
|
2663
|
+
pathname: string;
|
|
2427
2664
|
} | {
|
|
2428
2665
|
type: "none";
|
|
2429
2666
|
};
|
|
@@ -2460,6 +2697,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2460
2697
|
type: "script";
|
|
2461
2698
|
initialRoute: string;
|
|
2462
2699
|
portNumber: number;
|
|
2700
|
+
} | {
|
|
2701
|
+
type: "export";
|
|
2702
|
+
pathname: string;
|
|
2463
2703
|
} | {
|
|
2464
2704
|
type: "none";
|
|
2465
2705
|
};
|
|
@@ -2497,6 +2737,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2497
2737
|
type: "script";
|
|
2498
2738
|
initialRoute: string;
|
|
2499
2739
|
portNumber: number;
|
|
2740
|
+
} | {
|
|
2741
|
+
type: "export";
|
|
2742
|
+
pathname: string;
|
|
2500
2743
|
} | {
|
|
2501
2744
|
type: "none";
|
|
2502
2745
|
};
|
|
@@ -2533,6 +2776,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2533
2776
|
type: "script";
|
|
2534
2777
|
initialRoute: string;
|
|
2535
2778
|
portNumber: number;
|
|
2779
|
+
} | {
|
|
2780
|
+
type: "export";
|
|
2781
|
+
pathname: string;
|
|
2536
2782
|
} | {
|
|
2537
2783
|
type: "none";
|
|
2538
2784
|
};
|
|
@@ -2567,6 +2813,9 @@ declare const ExerciseSchema: z.ZodObject<{
|
|
|
2567
2813
|
type: "script";
|
|
2568
2814
|
initialRoute: string;
|
|
2569
2815
|
portNumber: number;
|
|
2816
|
+
} | {
|
|
2817
|
+
type: "export";
|
|
2818
|
+
pathname: string;
|
|
2570
2819
|
} | {
|
|
2571
2820
|
type: "none";
|
|
2572
2821
|
};
|
|
@@ -2644,6 +2893,15 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2644
2893
|
type: "script";
|
|
2645
2894
|
initialRoute: string;
|
|
2646
2895
|
portNumber: number;
|
|
2896
|
+
}>, z.ZodObject<{
|
|
2897
|
+
type: z.ZodLiteral<"export">;
|
|
2898
|
+
pathname: z.ZodString;
|
|
2899
|
+
}, "strip", z.ZodTypeAny, {
|
|
2900
|
+
type: "export";
|
|
2901
|
+
pathname: string;
|
|
2902
|
+
}, {
|
|
2903
|
+
type: "export";
|
|
2904
|
+
pathname: string;
|
|
2647
2905
|
}>, z.ZodObject<{
|
|
2648
2906
|
type: z.ZodLiteral<"none">;
|
|
2649
2907
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2680,6 +2938,9 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2680
2938
|
type: "script";
|
|
2681
2939
|
initialRoute: string;
|
|
2682
2940
|
portNumber: number;
|
|
2941
|
+
} | {
|
|
2942
|
+
type: "export";
|
|
2943
|
+
pathname: string;
|
|
2683
2944
|
} | {
|
|
2684
2945
|
type: "none";
|
|
2685
2946
|
};
|
|
@@ -2713,6 +2974,9 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2713
2974
|
type: "script";
|
|
2714
2975
|
initialRoute: string;
|
|
2715
2976
|
portNumber: number;
|
|
2977
|
+
} | {
|
|
2978
|
+
type: "export";
|
|
2979
|
+
pathname: string;
|
|
2716
2980
|
} | {
|
|
2717
2981
|
type: "none";
|
|
2718
2982
|
};
|
|
@@ -2784,6 +3048,15 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2784
3048
|
type: "script";
|
|
2785
3049
|
initialRoute: string;
|
|
2786
3050
|
portNumber: number;
|
|
3051
|
+
}>, z.ZodObject<{
|
|
3052
|
+
type: z.ZodLiteral<"export">;
|
|
3053
|
+
pathname: z.ZodString;
|
|
3054
|
+
}, "strip", z.ZodTypeAny, {
|
|
3055
|
+
type: "export";
|
|
3056
|
+
pathname: string;
|
|
3057
|
+
}, {
|
|
3058
|
+
type: "export";
|
|
3059
|
+
pathname: string;
|
|
2787
3060
|
}>, z.ZodObject<{
|
|
2788
3061
|
type: z.ZodLiteral<"none">;
|
|
2789
3062
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2820,6 +3093,9 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2820
3093
|
type: "script";
|
|
2821
3094
|
initialRoute: string;
|
|
2822
3095
|
portNumber: number;
|
|
3096
|
+
} | {
|
|
3097
|
+
type: "export";
|
|
3098
|
+
pathname: string;
|
|
2823
3099
|
} | {
|
|
2824
3100
|
type: "none";
|
|
2825
3101
|
};
|
|
@@ -2853,6 +3129,9 @@ declare const ExerciseStepAppSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2853
3129
|
type: "script";
|
|
2854
3130
|
initialRoute: string;
|
|
2855
3131
|
portNumber: number;
|
|
3132
|
+
} | {
|
|
3133
|
+
type: "export";
|
|
3134
|
+
pathname: string;
|
|
2856
3135
|
} | {
|
|
2857
3136
|
type: "none";
|
|
2858
3137
|
};
|
|
@@ -2925,6 +3204,15 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2925
3204
|
type: "script";
|
|
2926
3205
|
initialRoute: string;
|
|
2927
3206
|
portNumber: number;
|
|
3207
|
+
}>, z.ZodObject<{
|
|
3208
|
+
type: z.ZodLiteral<"export">;
|
|
3209
|
+
pathname: z.ZodString;
|
|
3210
|
+
}, "strip", z.ZodTypeAny, {
|
|
3211
|
+
type: "export";
|
|
3212
|
+
pathname: string;
|
|
3213
|
+
}, {
|
|
3214
|
+
type: "export";
|
|
3215
|
+
pathname: string;
|
|
2928
3216
|
}>, z.ZodObject<{
|
|
2929
3217
|
type: z.ZodLiteral<"none">;
|
|
2930
3218
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2961,6 +3249,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2961
3249
|
type: "script";
|
|
2962
3250
|
initialRoute: string;
|
|
2963
3251
|
portNumber: number;
|
|
3252
|
+
} | {
|
|
3253
|
+
type: "export";
|
|
3254
|
+
pathname: string;
|
|
2964
3255
|
} | {
|
|
2965
3256
|
type: "none";
|
|
2966
3257
|
};
|
|
@@ -2994,6 +3285,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2994
3285
|
type: "script";
|
|
2995
3286
|
initialRoute: string;
|
|
2996
3287
|
portNumber: number;
|
|
3288
|
+
} | {
|
|
3289
|
+
type: "export";
|
|
3290
|
+
pathname: string;
|
|
2997
3291
|
} | {
|
|
2998
3292
|
type: "none";
|
|
2999
3293
|
};
|
|
@@ -3065,6 +3359,15 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3065
3359
|
type: "script";
|
|
3066
3360
|
initialRoute: string;
|
|
3067
3361
|
portNumber: number;
|
|
3362
|
+
}>, z.ZodObject<{
|
|
3363
|
+
type: z.ZodLiteral<"export">;
|
|
3364
|
+
pathname: z.ZodString;
|
|
3365
|
+
}, "strip", z.ZodTypeAny, {
|
|
3366
|
+
type: "export";
|
|
3367
|
+
pathname: string;
|
|
3368
|
+
}, {
|
|
3369
|
+
type: "export";
|
|
3370
|
+
pathname: string;
|
|
3068
3371
|
}>, z.ZodObject<{
|
|
3069
3372
|
type: z.ZodLiteral<"none">;
|
|
3070
3373
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3101,6 +3404,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3101
3404
|
type: "script";
|
|
3102
3405
|
initialRoute: string;
|
|
3103
3406
|
portNumber: number;
|
|
3407
|
+
} | {
|
|
3408
|
+
type: "export";
|
|
3409
|
+
pathname: string;
|
|
3104
3410
|
} | {
|
|
3105
3411
|
type: "none";
|
|
3106
3412
|
};
|
|
@@ -3134,6 +3440,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3134
3440
|
type: "script";
|
|
3135
3441
|
initialRoute: string;
|
|
3136
3442
|
portNumber: number;
|
|
3443
|
+
} | {
|
|
3444
|
+
type: "export";
|
|
3445
|
+
pathname: string;
|
|
3137
3446
|
} | {
|
|
3138
3447
|
type: "none";
|
|
3139
3448
|
};
|
|
@@ -3205,6 +3514,15 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3205
3514
|
type: "script";
|
|
3206
3515
|
initialRoute: string;
|
|
3207
3516
|
portNumber: number;
|
|
3517
|
+
}>, z.ZodObject<{
|
|
3518
|
+
type: z.ZodLiteral<"export">;
|
|
3519
|
+
pathname: z.ZodString;
|
|
3520
|
+
}, "strip", z.ZodTypeAny, {
|
|
3521
|
+
type: "export";
|
|
3522
|
+
pathname: string;
|
|
3523
|
+
}, {
|
|
3524
|
+
type: "export";
|
|
3525
|
+
pathname: string;
|
|
3208
3526
|
}>, z.ZodObject<{
|
|
3209
3527
|
type: z.ZodLiteral<"none">;
|
|
3210
3528
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3239,6 +3557,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3239
3557
|
type: "script";
|
|
3240
3558
|
initialRoute: string;
|
|
3241
3559
|
portNumber: number;
|
|
3560
|
+
} | {
|
|
3561
|
+
type: "export";
|
|
3562
|
+
pathname: string;
|
|
3242
3563
|
} | {
|
|
3243
3564
|
type: "none";
|
|
3244
3565
|
};
|
|
@@ -3271,6 +3592,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3271
3592
|
type: "script";
|
|
3272
3593
|
initialRoute: string;
|
|
3273
3594
|
portNumber: number;
|
|
3595
|
+
} | {
|
|
3596
|
+
type: "export";
|
|
3597
|
+
pathname: string;
|
|
3274
3598
|
} | {
|
|
3275
3599
|
type: "none";
|
|
3276
3600
|
};
|
|
@@ -3341,6 +3665,15 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3341
3665
|
type: "script";
|
|
3342
3666
|
initialRoute: string;
|
|
3343
3667
|
portNumber: number;
|
|
3668
|
+
}>, z.ZodObject<{
|
|
3669
|
+
type: z.ZodLiteral<"export">;
|
|
3670
|
+
pathname: z.ZodString;
|
|
3671
|
+
}, "strip", z.ZodTypeAny, {
|
|
3672
|
+
type: "export";
|
|
3673
|
+
pathname: string;
|
|
3674
|
+
}, {
|
|
3675
|
+
type: "export";
|
|
3676
|
+
pathname: string;
|
|
3344
3677
|
}>, z.ZodObject<{
|
|
3345
3678
|
type: z.ZodLiteral<"none">;
|
|
3346
3679
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3373,6 +3706,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3373
3706
|
type: "script";
|
|
3374
3707
|
initialRoute: string;
|
|
3375
3708
|
portNumber: number;
|
|
3709
|
+
} | {
|
|
3710
|
+
type: "export";
|
|
3711
|
+
pathname: string;
|
|
3376
3712
|
} | {
|
|
3377
3713
|
type: "none";
|
|
3378
3714
|
};
|
|
@@ -3403,6 +3739,9 @@ declare const AppSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
3403
3739
|
type: "script";
|
|
3404
3740
|
initialRoute: string;
|
|
3405
3741
|
portNumber: number;
|
|
3742
|
+
} | {
|
|
3743
|
+
type: "export";
|
|
3744
|
+
pathname: string;
|
|
3406
3745
|
} | {
|
|
3407
3746
|
type: "none";
|
|
3408
3747
|
};
|
|
@@ -3493,6 +3832,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3493
3832
|
type: "script";
|
|
3494
3833
|
initialRoute: string;
|
|
3495
3834
|
portNumber: number;
|
|
3835
|
+
} | {
|
|
3836
|
+
type: "export";
|
|
3837
|
+
pathname: string;
|
|
3496
3838
|
} | {
|
|
3497
3839
|
type: "none";
|
|
3498
3840
|
};
|
|
@@ -3527,6 +3869,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3527
3869
|
type: "script";
|
|
3528
3870
|
initialRoute: string;
|
|
3529
3871
|
portNumber: number;
|
|
3872
|
+
} | {
|
|
3873
|
+
type: "export";
|
|
3874
|
+
pathname: string;
|
|
3530
3875
|
} | {
|
|
3531
3876
|
type: "none";
|
|
3532
3877
|
};
|
|
@@ -3563,6 +3908,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3563
3908
|
type: "script";
|
|
3564
3909
|
initialRoute: string;
|
|
3565
3910
|
portNumber: number;
|
|
3911
|
+
} | {
|
|
3912
|
+
type: "export";
|
|
3913
|
+
pathname: string;
|
|
3566
3914
|
} | {
|
|
3567
3915
|
type: "none";
|
|
3568
3916
|
};
|
|
@@ -3600,6 +3948,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3600
3948
|
type: "script";
|
|
3601
3949
|
initialRoute: string;
|
|
3602
3950
|
portNumber: number;
|
|
3951
|
+
} | {
|
|
3952
|
+
type: "export";
|
|
3953
|
+
pathname: string;
|
|
3603
3954
|
} | {
|
|
3604
3955
|
type: "none";
|
|
3605
3956
|
};
|
|
@@ -3636,6 +3987,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3636
3987
|
type: "script";
|
|
3637
3988
|
initialRoute: string;
|
|
3638
3989
|
portNumber: number;
|
|
3990
|
+
} | {
|
|
3991
|
+
type: "export";
|
|
3992
|
+
pathname: string;
|
|
3639
3993
|
} | {
|
|
3640
3994
|
type: "none";
|
|
3641
3995
|
};
|
|
@@ -3670,6 +4024,9 @@ export declare function getExercise(exerciseNumber: number | string, { request,
|
|
|
3670
4024
|
type: "script";
|
|
3671
4025
|
initialRoute: string;
|
|
3672
4026
|
portNumber: number;
|
|
4027
|
+
} | {
|
|
4028
|
+
type: "export";
|
|
4029
|
+
pathname: string;
|
|
3673
4030
|
} | {
|
|
3674
4031
|
type: "none";
|
|
3675
4032
|
};
|
|
@@ -3716,6 +4073,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3716
4073
|
type: "script";
|
|
3717
4074
|
initialRoute: string;
|
|
3718
4075
|
portNumber: number;
|
|
4076
|
+
} | {
|
|
4077
|
+
type: "export";
|
|
4078
|
+
pathname: string;
|
|
3719
4079
|
} | {
|
|
3720
4080
|
type: "none";
|
|
3721
4081
|
};
|
|
@@ -3750,6 +4110,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3750
4110
|
type: "script";
|
|
3751
4111
|
initialRoute: string;
|
|
3752
4112
|
portNumber: number;
|
|
4113
|
+
} | {
|
|
4114
|
+
type: "export";
|
|
4115
|
+
pathname: string;
|
|
3753
4116
|
} | {
|
|
3754
4117
|
type: "none";
|
|
3755
4118
|
};
|
|
@@ -3786,6 +4149,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3786
4149
|
type: "script";
|
|
3787
4150
|
initialRoute: string;
|
|
3788
4151
|
portNumber: number;
|
|
4152
|
+
} | {
|
|
4153
|
+
type: "export";
|
|
4154
|
+
pathname: string;
|
|
3789
4155
|
} | {
|
|
3790
4156
|
type: "none";
|
|
3791
4157
|
};
|
|
@@ -3823,6 +4189,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3823
4189
|
type: "script";
|
|
3824
4190
|
initialRoute: string;
|
|
3825
4191
|
portNumber: number;
|
|
4192
|
+
} | {
|
|
4193
|
+
type: "export";
|
|
4194
|
+
pathname: string;
|
|
3826
4195
|
} | {
|
|
3827
4196
|
type: "none";
|
|
3828
4197
|
};
|
|
@@ -3859,6 +4228,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3859
4228
|
type: "script";
|
|
3860
4229
|
initialRoute: string;
|
|
3861
4230
|
portNumber: number;
|
|
4231
|
+
} | {
|
|
4232
|
+
type: "export";
|
|
4233
|
+
pathname: string;
|
|
3862
4234
|
} | {
|
|
3863
4235
|
type: "none";
|
|
3864
4236
|
};
|
|
@@ -3893,6 +4265,9 @@ export declare function requireExercise(exerciseNumber: number | string, { reque
|
|
|
3893
4265
|
type: "script";
|
|
3894
4266
|
initialRoute: string;
|
|
3895
4267
|
portNumber: number;
|
|
4268
|
+
} | {
|
|
4269
|
+
type: "export";
|
|
4270
|
+
pathname: string;
|
|
3896
4271
|
} | {
|
|
3897
4272
|
type: "none";
|
|
3898
4273
|
};
|
|
@@ -3932,6 +4307,9 @@ export declare function requireExerciseApp(params: Parameters<typeof getExercise
|
|
|
3932
4307
|
type: "script";
|
|
3933
4308
|
initialRoute: string;
|
|
3934
4309
|
portNumber: number;
|
|
4310
|
+
} | {
|
|
4311
|
+
type: "export";
|
|
4312
|
+
pathname: string;
|
|
3935
4313
|
} | {
|
|
3936
4314
|
type: "none";
|
|
3937
4315
|
};
|
|
@@ -3965,6 +4343,9 @@ export declare function requireExerciseApp(params: Parameters<typeof getExercise
|
|
|
3965
4343
|
type: "script";
|
|
3966
4344
|
initialRoute: string;
|
|
3967
4345
|
portNumber: number;
|
|
4346
|
+
} | {
|
|
4347
|
+
type: "export";
|
|
4348
|
+
pathname: string;
|
|
3968
4349
|
} | {
|
|
3969
4350
|
type: "none";
|
|
3970
4351
|
};
|
|
@@ -4003,6 +4384,9 @@ export declare function getExerciseApp(params: {
|
|
|
4003
4384
|
type: "script";
|
|
4004
4385
|
initialRoute: string;
|
|
4005
4386
|
portNumber: number;
|
|
4387
|
+
} | {
|
|
4388
|
+
type: "export";
|
|
4389
|
+
pathname: string;
|
|
4006
4390
|
} | {
|
|
4007
4391
|
type: "none";
|
|
4008
4392
|
};
|
|
@@ -4036,6 +4420,9 @@ export declare function getExerciseApp(params: {
|
|
|
4036
4420
|
type: "script";
|
|
4037
4421
|
initialRoute: string;
|
|
4038
4422
|
portNumber: number;
|
|
4423
|
+
} | {
|
|
4424
|
+
type: "export";
|
|
4425
|
+
pathname: string;
|
|
4039
4426
|
} | {
|
|
4040
4427
|
type: "none";
|
|
4041
4428
|
};
|
|
@@ -4070,6 +4457,9 @@ export declare function getAppByName(name: string, { request, timings }?: Cachif
|
|
|
4070
4457
|
type: "script";
|
|
4071
4458
|
initialRoute: string;
|
|
4072
4459
|
portNumber: number;
|
|
4460
|
+
} | {
|
|
4461
|
+
type: "export";
|
|
4462
|
+
pathname: string;
|
|
4073
4463
|
} | {
|
|
4074
4464
|
type: "none";
|
|
4075
4465
|
};
|
|
@@ -4103,6 +4493,9 @@ export declare function getAppByName(name: string, { request, timings }?: Cachif
|
|
|
4103
4493
|
type: "script";
|
|
4104
4494
|
initialRoute: string;
|
|
4105
4495
|
portNumber: number;
|
|
4496
|
+
} | {
|
|
4497
|
+
type: "export";
|
|
4498
|
+
pathname: string;
|
|
4106
4499
|
} | {
|
|
4107
4500
|
type: "none";
|
|
4108
4501
|
};
|
|
@@ -4136,6 +4529,9 @@ export declare function getAppByName(name: string, { request, timings }?: Cachif
|
|
|
4136
4529
|
type: "script";
|
|
4137
4530
|
initialRoute: string;
|
|
4138
4531
|
portNumber: number;
|
|
4532
|
+
} | {
|
|
4533
|
+
type: "export";
|
|
4534
|
+
pathname: string;
|
|
4139
4535
|
} | {
|
|
4140
4536
|
type: "none";
|
|
4141
4537
|
};
|
|
@@ -4166,6 +4562,9 @@ export declare function getAppByName(name: string, { request, timings }?: Cachif
|
|
|
4166
4562
|
type: "script";
|
|
4167
4563
|
initialRoute: string;
|
|
4168
4564
|
portNumber: number;
|
|
4565
|
+
} | {
|
|
4566
|
+
type: "export";
|
|
4567
|
+
pathname: string;
|
|
4169
4568
|
} | {
|
|
4170
4569
|
type: "none";
|
|
4171
4570
|
};
|
|
@@ -4199,6 +4598,9 @@ export declare function getNextExerciseApp(app: ExerciseStepApp, { request, timi
|
|
|
4199
4598
|
type: "script";
|
|
4200
4599
|
initialRoute: string;
|
|
4201
4600
|
portNumber: number;
|
|
4601
|
+
} | {
|
|
4602
|
+
type: "export";
|
|
4603
|
+
pathname: string;
|
|
4202
4604
|
} | {
|
|
4203
4605
|
type: "none";
|
|
4204
4606
|
};
|
|
@@ -4232,6 +4634,9 @@ export declare function getNextExerciseApp(app: ExerciseStepApp, { request, timi
|
|
|
4232
4634
|
type: "script";
|
|
4233
4635
|
initialRoute: string;
|
|
4234
4636
|
portNumber: number;
|
|
4637
|
+
} | {
|
|
4638
|
+
type: "export";
|
|
4639
|
+
pathname: string;
|
|
4235
4640
|
} | {
|
|
4236
4641
|
type: "none";
|
|
4237
4642
|
};
|
|
@@ -4266,6 +4671,9 @@ export declare function getPrevExerciseApp(app: ExerciseStepApp, { request, timi
|
|
|
4266
4671
|
type: "script";
|
|
4267
4672
|
initialRoute: string;
|
|
4268
4673
|
portNumber: number;
|
|
4674
|
+
} | {
|
|
4675
|
+
type: "export";
|
|
4676
|
+
pathname: string;
|
|
4269
4677
|
} | {
|
|
4270
4678
|
type: "none";
|
|
4271
4679
|
};
|
|
@@ -4299,6 +4707,9 @@ export declare function getPrevExerciseApp(app: ExerciseStepApp, { request, timi
|
|
|
4299
4707
|
type: "script";
|
|
4300
4708
|
initialRoute: string;
|
|
4301
4709
|
portNumber: number;
|
|
4710
|
+
} | {
|
|
4711
|
+
type: "export";
|
|
4712
|
+
pathname: string;
|
|
4302
4713
|
} | {
|
|
4303
4714
|
type: "none";
|
|
4304
4715
|
};
|
|
@@ -4340,6 +4751,9 @@ export declare function getAppFromFile(filePath: string): Promise<{
|
|
|
4340
4751
|
type: "script";
|
|
4341
4752
|
initialRoute: string;
|
|
4342
4753
|
portNumber: number;
|
|
4754
|
+
} | {
|
|
4755
|
+
type: "export";
|
|
4756
|
+
pathname: string;
|
|
4343
4757
|
} | {
|
|
4344
4758
|
type: "none";
|
|
4345
4759
|
};
|
|
@@ -4373,6 +4787,9 @@ export declare function getAppFromFile(filePath: string): Promise<{
|
|
|
4373
4787
|
type: "script";
|
|
4374
4788
|
initialRoute: string;
|
|
4375
4789
|
portNumber: number;
|
|
4790
|
+
} | {
|
|
4791
|
+
type: "export";
|
|
4792
|
+
pathname: string;
|
|
4376
4793
|
} | {
|
|
4377
4794
|
type: "none";
|
|
4378
4795
|
};
|
|
@@ -4406,6 +4823,9 @@ export declare function getAppFromFile(filePath: string): Promise<{
|
|
|
4406
4823
|
type: "script";
|
|
4407
4824
|
initialRoute: string;
|
|
4408
4825
|
portNumber: number;
|
|
4826
|
+
} | {
|
|
4827
|
+
type: "export";
|
|
4828
|
+
pathname: string;
|
|
4409
4829
|
} | {
|
|
4410
4830
|
type: "none";
|
|
4411
4831
|
};
|
|
@@ -4436,6 +4856,9 @@ export declare function getAppFromFile(filePath: string): Promise<{
|
|
|
4436
4856
|
type: "script";
|
|
4437
4857
|
initialRoute: string;
|
|
4438
4858
|
portNumber: number;
|
|
4859
|
+
} | {
|
|
4860
|
+
type: "export";
|
|
4861
|
+
pathname: string;
|
|
4439
4862
|
} | {
|
|
4440
4863
|
type: "none";
|
|
4441
4864
|
};
|
package/dist/apps.server.js
CHANGED
|
@@ -61,6 +61,10 @@ const BaseAppSchema = z.object({
|
|
|
61
61
|
portNumber: z.number(),
|
|
62
62
|
initialRoute: z.string(),
|
|
63
63
|
}),
|
|
64
|
+
z.object({
|
|
65
|
+
type: z.literal('export'),
|
|
66
|
+
pathname: z.string(),
|
|
67
|
+
}),
|
|
64
68
|
z.object({ type: z.literal('none') }),
|
|
65
69
|
]),
|
|
66
70
|
stackBlitzUrl: z.string().nullable(),
|
|
@@ -646,11 +650,15 @@ async function getTestInfo({ fullPath, }) {
|
|
|
646
650
|
return { type: 'none' };
|
|
647
651
|
}
|
|
648
652
|
async function getDevInfo({ fullPath, portNumber, }) {
|
|
649
|
-
const { scripts: { dev: devScript }, initialRoute, } = await getAppConfig(fullPath);
|
|
653
|
+
const { scripts: { dev: devScript }, initialRoute, isExportApp, } = await getAppConfig(fullPath);
|
|
650
654
|
const hasDevScript = Boolean(devScript);
|
|
651
655
|
if (hasDevScript) {
|
|
652
656
|
return { type: 'script', portNumber, initialRoute };
|
|
653
657
|
}
|
|
658
|
+
// Check if this should be an export app (can have package.json for config)
|
|
659
|
+
if (isExportApp) {
|
|
660
|
+
return { type: 'export', pathname: getPathname(fullPath) };
|
|
661
|
+
}
|
|
654
662
|
const packageJsonPath = path.join(fullPath, 'package.json');
|
|
655
663
|
const hasPackageJson = await fsExtra.pathExists(packageJsonPath);
|
|
656
664
|
if (!hasPackageJson) {
|
package/dist/cache.server.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export declare const solutionAppCache: C.Cache<{
|
|
|
33
33
|
type: "script";
|
|
34
34
|
initialRoute: string;
|
|
35
35
|
portNumber: number;
|
|
36
|
+
} | {
|
|
37
|
+
type: "export";
|
|
38
|
+
pathname: string;
|
|
36
39
|
} | {
|
|
37
40
|
type: "none";
|
|
38
41
|
};
|
|
@@ -67,6 +70,9 @@ export declare const problemAppCache: C.Cache<{
|
|
|
67
70
|
type: "script";
|
|
68
71
|
initialRoute: string;
|
|
69
72
|
portNumber: number;
|
|
73
|
+
} | {
|
|
74
|
+
type: "export";
|
|
75
|
+
pathname: string;
|
|
70
76
|
} | {
|
|
71
77
|
type: "none";
|
|
72
78
|
};
|
|
@@ -101,6 +107,9 @@ export declare const exampleAppCache: C.Cache<{
|
|
|
101
107
|
type: "script";
|
|
102
108
|
initialRoute: string;
|
|
103
109
|
portNumber: number;
|
|
110
|
+
} | {
|
|
111
|
+
type: "export";
|
|
112
|
+
pathname: string;
|
|
104
113
|
} | {
|
|
105
114
|
type: "none";
|
|
106
115
|
};
|
|
@@ -132,6 +141,9 @@ export declare const playgroundAppCache: C.Cache<{
|
|
|
132
141
|
type: "script";
|
|
133
142
|
initialRoute: string;
|
|
134
143
|
portNumber: number;
|
|
144
|
+
} | {
|
|
145
|
+
type: "export";
|
|
146
|
+
pathname: string;
|
|
135
147
|
} | {
|
|
136
148
|
type: "none";
|
|
137
149
|
};
|
package/dist/config.server.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ declare const WorkshopConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
231
231
|
link?: string | undefined;
|
|
232
232
|
}>, "many">>>;
|
|
233
233
|
sidecarProcesses: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
234
|
+
appType: z.ZodOptional<z.ZodEnum<["standard", "export"]>>;
|
|
234
235
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
235
236
|
instructor: z.ZodOptional<z.ZodObject<{
|
|
236
237
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -298,6 +299,7 @@ declare const WorkshopConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
298
299
|
scripts?: {
|
|
299
300
|
postupdate?: string | undefined;
|
|
300
301
|
} | undefined;
|
|
302
|
+
appType?: "standard" | "export" | undefined;
|
|
301
303
|
}, {
|
|
302
304
|
githubRepo: string;
|
|
303
305
|
githubRoot: string;
|
|
@@ -348,6 +350,7 @@ declare const WorkshopConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
348
350
|
link?: string | undefined;
|
|
349
351
|
}[] | undefined;
|
|
350
352
|
sidecarProcesses?: Record<string, string> | undefined;
|
|
353
|
+
appType?: "standard" | "export" | undefined;
|
|
351
354
|
}>, {
|
|
352
355
|
product: {
|
|
353
356
|
displayNameShort: string;
|
|
@@ -398,6 +401,7 @@ declare const WorkshopConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
398
401
|
scripts?: {
|
|
399
402
|
postupdate?: string | undefined;
|
|
400
403
|
} | undefined;
|
|
404
|
+
appType?: "standard" | "export" | undefined;
|
|
401
405
|
}, {
|
|
402
406
|
githubRepo: string;
|
|
403
407
|
githubRoot: string;
|
|
@@ -448,6 +452,7 @@ declare const WorkshopConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
448
452
|
link?: string | undefined;
|
|
449
453
|
}[] | undefined;
|
|
450
454
|
sidecarProcesses?: Record<string, string> | undefined;
|
|
455
|
+
appType?: "standard" | "export" | undefined;
|
|
451
456
|
}>;
|
|
452
457
|
export type WorkshopConfig = z.infer<typeof WorkshopConfigSchema>;
|
|
453
458
|
/**
|
|
@@ -467,6 +472,7 @@ export declare function getStackBlitzUrl({ fullPath, title, type, }: {
|
|
|
467
472
|
type: string;
|
|
468
473
|
}): Promise<string | null>;
|
|
469
474
|
export declare function getAppConfig(fullPath: string): Promise<{
|
|
475
|
+
isExportApp: boolean;
|
|
470
476
|
stackBlitzConfig: {
|
|
471
477
|
title?: string | undefined;
|
|
472
478
|
startScript?: string | undefined;
|
|
@@ -484,5 +490,6 @@ export declare function getAppConfig(fullPath: string): Promise<{
|
|
|
484
490
|
dev?: string | undefined;
|
|
485
491
|
};
|
|
486
492
|
initialRoute: string;
|
|
493
|
+
appType: "standard" | "export";
|
|
487
494
|
}>;
|
|
488
495
|
export {};
|
package/dist/config.server.js
CHANGED
|
@@ -110,6 +110,10 @@ const WorkshopConfigSchema = z
|
|
|
110
110
|
.optional()
|
|
111
111
|
.default([]),
|
|
112
112
|
sidecarProcesses: z.record(z.string(), z.string()).optional().default({}),
|
|
113
|
+
// Default app type for simple apps (no package.json).
|
|
114
|
+
// - 'standard': Normal simple app behavior
|
|
115
|
+
// - 'export': Export app that displays console output and exported values
|
|
116
|
+
appType: z.enum(['standard', 'export']).optional(),
|
|
113
117
|
})
|
|
114
118
|
.transform((data) => {
|
|
115
119
|
return {
|
|
@@ -294,6 +298,15 @@ export async function getAppConfig(fullPath) {
|
|
|
294
298
|
})
|
|
295
299
|
.default({}),
|
|
296
300
|
initialRoute: z.string().optional().default(workshopConfig.initialRoute),
|
|
301
|
+
/**
|
|
302
|
+
* The type of app for simple apps (no dev script).
|
|
303
|
+
* - 'standard': Normal simple app behavior (browser type)
|
|
304
|
+
* - 'export': Export app that displays console output and exported values
|
|
305
|
+
*/
|
|
306
|
+
appType: z
|
|
307
|
+
.enum(['standard', 'export'])
|
|
308
|
+
.optional()
|
|
309
|
+
.default(workshopConfig.appType ?? 'standard'),
|
|
297
310
|
});
|
|
298
311
|
const appConfig = {
|
|
299
312
|
stackBlitzConfig: epicshopConfig.stackBlitzConfig,
|
|
@@ -305,9 +318,14 @@ export async function getAppConfig(fullPath) {
|
|
|
305
318
|
dev: scripts.dev,
|
|
306
319
|
},
|
|
307
320
|
initialRoute: epicshopConfig.initialRoute,
|
|
321
|
+
appType: epicshopConfig.appType,
|
|
308
322
|
};
|
|
309
323
|
try {
|
|
310
|
-
|
|
324
|
+
const parsedConfig = AppConfigSchema.parse(appConfig);
|
|
325
|
+
return {
|
|
326
|
+
...parsedConfig,
|
|
327
|
+
isExportApp: parsedConfig.appType === 'export',
|
|
328
|
+
};
|
|
311
329
|
}
|
|
312
330
|
catch (error) {
|
|
313
331
|
if (error instanceof z.ZodError) {
|