@webstudio-is/sdk 0.0.0-021f2d4

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 (44) hide show
  1. package/LICENSE +661 -0
  2. package/lib/__generated__/normalize.css.js +505 -0
  3. package/lib/core-templates.js +223 -0
  4. package/lib/index.js +1784 -0
  5. package/lib/runtime.js +101 -0
  6. package/lib/types/__generated__/normalize.css.d.ts +57 -0
  7. package/lib/types/core-metas.d.ts +748 -0
  8. package/lib/types/core-templates.d.ts +6 -0
  9. package/lib/types/expression.d.ts +58 -0
  10. package/lib/types/expression.test.d.ts +1 -0
  11. package/lib/types/form-fields.d.ts +8 -0
  12. package/lib/types/index.d.ts +23 -0
  13. package/lib/types/instances-utils.d.ts +5 -0
  14. package/lib/types/instances-utils.test.d.ts +1 -0
  15. package/lib/types/page-meta-generator.d.ts +24 -0
  16. package/lib/types/page-meta-generator.test.d.ts +1 -0
  17. package/lib/types/page-utils.d.ts +24 -0
  18. package/lib/types/page-utils.test.d.ts +1 -0
  19. package/lib/types/resource-loader.d.ts +30 -0
  20. package/lib/types/resource-loader.test.d.ts +1 -0
  21. package/lib/types/resources-generator.d.ts +22 -0
  22. package/lib/types/resources-generator.test.d.ts +1 -0
  23. package/lib/types/runtime.d.ts +3 -0
  24. package/lib/types/schema/assets.d.ts +527 -0
  25. package/lib/types/schema/breakpoints.d.ts +56 -0
  26. package/lib/types/schema/component-meta.d.ts +2118 -0
  27. package/lib/types/schema/data-sources.d.ts +303 -0
  28. package/lib/types/schema/deployment.d.ts +41 -0
  29. package/lib/types/schema/embed-template.d.ts +2250 -0
  30. package/lib/types/schema/instances.d.ts +417 -0
  31. package/lib/types/schema/pages.d.ts +675 -0
  32. package/lib/types/schema/prop-meta.d.ts +434 -0
  33. package/lib/types/schema/props.d.ts +549 -0
  34. package/lib/types/schema/resources.d.ts +121 -0
  35. package/lib/types/schema/style-source-selections.d.ts +23 -0
  36. package/lib/types/schema/style-sources.d.ts +62 -0
  37. package/lib/types/schema/styles.d.ts +2629 -0
  38. package/lib/types/schema/webstudio.d.ts +2374 -0
  39. package/lib/types/scope.d.ts +16 -0
  40. package/lib/types/scope.test.d.ts +1 -0
  41. package/lib/types/to-string.d.ts +2 -0
  42. package/lib/types/url-pattern.d.ts +2 -0
  43. package/lib/types/url-pattern.test.d.ts +1 -0
  44. package/package.json +60 -0
