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