@webstudio-is/sdk 0.0.0-017f1bd

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