@webstudio-is/sdk 0.191.4 → 0.192.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.
Files changed (40) hide show
  1. package/lib/__generated__/normalize.css.js +505 -0
  2. package/lib/index.js +1300 -0
  3. package/lib/runtime.js +101 -0
  4. package/lib/types/__generated__/normalize.css.d.ts +57 -0
  5. package/lib/types/expression.d.ts +53 -0
  6. package/lib/types/expression.test.d.ts +1 -0
  7. package/lib/types/form-fields.d.ts +8 -0
  8. package/lib/types/index.d.ts +19 -0
  9. package/lib/types/instances-utils.d.ts +5 -0
  10. package/lib/types/instances-utils.test.d.ts +1 -0
  11. package/lib/types/jsx.d.ts +151 -0
  12. package/lib/types/jsx.test.d.ts +1 -0
  13. package/lib/types/page-meta-generator.d.ts +24 -0
  14. package/lib/types/page-meta-generator.test.d.ts +1 -0
  15. package/lib/types/page-utils.d.ts +24 -0
  16. package/lib/types/page-utils.test.d.ts +1 -0
  17. package/lib/types/resource-loader.d.ts +30 -0
  18. package/lib/types/resource-loader.test.d.ts +1 -0
  19. package/lib/types/resources-generator.d.ts +22 -0
  20. package/lib/types/resources-generator.test.d.ts +1 -0
  21. package/lib/types/runtime.d.ts +3 -0
  22. package/lib/types/schema/assets.d.ts +527 -0
  23. package/lib/types/schema/breakpoints.d.ts +56 -0
  24. package/lib/types/schema/data-sources.d.ts +303 -0
  25. package/lib/types/schema/deployment.d.ts +41 -0
  26. package/lib/types/schema/instances.d.ts +417 -0
  27. package/lib/types/schema/pages.d.ts +675 -0
  28. package/lib/types/schema/props.d.ts +549 -0
  29. package/lib/types/schema/resources.d.ts +121 -0
  30. package/lib/types/schema/style-source-selections.d.ts +23 -0
  31. package/lib/types/schema/style-sources.d.ts +62 -0
  32. package/lib/types/schema/styles.d.ts +2629 -0
  33. package/lib/types/schema/webstudio.d.ts +2374 -0
  34. package/lib/types/scope.d.ts +16 -0
  35. package/lib/types/scope.test.d.ts +1 -0
  36. package/lib/types/testing.d.ts +1 -0
  37. package/lib/types/to-string.d.ts +2 -0
  38. package/lib/types/url-pattern.d.ts +2 -0
  39. package/lib/types/url-pattern.test.d.ts +1 -0
  40. package/package.json +5 -5
