@tutorialkit-rb/types 1.5.2-rb.0.1.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.
@@ -0,0 +1,1512 @@
1
+ import type { z } from 'zod';
2
+ export declare const contentSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ mainCommand: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
4
+ command: z.ZodString;
5
+ title: z.ZodString;
6
+ }, "strict", z.ZodTypeAny, {
7
+ title: string;
8
+ command: string;
9
+ }, {
10
+ title: string;
11
+ command: string;
12
+ }>]>>;
13
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
14
+ command: z.ZodString;
15
+ title: z.ZodString;
16
+ }, "strict", z.ZodTypeAny, {
17
+ title: string;
18
+ command: string;
19
+ }, {
20
+ title: string;
21
+ command: string;
22
+ }>]>, "many">>;
23
+ }, {
24
+ meta: z.ZodOptional<z.ZodObject<{
25
+ image: z.ZodOptional<z.ZodString>;
26
+ description: z.ZodOptional<z.ZodString>;
27
+ title: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ image?: string | undefined;
30
+ description?: string | undefined;
31
+ title?: string | undefined;
32
+ }, {
33
+ image?: string | undefined;
34
+ description?: string | undefined;
35
+ title?: string | undefined;
36
+ }>>;
37
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
38
+ previews: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodString], null>, z.ZodTuple<[z.ZodNumber, z.ZodString, z.ZodString], null>, z.ZodObject<{
39
+ port: z.ZodNumber;
40
+ title: z.ZodString;
41
+ pathname: z.ZodOptional<z.ZodString>;
42
+ }, "strict", z.ZodTypeAny, {
43
+ title: string;
44
+ port: number;
45
+ pathname?: string | undefined;
46
+ }, {
47
+ title: string;
48
+ port: number;
49
+ pathname?: string | undefined;
50
+ }>]>, "many">]>>;
51
+ autoReload: z.ZodOptional<z.ZodBoolean>;
52
+ filesystem: z.ZodOptional<z.ZodObject<{
53
+ watch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ watch?: boolean | string[] | undefined;
56
+ }, {
57
+ watch?: boolean | string[] | undefined;
58
+ }>>;
59
+ template: z.ZodOptional<z.ZodString>;
60
+ terminal: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
61
+ open: z.ZodOptional<z.ZodBoolean>;
62
+ panels: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">, z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodString], null>, z.ZodObject<{
63
+ type: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>;
64
+ id: z.ZodOptional<z.ZodString>;
65
+ title: z.ZodOptional<z.ZodString>;
66
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
67
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ }, "strict", z.ZodTypeAny, {
69
+ type: "output" | "terminal";
70
+ title?: string | undefined;
71
+ id?: string | undefined;
72
+ allowRedirects?: boolean | undefined;
73
+ allowCommands?: string[] | undefined;
74
+ }, {
75
+ type: "output" | "terminal";
76
+ title?: string | undefined;
77
+ id?: string | undefined;
78
+ allowRedirects?: boolean | undefined;
79
+ allowCommands?: string[] | undefined;
80
+ }>]>, "many">, ("output" | "terminal" | ["output" | "terminal", string] | {
81
+ type: "output" | "terminal";
82
+ title?: string | undefined;
83
+ id?: string | undefined;
84
+ allowRedirects?: boolean | undefined;
85
+ allowCommands?: string[] | undefined;
86
+ })[], ("output" | "terminal" | ["output" | "terminal", string] | {
87
+ type: "output" | "terminal";
88
+ title?: string | undefined;
89
+ id?: string | undefined;
90
+ allowRedirects?: boolean | undefined;
91
+ allowCommands?: string[] | undefined;
92
+ })[]>]>;
93
+ activePanel: z.ZodOptional<z.ZodNumber>;
94
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
95
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
96
+ }, "strict", z.ZodTypeAny, {
97
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
98
+ type: "output" | "terminal";
99
+ title?: string | undefined;
100
+ id?: string | undefined;
101
+ allowRedirects?: boolean | undefined;
102
+ allowCommands?: string[] | undefined;
103
+ })[];
104
+ open?: boolean | undefined;
105
+ allowRedirects?: boolean | undefined;
106
+ allowCommands?: string[] | undefined;
107
+ activePanel?: number | undefined;
108
+ }, {
109
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
110
+ type: "output" | "terminal";
111
+ title?: string | undefined;
112
+ id?: string | undefined;
113
+ allowRedirects?: boolean | undefined;
114
+ allowCommands?: string[] | undefined;
115
+ })[];
116
+ open?: boolean | undefined;
117
+ allowRedirects?: boolean | undefined;
118
+ allowCommands?: string[] | undefined;
119
+ activePanel?: number | undefined;
120
+ }>]>>;
121
+ focus: z.ZodOptional<z.ZodString>;
122
+ editor: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
123
+ fileTree: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
124
+ allowEdits: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
125
+ }, "strict", z.ZodTypeAny, {
126
+ allowEdits: string | boolean | string[];
127
+ }, {
128
+ allowEdits: string | boolean | string[];
129
+ }>]>>;
130
+ }, "strict", z.ZodTypeAny, {
131
+ fileTree?: boolean | {
132
+ allowEdits: string | boolean | string[];
133
+ } | undefined;
134
+ }, {
135
+ fileTree?: boolean | {
136
+ allowEdits: string | boolean | string[];
137
+ } | undefined;
138
+ }>]>>;
139
+ i18n: z.ZodOptional<z.ZodObject<{
140
+ partTemplate: z.ZodOptional<z.ZodString>;
141
+ editPageText: z.ZodOptional<z.ZodString>;
142
+ webcontainerLinkText: z.ZodOptional<z.ZodString>;
143
+ startWebContainerText: z.ZodOptional<z.ZodString>;
144
+ noPreviewNorStepsText: z.ZodOptional<z.ZodString>;
145
+ filesTitleText: z.ZodOptional<z.ZodString>;
146
+ fileTreeCreateFileText: z.ZodOptional<z.ZodString>;
147
+ fileTreeCreateFolderText: z.ZodOptional<z.ZodString>;
148
+ fileTreeActionNotAllowedText: z.ZodOptional<z.ZodString>;
149
+ fileTreeFileExistsAlreadyText: z.ZodOptional<z.ZodString>;
150
+ fileTreeAllowedPatternsText: z.ZodOptional<z.ZodString>;
151
+ confirmationText: z.ZodOptional<z.ZodString>;
152
+ prepareEnvironmentTitleText: z.ZodOptional<z.ZodString>;
153
+ defaultPreviewTitleText: z.ZodOptional<z.ZodString>;
154
+ reloadPreviewTitle: z.ZodOptional<z.ZodString>;
155
+ toggleTerminalButtonText: z.ZodOptional<z.ZodString>;
156
+ solveButtonText: z.ZodOptional<z.ZodString>;
157
+ resetButtonText: z.ZodOptional<z.ZodString>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ partTemplate?: string | undefined;
160
+ editPageText?: string | undefined;
161
+ webcontainerLinkText?: string | undefined;
162
+ startWebContainerText?: string | undefined;
163
+ noPreviewNorStepsText?: string | undefined;
164
+ filesTitleText?: string | undefined;
165
+ fileTreeCreateFileText?: string | undefined;
166
+ fileTreeCreateFolderText?: string | undefined;
167
+ fileTreeActionNotAllowedText?: string | undefined;
168
+ fileTreeFileExistsAlreadyText?: string | undefined;
169
+ fileTreeAllowedPatternsText?: string | undefined;
170
+ confirmationText?: string | undefined;
171
+ prepareEnvironmentTitleText?: string | undefined;
172
+ defaultPreviewTitleText?: string | undefined;
173
+ reloadPreviewTitle?: string | undefined;
174
+ toggleTerminalButtonText?: string | undefined;
175
+ solveButtonText?: string | undefined;
176
+ resetButtonText?: string | undefined;
177
+ }, {
178
+ partTemplate?: string | undefined;
179
+ editPageText?: string | undefined;
180
+ webcontainerLinkText?: string | undefined;
181
+ startWebContainerText?: string | undefined;
182
+ noPreviewNorStepsText?: string | undefined;
183
+ filesTitleText?: string | undefined;
184
+ fileTreeCreateFileText?: string | undefined;
185
+ fileTreeCreateFolderText?: string | undefined;
186
+ fileTreeActionNotAllowedText?: string | undefined;
187
+ fileTreeFileExistsAlreadyText?: string | undefined;
188
+ fileTreeAllowedPatternsText?: string | undefined;
189
+ confirmationText?: string | undefined;
190
+ prepareEnvironmentTitleText?: string | undefined;
191
+ defaultPreviewTitleText?: string | undefined;
192
+ reloadPreviewTitle?: string | undefined;
193
+ toggleTerminalButtonText?: string | undefined;
194
+ solveButtonText?: string | undefined;
195
+ resetButtonText?: string | undefined;
196
+ }>>;
197
+ editPageLink: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
198
+ openInStackBlitz: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
199
+ projectTitle: z.ZodOptional<z.ZodString>;
200
+ projectDescription: z.ZodOptional<z.ZodString>;
201
+ projectTemplate: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"node">, z.ZodLiteral<"angular-cli">, z.ZodLiteral<"create-react-app">, z.ZodLiteral<"javascript">, z.ZodLiteral<"polymer">, z.ZodLiteral<"typescript">, z.ZodLiteral<"vue">]>>;
202
+ }, "strict", z.ZodTypeAny, {
203
+ projectTitle?: string | undefined;
204
+ projectDescription?: string | undefined;
205
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
206
+ }, {
207
+ projectTitle?: string | undefined;
208
+ projectDescription?: string | undefined;
209
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
210
+ }>]>>;
211
+ downloadAsZip: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
212
+ filename: z.ZodString;
213
+ }, "strict", z.ZodTypeAny, {
214
+ filename: string;
215
+ }, {
216
+ filename: string;
217
+ }>]>>;
218
+ }>, {
219
+ type: z.ZodLiteral<"tutorial">;
220
+ logoLink: z.ZodOptional<z.ZodString>;
221
+ parts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
222
+ lessons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
223
+ }>, "strict", z.ZodTypeAny, {
224
+ type: "tutorial";
225
+ custom?: Record<string, any> | undefined;
226
+ mainCommand?: string | [string, string] | {
227
+ title: string;
228
+ command: string;
229
+ } | undefined;
230
+ prepareCommands?: (string | [string, string] | {
231
+ title: string;
232
+ command: string;
233
+ })[] | undefined;
234
+ terminal?: boolean | {
235
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
236
+ type: "output" | "terminal";
237
+ title?: string | undefined;
238
+ id?: string | undefined;
239
+ allowRedirects?: boolean | undefined;
240
+ allowCommands?: string[] | undefined;
241
+ })[];
242
+ open?: boolean | undefined;
243
+ allowRedirects?: boolean | undefined;
244
+ allowCommands?: string[] | undefined;
245
+ activePanel?: number | undefined;
246
+ } | undefined;
247
+ meta?: {
248
+ image?: string | undefined;
249
+ description?: string | undefined;
250
+ title?: string | undefined;
251
+ } | undefined;
252
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
253
+ title: string;
254
+ port: number;
255
+ pathname?: string | undefined;
256
+ })[] | undefined;
257
+ autoReload?: boolean | undefined;
258
+ filesystem?: {
259
+ watch?: boolean | string[] | undefined;
260
+ } | undefined;
261
+ template?: string | undefined;
262
+ focus?: string | undefined;
263
+ editor?: boolean | {
264
+ fileTree?: boolean | {
265
+ allowEdits: string | boolean | string[];
266
+ } | undefined;
267
+ } | undefined;
268
+ i18n?: {
269
+ partTemplate?: string | undefined;
270
+ editPageText?: string | undefined;
271
+ webcontainerLinkText?: string | undefined;
272
+ startWebContainerText?: string | undefined;
273
+ noPreviewNorStepsText?: string | undefined;
274
+ filesTitleText?: string | undefined;
275
+ fileTreeCreateFileText?: string | undefined;
276
+ fileTreeCreateFolderText?: string | undefined;
277
+ fileTreeActionNotAllowedText?: string | undefined;
278
+ fileTreeFileExistsAlreadyText?: string | undefined;
279
+ fileTreeAllowedPatternsText?: string | undefined;
280
+ confirmationText?: string | undefined;
281
+ prepareEnvironmentTitleText?: string | undefined;
282
+ defaultPreviewTitleText?: string | undefined;
283
+ reloadPreviewTitle?: string | undefined;
284
+ toggleTerminalButtonText?: string | undefined;
285
+ solveButtonText?: string | undefined;
286
+ resetButtonText?: string | undefined;
287
+ } | undefined;
288
+ editPageLink?: string | boolean | undefined;
289
+ openInStackBlitz?: boolean | {
290
+ projectTitle?: string | undefined;
291
+ projectDescription?: string | undefined;
292
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
293
+ } | undefined;
294
+ downloadAsZip?: boolean | {
295
+ filename: string;
296
+ } | undefined;
297
+ lessons?: string[] | undefined;
298
+ logoLink?: string | undefined;
299
+ parts?: string[] | undefined;
300
+ }, {
301
+ type: "tutorial";
302
+ custom?: Record<string, any> | undefined;
303
+ mainCommand?: string | [string, string] | {
304
+ title: string;
305
+ command: string;
306
+ } | undefined;
307
+ prepareCommands?: (string | [string, string] | {
308
+ title: string;
309
+ command: string;
310
+ })[] | undefined;
311
+ terminal?: boolean | {
312
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
313
+ type: "output" | "terminal";
314
+ title?: string | undefined;
315
+ id?: string | undefined;
316
+ allowRedirects?: boolean | undefined;
317
+ allowCommands?: string[] | undefined;
318
+ })[];
319
+ open?: boolean | undefined;
320
+ allowRedirects?: boolean | undefined;
321
+ allowCommands?: string[] | undefined;
322
+ activePanel?: number | undefined;
323
+ } | undefined;
324
+ meta?: {
325
+ image?: string | undefined;
326
+ description?: string | undefined;
327
+ title?: string | undefined;
328
+ } | undefined;
329
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
330
+ title: string;
331
+ port: number;
332
+ pathname?: string | undefined;
333
+ })[] | undefined;
334
+ autoReload?: boolean | undefined;
335
+ filesystem?: {
336
+ watch?: boolean | string[] | undefined;
337
+ } | undefined;
338
+ template?: string | undefined;
339
+ focus?: string | undefined;
340
+ editor?: boolean | {
341
+ fileTree?: boolean | {
342
+ allowEdits: string | boolean | string[];
343
+ } | undefined;
344
+ } | undefined;
345
+ i18n?: {
346
+ partTemplate?: string | undefined;
347
+ editPageText?: string | undefined;
348
+ webcontainerLinkText?: string | undefined;
349
+ startWebContainerText?: string | undefined;
350
+ noPreviewNorStepsText?: string | undefined;
351
+ filesTitleText?: string | undefined;
352
+ fileTreeCreateFileText?: string | undefined;
353
+ fileTreeCreateFolderText?: string | undefined;
354
+ fileTreeActionNotAllowedText?: string | undefined;
355
+ fileTreeFileExistsAlreadyText?: string | undefined;
356
+ fileTreeAllowedPatternsText?: string | undefined;
357
+ confirmationText?: string | undefined;
358
+ prepareEnvironmentTitleText?: string | undefined;
359
+ defaultPreviewTitleText?: string | undefined;
360
+ reloadPreviewTitle?: string | undefined;
361
+ toggleTerminalButtonText?: string | undefined;
362
+ solveButtonText?: string | undefined;
363
+ resetButtonText?: string | undefined;
364
+ } | undefined;
365
+ editPageLink?: string | boolean | undefined;
366
+ openInStackBlitz?: boolean | {
367
+ projectTitle?: string | undefined;
368
+ projectDescription?: string | undefined;
369
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
370
+ } | undefined;
371
+ downloadAsZip?: boolean | {
372
+ filename: string;
373
+ } | undefined;
374
+ lessons?: string[] | undefined;
375
+ logoLink?: string | undefined;
376
+ parts?: string[] | undefined;
377
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
378
+ mainCommand: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
379
+ command: z.ZodString;
380
+ title: z.ZodString;
381
+ }, "strict", z.ZodTypeAny, {
382
+ title: string;
383
+ command: string;
384
+ }, {
385
+ title: string;
386
+ command: string;
387
+ }>]>>;
388
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
389
+ command: z.ZodString;
390
+ title: z.ZodString;
391
+ }, "strict", z.ZodTypeAny, {
392
+ title: string;
393
+ command: string;
394
+ }, {
395
+ title: string;
396
+ command: string;
397
+ }>]>, "many">>;
398
+ }, {
399
+ meta: z.ZodOptional<z.ZodObject<{
400
+ image: z.ZodOptional<z.ZodString>;
401
+ description: z.ZodOptional<z.ZodString>;
402
+ title: z.ZodOptional<z.ZodString>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ image?: string | undefined;
405
+ description?: string | undefined;
406
+ title?: string | undefined;
407
+ }, {
408
+ image?: string | undefined;
409
+ description?: string | undefined;
410
+ title?: string | undefined;
411
+ }>>;
412
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
413
+ previews: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodString], null>, z.ZodTuple<[z.ZodNumber, z.ZodString, z.ZodString], null>, z.ZodObject<{
414
+ port: z.ZodNumber;
415
+ title: z.ZodString;
416
+ pathname: z.ZodOptional<z.ZodString>;
417
+ }, "strict", z.ZodTypeAny, {
418
+ title: string;
419
+ port: number;
420
+ pathname?: string | undefined;
421
+ }, {
422
+ title: string;
423
+ port: number;
424
+ pathname?: string | undefined;
425
+ }>]>, "many">]>>;
426
+ autoReload: z.ZodOptional<z.ZodBoolean>;
427
+ filesystem: z.ZodOptional<z.ZodObject<{
428
+ watch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ watch?: boolean | string[] | undefined;
431
+ }, {
432
+ watch?: boolean | string[] | undefined;
433
+ }>>;
434
+ template: z.ZodOptional<z.ZodString>;
435
+ terminal: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
436
+ open: z.ZodOptional<z.ZodBoolean>;
437
+ panels: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">, z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodString], null>, z.ZodObject<{
438
+ type: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>;
439
+ id: z.ZodOptional<z.ZodString>;
440
+ title: z.ZodOptional<z.ZodString>;
441
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
442
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
443
+ }, "strict", z.ZodTypeAny, {
444
+ type: "output" | "terminal";
445
+ title?: string | undefined;
446
+ id?: string | undefined;
447
+ allowRedirects?: boolean | undefined;
448
+ allowCommands?: string[] | undefined;
449
+ }, {
450
+ type: "output" | "terminal";
451
+ title?: string | undefined;
452
+ id?: string | undefined;
453
+ allowRedirects?: boolean | undefined;
454
+ allowCommands?: string[] | undefined;
455
+ }>]>, "many">, ("output" | "terminal" | ["output" | "terminal", string] | {
456
+ type: "output" | "terminal";
457
+ title?: string | undefined;
458
+ id?: string | undefined;
459
+ allowRedirects?: boolean | undefined;
460
+ allowCommands?: string[] | undefined;
461
+ })[], ("output" | "terminal" | ["output" | "terminal", string] | {
462
+ type: "output" | "terminal";
463
+ title?: string | undefined;
464
+ id?: string | undefined;
465
+ allowRedirects?: boolean | undefined;
466
+ allowCommands?: string[] | undefined;
467
+ })[]>]>;
468
+ activePanel: z.ZodOptional<z.ZodNumber>;
469
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
470
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
471
+ }, "strict", z.ZodTypeAny, {
472
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
473
+ type: "output" | "terminal";
474
+ title?: string | undefined;
475
+ id?: string | undefined;
476
+ allowRedirects?: boolean | undefined;
477
+ allowCommands?: string[] | undefined;
478
+ })[];
479
+ open?: boolean | undefined;
480
+ allowRedirects?: boolean | undefined;
481
+ allowCommands?: string[] | undefined;
482
+ activePanel?: number | undefined;
483
+ }, {
484
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
485
+ type: "output" | "terminal";
486
+ title?: string | undefined;
487
+ id?: string | undefined;
488
+ allowRedirects?: boolean | undefined;
489
+ allowCommands?: string[] | undefined;
490
+ })[];
491
+ open?: boolean | undefined;
492
+ allowRedirects?: boolean | undefined;
493
+ allowCommands?: string[] | undefined;
494
+ activePanel?: number | undefined;
495
+ }>]>>;
496
+ focus: z.ZodOptional<z.ZodString>;
497
+ editor: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
498
+ fileTree: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
499
+ allowEdits: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
500
+ }, "strict", z.ZodTypeAny, {
501
+ allowEdits: string | boolean | string[];
502
+ }, {
503
+ allowEdits: string | boolean | string[];
504
+ }>]>>;
505
+ }, "strict", z.ZodTypeAny, {
506
+ fileTree?: boolean | {
507
+ allowEdits: string | boolean | string[];
508
+ } | undefined;
509
+ }, {
510
+ fileTree?: boolean | {
511
+ allowEdits: string | boolean | string[];
512
+ } | undefined;
513
+ }>]>>;
514
+ i18n: z.ZodOptional<z.ZodObject<{
515
+ partTemplate: z.ZodOptional<z.ZodString>;
516
+ editPageText: z.ZodOptional<z.ZodString>;
517
+ webcontainerLinkText: z.ZodOptional<z.ZodString>;
518
+ startWebContainerText: z.ZodOptional<z.ZodString>;
519
+ noPreviewNorStepsText: z.ZodOptional<z.ZodString>;
520
+ filesTitleText: z.ZodOptional<z.ZodString>;
521
+ fileTreeCreateFileText: z.ZodOptional<z.ZodString>;
522
+ fileTreeCreateFolderText: z.ZodOptional<z.ZodString>;
523
+ fileTreeActionNotAllowedText: z.ZodOptional<z.ZodString>;
524
+ fileTreeFileExistsAlreadyText: z.ZodOptional<z.ZodString>;
525
+ fileTreeAllowedPatternsText: z.ZodOptional<z.ZodString>;
526
+ confirmationText: z.ZodOptional<z.ZodString>;
527
+ prepareEnvironmentTitleText: z.ZodOptional<z.ZodString>;
528
+ defaultPreviewTitleText: z.ZodOptional<z.ZodString>;
529
+ reloadPreviewTitle: z.ZodOptional<z.ZodString>;
530
+ toggleTerminalButtonText: z.ZodOptional<z.ZodString>;
531
+ solveButtonText: z.ZodOptional<z.ZodString>;
532
+ resetButtonText: z.ZodOptional<z.ZodString>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ partTemplate?: string | undefined;
535
+ editPageText?: string | undefined;
536
+ webcontainerLinkText?: string | undefined;
537
+ startWebContainerText?: string | undefined;
538
+ noPreviewNorStepsText?: string | undefined;
539
+ filesTitleText?: string | undefined;
540
+ fileTreeCreateFileText?: string | undefined;
541
+ fileTreeCreateFolderText?: string | undefined;
542
+ fileTreeActionNotAllowedText?: string | undefined;
543
+ fileTreeFileExistsAlreadyText?: string | undefined;
544
+ fileTreeAllowedPatternsText?: string | undefined;
545
+ confirmationText?: string | undefined;
546
+ prepareEnvironmentTitleText?: string | undefined;
547
+ defaultPreviewTitleText?: string | undefined;
548
+ reloadPreviewTitle?: string | undefined;
549
+ toggleTerminalButtonText?: string | undefined;
550
+ solveButtonText?: string | undefined;
551
+ resetButtonText?: string | undefined;
552
+ }, {
553
+ partTemplate?: string | undefined;
554
+ editPageText?: string | undefined;
555
+ webcontainerLinkText?: string | undefined;
556
+ startWebContainerText?: string | undefined;
557
+ noPreviewNorStepsText?: string | undefined;
558
+ filesTitleText?: string | undefined;
559
+ fileTreeCreateFileText?: string | undefined;
560
+ fileTreeCreateFolderText?: string | undefined;
561
+ fileTreeActionNotAllowedText?: string | undefined;
562
+ fileTreeFileExistsAlreadyText?: string | undefined;
563
+ fileTreeAllowedPatternsText?: string | undefined;
564
+ confirmationText?: string | undefined;
565
+ prepareEnvironmentTitleText?: string | undefined;
566
+ defaultPreviewTitleText?: string | undefined;
567
+ reloadPreviewTitle?: string | undefined;
568
+ toggleTerminalButtonText?: string | undefined;
569
+ solveButtonText?: string | undefined;
570
+ resetButtonText?: string | undefined;
571
+ }>>;
572
+ editPageLink: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
573
+ openInStackBlitz: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
574
+ projectTitle: z.ZodOptional<z.ZodString>;
575
+ projectDescription: z.ZodOptional<z.ZodString>;
576
+ projectTemplate: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"node">, z.ZodLiteral<"angular-cli">, z.ZodLiteral<"create-react-app">, z.ZodLiteral<"javascript">, z.ZodLiteral<"polymer">, z.ZodLiteral<"typescript">, z.ZodLiteral<"vue">]>>;
577
+ }, "strict", z.ZodTypeAny, {
578
+ projectTitle?: string | undefined;
579
+ projectDescription?: string | undefined;
580
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
581
+ }, {
582
+ projectTitle?: string | undefined;
583
+ projectDescription?: string | undefined;
584
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
585
+ }>]>>;
586
+ downloadAsZip: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
587
+ filename: z.ZodString;
588
+ }, "strict", z.ZodTypeAny, {
589
+ filename: string;
590
+ }, {
591
+ filename: string;
592
+ }>]>>;
593
+ }>, {
594
+ title: z.ZodString;
595
+ slug: z.ZodOptional<z.ZodString>;
596
+ }>, {
597
+ type: z.ZodLiteral<"part">;
598
+ chapters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
599
+ lessons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
600
+ }>, "strict", z.ZodTypeAny, {
601
+ type: "part";
602
+ title: string;
603
+ custom?: Record<string, any> | undefined;
604
+ mainCommand?: string | [string, string] | {
605
+ title: string;
606
+ command: string;
607
+ } | undefined;
608
+ prepareCommands?: (string | [string, string] | {
609
+ title: string;
610
+ command: string;
611
+ })[] | undefined;
612
+ terminal?: boolean | {
613
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
614
+ type: "output" | "terminal";
615
+ title?: string | undefined;
616
+ id?: string | undefined;
617
+ allowRedirects?: boolean | undefined;
618
+ allowCommands?: string[] | undefined;
619
+ })[];
620
+ open?: boolean | undefined;
621
+ allowRedirects?: boolean | undefined;
622
+ allowCommands?: string[] | undefined;
623
+ activePanel?: number | undefined;
624
+ } | undefined;
625
+ meta?: {
626
+ image?: string | undefined;
627
+ description?: string | undefined;
628
+ title?: string | undefined;
629
+ } | undefined;
630
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
631
+ title: string;
632
+ port: number;
633
+ pathname?: string | undefined;
634
+ })[] | undefined;
635
+ autoReload?: boolean | undefined;
636
+ filesystem?: {
637
+ watch?: boolean | string[] | undefined;
638
+ } | undefined;
639
+ template?: string | undefined;
640
+ focus?: string | undefined;
641
+ editor?: boolean | {
642
+ fileTree?: boolean | {
643
+ allowEdits: string | boolean | string[];
644
+ } | undefined;
645
+ } | undefined;
646
+ i18n?: {
647
+ partTemplate?: string | undefined;
648
+ editPageText?: string | undefined;
649
+ webcontainerLinkText?: string | undefined;
650
+ startWebContainerText?: string | undefined;
651
+ noPreviewNorStepsText?: string | undefined;
652
+ filesTitleText?: string | undefined;
653
+ fileTreeCreateFileText?: string | undefined;
654
+ fileTreeCreateFolderText?: string | undefined;
655
+ fileTreeActionNotAllowedText?: string | undefined;
656
+ fileTreeFileExistsAlreadyText?: string | undefined;
657
+ fileTreeAllowedPatternsText?: string | undefined;
658
+ confirmationText?: string | undefined;
659
+ prepareEnvironmentTitleText?: string | undefined;
660
+ defaultPreviewTitleText?: string | undefined;
661
+ reloadPreviewTitle?: string | undefined;
662
+ toggleTerminalButtonText?: string | undefined;
663
+ solveButtonText?: string | undefined;
664
+ resetButtonText?: string | undefined;
665
+ } | undefined;
666
+ editPageLink?: string | boolean | undefined;
667
+ openInStackBlitz?: boolean | {
668
+ projectTitle?: string | undefined;
669
+ projectDescription?: string | undefined;
670
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
671
+ } | undefined;
672
+ downloadAsZip?: boolean | {
673
+ filename: string;
674
+ } | undefined;
675
+ slug?: string | undefined;
676
+ lessons?: string[] | undefined;
677
+ chapters?: string[] | undefined;
678
+ }, {
679
+ type: "part";
680
+ title: string;
681
+ custom?: Record<string, any> | undefined;
682
+ mainCommand?: string | [string, string] | {
683
+ title: string;
684
+ command: string;
685
+ } | undefined;
686
+ prepareCommands?: (string | [string, string] | {
687
+ title: string;
688
+ command: string;
689
+ })[] | undefined;
690
+ terminal?: boolean | {
691
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
692
+ type: "output" | "terminal";
693
+ title?: string | undefined;
694
+ id?: string | undefined;
695
+ allowRedirects?: boolean | undefined;
696
+ allowCommands?: string[] | undefined;
697
+ })[];
698
+ open?: boolean | undefined;
699
+ allowRedirects?: boolean | undefined;
700
+ allowCommands?: string[] | undefined;
701
+ activePanel?: number | undefined;
702
+ } | undefined;
703
+ meta?: {
704
+ image?: string | undefined;
705
+ description?: string | undefined;
706
+ title?: string | undefined;
707
+ } | undefined;
708
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
709
+ title: string;
710
+ port: number;
711
+ pathname?: string | undefined;
712
+ })[] | undefined;
713
+ autoReload?: boolean | undefined;
714
+ filesystem?: {
715
+ watch?: boolean | string[] | undefined;
716
+ } | undefined;
717
+ template?: string | undefined;
718
+ focus?: string | undefined;
719
+ editor?: boolean | {
720
+ fileTree?: boolean | {
721
+ allowEdits: string | boolean | string[];
722
+ } | undefined;
723
+ } | undefined;
724
+ i18n?: {
725
+ partTemplate?: string | undefined;
726
+ editPageText?: string | undefined;
727
+ webcontainerLinkText?: string | undefined;
728
+ startWebContainerText?: string | undefined;
729
+ noPreviewNorStepsText?: string | undefined;
730
+ filesTitleText?: string | undefined;
731
+ fileTreeCreateFileText?: string | undefined;
732
+ fileTreeCreateFolderText?: string | undefined;
733
+ fileTreeActionNotAllowedText?: string | undefined;
734
+ fileTreeFileExistsAlreadyText?: string | undefined;
735
+ fileTreeAllowedPatternsText?: string | undefined;
736
+ confirmationText?: string | undefined;
737
+ prepareEnvironmentTitleText?: string | undefined;
738
+ defaultPreviewTitleText?: string | undefined;
739
+ reloadPreviewTitle?: string | undefined;
740
+ toggleTerminalButtonText?: string | undefined;
741
+ solveButtonText?: string | undefined;
742
+ resetButtonText?: string | undefined;
743
+ } | undefined;
744
+ editPageLink?: string | boolean | undefined;
745
+ openInStackBlitz?: boolean | {
746
+ projectTitle?: string | undefined;
747
+ projectDescription?: string | undefined;
748
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
749
+ } | undefined;
750
+ downloadAsZip?: boolean | {
751
+ filename: string;
752
+ } | undefined;
753
+ slug?: string | undefined;
754
+ lessons?: string[] | undefined;
755
+ chapters?: string[] | undefined;
756
+ }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
757
+ mainCommand: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
758
+ command: z.ZodString;
759
+ title: z.ZodString;
760
+ }, "strict", z.ZodTypeAny, {
761
+ title: string;
762
+ command: string;
763
+ }, {
764
+ title: string;
765
+ command: string;
766
+ }>]>>;
767
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
768
+ command: z.ZodString;
769
+ title: z.ZodString;
770
+ }, "strict", z.ZodTypeAny, {
771
+ title: string;
772
+ command: string;
773
+ }, {
774
+ title: string;
775
+ command: string;
776
+ }>]>, "many">>;
777
+ }, {
778
+ meta: z.ZodOptional<z.ZodObject<{
779
+ image: z.ZodOptional<z.ZodString>;
780
+ description: z.ZodOptional<z.ZodString>;
781
+ title: z.ZodOptional<z.ZodString>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ image?: string | undefined;
784
+ description?: string | undefined;
785
+ title?: string | undefined;
786
+ }, {
787
+ image?: string | undefined;
788
+ description?: string | undefined;
789
+ title?: string | undefined;
790
+ }>>;
791
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
792
+ previews: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodString], null>, z.ZodTuple<[z.ZodNumber, z.ZodString, z.ZodString], null>, z.ZodObject<{
793
+ port: z.ZodNumber;
794
+ title: z.ZodString;
795
+ pathname: z.ZodOptional<z.ZodString>;
796
+ }, "strict", z.ZodTypeAny, {
797
+ title: string;
798
+ port: number;
799
+ pathname?: string | undefined;
800
+ }, {
801
+ title: string;
802
+ port: number;
803
+ pathname?: string | undefined;
804
+ }>]>, "many">]>>;
805
+ autoReload: z.ZodOptional<z.ZodBoolean>;
806
+ filesystem: z.ZodOptional<z.ZodObject<{
807
+ watch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ watch?: boolean | string[] | undefined;
810
+ }, {
811
+ watch?: boolean | string[] | undefined;
812
+ }>>;
813
+ template: z.ZodOptional<z.ZodString>;
814
+ terminal: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
815
+ open: z.ZodOptional<z.ZodBoolean>;
816
+ panels: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">, z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodString], null>, z.ZodObject<{
817
+ type: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>;
818
+ id: z.ZodOptional<z.ZodString>;
819
+ title: z.ZodOptional<z.ZodString>;
820
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
821
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
822
+ }, "strict", z.ZodTypeAny, {
823
+ type: "output" | "terminal";
824
+ title?: string | undefined;
825
+ id?: string | undefined;
826
+ allowRedirects?: boolean | undefined;
827
+ allowCommands?: string[] | undefined;
828
+ }, {
829
+ type: "output" | "terminal";
830
+ title?: string | undefined;
831
+ id?: string | undefined;
832
+ allowRedirects?: boolean | undefined;
833
+ allowCommands?: string[] | undefined;
834
+ }>]>, "many">, ("output" | "terminal" | ["output" | "terminal", string] | {
835
+ type: "output" | "terminal";
836
+ title?: string | undefined;
837
+ id?: string | undefined;
838
+ allowRedirects?: boolean | undefined;
839
+ allowCommands?: string[] | undefined;
840
+ })[], ("output" | "terminal" | ["output" | "terminal", string] | {
841
+ type: "output" | "terminal";
842
+ title?: string | undefined;
843
+ id?: string | undefined;
844
+ allowRedirects?: boolean | undefined;
845
+ allowCommands?: string[] | undefined;
846
+ })[]>]>;
847
+ activePanel: z.ZodOptional<z.ZodNumber>;
848
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
849
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
850
+ }, "strict", z.ZodTypeAny, {
851
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
852
+ type: "output" | "terminal";
853
+ title?: string | undefined;
854
+ id?: string | undefined;
855
+ allowRedirects?: boolean | undefined;
856
+ allowCommands?: string[] | undefined;
857
+ })[];
858
+ open?: boolean | undefined;
859
+ allowRedirects?: boolean | undefined;
860
+ allowCommands?: string[] | undefined;
861
+ activePanel?: number | undefined;
862
+ }, {
863
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
864
+ type: "output" | "terminal";
865
+ title?: string | undefined;
866
+ id?: string | undefined;
867
+ allowRedirects?: boolean | undefined;
868
+ allowCommands?: string[] | undefined;
869
+ })[];
870
+ open?: boolean | undefined;
871
+ allowRedirects?: boolean | undefined;
872
+ allowCommands?: string[] | undefined;
873
+ activePanel?: number | undefined;
874
+ }>]>>;
875
+ focus: z.ZodOptional<z.ZodString>;
876
+ editor: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
877
+ fileTree: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
878
+ allowEdits: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
879
+ }, "strict", z.ZodTypeAny, {
880
+ allowEdits: string | boolean | string[];
881
+ }, {
882
+ allowEdits: string | boolean | string[];
883
+ }>]>>;
884
+ }, "strict", z.ZodTypeAny, {
885
+ fileTree?: boolean | {
886
+ allowEdits: string | boolean | string[];
887
+ } | undefined;
888
+ }, {
889
+ fileTree?: boolean | {
890
+ allowEdits: string | boolean | string[];
891
+ } | undefined;
892
+ }>]>>;
893
+ i18n: z.ZodOptional<z.ZodObject<{
894
+ partTemplate: z.ZodOptional<z.ZodString>;
895
+ editPageText: z.ZodOptional<z.ZodString>;
896
+ webcontainerLinkText: z.ZodOptional<z.ZodString>;
897
+ startWebContainerText: z.ZodOptional<z.ZodString>;
898
+ noPreviewNorStepsText: z.ZodOptional<z.ZodString>;
899
+ filesTitleText: z.ZodOptional<z.ZodString>;
900
+ fileTreeCreateFileText: z.ZodOptional<z.ZodString>;
901
+ fileTreeCreateFolderText: z.ZodOptional<z.ZodString>;
902
+ fileTreeActionNotAllowedText: z.ZodOptional<z.ZodString>;
903
+ fileTreeFileExistsAlreadyText: z.ZodOptional<z.ZodString>;
904
+ fileTreeAllowedPatternsText: z.ZodOptional<z.ZodString>;
905
+ confirmationText: z.ZodOptional<z.ZodString>;
906
+ prepareEnvironmentTitleText: z.ZodOptional<z.ZodString>;
907
+ defaultPreviewTitleText: z.ZodOptional<z.ZodString>;
908
+ reloadPreviewTitle: z.ZodOptional<z.ZodString>;
909
+ toggleTerminalButtonText: z.ZodOptional<z.ZodString>;
910
+ solveButtonText: z.ZodOptional<z.ZodString>;
911
+ resetButtonText: z.ZodOptional<z.ZodString>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ partTemplate?: string | undefined;
914
+ editPageText?: string | undefined;
915
+ webcontainerLinkText?: string | undefined;
916
+ startWebContainerText?: string | undefined;
917
+ noPreviewNorStepsText?: string | undefined;
918
+ filesTitleText?: string | undefined;
919
+ fileTreeCreateFileText?: string | undefined;
920
+ fileTreeCreateFolderText?: string | undefined;
921
+ fileTreeActionNotAllowedText?: string | undefined;
922
+ fileTreeFileExistsAlreadyText?: string | undefined;
923
+ fileTreeAllowedPatternsText?: string | undefined;
924
+ confirmationText?: string | undefined;
925
+ prepareEnvironmentTitleText?: string | undefined;
926
+ defaultPreviewTitleText?: string | undefined;
927
+ reloadPreviewTitle?: string | undefined;
928
+ toggleTerminalButtonText?: string | undefined;
929
+ solveButtonText?: string | undefined;
930
+ resetButtonText?: string | undefined;
931
+ }, {
932
+ partTemplate?: string | undefined;
933
+ editPageText?: string | undefined;
934
+ webcontainerLinkText?: string | undefined;
935
+ startWebContainerText?: string | undefined;
936
+ noPreviewNorStepsText?: string | undefined;
937
+ filesTitleText?: string | undefined;
938
+ fileTreeCreateFileText?: string | undefined;
939
+ fileTreeCreateFolderText?: string | undefined;
940
+ fileTreeActionNotAllowedText?: string | undefined;
941
+ fileTreeFileExistsAlreadyText?: string | undefined;
942
+ fileTreeAllowedPatternsText?: string | undefined;
943
+ confirmationText?: string | undefined;
944
+ prepareEnvironmentTitleText?: string | undefined;
945
+ defaultPreviewTitleText?: string | undefined;
946
+ reloadPreviewTitle?: string | undefined;
947
+ toggleTerminalButtonText?: string | undefined;
948
+ solveButtonText?: string | undefined;
949
+ resetButtonText?: string | undefined;
950
+ }>>;
951
+ editPageLink: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
952
+ openInStackBlitz: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
953
+ projectTitle: z.ZodOptional<z.ZodString>;
954
+ projectDescription: z.ZodOptional<z.ZodString>;
955
+ projectTemplate: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"node">, z.ZodLiteral<"angular-cli">, z.ZodLiteral<"create-react-app">, z.ZodLiteral<"javascript">, z.ZodLiteral<"polymer">, z.ZodLiteral<"typescript">, z.ZodLiteral<"vue">]>>;
956
+ }, "strict", z.ZodTypeAny, {
957
+ projectTitle?: string | undefined;
958
+ projectDescription?: string | undefined;
959
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
960
+ }, {
961
+ projectTitle?: string | undefined;
962
+ projectDescription?: string | undefined;
963
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
964
+ }>]>>;
965
+ downloadAsZip: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
966
+ filename: z.ZodString;
967
+ }, "strict", z.ZodTypeAny, {
968
+ filename: string;
969
+ }, {
970
+ filename: string;
971
+ }>]>>;
972
+ }>, {
973
+ title: z.ZodString;
974
+ slug: z.ZodOptional<z.ZodString>;
975
+ }>, {
976
+ type: z.ZodLiteral<"chapter">;
977
+ lessons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
978
+ }>, "strict", z.ZodTypeAny, {
979
+ type: "chapter";
980
+ title: string;
981
+ custom?: Record<string, any> | undefined;
982
+ mainCommand?: string | [string, string] | {
983
+ title: string;
984
+ command: string;
985
+ } | undefined;
986
+ prepareCommands?: (string | [string, string] | {
987
+ title: string;
988
+ command: string;
989
+ })[] | undefined;
990
+ terminal?: boolean | {
991
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
992
+ type: "output" | "terminal";
993
+ title?: string | undefined;
994
+ id?: string | undefined;
995
+ allowRedirects?: boolean | undefined;
996
+ allowCommands?: string[] | undefined;
997
+ })[];
998
+ open?: boolean | undefined;
999
+ allowRedirects?: boolean | undefined;
1000
+ allowCommands?: string[] | undefined;
1001
+ activePanel?: number | undefined;
1002
+ } | undefined;
1003
+ meta?: {
1004
+ image?: string | undefined;
1005
+ description?: string | undefined;
1006
+ title?: string | undefined;
1007
+ } | undefined;
1008
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
1009
+ title: string;
1010
+ port: number;
1011
+ pathname?: string | undefined;
1012
+ })[] | undefined;
1013
+ autoReload?: boolean | undefined;
1014
+ filesystem?: {
1015
+ watch?: boolean | string[] | undefined;
1016
+ } | undefined;
1017
+ template?: string | undefined;
1018
+ focus?: string | undefined;
1019
+ editor?: boolean | {
1020
+ fileTree?: boolean | {
1021
+ allowEdits: string | boolean | string[];
1022
+ } | undefined;
1023
+ } | undefined;
1024
+ i18n?: {
1025
+ partTemplate?: string | undefined;
1026
+ editPageText?: string | undefined;
1027
+ webcontainerLinkText?: string | undefined;
1028
+ startWebContainerText?: string | undefined;
1029
+ noPreviewNorStepsText?: string | undefined;
1030
+ filesTitleText?: string | undefined;
1031
+ fileTreeCreateFileText?: string | undefined;
1032
+ fileTreeCreateFolderText?: string | undefined;
1033
+ fileTreeActionNotAllowedText?: string | undefined;
1034
+ fileTreeFileExistsAlreadyText?: string | undefined;
1035
+ fileTreeAllowedPatternsText?: string | undefined;
1036
+ confirmationText?: string | undefined;
1037
+ prepareEnvironmentTitleText?: string | undefined;
1038
+ defaultPreviewTitleText?: string | undefined;
1039
+ reloadPreviewTitle?: string | undefined;
1040
+ toggleTerminalButtonText?: string | undefined;
1041
+ solveButtonText?: string | undefined;
1042
+ resetButtonText?: string | undefined;
1043
+ } | undefined;
1044
+ editPageLink?: string | boolean | undefined;
1045
+ openInStackBlitz?: boolean | {
1046
+ projectTitle?: string | undefined;
1047
+ projectDescription?: string | undefined;
1048
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1049
+ } | undefined;
1050
+ downloadAsZip?: boolean | {
1051
+ filename: string;
1052
+ } | undefined;
1053
+ slug?: string | undefined;
1054
+ lessons?: string[] | undefined;
1055
+ }, {
1056
+ type: "chapter";
1057
+ title: string;
1058
+ custom?: Record<string, any> | undefined;
1059
+ mainCommand?: string | [string, string] | {
1060
+ title: string;
1061
+ command: string;
1062
+ } | undefined;
1063
+ prepareCommands?: (string | [string, string] | {
1064
+ title: string;
1065
+ command: string;
1066
+ })[] | undefined;
1067
+ terminal?: boolean | {
1068
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
1069
+ type: "output" | "terminal";
1070
+ title?: string | undefined;
1071
+ id?: string | undefined;
1072
+ allowRedirects?: boolean | undefined;
1073
+ allowCommands?: string[] | undefined;
1074
+ })[];
1075
+ open?: boolean | undefined;
1076
+ allowRedirects?: boolean | undefined;
1077
+ allowCommands?: string[] | undefined;
1078
+ activePanel?: number | undefined;
1079
+ } | undefined;
1080
+ meta?: {
1081
+ image?: string | undefined;
1082
+ description?: string | undefined;
1083
+ title?: string | undefined;
1084
+ } | undefined;
1085
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
1086
+ title: string;
1087
+ port: number;
1088
+ pathname?: string | undefined;
1089
+ })[] | undefined;
1090
+ autoReload?: boolean | undefined;
1091
+ filesystem?: {
1092
+ watch?: boolean | string[] | undefined;
1093
+ } | undefined;
1094
+ template?: string | undefined;
1095
+ focus?: string | undefined;
1096
+ editor?: boolean | {
1097
+ fileTree?: boolean | {
1098
+ allowEdits: string | boolean | string[];
1099
+ } | undefined;
1100
+ } | undefined;
1101
+ i18n?: {
1102
+ partTemplate?: string | undefined;
1103
+ editPageText?: string | undefined;
1104
+ webcontainerLinkText?: string | undefined;
1105
+ startWebContainerText?: string | undefined;
1106
+ noPreviewNorStepsText?: string | undefined;
1107
+ filesTitleText?: string | undefined;
1108
+ fileTreeCreateFileText?: string | undefined;
1109
+ fileTreeCreateFolderText?: string | undefined;
1110
+ fileTreeActionNotAllowedText?: string | undefined;
1111
+ fileTreeFileExistsAlreadyText?: string | undefined;
1112
+ fileTreeAllowedPatternsText?: string | undefined;
1113
+ confirmationText?: string | undefined;
1114
+ prepareEnvironmentTitleText?: string | undefined;
1115
+ defaultPreviewTitleText?: string | undefined;
1116
+ reloadPreviewTitle?: string | undefined;
1117
+ toggleTerminalButtonText?: string | undefined;
1118
+ solveButtonText?: string | undefined;
1119
+ resetButtonText?: string | undefined;
1120
+ } | undefined;
1121
+ editPageLink?: string | boolean | undefined;
1122
+ openInStackBlitz?: boolean | {
1123
+ projectTitle?: string | undefined;
1124
+ projectDescription?: string | undefined;
1125
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1126
+ } | undefined;
1127
+ downloadAsZip?: boolean | {
1128
+ filename: string;
1129
+ } | undefined;
1130
+ slug?: string | undefined;
1131
+ lessons?: string[] | undefined;
1132
+ }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1133
+ mainCommand: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
1134
+ command: z.ZodString;
1135
+ title: z.ZodString;
1136
+ }, "strict", z.ZodTypeAny, {
1137
+ title: string;
1138
+ command: string;
1139
+ }, {
1140
+ title: string;
1141
+ command: string;
1142
+ }>]>>;
1143
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>, z.ZodObject<{
1144
+ command: z.ZodString;
1145
+ title: z.ZodString;
1146
+ }, "strict", z.ZodTypeAny, {
1147
+ title: string;
1148
+ command: string;
1149
+ }, {
1150
+ title: string;
1151
+ command: string;
1152
+ }>]>, "many">>;
1153
+ }, {
1154
+ meta: z.ZodOptional<z.ZodObject<{
1155
+ image: z.ZodOptional<z.ZodString>;
1156
+ description: z.ZodOptional<z.ZodString>;
1157
+ title: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ image?: string | undefined;
1160
+ description?: string | undefined;
1161
+ title?: string | undefined;
1162
+ }, {
1163
+ image?: string | undefined;
1164
+ description?: string | undefined;
1165
+ title?: string | undefined;
1166
+ }>>;
1167
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1168
+ previews: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodString], null>, z.ZodTuple<[z.ZodNumber, z.ZodString, z.ZodString], null>, z.ZodObject<{
1169
+ port: z.ZodNumber;
1170
+ title: z.ZodString;
1171
+ pathname: z.ZodOptional<z.ZodString>;
1172
+ }, "strict", z.ZodTypeAny, {
1173
+ title: string;
1174
+ port: number;
1175
+ pathname?: string | undefined;
1176
+ }, {
1177
+ title: string;
1178
+ port: number;
1179
+ pathname?: string | undefined;
1180
+ }>]>, "many">]>>;
1181
+ autoReload: z.ZodOptional<z.ZodBoolean>;
1182
+ filesystem: z.ZodOptional<z.ZodObject<{
1183
+ watch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ watch?: boolean | string[] | undefined;
1186
+ }, {
1187
+ watch?: boolean | string[] | undefined;
1188
+ }>>;
1189
+ template: z.ZodOptional<z.ZodString>;
1190
+ terminal: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1191
+ open: z.ZodOptional<z.ZodBoolean>;
1192
+ panels: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">, z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodTuple<[z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>, z.ZodString], null>, z.ZodObject<{
1193
+ type: z.ZodUnion<[z.ZodLiteral<"output">, z.ZodLiteral<"terminal">]>;
1194
+ id: z.ZodOptional<z.ZodString>;
1195
+ title: z.ZodOptional<z.ZodString>;
1196
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
1197
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1198
+ }, "strict", z.ZodTypeAny, {
1199
+ type: "output" | "terminal";
1200
+ title?: string | undefined;
1201
+ id?: string | undefined;
1202
+ allowRedirects?: boolean | undefined;
1203
+ allowCommands?: string[] | undefined;
1204
+ }, {
1205
+ type: "output" | "terminal";
1206
+ title?: string | undefined;
1207
+ id?: string | undefined;
1208
+ allowRedirects?: boolean | undefined;
1209
+ allowCommands?: string[] | undefined;
1210
+ }>]>, "many">, ("output" | "terminal" | ["output" | "terminal", string] | {
1211
+ type: "output" | "terminal";
1212
+ title?: string | undefined;
1213
+ id?: string | undefined;
1214
+ allowRedirects?: boolean | undefined;
1215
+ allowCommands?: string[] | undefined;
1216
+ })[], ("output" | "terminal" | ["output" | "terminal", string] | {
1217
+ type: "output" | "terminal";
1218
+ title?: string | undefined;
1219
+ id?: string | undefined;
1220
+ allowRedirects?: boolean | undefined;
1221
+ allowCommands?: string[] | undefined;
1222
+ })[]>]>;
1223
+ activePanel: z.ZodOptional<z.ZodNumber>;
1224
+ allowRedirects: z.ZodOptional<z.ZodBoolean>;
1225
+ allowCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1226
+ }, "strict", z.ZodTypeAny, {
1227
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
1228
+ type: "output" | "terminal";
1229
+ title?: string | undefined;
1230
+ id?: string | undefined;
1231
+ allowRedirects?: boolean | undefined;
1232
+ allowCommands?: string[] | undefined;
1233
+ })[];
1234
+ open?: boolean | undefined;
1235
+ allowRedirects?: boolean | undefined;
1236
+ allowCommands?: string[] | undefined;
1237
+ activePanel?: number | undefined;
1238
+ }, {
1239
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
1240
+ type: "output" | "terminal";
1241
+ title?: string | undefined;
1242
+ id?: string | undefined;
1243
+ allowRedirects?: boolean | undefined;
1244
+ allowCommands?: string[] | undefined;
1245
+ })[];
1246
+ open?: boolean | undefined;
1247
+ allowRedirects?: boolean | undefined;
1248
+ allowCommands?: string[] | undefined;
1249
+ activePanel?: number | undefined;
1250
+ }>]>>;
1251
+ focus: z.ZodOptional<z.ZodString>;
1252
+ editor: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
1253
+ fileTree: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1254
+ allowEdits: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1255
+ }, "strict", z.ZodTypeAny, {
1256
+ allowEdits: string | boolean | string[];
1257
+ }, {
1258
+ allowEdits: string | boolean | string[];
1259
+ }>]>>;
1260
+ }, "strict", z.ZodTypeAny, {
1261
+ fileTree?: boolean | {
1262
+ allowEdits: string | boolean | string[];
1263
+ } | undefined;
1264
+ }, {
1265
+ fileTree?: boolean | {
1266
+ allowEdits: string | boolean | string[];
1267
+ } | undefined;
1268
+ }>]>>;
1269
+ i18n: z.ZodOptional<z.ZodObject<{
1270
+ partTemplate: z.ZodOptional<z.ZodString>;
1271
+ editPageText: z.ZodOptional<z.ZodString>;
1272
+ webcontainerLinkText: z.ZodOptional<z.ZodString>;
1273
+ startWebContainerText: z.ZodOptional<z.ZodString>;
1274
+ noPreviewNorStepsText: z.ZodOptional<z.ZodString>;
1275
+ filesTitleText: z.ZodOptional<z.ZodString>;
1276
+ fileTreeCreateFileText: z.ZodOptional<z.ZodString>;
1277
+ fileTreeCreateFolderText: z.ZodOptional<z.ZodString>;
1278
+ fileTreeActionNotAllowedText: z.ZodOptional<z.ZodString>;
1279
+ fileTreeFileExistsAlreadyText: z.ZodOptional<z.ZodString>;
1280
+ fileTreeAllowedPatternsText: z.ZodOptional<z.ZodString>;
1281
+ confirmationText: z.ZodOptional<z.ZodString>;
1282
+ prepareEnvironmentTitleText: z.ZodOptional<z.ZodString>;
1283
+ defaultPreviewTitleText: z.ZodOptional<z.ZodString>;
1284
+ reloadPreviewTitle: z.ZodOptional<z.ZodString>;
1285
+ toggleTerminalButtonText: z.ZodOptional<z.ZodString>;
1286
+ solveButtonText: z.ZodOptional<z.ZodString>;
1287
+ resetButtonText: z.ZodOptional<z.ZodString>;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ partTemplate?: string | undefined;
1290
+ editPageText?: string | undefined;
1291
+ webcontainerLinkText?: string | undefined;
1292
+ startWebContainerText?: string | undefined;
1293
+ noPreviewNorStepsText?: string | undefined;
1294
+ filesTitleText?: string | undefined;
1295
+ fileTreeCreateFileText?: string | undefined;
1296
+ fileTreeCreateFolderText?: string | undefined;
1297
+ fileTreeActionNotAllowedText?: string | undefined;
1298
+ fileTreeFileExistsAlreadyText?: string | undefined;
1299
+ fileTreeAllowedPatternsText?: string | undefined;
1300
+ confirmationText?: string | undefined;
1301
+ prepareEnvironmentTitleText?: string | undefined;
1302
+ defaultPreviewTitleText?: string | undefined;
1303
+ reloadPreviewTitle?: string | undefined;
1304
+ toggleTerminalButtonText?: string | undefined;
1305
+ solveButtonText?: string | undefined;
1306
+ resetButtonText?: string | undefined;
1307
+ }, {
1308
+ partTemplate?: string | undefined;
1309
+ editPageText?: string | undefined;
1310
+ webcontainerLinkText?: string | undefined;
1311
+ startWebContainerText?: string | undefined;
1312
+ noPreviewNorStepsText?: string | undefined;
1313
+ filesTitleText?: string | undefined;
1314
+ fileTreeCreateFileText?: string | undefined;
1315
+ fileTreeCreateFolderText?: string | undefined;
1316
+ fileTreeActionNotAllowedText?: string | undefined;
1317
+ fileTreeFileExistsAlreadyText?: string | undefined;
1318
+ fileTreeAllowedPatternsText?: string | undefined;
1319
+ confirmationText?: string | undefined;
1320
+ prepareEnvironmentTitleText?: string | undefined;
1321
+ defaultPreviewTitleText?: string | undefined;
1322
+ reloadPreviewTitle?: string | undefined;
1323
+ toggleTerminalButtonText?: string | undefined;
1324
+ solveButtonText?: string | undefined;
1325
+ resetButtonText?: string | undefined;
1326
+ }>>;
1327
+ editPageLink: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1328
+ openInStackBlitz: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1329
+ projectTitle: z.ZodOptional<z.ZodString>;
1330
+ projectDescription: z.ZodOptional<z.ZodString>;
1331
+ projectTemplate: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"node">, z.ZodLiteral<"angular-cli">, z.ZodLiteral<"create-react-app">, z.ZodLiteral<"javascript">, z.ZodLiteral<"polymer">, z.ZodLiteral<"typescript">, z.ZodLiteral<"vue">]>>;
1332
+ }, "strict", z.ZodTypeAny, {
1333
+ projectTitle?: string | undefined;
1334
+ projectDescription?: string | undefined;
1335
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1336
+ }, {
1337
+ projectTitle?: string | undefined;
1338
+ projectDescription?: string | undefined;
1339
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1340
+ }>]>>;
1341
+ downloadAsZip: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1342
+ filename: z.ZodString;
1343
+ }, "strict", z.ZodTypeAny, {
1344
+ filename: string;
1345
+ }, {
1346
+ filename: string;
1347
+ }>]>>;
1348
+ }>, {
1349
+ title: z.ZodString;
1350
+ slug: z.ZodOptional<z.ZodString>;
1351
+ }>, {
1352
+ type: z.ZodLiteral<"lesson">;
1353
+ scope: z.ZodOptional<z.ZodString>;
1354
+ hideRoot: z.ZodOptional<z.ZodBoolean>;
1355
+ }>, "strict", z.ZodTypeAny, {
1356
+ type: "lesson";
1357
+ title: string;
1358
+ custom?: Record<string, any> | undefined;
1359
+ mainCommand?: string | [string, string] | {
1360
+ title: string;
1361
+ command: string;
1362
+ } | undefined;
1363
+ prepareCommands?: (string | [string, string] | {
1364
+ title: string;
1365
+ command: string;
1366
+ })[] | undefined;
1367
+ terminal?: boolean | {
1368
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
1369
+ type: "output" | "terminal";
1370
+ title?: string | undefined;
1371
+ id?: string | undefined;
1372
+ allowRedirects?: boolean | undefined;
1373
+ allowCommands?: string[] | undefined;
1374
+ })[];
1375
+ open?: boolean | undefined;
1376
+ allowRedirects?: boolean | undefined;
1377
+ allowCommands?: string[] | undefined;
1378
+ activePanel?: number | undefined;
1379
+ } | undefined;
1380
+ meta?: {
1381
+ image?: string | undefined;
1382
+ description?: string | undefined;
1383
+ title?: string | undefined;
1384
+ } | undefined;
1385
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
1386
+ title: string;
1387
+ port: number;
1388
+ pathname?: string | undefined;
1389
+ })[] | undefined;
1390
+ autoReload?: boolean | undefined;
1391
+ filesystem?: {
1392
+ watch?: boolean | string[] | undefined;
1393
+ } | undefined;
1394
+ template?: string | undefined;
1395
+ focus?: string | undefined;
1396
+ editor?: boolean | {
1397
+ fileTree?: boolean | {
1398
+ allowEdits: string | boolean | string[];
1399
+ } | undefined;
1400
+ } | undefined;
1401
+ i18n?: {
1402
+ partTemplate?: string | undefined;
1403
+ editPageText?: string | undefined;
1404
+ webcontainerLinkText?: string | undefined;
1405
+ startWebContainerText?: string | undefined;
1406
+ noPreviewNorStepsText?: string | undefined;
1407
+ filesTitleText?: string | undefined;
1408
+ fileTreeCreateFileText?: string | undefined;
1409
+ fileTreeCreateFolderText?: string | undefined;
1410
+ fileTreeActionNotAllowedText?: string | undefined;
1411
+ fileTreeFileExistsAlreadyText?: string | undefined;
1412
+ fileTreeAllowedPatternsText?: string | undefined;
1413
+ confirmationText?: string | undefined;
1414
+ prepareEnvironmentTitleText?: string | undefined;
1415
+ defaultPreviewTitleText?: string | undefined;
1416
+ reloadPreviewTitle?: string | undefined;
1417
+ toggleTerminalButtonText?: string | undefined;
1418
+ solveButtonText?: string | undefined;
1419
+ resetButtonText?: string | undefined;
1420
+ } | undefined;
1421
+ editPageLink?: string | boolean | undefined;
1422
+ openInStackBlitz?: boolean | {
1423
+ projectTitle?: string | undefined;
1424
+ projectDescription?: string | undefined;
1425
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1426
+ } | undefined;
1427
+ downloadAsZip?: boolean | {
1428
+ filename: string;
1429
+ } | undefined;
1430
+ slug?: string | undefined;
1431
+ scope?: string | undefined;
1432
+ hideRoot?: boolean | undefined;
1433
+ }, {
1434
+ type: "lesson";
1435
+ title: string;
1436
+ custom?: Record<string, any> | undefined;
1437
+ mainCommand?: string | [string, string] | {
1438
+ title: string;
1439
+ command: string;
1440
+ } | undefined;
1441
+ prepareCommands?: (string | [string, string] | {
1442
+ title: string;
1443
+ command: string;
1444
+ })[] | undefined;
1445
+ terminal?: boolean | {
1446
+ panels: "output" | "terminal" | ("output" | "terminal" | ["output" | "terminal", string] | {
1447
+ type: "output" | "terminal";
1448
+ title?: string | undefined;
1449
+ id?: string | undefined;
1450
+ allowRedirects?: boolean | undefined;
1451
+ allowCommands?: string[] | undefined;
1452
+ })[];
1453
+ open?: boolean | undefined;
1454
+ allowRedirects?: boolean | undefined;
1455
+ allowCommands?: string[] | undefined;
1456
+ activePanel?: number | undefined;
1457
+ } | undefined;
1458
+ meta?: {
1459
+ image?: string | undefined;
1460
+ description?: string | undefined;
1461
+ title?: string | undefined;
1462
+ } | undefined;
1463
+ previews?: boolean | (string | number | [number, string] | [number, string, string] | {
1464
+ title: string;
1465
+ port: number;
1466
+ pathname?: string | undefined;
1467
+ })[] | undefined;
1468
+ autoReload?: boolean | undefined;
1469
+ filesystem?: {
1470
+ watch?: boolean | string[] | undefined;
1471
+ } | undefined;
1472
+ template?: string | undefined;
1473
+ focus?: string | undefined;
1474
+ editor?: boolean | {
1475
+ fileTree?: boolean | {
1476
+ allowEdits: string | boolean | string[];
1477
+ } | undefined;
1478
+ } | undefined;
1479
+ i18n?: {
1480
+ partTemplate?: string | undefined;
1481
+ editPageText?: string | undefined;
1482
+ webcontainerLinkText?: string | undefined;
1483
+ startWebContainerText?: string | undefined;
1484
+ noPreviewNorStepsText?: string | undefined;
1485
+ filesTitleText?: string | undefined;
1486
+ fileTreeCreateFileText?: string | undefined;
1487
+ fileTreeCreateFolderText?: string | undefined;
1488
+ fileTreeActionNotAllowedText?: string | undefined;
1489
+ fileTreeFileExistsAlreadyText?: string | undefined;
1490
+ fileTreeAllowedPatternsText?: string | undefined;
1491
+ confirmationText?: string | undefined;
1492
+ prepareEnvironmentTitleText?: string | undefined;
1493
+ defaultPreviewTitleText?: string | undefined;
1494
+ reloadPreviewTitle?: string | undefined;
1495
+ toggleTerminalButtonText?: string | undefined;
1496
+ solveButtonText?: string | undefined;
1497
+ resetButtonText?: string | undefined;
1498
+ } | undefined;
1499
+ editPageLink?: string | boolean | undefined;
1500
+ openInStackBlitz?: boolean | {
1501
+ projectTitle?: string | undefined;
1502
+ projectDescription?: string | undefined;
1503
+ projectTemplate?: "html" | "node" | "angular-cli" | "create-react-app" | "javascript" | "polymer" | "typescript" | "vue" | undefined;
1504
+ } | undefined;
1505
+ downloadAsZip?: boolean | {
1506
+ filename: string;
1507
+ } | undefined;
1508
+ slug?: string | undefined;
1509
+ scope?: string | undefined;
1510
+ hideRoot?: boolean | undefined;
1511
+ }>]>;
1512
+ export type ContentSchema = z.infer<typeof contentSchema>;