@@ -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
+ name: string;
15
+ id: string;
16
+ children: string[];
17
+ slug: string;
18
+ }, {
19
+ name: string;
20
+ id: string;
21
+ children: string[];
22
+ slug: 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
+ content: string;
53
+ property: string;
54
+ }, {
55
+ content: string;
56
+ property: 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
+ content: string;
70
+ property: 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
+ content: string;
84
+ property: 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
+ name: string;
103
+ meta: {
104
+ description?: string | undefined;
105
+ title?: string | undefined;
106
+ excludePageFromSearch?: string | undefined;
107
+ language?: string | undefined;
108
+ socialImageAssetId?: string | undefined;
109
+ socialImageUrl?: string | undefined;
110
+ status?: string | undefined;
111
+ redirect?: string | undefined;
112
+ documentType?: "html" | "xml" | undefined;
113
+ custom?: {
114
+ content: string;
115
+ property: string;
116
+ }[] | undefined;
117
+ };
118
+ title: string;
119
+ id: 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
+ name: string;
131
+ meta: {
132
+ description?: string | undefined;
133
+ title?: string | undefined;
134
+ excludePageFromSearch?: string | undefined;
135
+ language?: string | undefined;
136
+ socialImageAssetId?: string | undefined;
137
+ socialImageUrl?: string | undefined;
138
+ status?: string | undefined;
139
+ redirect?: string | undefined;
140
+ documentType?: "html" | "xml" | undefined;
141
+ custom?: {
142
+ content: string;
143
+ property: string;
144
+ }[] | undefined;
145
+ };
146
+ title: string;
147
+ id: 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
+ content: string;
258
+ property: string;
259
+ }, {
260
+ content: string;
261
+ property: 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
+ content: string;
275
+ property: 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
+ content: string;
289
+ property: 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
+ name: string;
308
+ meta: {
309
+ description?: string | undefined;
310
+ title?: string | undefined;
311
+ excludePageFromSearch?: string | undefined;
312
+ language?: string | undefined;
313
+ socialImageAssetId?: string | undefined;
314
+ socialImageUrl?: string | undefined;
315
+ status?: string | undefined;
316
+ redirect?: string | undefined;
317
+ documentType?: "html" | "xml" | undefined;
318
+ custom?: {
319
+ content: string;
320
+ property: string;
321
+ }[] | undefined;
322
+ };
323
+ title: string;
324
+ id: 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
+ name: string;
336
+ meta: {
337
+ description?: string | undefined;
338
+ title?: string | undefined;
339
+ excludePageFromSearch?: string | undefined;
340
+ language?: string | undefined;
341
+ socialImageAssetId?: string | undefined;
342
+ socialImageUrl?: string | undefined;
343
+ status?: string | undefined;
344
+ redirect?: string | undefined;
345
+ documentType?: "html" | "xml" | undefined;
346
+ custom?: {
347
+ content: string;
348
+ property: string;
349
+ }[] | undefined;
350
+ };
351
+ title: string;
352
+ id: 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
+ content: string;
385
+ property: string;
386
+ }, {
387
+ content: string;
388
+ property: 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
+ content: string;
402
+ property: 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
+ content: string;
416
+ property: 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
+ name: string;
435
+ meta: {
436
+ description?: string | undefined;
437
+ title?: string | undefined;
438
+ excludePageFromSearch?: string | undefined;
439
+ language?: string | undefined;
440
+ socialImageAssetId?: string | undefined;
441
+ socialImageUrl?: string | undefined;
442
+ status?: string | undefined;
443
+ redirect?: string | undefined;
444
+ documentType?: "html" | "xml" | undefined;
445
+ custom?: {
446
+ content: string;
447
+ property: string;
448
+ }[] | undefined;
449
+ };
450
+ title: string;
451
+ id: 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
+ name: string;
463
+ meta: {
464
+ description?: string | undefined;
465
+ title?: string | undefined;
466
+ excludePageFromSearch?: string | undefined;
467
+ language?: string | undefined;
468
+ socialImageAssetId?: string | undefined;
469
+ socialImageUrl?: string | undefined;
470
+ status?: string | undefined;
471
+ redirect?: string | undefined;
472
+ documentType?: "html" | "xml" | undefined;
473
+ custom?: {
474
+ content: string;
475
+ property: string;
476
+ }[] | undefined;
477
+ };
478
+ title: string;
479
+ id: 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
+ name: string;
496
+ id: string;
497
+ children: string[];
498
+ slug: string;
499
+ }, {
500
+ name: string;
501
+ id: string;
502
+ children: string[];
503
+ slug: string;
504
+ }>, "many">, {
505
+ name: string;
506
+ id: string;
507
+ children: string[];
508
+ slug: string;
509
+ }[], {
510
+ name: string;
511
+ id: string;
512
+ children: string[];
513
+ slug: string;
514
+ }[]>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ homePage: {
517
+ path: "";
518
+ name: string;
519
+ meta: {
520
+ description?: string | undefined;
521
+ title?: string | undefined;
522
+ excludePageFromSearch?: string | undefined;
523
+ language?: string | undefined;
524
+ socialImageAssetId?: string | undefined;
525
+ socialImageUrl?: string | undefined;
526
+ status?: string | undefined;
527
+ redirect?: string | undefined;
528
+ documentType?: "html" | "xml" | undefined;
529
+ custom?: {
530
+ content: string;
531
+ property: string;
532
+ }[] | undefined;
533
+ };
534
+ title: string;
535
+ id: 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
+ name: string;
548
+ meta: {
549
+ description?: string | undefined;
550
+ title?: string | undefined;
551
+ excludePageFromSearch?: string | undefined;
552
+ language?: string | undefined;
553
+ socialImageAssetId?: string | undefined;
554
+ socialImageUrl?: string | undefined;
555
+ status?: string | undefined;
556
+ redirect?: string | undefined;
557
+ documentType?: "html" | "xml" | undefined;
558
+ custom?: {
559
+ content: string;
560
+ property: string;
561
+ }[] | undefined;
562
+ };
563
+ title: string;
564
+ id: 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
+ name: string;
576
+ id: string;
577
+ children: string[];
578
+ slug: 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
+ name: string;
598
+ meta: {
599
+ description?: string | undefined;
600
+ title?: string | undefined;
601
+ excludePageFromSearch?: string | undefined;
602
+ language?: string | undefined;
603
+ socialImageAssetId?: string | undefined;
604
+ socialImageUrl?: string | undefined;
605
+ status?: string | undefined;
606
+ redirect?: string | undefined;
607
+ documentType?: "html" | "xml" | undefined;
608
+ custom?: {
609
+ content: string;
610
+ property: string;
611
+ }[] | undefined;
612
+ };
613
+ title: string;
614
+ id: 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
+ name: string;
627
+ meta: {
628
+ description?: string | undefined;
629
+ title?: string | undefined;
630
+ excludePageFromSearch?: string | undefined;
631
+ language?: string | undefined;
632
+ socialImageAssetId?: string | undefined;
633
+ socialImageUrl?: string | undefined;
634
+ status?: string | undefined;
635
+ redirect?: string | undefined;
636
+ documentType?: "html" | "xml" | undefined;
637
+ custom?: {
638
+ content: string;
639
+ property: string;
640
+ }[] | undefined;
641
+ };
642
+ title: string;
643
+ id: 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
+ name: string;
655
+ id: string;
656
+ children: string[];
657
+ slug: 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 {};