@@ -0,0 +1,675 @@
1
+ import { z } from "zod";
2
+ export type System = {
3
+ params: Record<string, string | undefined>;
4
+ search: Record<string, string | undefined>;
5
+ origin: string;
6
+ };
7
+ export declare const FolderName: z.ZodEffects<z.ZodString, string, string>;
8
+ export declare const Folder: z.ZodObject<{
9
+ id: z.ZodString;
10
+ name: z.ZodEffects<z.ZodString, string, string>;
11
+ slug: z.ZodEffects<z.ZodString, string, string>;
12
+ children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
13
+ }, "strip", z.ZodTypeAny, {
14
+ id: string;
15
+ name: string;
16
+ slug: string;
17
+ children: string[];
18
+ }, {
19
+ id: string;
20
+ name: string;
21
+ slug: string;
22
+ children: string[];
23
+ }>;
24
+ export type Folder = z.infer<typeof Folder>;
25
+ export declare const PageName: z.ZodEffects<z.ZodString, string, string>;
26
+ export declare const PageTitle: z.ZodEffects<z.ZodString, string, string>;
27
+ export declare const documentTypes: readonly ["html", "xml"];
28
+ export declare const HomePagePath: z.ZodEffects<z.ZodString, "", string>;
29
+ export declare const PagePath: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
30
+ declare const Page: z.ZodObject<{
31
+ path: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
32
+ id: z.ZodString;
33
+ name: z.ZodEffects<z.ZodString, string, string>;
34
+ title: z.ZodEffects<z.ZodString, string, string>;
35
+ history: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36
+ rootInstanceId: z.ZodString;
37
+ systemDataSourceId: z.ZodString;
38
+ meta: z.ZodObject<{
39
+ description: z.ZodOptional<z.ZodString>;
40
+ title: z.ZodOptional<z.ZodString>;
41
+ excludePageFromSearch: z.ZodOptional<z.ZodString>;
42
+ language: z.ZodOptional<z.ZodString>;
43
+ socialImageAssetId: z.ZodOptional<z.ZodString>;
44
+ socialImageUrl: z.ZodOptional<z.ZodString>;
45
+ status: z.ZodOptional<z.ZodString>;
46
+ redirect: z.ZodOptional<z.ZodString>;
47
+ documentType: z.ZodOptional<z.ZodEnum<["html", "xml"]>>;
48
+ custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
49
+ property: z.ZodString;
50
+ content: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ property: string;
53
+ content: string;
54
+ }, {
55
+ property: string;
56
+ content: string;
57
+ }>, "many">>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ description?: string | undefined;
60
+ title?: string | undefined;
61
+ excludePageFromSearch?: string | undefined;
62
+ language?: string | undefined;
63
+ socialImageAssetId?: string | undefined;
64
+ socialImageUrl?: string | undefined;
65
+ status?: string | undefined;
66
+ redirect?: string | undefined;
67
+ documentType?: "html" | "xml" | undefined;
68
+ custom?: {
69
+ property: string;
70
+ content: string;
71
+ }[] | undefined;
72
+ }, {
73
+ description?: string | undefined;
74
+ title?: string | undefined;
75
+ excludePageFromSearch?: string | undefined;
76
+ language?: string | undefined;
77
+ socialImageAssetId?: string | undefined;
78
+ socialImageUrl?: string | undefined;
79
+ status?: string | undefined;
80
+ redirect?: string | undefined;
81
+ documentType?: "html" | "xml" | undefined;
82
+ custom?: {
83
+ property: string;
84
+ content: string;
85
+ }[] | undefined;
86
+ }>;
87
+ marketplace: z.ZodOptional<z.ZodObject<{
88
+ include: z.ZodOptional<z.ZodBoolean>;
89
+ category: z.ZodOptional<z.ZodString>;
90
+ thumbnailAssetId: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ include?: boolean | undefined;
93
+ category?: string | undefined;
94
+ thumbnailAssetId?: string | undefined;
95
+ }, {
96
+ include?: boolean | undefined;
97
+ category?: string | undefined;
98
+ thumbnailAssetId?: string | undefined;
99
+ }>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ path: string;
102
+ id: string;
103
+ name: string;
104
+ meta: {
105
+ description?: string | undefined;
106
+ title?: string | undefined;
107
+ excludePageFromSearch?: string | undefined;
108
+ language?: string | undefined;
109
+ socialImageAssetId?: string | undefined;
110
+ socialImageUrl?: string | undefined;
111
+ status?: string | undefined;
112
+ redirect?: string | undefined;
113
+ documentType?: "html" | "xml" | undefined;
114
+ custom?: {
115
+ property: string;
116
+ content: string;
117
+ }[] | undefined;
118
+ };
119
+ title: string;
120
+ rootInstanceId: string;
121
+ systemDataSourceId: string;
122
+ history?: string[] | undefined;
123
+ marketplace?: {
124
+ include?: boolean | undefined;
125
+ category?: string | undefined;
126
+ thumbnailAssetId?: string | undefined;
127
+ } | undefined;
128
+ }, {
129
+ path: string;
130
+ id: string;
131
+ name: string;
132
+ meta: {
133
+ description?: string | undefined;
134
+ title?: string | undefined;
135
+ excludePageFromSearch?: string | undefined;
136
+ language?: string | undefined;
137
+ socialImageAssetId?: string | undefined;
138
+ socialImageUrl?: string | undefined;
139
+ status?: string | undefined;
140
+ redirect?: string | undefined;
141
+ documentType?: "html" | "xml" | undefined;
142
+ custom?: {
143
+ property: string;
144
+ content: string;
145
+ }[] | undefined;
146
+ };
147
+ title: string;
148
+ rootInstanceId: string;
149
+ systemDataSourceId: string;
150
+ history?: string[] | undefined;
151
+ marketplace?: {
152
+ include?: boolean | undefined;
153
+ category?: string | undefined;
154
+ thumbnailAssetId?: string | undefined;
155
+ } | undefined;
156
+ }>;
157
+ declare const ProjectMeta: z.ZodObject<{
158
+ siteName: z.ZodOptional<z.ZodString>;
159
+ contactEmail: z.ZodOptional<z.ZodString>;
160
+ faviconAssetId: z.ZodOptional<z.ZodString>;
161
+ code: z.ZodOptional<z.ZodString>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ siteName?: string | undefined;
164
+ contactEmail?: string | undefined;
165
+ faviconAssetId?: string | undefined;
166
+ code?: string | undefined;
167
+ }, {
168
+ siteName?: string | undefined;
169
+ contactEmail?: string | undefined;
170
+ faviconAssetId?: string | undefined;
171
+ code?: string | undefined;
172
+ }>;
173
+ export type ProjectMeta = z.infer<typeof ProjectMeta>;
174
+ export declare const ProjectNewRedirectPath: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
175
+ export declare const PageRedirect: z.ZodObject<{
176
+ old: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
177
+ new: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
178
+ status: z.ZodOptional<z.ZodEnum<["301", "302"]>>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ old: string;
181
+ new: string;
182
+ status?: "301" | "302" | undefined;
183
+ }, {
184
+ old: string;
185
+ new: string;
186
+ status?: "301" | "302" | undefined;
187
+ }>;
188
+ export type PageRedirect = z.infer<typeof PageRedirect>;
189
+ export declare const CompilerSettings: z.ZodObject<{
190
+ atomicStyles: z.ZodOptional<z.ZodBoolean>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ atomicStyles?: boolean | undefined;
193
+ }, {
194
+ atomicStyles?: boolean | undefined;
195
+ }>;
196
+ export type CompilerSettings = z.infer<typeof CompilerSettings>;
197
+ export type Page = z.infer<typeof Page>;
198
+ export declare const Pages: z.ZodObject<{
199
+ meta: z.ZodOptional<z.ZodObject<{
200
+ siteName: z.ZodOptional<z.ZodString>;
201
+ contactEmail: z.ZodOptional<z.ZodString>;
202
+ faviconAssetId: z.ZodOptional<z.ZodString>;
203
+ code: z.ZodOptional<z.ZodString>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ siteName?: string | undefined;
206
+ contactEmail?: string | undefined;
207
+ faviconAssetId?: string | undefined;
208
+ code?: string | undefined;
209
+ }, {
210
+ siteName?: string | undefined;
211
+ contactEmail?: string | undefined;
212
+ faviconAssetId?: string | undefined;
213
+ code?: string | undefined;
214
+ }>>;
215
+ compiler: z.ZodOptional<z.ZodObject<{
216
+ atomicStyles: z.ZodOptional<z.ZodBoolean>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ atomicStyles?: boolean | undefined;
219
+ }, {
220
+ atomicStyles?: boolean | undefined;
221
+ }>>;
222
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
+ old: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
224
+ new: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
225
+ status: z.ZodOptional<z.ZodEnum<["301", "302"]>>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ old: string;
228
+ new: string;
229
+ status?: "301" | "302" | undefined;
230
+ }, {
231
+ old: string;
232
+ new: string;
233
+ status?: "301" | "302" | undefined;
234
+ }>, "many">>;
235
+ homePage: z.ZodObject<{
236
+ path: z.ZodEffects<z.ZodString, "", string>;
237
+ id: z.ZodString;
238
+ name: z.ZodEffects<z.ZodString, string, string>;
239
+ title: z.ZodEffects<z.ZodString, string, string>;
240
+ history: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
+ rootInstanceId: z.ZodString;
242
+ systemDataSourceId: z.ZodString;
243
+ meta: z.ZodObject<{
244
+ description: z.ZodOptional<z.ZodString>;
245
+ title: z.ZodOptional<z.ZodString>;
246
+ excludePageFromSearch: z.ZodOptional<z.ZodString>;
247
+ language: z.ZodOptional<z.ZodString>;
248
+ socialImageAssetId: z.ZodOptional<z.ZodString>;
249
+ socialImageUrl: z.ZodOptional<z.ZodString>;
250
+ status: z.ZodOptional<z.ZodString>;
251
+ redirect: z.ZodOptional<z.ZodString>;
252
+ documentType: z.ZodOptional<z.ZodEnum<["html", "xml"]>>;
253
+ custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ property: z.ZodString;
255
+ content: z.ZodString;
256
+ }, "strip", z.ZodTypeAny, {
257
+ property: string;
258
+ content: string;
259
+ }, {
260
+ property: string;
261
+ content: string;
262
+ }>, "many">>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ description?: string | undefined;
265
+ title?: string | undefined;
266
+ excludePageFromSearch?: string | undefined;
267
+ language?: string | undefined;
268
+ socialImageAssetId?: string | undefined;
269
+ socialImageUrl?: string | undefined;
270
+ status?: string | undefined;
271
+ redirect?: string | undefined;
272
+ documentType?: "html" | "xml" | undefined;
273
+ custom?: {
274
+ property: string;
275
+ content: string;
276
+ }[] | undefined;
277
+ }, {
278
+ description?: string | undefined;
279
+ title?: string | undefined;
280
+ excludePageFromSearch?: string | undefined;
281
+ language?: string | undefined;
282
+ socialImageAssetId?: string | undefined;
283
+ socialImageUrl?: string | undefined;
284
+ status?: string | undefined;
285
+ redirect?: string | undefined;
286
+ documentType?: "html" | "xml" | undefined;
287
+ custom?: {
288
+ property: string;
289
+ content: string;
290
+ }[] | undefined;
291
+ }>;
292
+ marketplace: z.ZodOptional<z.ZodObject<{
293
+ include: z.ZodOptional<z.ZodBoolean>;
294
+ category: z.ZodOptional<z.ZodString>;
295
+ thumbnailAssetId: z.ZodOptional<z.ZodString>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ include?: boolean | undefined;
298
+ category?: string | undefined;
299
+ thumbnailAssetId?: string | undefined;
300
+ }, {
301
+ include?: boolean | undefined;
302
+ category?: string | undefined;
303
+ thumbnailAssetId?: string | undefined;
304
+ }>>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ path: "";
307
+ id: string;
308
+ name: string;
309
+ meta: {
310
+ description?: string | undefined;
311
+ title?: string | undefined;
312
+ excludePageFromSearch?: string | undefined;
313
+ language?: string | undefined;
314
+ socialImageAssetId?: string | undefined;
315
+ socialImageUrl?: string | undefined;
316
+ status?: string | undefined;
317
+ redirect?: string | undefined;
318
+ documentType?: "html" | "xml" | undefined;
319
+ custom?: {
320
+ property: string;
321
+ content: string;
322
+ }[] | undefined;
323
+ };
324
+ title: string;
325
+ rootInstanceId: string;
326
+ systemDataSourceId: string;
327
+ history?: string[] | undefined;
328
+ marketplace?: {
329
+ include?: boolean | undefined;
330
+ category?: string | undefined;
331
+ thumbnailAssetId?: string | undefined;
332
+ } | undefined;
333
+ }, {
334
+ path: string;
335
+ id: string;
336
+ name: string;
337
+ meta: {
338
+ description?: string | undefined;
339
+ title?: string | undefined;
340
+ excludePageFromSearch?: string | undefined;
341
+ language?: string | undefined;
342
+ socialImageAssetId?: string | undefined;
343
+ socialImageUrl?: string | undefined;
344
+ status?: string | undefined;
345
+ redirect?: string | undefined;
346
+ documentType?: "html" | "xml" | undefined;
347
+ custom?: {
348
+ property: string;
349
+ content: string;
350
+ }[] | undefined;
351
+ };
352
+ title: string;
353
+ rootInstanceId: string;
354
+ systemDataSourceId: string;
355
+ history?: string[] | undefined;
356
+ marketplace?: {
357
+ include?: boolean | undefined;
358
+ category?: string | undefined;
359
+ thumbnailAssetId?: string | undefined;
360
+ } | undefined;
361
+ }>;
362
+ pages: z.ZodArray<z.ZodObject<{
363
+ path: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
364
+ id: z.ZodString;
365
+ name: z.ZodEffects<z.ZodString, string, string>;
366
+ title: z.ZodEffects<z.ZodString, string, string>;
367
+ history: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
368
+ rootInstanceId: z.ZodString;
369
+ systemDataSourceId: z.ZodString;
370
+ meta: z.ZodObject<{
371
+ description: z.ZodOptional<z.ZodString>;
372
+ title: z.ZodOptional<z.ZodString>;
373
+ excludePageFromSearch: z.ZodOptional<z.ZodString>;
374
+ language: z.ZodOptional<z.ZodString>;
375
+ socialImageAssetId: z.ZodOptional<z.ZodString>;
376
+ socialImageUrl: z.ZodOptional<z.ZodString>;
377
+ status: z.ZodOptional<z.ZodString>;
378
+ redirect: z.ZodOptional<z.ZodString>;
379
+ documentType: z.ZodOptional<z.ZodEnum<["html", "xml"]>>;
380
+ custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
381
+ property: z.ZodString;
382
+ content: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ property: string;
385
+ content: string;
386
+ }, {
387
+ property: string;
388
+ content: string;
389
+ }>, "many">>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ description?: string | undefined;
392
+ title?: string | undefined;
393
+ excludePageFromSearch?: string | undefined;
394
+ language?: string | undefined;
395
+ socialImageAssetId?: string | undefined;
396
+ socialImageUrl?: string | undefined;
397
+ status?: string | undefined;
398
+ redirect?: string | undefined;
399
+ documentType?: "html" | "xml" | undefined;
400
+ custom?: {
401
+ property: string;
402
+ content: string;
403
+ }[] | undefined;
404
+ }, {
405
+ description?: string | undefined;
406
+ title?: string | undefined;
407
+ excludePageFromSearch?: string | undefined;
408
+ language?: string | undefined;
409
+ socialImageAssetId?: string | undefined;
410
+ socialImageUrl?: string | undefined;
411
+ status?: string | undefined;
412
+ redirect?: string | undefined;
413
+ documentType?: "html" | "xml" | undefined;
414
+ custom?: {
415
+ property: string;
416
+ content: string;
417
+ }[] | undefined;
418
+ }>;
419
+ marketplace: z.ZodOptional<z.ZodObject<{
420
+ include: z.ZodOptional<z.ZodBoolean>;
421
+ category: z.ZodOptional<z.ZodString>;
422
+ thumbnailAssetId: z.ZodOptional<z.ZodString>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ include?: boolean | undefined;
425
+ category?: string | undefined;
426
+ thumbnailAssetId?: string | undefined;
427
+ }, {
428
+ include?: boolean | undefined;
429
+ category?: string | undefined;
430
+ thumbnailAssetId?: string | undefined;
431
+ }>>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ path: string;
434
+ id: string;
435
+ name: string;
436
+ meta: {
437
+ description?: string | undefined;
438
+ title?: string | undefined;
439
+ excludePageFromSearch?: string | undefined;
440
+ language?: string | undefined;
441
+ socialImageAssetId?: string | undefined;
442
+ socialImageUrl?: string | undefined;
443
+ status?: string | undefined;
444
+ redirect?: string | undefined;
445
+ documentType?: "html" | "xml" | undefined;
446
+ custom?: {
447
+ property: string;
448
+ content: string;
449
+ }[] | undefined;
450
+ };
451
+ title: string;
452
+ rootInstanceId: string;
453
+ systemDataSourceId: string;
454
+ history?: string[] | undefined;
455
+ marketplace?: {
456
+ include?: boolean | undefined;
457
+ category?: string | undefined;
458
+ thumbnailAssetId?: string | undefined;
459
+ } | undefined;
460
+ }, {
461
+ path: string;
462
+ id: string;
463
+ name: string;
464
+ meta: {
465
+ description?: string | undefined;
466
+ title?: string | undefined;
467
+ excludePageFromSearch?: string | undefined;
468
+ language?: string | undefined;
469
+ socialImageAssetId?: string | undefined;
470
+ socialImageUrl?: string | undefined;
471
+ status?: string | undefined;
472
+ redirect?: string | undefined;
473
+ documentType?: "html" | "xml" | undefined;
474
+ custom?: {
475
+ property: string;
476
+ content: string;
477
+ }[] | undefined;
478
+ };
479
+ title: string;
480
+ rootInstanceId: string;
481
+ systemDataSourceId: string;
482
+ history?: string[] | undefined;
483
+ marketplace?: {
484
+ include?: boolean | undefined;
485
+ category?: string | undefined;
486
+ thumbnailAssetId?: string | undefined;
487
+ } | undefined;
488
+ }>, "many">;
489
+ folders: z.ZodEffects<z.ZodArray<z.ZodObject<{
490
+ id: z.ZodString;
491
+ name: z.ZodEffects<z.ZodString, string, string>;
492
+ slug: z.ZodEffects<z.ZodString, string, string>;
493
+ children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
494
+ }, "strip", z.ZodTypeAny, {
495
+ id: string;
496
+ name: string;
497
+ slug: string;
498
+ children: string[];
499
+ }, {
500
+ id: string;
501
+ name: string;
502
+ slug: string;
503
+ children: string[];
504
+ }>, "many">, {
505
+ id: string;
506
+ name: string;
507
+ slug: string;
508
+ children: string[];
509
+ }[], {
510
+ id: string;
511
+ name: string;
512
+ slug: string;
513
+ children: string[];
514
+ }[]>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ homePage: {
517
+ path: "";
518
+ id: string;
519
+ name: string;
520
+ meta: {
521
+ description?: string | undefined;
522
+ title?: string | undefined;
523
+ excludePageFromSearch?: string | undefined;
524
+ language?: string | undefined;
525
+ socialImageAssetId?: string | undefined;
526
+ socialImageUrl?: string | undefined;
527
+ status?: string | undefined;
528
+ redirect?: string | undefined;
529
+ documentType?: "html" | "xml" | undefined;
530
+ custom?: {
531
+ property: string;
532
+ content: string;
533
+ }[] | undefined;
534
+ };
535
+ title: string;
536
+ rootInstanceId: string;
537
+ systemDataSourceId: string;
538
+ history?: string[] | undefined;
539
+ marketplace?: {
540
+ include?: boolean | undefined;
541
+ category?: string | undefined;
542
+ thumbnailAssetId?: string | undefined;
543
+ } | undefined;
544
+ };
545
+ pages: {
546
+ path: string;
547
+ id: string;
548
+ name: string;
549
+ meta: {
550
+ description?: string | undefined;
551
+ title?: string | undefined;
552
+ excludePageFromSearch?: string | undefined;
553
+ language?: string | undefined;
554
+ socialImageAssetId?: string | undefined;
555
+ socialImageUrl?: string | undefined;
556
+ status?: string | undefined;
557
+ redirect?: string | undefined;
558
+ documentType?: "html" | "xml" | undefined;
559
+ custom?: {
560
+ property: string;
561
+ content: string;
562
+ }[] | undefined;
563
+ };
564
+ title: string;
565
+ rootInstanceId: string;
566
+ systemDataSourceId: string;
567
+ history?: string[] | undefined;
568
+ marketplace?: {
569
+ include?: boolean | undefined;
570
+ category?: string | undefined;
571
+ thumbnailAssetId?: string | undefined;
572
+ } | undefined;
573
+ }[];
574
+ folders: {
575
+ id: string;
576
+ name: string;
577
+ slug: string;
578
+ children: string[];
579
+ }[];
580
+ meta?: {
581
+ siteName?: string | undefined;
582
+ contactEmail?: string | undefined;
583
+ faviconAssetId?: string | undefined;
584
+ code?: string | undefined;
585
+ } | undefined;
586
+ compiler?: {
587
+ atomicStyles?: boolean | undefined;
588
+ } | undefined;
589
+ redirects?: {
590
+ old: string;
591
+ new: string;
592
+ status?: "301" | "302" | undefined;
593
+ }[] | undefined;
594
+ }, {
595
+ homePage: {
596
+ path: string;
597
+ id: string;
598
+ name: string;
599
+ meta: {
600
+ description?: string | undefined;
601
+ title?: string | undefined;
602
+ excludePageFromSearch?: string | undefined;
603
+ language?: string | undefined;
604
+ socialImageAssetId?: string | undefined;
605
+ socialImageUrl?: string | undefined;
606
+ status?: string | undefined;
607
+ redirect?: string | undefined;
608
+ documentType?: "html" | "xml" | undefined;
609
+ custom?: {
610
+ property: string;
611
+ content: string;
612
+ }[] | undefined;
613
+ };
614
+ title: string;
615
+ rootInstanceId: string;
616
+ systemDataSourceId: string;
617
+ history?: string[] | undefined;
618
+ marketplace?: {
619
+ include?: boolean | undefined;
620
+ category?: string | undefined;
621
+ thumbnailAssetId?: string | undefined;
622
+ } | undefined;
623
+ };
624
+ pages: {
625
+ path: string;
626
+ id: string;
627
+ name: string;
628
+ meta: {
629
+ description?: string | undefined;
630
+ title?: string | undefined;
631
+ excludePageFromSearch?: string | undefined;
632
+ language?: string | undefined;
633
+ socialImageAssetId?: string | undefined;
634
+ socialImageUrl?: string | undefined;
635
+ status?: string | undefined;
636
+ redirect?: string | undefined;
637
+ documentType?: "html" | "xml" | undefined;
638
+ custom?: {
639
+ property: string;
640
+ content: string;
641
+ }[] | undefined;
642
+ };
643
+ title: string;
644
+ rootInstanceId: string;
645
+ systemDataSourceId: string;
646
+ history?: string[] | undefined;
647
+ marketplace?: {
648
+ include?: boolean | undefined;
649
+ category?: string | undefined;
650
+ thumbnailAssetId?: string | undefined;
651
+ } | undefined;
652
+ }[];
653
+ folders: {
654
+ id: string;
655
+ name: string;
656
+ slug: string;
657
+ children: string[];
658
+ }[];
659
+ meta?: {
660
+ siteName?: string | undefined;
661
+ contactEmail?: string | undefined;
662
+ faviconAssetId?: string | undefined;
663
+ code?: string | undefined;
664
+ } | undefined;
665
+ compiler?: {
666
+ atomicStyles?: boolean | undefined;
667
+ } | undefined;
668
+ redirects?: {
669
+ old: string;
670
+ new: string;
671
+ status?: "301" | "302" | undefined;
672
+ }[] | undefined;
673
+ }>;
674
+ export type Pages = z.infer<typeof Pages>;
675
+ export {};