@webstudio-is/sdk 0.198.0 → 0.199.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.
@@ -11,15 +11,15 @@ export declare const Folder: z.ZodObject<{
11
11
  slug: z.ZodEffects<z.ZodString, string, string>;
12
12
  children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
13
13
  }, "strip", z.ZodTypeAny, {
14
- id: string;
15
14
  name: string;
16
- slug: string;
15
+ id: string;
17
16
  children: string[];
17
+ slug: string;
18
18
  }, {
19
- id: string;
20
19
  name: string;
21
- slug: string;
20
+ id: string;
22
21
  children: string[];
22
+ slug: string;
23
23
  }>;
24
24
  export type Folder = z.infer<typeof Folder>;
25
25
  export declare const PageName: z.ZodEffects<z.ZodString, string, string>;
@@ -49,11 +49,11 @@ declare const Page: z.ZodObject<{
49
49
  property: z.ZodString;
50
50
  content: z.ZodString;
51
51
  }, "strip", z.ZodTypeAny, {
52
- property: string;
53
52
  content: string;
54
- }, {
55
53
  property: string;
54
+ }, {
56
55
  content: string;
56
+ property: string;
57
57
  }>, "many">>;
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  description?: string | undefined;
@@ -66,8 +66,8 @@ declare const Page: z.ZodObject<{
66
66
  redirect?: string | undefined;
67
67
  documentType?: "html" | "xml" | undefined;
68
68
  custom?: {
69
- property: string;
70
69
  content: string;
70
+ property: string;
71
71
  }[] | undefined;
72
72
  }, {
73
73
  description?: string | undefined;
@@ -80,8 +80,8 @@ declare const Page: z.ZodObject<{
80
80
  redirect?: string | undefined;
81
81
  documentType?: "html" | "xml" | undefined;
82
82
  custom?: {
83
- property: string;
84
83
  content: string;
84
+ property: string;
85
85
  }[] | undefined;
86
86
  }>;
87
87
  marketplace: z.ZodOptional<z.ZodObject<{
@@ -99,7 +99,6 @@ declare const Page: z.ZodObject<{
99
99
  }>>;
100
100
  }, "strip", z.ZodTypeAny, {
101
101
  path: string;
102
- id: string;
103
102
  name: string;
104
103
  meta: {
105
104
  description?: string | undefined;
@@ -112,11 +111,12 @@ declare const Page: z.ZodObject<{
112
111
  redirect?: string | undefined;
113
112
  documentType?: "html" | "xml" | undefined;
114
113
  custom?: {
115
- property: string;
116
114
  content: string;
115
+ property: string;
117
116
  }[] | undefined;
118
117
  };
119
118
  title: string;
119
+ id: string;
120
120
  rootInstanceId: string;
121
121
  systemDataSourceId: string;
122
122
  history?: string[] | undefined;
@@ -127,7 +127,6 @@ declare const Page: z.ZodObject<{
127
127
  } | undefined;
128
128
  }, {
129
129
  path: string;
130
- id: string;
131
130
  name: string;
132
131
  meta: {
133
132
  description?: string | undefined;
@@ -140,11 +139,12 @@ declare const Page: z.ZodObject<{
140
139
  redirect?: string | undefined;
141
140
  documentType?: "html" | "xml" | undefined;
142
141
  custom?: {
143
- property: string;
144
142
  content: string;
143
+ property: string;
145
144
  }[] | undefined;
146
145
  };
147
146
  title: string;
147
+ id: string;
148
148
  rootInstanceId: string;
149
149
  systemDataSourceId: string;
150
150
  history?: string[] | undefined;
@@ -254,11 +254,11 @@ export declare const Pages: z.ZodObject<{
254
254
  property: z.ZodString;
255
255
  content: z.ZodString;
256
256
  }, "strip", z.ZodTypeAny, {
257
- property: string;
258
257
  content: string;
259
- }, {
260
258
  property: string;
259
+ }, {
261
260
  content: string;
261
+ property: string;
262
262
  }>, "many">>;
263
263
  }, "strip", z.ZodTypeAny, {
264
264
  description?: string | undefined;
@@ -271,8 +271,8 @@ export declare const Pages: z.ZodObject<{
271
271
  redirect?: string | undefined;
272
272
  documentType?: "html" | "xml" | undefined;
273
273
  custom?: {
274
- property: string;
275
274
  content: string;
275
+ property: string;
276
276
  }[] | undefined;
277
277
  }, {
278
278
  description?: string | undefined;
@@ -285,8 +285,8 @@ export declare const Pages: z.ZodObject<{
285
285
  redirect?: string | undefined;
286
286
  documentType?: "html" | "xml" | undefined;
287
287
  custom?: {
288
- property: string;
289
288
  content: string;
289
+ property: string;
290
290
  }[] | undefined;
291
291
  }>;
292
292
  marketplace: z.ZodOptional<z.ZodObject<{
@@ -304,7 +304,6 @@ export declare const Pages: z.ZodObject<{
304
304
  }>>;
305
305
  }, "strip", z.ZodTypeAny, {
306
306
  path: "";
307
- id: string;
308
307
  name: string;
309
308
  meta: {
310
309
  description?: string | undefined;
@@ -317,11 +316,12 @@ export declare const Pages: z.ZodObject<{
317
316
  redirect?: string | undefined;
318
317
  documentType?: "html" | "xml" | undefined;
319
318
  custom?: {
320
- property: string;
321
319
  content: string;
320
+ property: string;
322
321
  }[] | undefined;
323
322
  };
324
323
  title: string;
324
+ id: string;
325
325
  rootInstanceId: string;
326
326
  systemDataSourceId: string;
327
327
  history?: string[] | undefined;
@@ -332,7 +332,6 @@ export declare const Pages: z.ZodObject<{
332
332
  } | undefined;
333
333
  }, {
334
334
  path: string;
335
- id: string;
336
335
  name: string;
337
336
  meta: {
338
337
  description?: string | undefined;
@@ -345,11 +344,12 @@ export declare const Pages: z.ZodObject<{
345
344
  redirect?: string | undefined;
346
345
  documentType?: "html" | "xml" | undefined;
347
346
  custom?: {
348
- property: string;
349
347
  content: string;
348
+ property: string;
350
349
  }[] | undefined;
351
350
  };
352
351
  title: string;
352
+ id: string;
353
353
  rootInstanceId: string;
354
354
  systemDataSourceId: string;
355
355
  history?: string[] | undefined;
@@ -381,11 +381,11 @@ export declare const Pages: z.ZodObject<{
381
381
  property: z.ZodString;
382
382
  content: z.ZodString;
383
383
  }, "strip", z.ZodTypeAny, {
384
- property: string;
385
384
  content: string;
386
- }, {
387
385
  property: string;
386
+ }, {
388
387
  content: string;
388
+ property: string;
389
389
  }>, "many">>;
390
390
  }, "strip", z.ZodTypeAny, {
391
391
  description?: string | undefined;
@@ -398,8 +398,8 @@ export declare const Pages: z.ZodObject<{
398
398
  redirect?: string | undefined;
399
399
  documentType?: "html" | "xml" | undefined;
400
400
  custom?: {
401
- property: string;
402
401
  content: string;
402
+ property: string;
403
403
  }[] | undefined;
404
404
  }, {
405
405
  description?: string | undefined;
@@ -412,8 +412,8 @@ export declare const Pages: z.ZodObject<{
412
412
  redirect?: string | undefined;
413
413
  documentType?: "html" | "xml" | undefined;
414
414
  custom?: {
415
- property: string;
416
415
  content: string;
416
+ property: string;
417
417
  }[] | undefined;
418
418
  }>;
419
419
  marketplace: z.ZodOptional<z.ZodObject<{
@@ -431,7 +431,6 @@ export declare const Pages: z.ZodObject<{
431
431
  }>>;
432
432
  }, "strip", z.ZodTypeAny, {
433
433
  path: string;
434
- id: string;
435
434
  name: string;
436
435
  meta: {
437
436
  description?: string | undefined;
@@ -444,11 +443,12 @@ export declare const Pages: z.ZodObject<{
444
443
  redirect?: string | undefined;
445
444
  documentType?: "html" | "xml" | undefined;
446
445
  custom?: {
447
- property: string;
448
446
  content: string;
447
+ property: string;
449
448
  }[] | undefined;
450
449
  };
451
450
  title: string;
451
+ id: string;
452
452
  rootInstanceId: string;
453
453
  systemDataSourceId: string;
454
454
  history?: string[] | undefined;
@@ -459,7 +459,6 @@ export declare const Pages: z.ZodObject<{
459
459
  } | undefined;
460
460
  }, {
461
461
  path: string;
462
- id: string;
463
462
  name: string;
464
463
  meta: {
465
464
  description?: string | undefined;
@@ -472,11 +471,12 @@ export declare const Pages: z.ZodObject<{
472
471
  redirect?: string | undefined;
473
472
  documentType?: "html" | "xml" | undefined;
474
473
  custom?: {
475
- property: string;
476
474
  content: string;
475
+ property: string;
477
476
  }[] | undefined;
478
477
  };
479
478
  title: string;
479
+ id: string;
480
480
  rootInstanceId: string;
481
481
  systemDataSourceId: string;
482
482
  history?: string[] | undefined;
@@ -492,30 +492,29 @@ export declare const Pages: z.ZodObject<{
492
492
  slug: z.ZodEffects<z.ZodString, string, string>;
493
493
  children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
494
494
  }, "strip", z.ZodTypeAny, {
495
- id: string;
496
495
  name: string;
497
- slug: string;
496
+ id: string;
498
497
  children: string[];
498
+ slug: string;
499
499
  }, {
500
- id: string;
501
500
  name: string;
502
- slug: string;
501
+ id: string;
503
502
  children: string[];
503
+ slug: string;
504
504
  }>, "many">, {
505
- id: string;
506
505
  name: string;
507
- slug: string;
506
+ id: string;
508
507
  children: string[];
508
+ slug: string;
509
509
  }[], {
510
- id: string;
511
510
  name: string;
512
- slug: string;
511
+ id: string;
513
512
  children: string[];
513
+ slug: string;
514
514
  }[]>;
515
515
  }, "strip", z.ZodTypeAny, {
516
516
  homePage: {
517
517
  path: "";
518
- id: string;
519
518
  name: string;
520
519
  meta: {
521
520
  description?: string | undefined;
@@ -528,11 +527,12 @@ export declare const Pages: z.ZodObject<{
528
527
  redirect?: string | undefined;
529
528
  documentType?: "html" | "xml" | undefined;
530
529
  custom?: {
531
- property: string;
532
530
  content: string;
531
+ property: string;
533
532
  }[] | undefined;
534
533
  };
535
534
  title: string;
535
+ id: string;
536
536
  rootInstanceId: string;
537
537
  systemDataSourceId: string;
538
538
  history?: string[] | undefined;
@@ -544,7 +544,6 @@ export declare const Pages: z.ZodObject<{
544
544
  };
545
545
  pages: {
546
546
  path: string;
547
- id: string;
548
547
  name: string;
549
548
  meta: {
550
549
  description?: string | undefined;
@@ -557,11 +556,12 @@ export declare const Pages: z.ZodObject<{
557
556
  redirect?: string | undefined;
558
557
  documentType?: "html" | "xml" | undefined;
559
558
  custom?: {
560
- property: string;
561
559
  content: string;
560
+ property: string;
562
561
  }[] | undefined;
563
562
  };
564
563
  title: string;
564
+ id: string;
565
565
  rootInstanceId: string;
566
566
  systemDataSourceId: string;
567
567
  history?: string[] | undefined;
@@ -572,10 +572,10 @@ export declare const Pages: z.ZodObject<{
572
572
  } | undefined;
573
573
  }[];
574
574
  folders: {
575
- id: string;
576
575
  name: string;
577
- slug: string;
576
+ id: string;
578
577
  children: string[];
578
+ slug: string;
579
579
  }[];
580
580
  meta?: {
581
581
  siteName?: string | undefined;
@@ -594,7 +594,6 @@ export declare const Pages: z.ZodObject<{
594
594
  }, {
595
595
  homePage: {
596
596
  path: string;
597
- id: string;
598
597
  name: string;
599
598
  meta: {
600
599
  description?: string | undefined;
@@ -607,11 +606,12 @@ export declare const Pages: z.ZodObject<{
607
606
  redirect?: string | undefined;
608
607
  documentType?: "html" | "xml" | undefined;
609
608
  custom?: {
610
- property: string;
611
609
  content: string;
610
+ property: string;
612
611
  }[] | undefined;
613
612
  };
614
613
  title: string;
614
+ id: string;
615
615
  rootInstanceId: string;
616
616
  systemDataSourceId: string;
617
617
  history?: string[] | undefined;
@@ -623,7 +623,6 @@ export declare const Pages: z.ZodObject<{
623
623
  };
624
624
  pages: {
625
625
  path: string;
626
- id: string;
627
626
  name: string;
628
627
  meta: {
629
628
  description?: string | undefined;
@@ -636,11 +635,12 @@ export declare const Pages: z.ZodObject<{
636
635
  redirect?: string | undefined;
637
636
  documentType?: "html" | "xml" | undefined;
638
637
  custom?: {
639
- property: string;
640
638
  content: string;
639
+ property: string;
641
640
  }[] | undefined;
642
641
  };
643
642
  title: string;
643
+ id: string;
644
644
  rootInstanceId: string;
645
645
  systemDataSourceId: string;
646
646
  history?: string[] | undefined;
@@ -651,10 +651,10 @@ export declare const Pages: z.ZodObject<{
651
651
  } | undefined;
652
652
  }[];
653
653
  folders: {
654
- id: string;
655
654
  name: string;
656
- slug: string;
655
+ id: string;
657
656
  children: string[];
657
+ slug: string;
658
658
  }[];
659
659
  meta?: {
660
660
  siteName?: string | undefined;
@@ -80,16 +80,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
80
80
  }, "strip", z.ZodTypeAny, {
81
81
  type: "string";
82
82
  required: boolean;
83
- language: "html" | "markdown";
84
83
  control: "code";
84
+ language: "html" | "markdown";
85
85
  defaultValue?: string | undefined;
86
86
  label?: string | undefined;
87
87
  description?: string | undefined;
88
88
  }, {
89
89
  type: "string";
90
90
  required: boolean;
91
- language: "html" | "markdown";
92
91
  control: "code";
92
+ language: "html" | "markdown";
93
93
  defaultValue?: string | undefined;
94
94
  label?: string | undefined;
95
95
  description?: string | undefined;