@webstudio-is/sdk 0.235.0 → 0.236.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.
@@ -105,6 +105,7 @@ export declare const Instance: z.ZodObject<{
105
105
  }>]>, "many">;
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  type: "instance";
108
+ id: string;
108
109
  children: ({
109
110
  value: string;
110
111
  type: "text";
@@ -116,12 +117,12 @@ export declare const Instance: z.ZodObject<{
116
117
  value: string;
117
118
  type: "expression";
118
119
  })[];
119
- id: string;
120
120
  component: string;
121
- label?: string | undefined;
122
121
  tag?: string | undefined;
122
+ label?: string | undefined;
123
123
  }, {
124
124
  type: "instance";
125
+ id: string;
125
126
  children: ({
126
127
  value: string;
127
128
  type: "text";
@@ -133,10 +134,9 @@ export declare const Instance: z.ZodObject<{
133
134
  value: string;
134
135
  type: "expression";
135
136
  })[];
136
- id: string;
137
137
  component: string;
138
- label?: string | undefined;
139
138
  tag?: string | undefined;
139
+ label?: string | undefined;
140
140
  }>;
141
141
  export type Instance = z.infer<typeof Instance>;
142
142
  export declare const Instances: z.ZodMap<z.ZodString, z.ZodObject<{
@@ -178,6 +178,7 @@ export declare const Instances: z.ZodMap<z.ZodString, z.ZodObject<{
178
178
  }>]>, "many">;
179
179
  }, "strip", z.ZodTypeAny, {
180
180
  type: "instance";
181
+ id: string;
181
182
  children: ({
182
183
  value: string;
183
184
  type: "text";
@@ -189,12 +190,12 @@ export declare const Instances: z.ZodMap<z.ZodString, z.ZodObject<{
189
190
  value: string;
190
191
  type: "expression";
191
192
  })[];
192
- id: string;
193
193
  component: string;
194
- label?: string | undefined;
195
194
  tag?: string | undefined;
195
+ label?: string | undefined;
196
196
  }, {
197
197
  type: "instance";
198
+ id: string;
198
199
  children: ({
199
200
  value: string;
200
201
  type: "text";
@@ -206,9 +207,8 @@ export declare const Instances: z.ZodMap<z.ZodString, z.ZodObject<{
206
207
  value: string;
207
208
  type: "expression";
208
209
  })[];
209
- id: string;
210
210
  component: string;
211
- label?: string | undefined;
212
211
  tag?: string | undefined;
212
+ label?: string | undefined;
213
213
  }>>;
214
214
  export type Instances = z.infer<typeof Instances>;
@@ -13,14 +13,14 @@ export declare const Folder: z.ZodObject<{
13
13
  children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  name: string;
16
- children: string[];
17
16
  id: string;
18
17
  slug: string;
18
+ children: string[];
19
19
  }, {
20
20
  name: string;
21
- children: string[];
22
21
  id: string;
23
22
  slug: string;
23
+ children: string[];
24
24
  }>;
25
25
  export type Folder = z.infer<typeof Folder>;
26
26
  export declare const PageName: z.ZodEffects<z.ZodString, string, string>;
@@ -51,22 +51,22 @@ declare const Page: z.ZodObject<{
51
51
  property: z.ZodString;
52
52
  content: z.ZodString;
53
53
  }, "strip", z.ZodTypeAny, {
54
- content: string;
55
54
  property: string;
56
- }, {
57
55
  content: string;
56
+ }, {
58
57
  property: string;
58
+ content: string;
59
59
  }>, "many">>;
60
60
  }, "strip", z.ZodTypeAny, {
61
61
  status?: string | undefined;
62
62
  custom?: {
63
- content: string;
64
63
  property: string;
64
+ content: string;
65
65
  }[] | undefined;
66
- title?: string | undefined;
67
66
  description?: string | undefined;
68
- language?: string | undefined;
67
+ title?: string | undefined;
69
68
  excludePageFromSearch?: string | undefined;
69
+ language?: string | undefined;
70
70
  socialImageAssetId?: string | undefined;
71
71
  socialImageUrl?: string | undefined;
72
72
  redirect?: string | undefined;
@@ -74,13 +74,13 @@ declare const Page: z.ZodObject<{
74
74
  }, {
75
75
  status?: string | undefined;
76
76
  custom?: {
77
- content: string;
78
77
  property: string;
78
+ content: string;
79
79
  }[] | undefined;
80
- title?: string | undefined;
81
80
  description?: string | undefined;
82
- language?: string | undefined;
81
+ title?: string | undefined;
83
82
  excludePageFromSearch?: string | undefined;
83
+ language?: string | undefined;
84
84
  socialImageAssetId?: string | undefined;
85
85
  socialImageUrl?: string | undefined;
86
86
  redirect?: string | undefined;
@@ -91,12 +91,12 @@ declare const Page: z.ZodObject<{
91
91
  category: z.ZodOptional<z.ZodString>;
92
92
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
93
93
  }, "strip", z.ZodTypeAny, {
94
- category?: string | undefined;
95
94
  include?: boolean | undefined;
95
+ category?: string | undefined;
96
96
  thumbnailAssetId?: string | undefined;
97
97
  }, {
98
- category?: string | undefined;
99
98
  include?: boolean | undefined;
99
+ category?: string | undefined;
100
100
  thumbnailAssetId?: string | undefined;
101
101
  }>>;
102
102
  }, "strip", z.ZodTypeAny, {
@@ -105,26 +105,26 @@ declare const Page: z.ZodObject<{
105
105
  meta: {
106
106
  status?: string | undefined;
107
107
  custom?: {
108
- content: string;
109
108
  property: string;
109
+ content: string;
110
110
  }[] | undefined;
111
- title?: string | undefined;
112
111
  description?: string | undefined;
113
- language?: string | undefined;
112
+ title?: string | undefined;
114
113
  excludePageFromSearch?: string | undefined;
114
+ language?: string | undefined;
115
115
  socialImageAssetId?: string | undefined;
116
116
  socialImageUrl?: string | undefined;
117
117
  redirect?: string | undefined;
118
118
  documentType?: "html" | "xml" | undefined;
119
119
  };
120
- title: string;
121
120
  id: string;
121
+ title: string;
122
122
  rootInstanceId: string;
123
123
  history?: string[] | undefined;
124
124
  systemDataSourceId?: string | undefined;
125
125
  marketplace?: {
126
- category?: string | undefined;
127
126
  include?: boolean | undefined;
127
+ category?: string | undefined;
128
128
  thumbnailAssetId?: string | undefined;
129
129
  } | undefined;
130
130
  }, {
@@ -133,26 +133,26 @@ declare const Page: z.ZodObject<{
133
133
  meta: {
134
134
  status?: string | undefined;
135
135
  custom?: {
136
- content: string;
137
136
  property: string;
137
+ content: string;
138
138
  }[] | undefined;
139
- title?: string | undefined;
140
139
  description?: string | undefined;
141
- language?: string | undefined;
140
+ title?: string | undefined;
142
141
  excludePageFromSearch?: string | undefined;
142
+ language?: string | undefined;
143
143
  socialImageAssetId?: string | undefined;
144
144
  socialImageUrl?: string | undefined;
145
145
  redirect?: string | undefined;
146
146
  documentType?: "html" | "xml" | undefined;
147
147
  };
148
- title: string;
149
148
  id: string;
149
+ title: string;
150
150
  rootInstanceId: string;
151
151
  history?: string[] | undefined;
152
152
  systemDataSourceId?: string | undefined;
153
153
  marketplace?: {
154
- category?: string | undefined;
155
154
  include?: boolean | undefined;
155
+ category?: string | undefined;
156
156
  thumbnailAssetId?: string | undefined;
157
157
  } | undefined;
158
158
  }>;
@@ -256,22 +256,22 @@ export declare const Pages: z.ZodObject<{
256
256
  property: z.ZodString;
257
257
  content: z.ZodString;
258
258
  }, "strip", z.ZodTypeAny, {
259
- content: string;
260
259
  property: string;
261
- }, {
262
260
  content: string;
261
+ }, {
263
262
  property: string;
263
+ content: string;
264
264
  }>, "many">>;
265
265
  }, "strip", z.ZodTypeAny, {
266
266
  status?: string | undefined;
267
267
  custom?: {
268
- content: string;
269
268
  property: string;
269
+ content: string;
270
270
  }[] | undefined;
271
- title?: string | undefined;
272
271
  description?: string | undefined;
273
- language?: string | undefined;
272
+ title?: string | undefined;
274
273
  excludePageFromSearch?: string | undefined;
274
+ language?: string | undefined;
275
275
  socialImageAssetId?: string | undefined;
276
276
  socialImageUrl?: string | undefined;
277
277
  redirect?: string | undefined;
@@ -279,13 +279,13 @@ export declare const Pages: z.ZodObject<{
279
279
  }, {
280
280
  status?: string | undefined;
281
281
  custom?: {
282
- content: string;
283
282
  property: string;
283
+ content: string;
284
284
  }[] | undefined;
285
- title?: string | undefined;
286
285
  description?: string | undefined;
287
- language?: string | undefined;
286
+ title?: string | undefined;
288
287
  excludePageFromSearch?: string | undefined;
288
+ language?: string | undefined;
289
289
  socialImageAssetId?: string | undefined;
290
290
  socialImageUrl?: string | undefined;
291
291
  redirect?: string | undefined;
@@ -296,12 +296,12 @@ export declare const Pages: z.ZodObject<{
296
296
  category: z.ZodOptional<z.ZodString>;
297
297
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
298
298
  }, "strip", z.ZodTypeAny, {
299
- category?: string | undefined;
300
299
  include?: boolean | undefined;
300
+ category?: string | undefined;
301
301
  thumbnailAssetId?: string | undefined;
302
302
  }, {
303
- category?: string | undefined;
304
303
  include?: boolean | undefined;
304
+ category?: string | undefined;
305
305
  thumbnailAssetId?: string | undefined;
306
306
  }>>;
307
307
  }, "strip", z.ZodTypeAny, {
@@ -310,26 +310,26 @@ export declare const Pages: z.ZodObject<{
310
310
  meta: {
311
311
  status?: string | undefined;
312
312
  custom?: {
313
- content: string;
314
313
  property: string;
314
+ content: string;
315
315
  }[] | undefined;
316
- title?: string | undefined;
317
316
  description?: string | undefined;
318
- language?: string | undefined;
317
+ title?: string | undefined;
319
318
  excludePageFromSearch?: string | undefined;
319
+ language?: string | undefined;
320
320
  socialImageAssetId?: string | undefined;
321
321
  socialImageUrl?: string | undefined;
322
322
  redirect?: string | undefined;
323
323
  documentType?: "html" | "xml" | undefined;
324
324
  };
325
- title: string;
326
325
  id: string;
326
+ title: string;
327
327
  rootInstanceId: string;
328
328
  history?: string[] | undefined;
329
329
  systemDataSourceId?: string | undefined;
330
330
  marketplace?: {
331
- category?: string | undefined;
332
331
  include?: boolean | undefined;
332
+ category?: string | undefined;
333
333
  thumbnailAssetId?: string | undefined;
334
334
  } | undefined;
335
335
  }, {
@@ -338,26 +338,26 @@ export declare const Pages: z.ZodObject<{
338
338
  meta: {
339
339
  status?: string | undefined;
340
340
  custom?: {
341
- content: string;
342
341
  property: string;
342
+ content: string;
343
343
  }[] | undefined;
344
- title?: string | undefined;
345
344
  description?: string | undefined;
346
- language?: string | undefined;
345
+ title?: string | undefined;
347
346
  excludePageFromSearch?: string | undefined;
347
+ language?: string | undefined;
348
348
  socialImageAssetId?: string | undefined;
349
349
  socialImageUrl?: string | undefined;
350
350
  redirect?: string | undefined;
351
351
  documentType?: "html" | "xml" | undefined;
352
352
  };
353
- title: string;
354
353
  id: string;
354
+ title: string;
355
355
  rootInstanceId: string;
356
356
  history?: string[] | undefined;
357
357
  systemDataSourceId?: string | undefined;
358
358
  marketplace?: {
359
- category?: string | undefined;
360
359
  include?: boolean | undefined;
360
+ category?: string | undefined;
361
361
  thumbnailAssetId?: string | undefined;
362
362
  } | undefined;
363
363
  }>;
@@ -383,22 +383,22 @@ export declare const Pages: z.ZodObject<{
383
383
  property: z.ZodString;
384
384
  content: z.ZodString;
385
385
  }, "strip", z.ZodTypeAny, {
386
- content: string;
387
386
  property: string;
388
- }, {
389
387
  content: string;
388
+ }, {
390
389
  property: string;
390
+ content: string;
391
391
  }>, "many">>;
392
392
  }, "strip", z.ZodTypeAny, {
393
393
  status?: string | undefined;
394
394
  custom?: {
395
- content: string;
396
395
  property: string;
396
+ content: string;
397
397
  }[] | undefined;
398
- title?: string | undefined;
399
398
  description?: string | undefined;
400
- language?: string | undefined;
399
+ title?: string | undefined;
401
400
  excludePageFromSearch?: string | undefined;
401
+ language?: string | undefined;
402
402
  socialImageAssetId?: string | undefined;
403
403
  socialImageUrl?: string | undefined;
404
404
  redirect?: string | undefined;
@@ -406,13 +406,13 @@ export declare const Pages: z.ZodObject<{
406
406
  }, {
407
407
  status?: string | undefined;
408
408
  custom?: {
409
- content: string;
410
409
  property: string;
410
+ content: string;
411
411
  }[] | undefined;
412
- title?: string | undefined;
413
412
  description?: string | undefined;
414
- language?: string | undefined;
413
+ title?: string | undefined;
415
414
  excludePageFromSearch?: string | undefined;
415
+ language?: string | undefined;
416
416
  socialImageAssetId?: string | undefined;
417
417
  socialImageUrl?: string | undefined;
418
418
  redirect?: string | undefined;
@@ -423,12 +423,12 @@ export declare const Pages: z.ZodObject<{
423
423
  category: z.ZodOptional<z.ZodString>;
424
424
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
425
425
  }, "strip", z.ZodTypeAny, {
426
- category?: string | undefined;
427
426
  include?: boolean | undefined;
427
+ category?: string | undefined;
428
428
  thumbnailAssetId?: string | undefined;
429
429
  }, {
430
- category?: string | undefined;
431
430
  include?: boolean | undefined;
431
+ category?: string | undefined;
432
432
  thumbnailAssetId?: string | undefined;
433
433
  }>>;
434
434
  }, "strip", z.ZodTypeAny, {
@@ -437,26 +437,26 @@ export declare const Pages: z.ZodObject<{
437
437
  meta: {
438
438
  status?: string | undefined;
439
439
  custom?: {
440
- content: string;
441
440
  property: string;
441
+ content: string;
442
442
  }[] | undefined;
443
- title?: string | undefined;
444
443
  description?: string | undefined;
445
- language?: string | undefined;
444
+ title?: string | undefined;
446
445
  excludePageFromSearch?: string | undefined;
446
+ language?: string | undefined;
447
447
  socialImageAssetId?: string | undefined;
448
448
  socialImageUrl?: string | undefined;
449
449
  redirect?: string | undefined;
450
450
  documentType?: "html" | "xml" | undefined;
451
451
  };
452
- title: string;
453
452
  id: string;
453
+ title: string;
454
454
  rootInstanceId: string;
455
455
  history?: string[] | undefined;
456
456
  systemDataSourceId?: string | undefined;
457
457
  marketplace?: {
458
- category?: string | undefined;
459
458
  include?: boolean | undefined;
459
+ category?: string | undefined;
460
460
  thumbnailAssetId?: string | undefined;
461
461
  } | undefined;
462
462
  }, {
@@ -465,26 +465,26 @@ export declare const Pages: z.ZodObject<{
465
465
  meta: {
466
466
  status?: string | undefined;
467
467
  custom?: {
468
- content: string;
469
468
  property: string;
469
+ content: string;
470
470
  }[] | undefined;
471
- title?: string | undefined;
472
471
  description?: string | undefined;
473
- language?: string | undefined;
472
+ title?: string | undefined;
474
473
  excludePageFromSearch?: string | undefined;
474
+ language?: string | undefined;
475
475
  socialImageAssetId?: string | undefined;
476
476
  socialImageUrl?: string | undefined;
477
477
  redirect?: string | undefined;
478
478
  documentType?: "html" | "xml" | undefined;
479
479
  };
480
- title: string;
481
480
  id: string;
481
+ title: string;
482
482
  rootInstanceId: string;
483
483
  history?: string[] | undefined;
484
484
  systemDataSourceId?: string | undefined;
485
485
  marketplace?: {
486
- category?: string | undefined;
487
486
  include?: boolean | undefined;
487
+ category?: string | undefined;
488
488
  thumbnailAssetId?: string | undefined;
489
489
  } | undefined;
490
490
  }>, "many">;
@@ -495,24 +495,24 @@ export declare const Pages: z.ZodObject<{
495
495
  children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
496
496
  }, "strip", z.ZodTypeAny, {
497
497
  name: string;
498
- children: string[];
499
498
  id: string;
500
499
  slug: string;
500
+ children: string[];
501
501
  }, {
502
502
  name: string;
503
- children: string[];
504
503
  id: string;
505
504
  slug: string;
505
+ children: string[];
506
506
  }>, "many">, {
507
507
  name: string;
508
- children: string[];
509
508
  id: string;
510
509
  slug: string;
510
+ children: string[];
511
511
  }[], {
512
512
  name: string;
513
- children: string[];
514
513
  id: string;
515
514
  slug: string;
515
+ children: string[];
516
516
  }[]>;
517
517
  }, "strip", z.ZodTypeAny, {
518
518
  homePage: {
@@ -521,26 +521,26 @@ export declare const Pages: z.ZodObject<{
521
521
  meta: {
522
522
  status?: string | undefined;
523
523
  custom?: {
524
- content: string;
525
524
  property: string;
525
+ content: string;
526
526
  }[] | undefined;
527
- title?: string | undefined;
528
527
  description?: string | undefined;
529
- language?: string | undefined;
528
+ title?: string | undefined;
530
529
  excludePageFromSearch?: string | undefined;
530
+ language?: string | undefined;
531
531
  socialImageAssetId?: string | undefined;
532
532
  socialImageUrl?: string | undefined;
533
533
  redirect?: string | undefined;
534
534
  documentType?: "html" | "xml" | undefined;
535
535
  };
536
- title: string;
537
536
  id: string;
537
+ title: string;
538
538
  rootInstanceId: string;
539
539
  history?: string[] | undefined;
540
540
  systemDataSourceId?: string | undefined;
541
541
  marketplace?: {
542
- category?: string | undefined;
543
542
  include?: boolean | undefined;
543
+ category?: string | undefined;
544
544
  thumbnailAssetId?: string | undefined;
545
545
  } | undefined;
546
546
  };
@@ -550,34 +550,34 @@ export declare const Pages: z.ZodObject<{
550
550
  meta: {
551
551
  status?: string | undefined;
552
552
  custom?: {
553
- content: string;
554
553
  property: string;
554
+ content: string;
555
555
  }[] | undefined;
556
- title?: string | undefined;
557
556
  description?: string | undefined;
558
- language?: string | undefined;
557
+ title?: string | undefined;
559
558
  excludePageFromSearch?: string | undefined;
559
+ language?: string | undefined;
560
560
  socialImageAssetId?: string | undefined;
561
561
  socialImageUrl?: string | undefined;
562
562
  redirect?: string | undefined;
563
563
  documentType?: "html" | "xml" | undefined;
564
564
  };
565
- title: string;
566
565
  id: string;
566
+ title: string;
567
567
  rootInstanceId: string;
568
568
  history?: string[] | undefined;
569
569
  systemDataSourceId?: string | undefined;
570
570
  marketplace?: {
571
- category?: string | undefined;
572
571
  include?: boolean | undefined;
572
+ category?: string | undefined;
573
573
  thumbnailAssetId?: string | undefined;
574
574
  } | undefined;
575
575
  }[];
576
576
  folders: {
577
577
  name: string;
578
- children: string[];
579
578
  id: string;
580
579
  slug: string;
580
+ children: string[];
581
581
  }[];
582
582
  meta?: {
583
583
  code?: string | undefined;
@@ -600,26 +600,26 @@ export declare const Pages: z.ZodObject<{
600
600
  meta: {
601
601
  status?: string | undefined;
602
602
  custom?: {
603
- content: string;
604
603
  property: string;
604
+ content: string;
605
605
  }[] | undefined;
606
- title?: string | undefined;
607
606
  description?: string | undefined;
608
- language?: string | undefined;
607
+ title?: string | undefined;
609
608
  excludePageFromSearch?: string | undefined;
609
+ language?: string | undefined;
610
610
  socialImageAssetId?: string | undefined;
611
611
  socialImageUrl?: string | undefined;
612
612
  redirect?: string | undefined;
613
613
  documentType?: "html" | "xml" | undefined;
614
614
  };
615
- title: string;
616
615
  id: string;
616
+ title: string;
617
617
  rootInstanceId: string;
618
618
  history?: string[] | undefined;
619
619
  systemDataSourceId?: string | undefined;
620
620
  marketplace?: {
621
- category?: string | undefined;
622
621
  include?: boolean | undefined;
622
+ category?: string | undefined;
623
623
  thumbnailAssetId?: string | undefined;
624
624
  } | undefined;
625
625
  };
@@ -629,34 +629,34 @@ export declare const Pages: z.ZodObject<{
629
629
  meta: {
630
630
  status?: string | undefined;
631
631
  custom?: {
632
- content: string;
633
632
  property: string;
633
+ content: string;
634
634
  }[] | undefined;
635
- title?: string | undefined;
636
635
  description?: string | undefined;
637
- language?: string | undefined;
636
+ title?: string | undefined;
638
637
  excludePageFromSearch?: string | undefined;
638
+ language?: string | undefined;
639
639
  socialImageAssetId?: string | undefined;
640
640
  socialImageUrl?: string | undefined;
641
641
  redirect?: string | undefined;
642
642
  documentType?: "html" | "xml" | undefined;
643
643
  };
644
- title: string;
645
644
  id: string;
645
+ title: string;
646
646
  rootInstanceId: string;
647
647
  history?: string[] | undefined;
648
648
  systemDataSourceId?: string | undefined;
649
649
  marketplace?: {
650
- category?: string | undefined;
651
650
  include?: boolean | undefined;
651
+ category?: string | undefined;
652
652
  thumbnailAssetId?: string | undefined;
653
653
  } | undefined;
654
654
  }[];
655
655
  folders: {
656
656
  name: string;
657
- children: string[];
658
657
  id: string;
659
658
  slug: string;
659
+ children: string[];
660
660
  }[];
661
661
  meta?: {
662
662
  code?: string | undefined;