@epic-web/workshop-utils 6.12.1 → 6.13.0

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.
@@ -1,827 +1,270 @@
1
1
  import * as C from '@epic-web/cachified';
2
2
  import { type Timings } from './timing.server.js';
3
- export declare const solutionAppCache: {
3
+ export declare const solutionAppCache: C.Cache<{
4
+ title: string;
5
+ type: "solution";
4
6
  name: string;
5
- set: (key: string, value: C.CacheEntry<{
6
- title: string;
7
- type: "solution";
8
- name: string;
9
- test: {
10
- type: "browser";
11
- pathname: string;
12
- testFiles: string[];
13
- } | {
14
- type: "script";
15
- script: string;
16
- } | {
17
- type: "none";
18
- };
19
- fullPath: string;
20
- dev: {
21
- type: "browser";
22
- pathname: string;
23
- } | {
24
- type: "script";
25
- initialRoute: string;
26
- portNumber: number;
27
- } | {
28
- type: "none";
29
- };
30
- dirName: string;
31
- relativePath: string;
32
- stackBlitzUrl: string | null;
33
- exerciseNumber: number;
34
- stepNumber: number;
35
- problemName: string | null;
36
- instructionsCode?: string | undefined;
37
- epicVideoEmbeds?: string[] | undefined;
38
- }>) => C.CacheEntry<{
39
- title: string;
40
- type: "solution";
41
- name: string;
42
- test: {
43
- type: "browser";
44
- pathname: string;
45
- testFiles: string[];
46
- } | {
47
- type: "script";
48
- script: string;
49
- } | {
50
- type: "none";
51
- };
52
- fullPath: string;
53
- dev: {
54
- type: "browser";
55
- pathname: string;
56
- } | {
57
- type: "script";
58
- initialRoute: string;
59
- portNumber: number;
60
- } | {
61
- type: "none";
62
- };
63
- dirName: string;
64
- relativePath: string;
65
- stackBlitzUrl: string | null;
66
- exerciseNumber: number;
67
- stepNumber: number;
68
- problemName: string | null;
69
- instructionsCode?: string | undefined;
70
- epicVideoEmbeds?: string[] | undefined;
71
- }>;
72
- get: (key: string) => C.CacheEntry<{
73
- title: string;
74
- type: "solution";
75
- name: string;
76
- test: {
77
- type: "browser";
78
- pathname: string;
79
- testFiles: string[];
80
- } | {
81
- type: "script";
82
- script: string;
83
- } | {
84
- type: "none";
85
- };
86
- fullPath: string;
87
- dev: {
88
- type: "browser";
89
- pathname: string;
90
- } | {
91
- type: "script";
92
- initialRoute: string;
93
- portNumber: number;
94
- } | {
95
- type: "none";
96
- };
97
- dirName: string;
98
- relativePath: string;
99
- stackBlitzUrl: string | null;
100
- exerciseNumber: number;
101
- stepNumber: number;
102
- problemName: string | null;
103
- instructionsCode?: string | undefined;
104
- epicVideoEmbeds?: string[] | undefined;
105
- }> | undefined;
106
- delete: (key: string) => boolean;
107
- };
108
- export declare const problemAppCache: {
109
- name: string;
110
- set: (key: string, value: C.CacheEntry<{
111
- title: string;
112
- type: "problem";
113
- name: string;
114
- test: {
115
- type: "browser";
116
- pathname: string;
117
- testFiles: string[];
118
- } | {
119
- type: "script";
120
- script: string;
121
- } | {
122
- type: "none";
123
- };
124
- fullPath: string;
125
- dev: {
126
- type: "browser";
127
- pathname: string;
128
- } | {
129
- type: "script";
130
- initialRoute: string;
131
- portNumber: number;
132
- } | {
133
- type: "none";
134
- };
135
- dirName: string;
136
- relativePath: string;
137
- stackBlitzUrl: string | null;
138
- exerciseNumber: number;
139
- stepNumber: number;
140
- solutionName: string | null;
141
- instructionsCode?: string | undefined;
142
- epicVideoEmbeds?: string[] | undefined;
143
- }>) => C.CacheEntry<{
144
- title: string;
145
- type: "problem";
146
- name: string;
147
- test: {
148
- type: "browser";
149
- pathname: string;
150
- testFiles: string[];
151
- } | {
152
- type: "script";
153
- script: string;
154
- } | {
155
- type: "none";
156
- };
157
- fullPath: string;
158
- dev: {
159
- type: "browser";
160
- pathname: string;
161
- } | {
162
- type: "script";
163
- initialRoute: string;
164
- portNumber: number;
165
- } | {
166
- type: "none";
167
- };
168
- dirName: string;
169
- relativePath: string;
170
- stackBlitzUrl: string | null;
171
- exerciseNumber: number;
172
- stepNumber: number;
173
- solutionName: string | null;
174
- instructionsCode?: string | undefined;
175
- epicVideoEmbeds?: string[] | undefined;
176
- }>;
177
- get: (key: string) => C.CacheEntry<{
178
- title: string;
179
- type: "problem";
180
- name: string;
181
- test: {
182
- type: "browser";
183
- pathname: string;
184
- testFiles: string[];
185
- } | {
186
- type: "script";
187
- script: string;
188
- } | {
189
- type: "none";
190
- };
191
- fullPath: string;
192
- dev: {
193
- type: "browser";
194
- pathname: string;
195
- } | {
196
- type: "script";
197
- initialRoute: string;
198
- portNumber: number;
199
- } | {
200
- type: "none";
201
- };
202
- dirName: string;
203
- relativePath: string;
204
- stackBlitzUrl: string | null;
205
- exerciseNumber: number;
206
- stepNumber: number;
207
- solutionName: string | null;
208
- instructionsCode?: string | undefined;
209
- epicVideoEmbeds?: string[] | undefined;
210
- }> | undefined;
211
- delete: (key: string) => boolean;
212
- };
213
- export declare const exampleAppCache: {
214
- name: string;
215
- set: (key: string, value: C.CacheEntry<{
216
- title: string;
217
- type: "example";
218
- name: string;
219
- test: {
220
- type: "browser";
221
- pathname: string;
222
- testFiles: string[];
223
- } | {
224
- type: "script";
225
- script: string;
226
- } | {
227
- type: "none";
228
- };
229
- fullPath: string;
230
- dev: {
231
- type: "browser";
232
- pathname: string;
233
- } | {
234
- type: "script";
235
- initialRoute: string;
236
- portNumber: number;
237
- } | {
238
- type: "none";
239
- };
240
- dirName: string;
241
- relativePath: string;
242
- stackBlitzUrl: string | null;
243
- instructionsCode?: string | undefined;
244
- epicVideoEmbeds?: string[] | undefined;
245
- }>) => C.CacheEntry<{
246
- title: string;
247
- type: "example";
248
- name: string;
249
- test: {
250
- type: "browser";
251
- pathname: string;
252
- testFiles: string[];
253
- } | {
254
- type: "script";
255
- script: string;
256
- } | {
257
- type: "none";
258
- };
259
- fullPath: string;
260
- dev: {
261
- type: "browser";
262
- pathname: string;
263
- } | {
264
- type: "script";
265
- initialRoute: string;
266
- portNumber: number;
267
- } | {
268
- type: "none";
269
- };
270
- dirName: string;
271
- relativePath: string;
272
- stackBlitzUrl: string | null;
273
- instructionsCode?: string | undefined;
274
- epicVideoEmbeds?: string[] | undefined;
275
- }>;
276
- get: (key: string) => C.CacheEntry<{
277
- title: string;
278
- type: "example";
279
- name: string;
280
- test: {
281
- type: "browser";
282
- pathname: string;
283
- testFiles: string[];
284
- } | {
285
- type: "script";
286
- script: string;
287
- } | {
288
- type: "none";
289
- };
290
- fullPath: string;
291
- dev: {
292
- type: "browser";
293
- pathname: string;
294
- } | {
295
- type: "script";
296
- initialRoute: string;
297
- portNumber: number;
298
- } | {
299
- type: "none";
300
- };
301
- dirName: string;
302
- relativePath: string;
303
- stackBlitzUrl: string | null;
304
- instructionsCode?: string | undefined;
305
- epicVideoEmbeds?: string[] | undefined;
306
- }> | undefined;
307
- delete: (key: string) => boolean;
308
- };
309
- export declare const playgroundAppCache: {
310
- name: string;
311
- set: (key: string, value: C.CacheEntry<{
312
- title: string;
313
- type: "playground";
314
- name: string;
315
- test: {
316
- type: "browser";
317
- pathname: string;
318
- testFiles: string[];
319
- } | {
320
- type: "script";
321
- script: string;
322
- } | {
323
- type: "none";
324
- };
325
- fullPath: string;
326
- dev: {
327
- type: "browser";
328
- pathname: string;
329
- } | {
330
- type: "script";
331
- initialRoute: string;
332
- portNumber: number;
333
- } | {
334
- type: "none";
335
- };
336
- dirName: string;
337
- relativePath: string;
338
- stackBlitzUrl: string | null;
339
- appName: string;
340
- isUpToDate: boolean;
341
- instructionsCode?: string | undefined;
342
- epicVideoEmbeds?: string[] | undefined;
343
- }>) => C.CacheEntry<{
344
- title: string;
345
- type: "playground";
346
- name: string;
347
- test: {
348
- type: "browser";
349
- pathname: string;
350
- testFiles: string[];
351
- } | {
352
- type: "script";
353
- script: string;
354
- } | {
355
- type: "none";
356
- };
357
- fullPath: string;
358
- dev: {
359
- type: "browser";
360
- pathname: string;
361
- } | {
362
- type: "script";
363
- initialRoute: string;
364
- portNumber: number;
365
- } | {
366
- type: "none";
367
- };
368
- dirName: string;
369
- relativePath: string;
370
- stackBlitzUrl: string | null;
371
- appName: string;
372
- isUpToDate: boolean;
373
- instructionsCode?: string | undefined;
374
- epicVideoEmbeds?: string[] | undefined;
375
- }>;
376
- get: (key: string) => C.CacheEntry<{
377
- title: string;
378
- type: "playground";
379
- name: string;
380
- test: {
381
- type: "browser";
382
- pathname: string;
383
- testFiles: string[];
384
- } | {
385
- type: "script";
386
- script: string;
387
- } | {
388
- type: "none";
389
- };
390
- fullPath: string;
391
- dev: {
392
- type: "browser";
393
- pathname: string;
394
- } | {
395
- type: "script";
396
- initialRoute: string;
397
- portNumber: number;
398
- } | {
399
- type: "none";
400
- };
401
- dirName: string;
402
- relativePath: string;
403
- stackBlitzUrl: string | null;
404
- appName: string;
405
- isUpToDate: boolean;
406
- instructionsCode?: string | undefined;
407
- epicVideoEmbeds?: string[] | undefined;
408
- }> | undefined;
409
- delete: (key: string) => boolean;
410
- };
411
- export declare const appsCache: {
7
+ test: {
8
+ type: "browser";
9
+ pathname: string;
10
+ testFiles: string[];
11
+ } | {
12
+ type: "script";
13
+ script: string;
14
+ } | {
15
+ type: "none";
16
+ };
17
+ fullPath: string;
18
+ dev: {
19
+ type: "browser";
20
+ pathname: string;
21
+ } | {
22
+ type: "script";
23
+ initialRoute: string;
24
+ portNumber: number;
25
+ } | {
26
+ type: "none";
27
+ };
28
+ dirName: string;
29
+ relativePath: string;
30
+ stackBlitzUrl: string | null;
31
+ exerciseNumber: number;
32
+ stepNumber: number;
33
+ problemName: string | null;
34
+ instructionsCode?: string | undefined;
35
+ epicVideoEmbeds?: string[] | undefined;
36
+ }>;
37
+ export declare const problemAppCache: C.Cache<{
38
+ title: string;
39
+ type: "problem";
412
40
  name: string;
413
- set: (key: string, value: C.CacheEntry<{
414
- title: string;
415
- type: "solution";
416
- name: string;
417
- test: {
418
- type: "browser";
419
- pathname: string;
420
- testFiles: string[];
421
- } | {
422
- type: "script";
423
- script: string;
424
- } | {
425
- type: "none";
426
- };
427
- fullPath: string;
428
- dev: {
429
- type: "browser";
430
- pathname: string;
431
- } | {
432
- type: "script";
433
- initialRoute: string;
434
- portNumber: number;
435
- } | {
436
- type: "none";
437
- };
438
- dirName: string;
439
- relativePath: string;
440
- stackBlitzUrl: string | null;
441
- exerciseNumber: number;
442
- stepNumber: number;
443
- problemName: string | null;
444
- instructionsCode?: string | undefined;
445
- epicVideoEmbeds?: string[] | undefined;
41
+ test: {
42
+ type: "browser";
43
+ pathname: string;
44
+ testFiles: string[];
446
45
  } | {
447
- title: string;
448
- type: "problem";
449
- name: string;
450
- test: {
451
- type: "browser";
452
- pathname: string;
453
- testFiles: string[];
454
- } | {
455
- type: "script";
456
- script: string;
457
- } | {
458
- type: "none";
459
- };
460
- fullPath: string;
461
- dev: {
462
- type: "browser";
463
- pathname: string;
464
- } | {
465
- type: "script";
466
- initialRoute: string;
467
- portNumber: number;
468
- } | {
469
- type: "none";
470
- };
471
- dirName: string;
472
- relativePath: string;
473
- stackBlitzUrl: string | null;
474
- exerciseNumber: number;
475
- stepNumber: number;
476
- solutionName: string | null;
477
- instructionsCode?: string | undefined;
478
- epicVideoEmbeds?: string[] | undefined;
46
+ type: "script";
47
+ script: string;
479
48
  } | {
480
- title: string;
481
- type: "example";
482
- name: string;
483
- test: {
484
- type: "browser";
485
- pathname: string;
486
- testFiles: string[];
487
- } | {
488
- type: "script";
489
- script: string;
490
- } | {
491
- type: "none";
492
- };
493
- fullPath: string;
494
- dev: {
495
- type: "browser";
496
- pathname: string;
497
- } | {
498
- type: "script";
499
- initialRoute: string;
500
- portNumber: number;
501
- } | {
502
- type: "none";
503
- };
504
- dirName: string;
505
- relativePath: string;
506
- stackBlitzUrl: string | null;
507
- instructionsCode?: string | undefined;
508
- epicVideoEmbeds?: string[] | undefined;
49
+ type: "none";
50
+ };
51
+ fullPath: string;
52
+ dev: {
53
+ type: "browser";
54
+ pathname: string;
509
55
  } | {
510
- title: string;
511
- type: "playground";
512
- name: string;
513
- test: {
514
- type: "browser";
515
- pathname: string;
516
- testFiles: string[];
517
- } | {
518
- type: "script";
519
- script: string;
520
- } | {
521
- type: "none";
522
- };
523
- fullPath: string;
524
- dev: {
525
- type: "browser";
526
- pathname: string;
527
- } | {
528
- type: "script";
529
- initialRoute: string;
530
- portNumber: number;
531
- } | {
532
- type: "none";
533
- };
534
- dirName: string;
535
- relativePath: string;
536
- stackBlitzUrl: string | null;
537
- appName: string;
538
- isUpToDate: boolean;
539
- instructionsCode?: string | undefined;
540
- epicVideoEmbeds?: string[] | undefined;
541
- }>) => C.CacheEntry<{
542
- title: string;
543
- type: "solution";
544
- name: string;
545
- test: {
546
- type: "browser";
547
- pathname: string;
548
- testFiles: string[];
549
- } | {
550
- type: "script";
551
- script: string;
552
- } | {
553
- type: "none";
554
- };
555
- fullPath: string;
556
- dev: {
557
- type: "browser";
558
- pathname: string;
559
- } | {
560
- type: "script";
561
- initialRoute: string;
562
- portNumber: number;
563
- } | {
564
- type: "none";
565
- };
566
- dirName: string;
567
- relativePath: string;
568
- stackBlitzUrl: string | null;
569
- exerciseNumber: number;
570
- stepNumber: number;
571
- problemName: string | null;
572
- instructionsCode?: string | undefined;
573
- epicVideoEmbeds?: string[] | undefined;
56
+ type: "script";
57
+ initialRoute: string;
58
+ portNumber: number;
574
59
  } | {
575
- title: string;
576
- type: "problem";
577
- name: string;
578
- test: {
579
- type: "browser";
580
- pathname: string;
581
- testFiles: string[];
582
- } | {
583
- type: "script";
584
- script: string;
585
- } | {
586
- type: "none";
587
- };
588
- fullPath: string;
589
- dev: {
590
- type: "browser";
591
- pathname: string;
592
- } | {
593
- type: "script";
594
- initialRoute: string;
595
- portNumber: number;
596
- } | {
597
- type: "none";
598
- };
599
- dirName: string;
600
- relativePath: string;
601
- stackBlitzUrl: string | null;
602
- exerciseNumber: number;
603
- stepNumber: number;
604
- solutionName: string | null;
605
- instructionsCode?: string | undefined;
606
- epicVideoEmbeds?: string[] | undefined;
60
+ type: "none";
61
+ };
62
+ dirName: string;
63
+ relativePath: string;
64
+ stackBlitzUrl: string | null;
65
+ exerciseNumber: number;
66
+ stepNumber: number;
67
+ solutionName: string | null;
68
+ instructionsCode?: string | undefined;
69
+ epicVideoEmbeds?: string[] | undefined;
70
+ }>;
71
+ export declare const exampleAppCache: C.Cache<{
72
+ title: string;
73
+ type: "example";
74
+ name: string;
75
+ test: {
76
+ type: "browser";
77
+ pathname: string;
78
+ testFiles: string[];
607
79
  } | {
608
- title: string;
609
- type: "example";
610
- name: string;
611
- test: {
612
- type: "browser";
613
- pathname: string;
614
- testFiles: string[];
615
- } | {
616
- type: "script";
617
- script: string;
618
- } | {
619
- type: "none";
620
- };
621
- fullPath: string;
622
- dev: {
623
- type: "browser";
624
- pathname: string;
625
- } | {
626
- type: "script";
627
- initialRoute: string;
628
- portNumber: number;
629
- } | {
630
- type: "none";
631
- };
632
- dirName: string;
633
- relativePath: string;
634
- stackBlitzUrl: string | null;
635
- instructionsCode?: string | undefined;
636
- epicVideoEmbeds?: string[] | undefined;
80
+ type: "script";
81
+ script: string;
637
82
  } | {
638
- title: string;
639
- type: "playground";
640
- name: string;
641
- test: {
642
- type: "browser";
643
- pathname: string;
644
- testFiles: string[];
645
- } | {
646
- type: "script";
647
- script: string;
648
- } | {
649
- type: "none";
650
- };
651
- fullPath: string;
652
- dev: {
653
- type: "browser";
654
- pathname: string;
655
- } | {
656
- type: "script";
657
- initialRoute: string;
658
- portNumber: number;
659
- } | {
660
- type: "none";
661
- };
662
- dirName: string;
663
- relativePath: string;
664
- stackBlitzUrl: string | null;
665
- appName: string;
666
- isUpToDate: boolean;
667
- instructionsCode?: string | undefined;
668
- epicVideoEmbeds?: string[] | undefined;
669
- }>;
670
- get: (key: string) => C.CacheEntry<{
671
- title: string;
672
- type: "solution";
673
- name: string;
674
- test: {
675
- type: "browser";
676
- pathname: string;
677
- testFiles: string[];
678
- } | {
679
- type: "script";
680
- script: string;
681
- } | {
682
- type: "none";
683
- };
684
- fullPath: string;
685
- dev: {
686
- type: "browser";
687
- pathname: string;
688
- } | {
689
- type: "script";
690
- initialRoute: string;
691
- portNumber: number;
692
- } | {
693
- type: "none";
694
- };
695
- dirName: string;
696
- relativePath: string;
697
- stackBlitzUrl: string | null;
698
- exerciseNumber: number;
699
- stepNumber: number;
700
- problemName: string | null;
701
- instructionsCode?: string | undefined;
702
- epicVideoEmbeds?: string[] | undefined;
83
+ type: "none";
84
+ };
85
+ fullPath: string;
86
+ dev: {
87
+ type: "browser";
88
+ pathname: string;
703
89
  } | {
704
- title: string;
705
- type: "problem";
706
- name: string;
707
- test: {
708
- type: "browser";
709
- pathname: string;
710
- testFiles: string[];
711
- } | {
712
- type: "script";
713
- script: string;
714
- } | {
715
- type: "none";
716
- };
717
- fullPath: string;
718
- dev: {
719
- type: "browser";
720
- pathname: string;
721
- } | {
722
- type: "script";
723
- initialRoute: string;
724
- portNumber: number;
725
- } | {
726
- type: "none";
727
- };
728
- dirName: string;
729
- relativePath: string;
730
- stackBlitzUrl: string | null;
731
- exerciseNumber: number;
732
- stepNumber: number;
733
- solutionName: string | null;
734
- instructionsCode?: string | undefined;
735
- epicVideoEmbeds?: string[] | undefined;
90
+ type: "script";
91
+ initialRoute: string;
92
+ portNumber: number;
736
93
  } | {
737
- title: string;
738
- type: "example";
739
- name: string;
740
- test: {
741
- type: "browser";
742
- pathname: string;
743
- testFiles: string[];
744
- } | {
745
- type: "script";
746
- script: string;
747
- } | {
748
- type: "none";
749
- };
750
- fullPath: string;
751
- dev: {
752
- type: "browser";
753
- pathname: string;
754
- } | {
755
- type: "script";
756
- initialRoute: string;
757
- portNumber: number;
758
- } | {
759
- type: "none";
760
- };
761
- dirName: string;
762
- relativePath: string;
763
- stackBlitzUrl: string | null;
764
- instructionsCode?: string | undefined;
765
- epicVideoEmbeds?: string[] | undefined;
94
+ type: "none";
95
+ };
96
+ dirName: string;
97
+ relativePath: string;
98
+ stackBlitzUrl: string | null;
99
+ instructionsCode?: string | undefined;
100
+ epicVideoEmbeds?: string[] | undefined;
101
+ }>;
102
+ export declare const playgroundAppCache: C.Cache<{
103
+ title: string;
104
+ type: "playground";
105
+ name: string;
106
+ test: {
107
+ type: "browser";
108
+ pathname: string;
109
+ testFiles: string[];
766
110
  } | {
767
- title: string;
768
- type: "playground";
769
- name: string;
770
- test: {
771
- type: "browser";
772
- pathname: string;
773
- testFiles: string[];
774
- } | {
775
- type: "script";
776
- script: string;
777
- } | {
778
- type: "none";
779
- };
780
- fullPath: string;
781
- dev: {
782
- type: "browser";
783
- pathname: string;
784
- } | {
785
- type: "script";
786
- initialRoute: string;
787
- portNumber: number;
788
- } | {
789
- type: "none";
790
- };
791
- dirName: string;
792
- relativePath: string;
793
- stackBlitzUrl: string | null;
794
- appName: string;
795
- isUpToDate: boolean;
796
- instructionsCode?: string | undefined;
797
- epicVideoEmbeds?: string[] | undefined;
798
- }> | undefined;
799
- delete: (key: string) => boolean;
800
- };
801
- export declare const diffCodeCache: {
111
+ type: "script";
112
+ script: string;
113
+ } | {
114
+ type: "none";
115
+ };
116
+ fullPath: string;
117
+ dev: {
118
+ type: "browser";
119
+ pathname: string;
120
+ } | {
121
+ type: "script";
122
+ initialRoute: string;
123
+ portNumber: number;
124
+ } | {
125
+ type: "none";
126
+ };
127
+ dirName: string;
128
+ relativePath: string;
129
+ stackBlitzUrl: string | null;
130
+ appName: string;
131
+ isUpToDate: boolean;
132
+ instructionsCode?: string | undefined;
133
+ epicVideoEmbeds?: string[] | undefined;
134
+ }>;
135
+ export declare const appsCache: C.Cache<{
136
+ title: string;
137
+ type: "solution";
802
138
  name: string;
803
- set: (key: string, value: C.CacheEntry<string>) => C.CacheEntry<string>;
804
- get: (key: string) => C.CacheEntry<string> | undefined;
805
- delete: (key: string) => boolean;
806
- };
807
- export declare const diffFilesCache: {
139
+ test: {
140
+ type: "browser";
141
+ pathname: string;
142
+ testFiles: string[];
143
+ } | {
144
+ type: "script";
145
+ script: string;
146
+ } | {
147
+ type: "none";
148
+ };
149
+ fullPath: string;
150
+ dev: {
151
+ type: "browser";
152
+ pathname: string;
153
+ } | {
154
+ type: "script";
155
+ initialRoute: string;
156
+ portNumber: number;
157
+ } | {
158
+ type: "none";
159
+ };
160
+ dirName: string;
161
+ relativePath: string;
162
+ stackBlitzUrl: string | null;
163
+ exerciseNumber: number;
164
+ stepNumber: number;
165
+ problemName: string | null;
166
+ instructionsCode?: string | undefined;
167
+ epicVideoEmbeds?: string[] | undefined;
168
+ } | {
169
+ title: string;
170
+ type: "problem";
808
171
  name: string;
809
- set: (key: string, value: C.CacheEntry<string>) => C.CacheEntry<string>;
810
- get: (key: string) => C.CacheEntry<string> | undefined;
811
- delete: (key: string) => boolean;
812
- };
813
- export declare const compiledMarkdownCache: {
172
+ test: {
173
+ type: "browser";
174
+ pathname: string;
175
+ testFiles: string[];
176
+ } | {
177
+ type: "script";
178
+ script: string;
179
+ } | {
180
+ type: "none";
181
+ };
182
+ fullPath: string;
183
+ dev: {
184
+ type: "browser";
185
+ pathname: string;
186
+ } | {
187
+ type: "script";
188
+ initialRoute: string;
189
+ portNumber: number;
190
+ } | {
191
+ type: "none";
192
+ };
193
+ dirName: string;
194
+ relativePath: string;
195
+ stackBlitzUrl: string | null;
196
+ exerciseNumber: number;
197
+ stepNumber: number;
198
+ solutionName: string | null;
199
+ instructionsCode?: string | undefined;
200
+ epicVideoEmbeds?: string[] | undefined;
201
+ } | {
202
+ title: string;
203
+ type: "example";
814
204
  name: string;
815
- set: (key: string, value: C.CacheEntry<string>) => C.CacheEntry<string>;
816
- get: (key: string) => C.CacheEntry<string> | undefined;
817
- delete: (key: string) => boolean;
818
- };
819
- export declare const compiledCodeCache: {
205
+ test: {
206
+ type: "browser";
207
+ pathname: string;
208
+ testFiles: string[];
209
+ } | {
210
+ type: "script";
211
+ script: string;
212
+ } | {
213
+ type: "none";
214
+ };
215
+ fullPath: string;
216
+ dev: {
217
+ type: "browser";
218
+ pathname: string;
219
+ } | {
220
+ type: "script";
221
+ initialRoute: string;
222
+ portNumber: number;
223
+ } | {
224
+ type: "none";
225
+ };
226
+ dirName: string;
227
+ relativePath: string;
228
+ stackBlitzUrl: string | null;
229
+ instructionsCode?: string | undefined;
230
+ epicVideoEmbeds?: string[] | undefined;
231
+ } | {
232
+ title: string;
233
+ type: "playground";
820
234
  name: string;
821
- set: (key: string, value: C.CacheEntry<string>) => C.CacheEntry<string>;
822
- get: (key: string) => C.CacheEntry<string> | undefined;
823
- delete: (key: string) => boolean;
824
- };
235
+ test: {
236
+ type: "browser";
237
+ pathname: string;
238
+ testFiles: string[];
239
+ } | {
240
+ type: "script";
241
+ script: string;
242
+ } | {
243
+ type: "none";
244
+ };
245
+ fullPath: string;
246
+ dev: {
247
+ type: "browser";
248
+ pathname: string;
249
+ } | {
250
+ type: "script";
251
+ initialRoute: string;
252
+ portNumber: number;
253
+ } | {
254
+ type: "none";
255
+ };
256
+ dirName: string;
257
+ relativePath: string;
258
+ stackBlitzUrl: string | null;
259
+ appName: string;
260
+ isUpToDate: boolean;
261
+ instructionsCode?: string | undefined;
262
+ epicVideoEmbeds?: string[] | undefined;
263
+ }>;
264
+ export declare const diffCodeCache: C.Cache<string>;
265
+ export declare const diffFilesCache: C.Cache<string>;
266
+ export declare const compiledMarkdownCache: C.Cache<string>;
267
+ export declare const compiledCodeCache: C.Cache<string>;
825
268
  export declare const ogCache: {
826
269
  name: string;
827
270
  set: (key: string, value: C.CacheEntry<string>) => C.CacheEntry<string>;