@prismicio/types-internal 4.0.0 → 4.1.0-canary.18ae460

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 (117) hide show
  1. package/README.md +5 -5
  2. package/dist/content/boolean.d.ts.map +1 -1
  3. package/dist/content/boolean.js.map +1 -1
  4. package/dist/content/codec/link.js.map +1 -1
  5. package/dist/content/codec/nestable.js +4 -4
  6. package/dist/content/field.d.ts.map +1 -1
  7. package/dist/content/field.js +1 -1
  8. package/dist/content/field.js.map +1 -1
  9. package/dist/content/group.d.ts.map +1 -1
  10. package/dist/content/group.js.map +1 -1
  11. package/dist/content/image.d.ts +3 -1
  12. package/dist/content/image.d.ts.map +1 -1
  13. package/dist/content/image.js +3 -3
  14. package/dist/content/image.js.map +1 -1
  15. package/dist/content/legacy/boolean.d.ts +1 -0
  16. package/dist/content/legacy/embed.d.ts +1 -0
  17. package/dist/content/legacy/empty.d.ts +1 -0
  18. package/dist/content/legacy/field.d.ts +1 -0
  19. package/dist/content/legacy/geopoint.d.ts +1 -0
  20. package/dist/content/legacy/image.d.ts +28 -0
  21. package/dist/content/legacy/image.d.ts.map +1 -0
  22. package/dist/content/legacy/image.js +3 -3
  23. package/dist/content/legacy/image.js.map +1 -1
  24. package/dist/content/legacy/integrationField.d.ts +1 -0
  25. package/dist/content/legacy/link.d.ts +10 -10
  26. package/dist/content/legacy/link.js +23 -23
  27. package/dist/content/legacy/link.js.map +1 -1
  28. package/dist/content/legacy/nestable.d.ts +1 -0
  29. package/dist/content/legacy/nestable.js +1 -1
  30. package/dist/content/legacy/repeatable.d.ts +1 -0
  31. package/dist/content/legacy/richText.d.ts +9 -8
  32. package/dist/content/legacy/richText.d.ts.map +1 -1
  33. package/dist/content/legacy/richText.js +5 -5
  34. package/dist/content/legacy/richText.js.map +1 -1
  35. package/dist/content/legacy/separator.d.ts +1 -0
  36. package/dist/content/legacy/table.d.ts +1 -0
  37. package/dist/content/link.d.ts +62 -85
  38. package/dist/content/link.d.ts.map +1 -1
  39. package/dist/content/link.js +30 -27
  40. package/dist/content/link.js.map +1 -1
  41. package/dist/content/nestable.d.ts.map +1 -1
  42. package/dist/content/nestable.js +4 -4
  43. package/dist/content/nestable.js.map +1 -1
  44. package/dist/content/repeatable.d.ts +4 -69
  45. package/dist/content/repeatable.d.ts.map +1 -1
  46. package/dist/content/richText.d.ts +13 -13
  47. package/dist/content/richText.d.ts.map +1 -1
  48. package/dist/content/richText.js +9 -9
  49. package/dist/content/richText.js.map +1 -1
  50. package/dist/helpers/customTypeModel.d.ts +2 -1
  51. package/dist/helpers/customTypeModel.d.ts.map +1 -1
  52. package/dist/helpers/customTypeModel.js +30 -0
  53. package/dist/helpers/customTypeModel.js.map +1 -1
  54. package/dist/helpers/imageContent.d.ts +33 -0
  55. package/dist/helpers/imageContent.d.ts.map +1 -0
  56. package/dist/helpers/imageContent.js +55 -0
  57. package/dist/helpers/imageContent.js.map +1 -0
  58. package/dist/helpers/traverseContent.d.ts +4 -4
  59. package/dist/helpers/traverseContent.d.ts.map +1 -1
  60. package/dist/helpers/traverseContent.js +5 -3
  61. package/dist/helpers/traverseContent.js.map +1 -1
  62. package/dist/helpers/traverseContentWithModel.d.ts +4 -4
  63. package/dist/helpers/traverseContentWithModel.js +1 -1
  64. package/dist/helpers/withDefaultContent.d.ts +21 -0
  65. package/dist/helpers/withDefaultContent.d.ts.map +1 -0
  66. package/dist/helpers/withDefaultContent.js +120 -0
  67. package/dist/helpers/withDefaultContent.js.map +1 -0
  68. package/dist/index.d.ts +25 -22
  69. package/dist/index.js +6 -1
  70. package/dist/io-ts.d.ts +1156 -727
  71. package/dist/io-ts.d.ts.map +1 -1
  72. package/dist/io-ts.js +11 -7
  73. package/dist/io-ts.js.map +1 -1
  74. package/dist/model/richText.d.ts +20 -1
  75. package/dist/model/richText.d.ts.map +1 -1
  76. package/dist/model/richText.js +3 -3
  77. package/dist/model/richText.js.map +1 -1
  78. package/dist/model/slice.d.ts +1251 -643
  79. package/dist/model/slice.d.ts.map +1 -1
  80. package/dist/model/slice.js +4 -4
  81. package/dist/model/slice.js.map +1 -1
  82. package/dist/model/table.js +5 -5
  83. package/dist/model/table.js.map +1 -1
  84. package/dist/model/widget.d.ts +1 -3
  85. package/dist/model/widget.d.ts.map +1 -1
  86. package/dist/model/widget.js +5 -2
  87. package/dist/model/widget.js.map +1 -1
  88. package/dist/zod4.d.ts +2392 -1873
  89. package/dist/zod4.d.ts.map +1 -1
  90. package/dist/zod4.js +11 -7
  91. package/dist/zod4.js.map +1 -1
  92. package/package.json +19 -12
  93. package/src/content/boolean.ts +0 -13
  94. package/src/content/codec/link.ts +12 -12
  95. package/src/content/field.ts +0 -14
  96. package/src/content/group.ts +1 -54
  97. package/src/content/image.ts +3 -91
  98. package/src/content/legacy/image.ts +4 -4
  99. package/src/content/legacy/link.ts +46 -46
  100. package/src/content/legacy/richText.ts +18 -16
  101. package/src/content/link.ts +100 -89
  102. package/src/content/nestable.ts +1 -20
  103. package/src/content/richText.ts +23 -17
  104. package/src/helpers/customTypeModel.ts +44 -0
  105. package/src/helpers/imageContent.ts +84 -0
  106. package/src/helpers/traverseContent.ts +4 -1
  107. package/src/helpers/withDefaultContent.ts +180 -0
  108. package/src/index.ts +18 -5
  109. package/src/io-ts.ts +14 -2
  110. package/src/model/diff/sharedSlice.ts +2 -2
  111. package/src/model/diff/variation.ts +7 -7
  112. package/src/model/richText.ts +5 -2
  113. package/src/model/slice.ts +6 -8
  114. package/src/model/table.ts +5 -5
  115. package/src/model/widget.ts +6 -2
  116. package/src/zod4.ts +14 -2
  117. package/src/content/withDefaultValues.ts +0 -114
@@ -361,6 +361,574 @@ declare const CompositeSliceModelSchema: z.ZodMiniObject<{
361
361
  }, z.core.$strip>>;
362
362
  }, z.core.$strip>;
363
363
  type CompositeSliceModel = z.infer<typeof CompositeSliceModelSchema>;
364
+ declare const SharedSliceModelVariationSchema: z.ZodMiniObject<{
365
+ id: z.ZodMiniString<string>;
366
+ name: z.ZodMiniString<string>;
367
+ description: z.ZodMiniString<string>;
368
+ imageUrl: z.ZodMiniDefault<z.ZodMiniString<string>>;
369
+ docURL: z.ZodMiniString<string>;
370
+ version: z.ZodMiniString<string>;
371
+ display: z.ZodMiniOptional<z.ZodMiniString<string>>;
372
+ primary: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniType<NestableModel | {
373
+ type: "Group";
374
+ fieldset?: string | null | undefined;
375
+ icon?: string | undefined;
376
+ description?: string | undefined;
377
+ config?: {
378
+ label?: string | null | undefined;
379
+ repeat?: boolean | undefined;
380
+ fields?: Record<string, NestableModel | {
381
+ type: "Group";
382
+ fieldset?: string | null | undefined;
383
+ icon?: string | undefined;
384
+ description?: string | undefined;
385
+ config?: {
386
+ label?: string | null | undefined;
387
+ repeat?: boolean | undefined;
388
+ fields?: Record<string, {
389
+ type: "Boolean";
390
+ config?: {
391
+ label?: string | null | undefined;
392
+ default_value?: boolean | undefined;
393
+ placeholder_true?: string | undefined;
394
+ placeholder_false?: string | undefined;
395
+ } | undefined;
396
+ } | {
397
+ type: "Color";
398
+ fieldset?: string | null | undefined;
399
+ config?: {
400
+ label?: string | null | undefined;
401
+ placeholder?: string | undefined;
402
+ } | undefined;
403
+ } | {
404
+ type: "Date";
405
+ fieldset?: string | null | undefined;
406
+ config?: {
407
+ label?: string | null | undefined;
408
+ placeholder?: string | undefined;
409
+ default?: string | undefined;
410
+ } | undefined;
411
+ } | {
412
+ type: "Embed";
413
+ fieldset?: string | null | undefined;
414
+ config?: {
415
+ label?: string | null | undefined;
416
+ placeholder?: string | undefined;
417
+ useAsTitle?: boolean | undefined;
418
+ } | undefined;
419
+ } | {
420
+ type: "GeoPoint";
421
+ fieldset?: string | null | undefined;
422
+ config?: {
423
+ label?: string | null | undefined;
424
+ } | undefined;
425
+ } | {
426
+ type: "Image";
427
+ fieldset?: string | null | undefined;
428
+ config?: {
429
+ label?: string | null | undefined;
430
+ placeholder?: string | undefined;
431
+ constraint?: {
432
+ width?: number | null | undefined;
433
+ height?: number | null | undefined;
434
+ } | undefined;
435
+ thumbnails?: {
436
+ name: string;
437
+ width?: number | null | undefined;
438
+ height?: number | null | undefined;
439
+ }[] | undefined;
440
+ } | undefined;
441
+ } | {
442
+ type: "IntegrationFields";
443
+ fieldset?: string | null | undefined;
444
+ config?: {
445
+ label?: string | null | undefined;
446
+ placeholder?: string | undefined;
447
+ catalog?: string | undefined;
448
+ } | undefined;
449
+ } | {
450
+ type: "Link";
451
+ fieldset?: string | null | undefined;
452
+ config?: {
453
+ label?: string | null | undefined;
454
+ useAsTitle?: boolean | undefined;
455
+ placeholder?: string | undefined;
456
+ select?: "media" | "document" | "web" | null | undefined;
457
+ customtypes?: (string | {
458
+ id: string;
459
+ fields: (string | {
460
+ id: string;
461
+ customtypes: (string | {
462
+ id: string;
463
+ fields: (string | {
464
+ id: string;
465
+ fields: string[];
466
+ })[];
467
+ })[];
468
+ } | {
469
+ id: string;
470
+ fields: (string | {
471
+ id: string;
472
+ customtypes: (string | {
473
+ id: string;
474
+ fields: (string | {
475
+ id: string;
476
+ fields: string[];
477
+ })[];
478
+ })[];
479
+ })[];
480
+ })[];
481
+ })[] | undefined;
482
+ masks?: string[] | undefined;
483
+ tags?: string[] | undefined;
484
+ allowTargetBlank?: boolean | undefined;
485
+ allowText?: boolean | undefined;
486
+ repeat?: boolean | undefined;
487
+ variants?: string[] | undefined;
488
+ } | undefined;
489
+ } | {
490
+ type: "Number";
491
+ fieldset?: string | null | undefined;
492
+ config?: {
493
+ label?: string | null | undefined;
494
+ placeholder?: string | undefined;
495
+ min?: number | undefined;
496
+ max?: number | undefined;
497
+ step?: number | undefined;
498
+ } | undefined;
499
+ } | {
500
+ type: "Range";
501
+ fieldset?: string | null | undefined;
502
+ config?: {
503
+ label?: string | null | undefined;
504
+ placeholder?: string | undefined;
505
+ min?: number | undefined;
506
+ max?: number | undefined;
507
+ step?: number | undefined;
508
+ } | undefined;
509
+ } | {
510
+ type: "StructuredText";
511
+ fieldset?: string | null | undefined;
512
+ config?: {
513
+ label?: string | null | undefined;
514
+ placeholder?: string | undefined;
515
+ useAsTitle?: boolean | undefined;
516
+ single?: string | undefined;
517
+ multi?: string | undefined;
518
+ imageConstraint?: {
519
+ width?: number | null | undefined;
520
+ height?: number | null | undefined;
521
+ } | undefined;
522
+ labels?: string[] | undefined;
523
+ allowTargetBlank?: boolean | undefined;
524
+ } | undefined;
525
+ } | {
526
+ type: "Select";
527
+ fieldset?: string | null | undefined;
528
+ config?: {
529
+ label?: string | null | undefined;
530
+ placeholder?: string | undefined;
531
+ default_value?: string | undefined;
532
+ options?: string[] | undefined;
533
+ } | undefined;
534
+ } | {
535
+ type: "Separator";
536
+ config?: {
537
+ label?: string | null | undefined;
538
+ } | undefined;
539
+ } | {
540
+ type: "Table";
541
+ config?: {
542
+ label?: string | null | undefined;
543
+ } | undefined;
544
+ } | {
545
+ type: "Text";
546
+ fieldset?: string | null | undefined;
547
+ config?: {
548
+ label?: string | null | undefined;
549
+ useAsTitle?: boolean | undefined;
550
+ placeholder?: string | undefined;
551
+ } | undefined;
552
+ } | {
553
+ type: "Timestamp";
554
+ fieldset?: string | null | undefined;
555
+ config?: {
556
+ label?: string | null | undefined;
557
+ placeholder?: string | undefined;
558
+ default?: string | undefined;
559
+ } | undefined;
560
+ }> | undefined;
561
+ } | undefined;
562
+ }> | undefined;
563
+ } | undefined;
564
+ }, unknown, z.core.$ZodTypeInternals<NestableModel | {
565
+ type: "Group";
566
+ fieldset?: string | null | undefined;
567
+ icon?: string | undefined;
568
+ description?: string | undefined;
569
+ config?: {
570
+ label?: string | null | undefined;
571
+ repeat?: boolean | undefined;
572
+ fields?: Record<string, NestableModel | {
573
+ type: "Group";
574
+ fieldset?: string | null | undefined;
575
+ icon?: string | undefined;
576
+ description?: string | undefined;
577
+ config?: {
578
+ label?: string | null | undefined;
579
+ repeat?: boolean | undefined;
580
+ fields?: Record<string, {
581
+ type: "Boolean";
582
+ config?: {
583
+ label?: string | null | undefined;
584
+ default_value?: boolean | undefined;
585
+ placeholder_true?: string | undefined;
586
+ placeholder_false?: string | undefined;
587
+ } | undefined;
588
+ } | {
589
+ type: "Color";
590
+ fieldset?: string | null | undefined;
591
+ config?: {
592
+ label?: string | null | undefined;
593
+ placeholder?: string | undefined;
594
+ } | undefined;
595
+ } | {
596
+ type: "Date";
597
+ fieldset?: string | null | undefined;
598
+ config?: {
599
+ label?: string | null | undefined;
600
+ placeholder?: string | undefined;
601
+ default?: string | undefined;
602
+ } | undefined;
603
+ } | {
604
+ type: "Embed";
605
+ fieldset?: string | null | undefined;
606
+ config?: {
607
+ label?: string | null | undefined;
608
+ placeholder?: string | undefined;
609
+ useAsTitle?: boolean | undefined;
610
+ } | undefined;
611
+ } | {
612
+ type: "GeoPoint";
613
+ fieldset?: string | null | undefined;
614
+ config?: {
615
+ label?: string | null | undefined;
616
+ } | undefined;
617
+ } | {
618
+ type: "Image";
619
+ fieldset?: string | null | undefined;
620
+ config?: {
621
+ label?: string | null | undefined;
622
+ placeholder?: string | undefined;
623
+ constraint?: {
624
+ width?: number | null | undefined;
625
+ height?: number | null | undefined;
626
+ } | undefined;
627
+ thumbnails?: {
628
+ name: string;
629
+ width?: number | null | undefined;
630
+ height?: number | null | undefined;
631
+ }[] | undefined;
632
+ } | undefined;
633
+ } | {
634
+ type: "IntegrationFields";
635
+ fieldset?: string | null | undefined;
636
+ config?: {
637
+ label?: string | null | undefined;
638
+ placeholder?: string | undefined;
639
+ catalog?: string | undefined;
640
+ } | undefined;
641
+ } | {
642
+ type: "Link";
643
+ fieldset?: string | null | undefined;
644
+ config?: {
645
+ label?: string | null | undefined;
646
+ useAsTitle?: boolean | undefined;
647
+ placeholder?: string | undefined;
648
+ select?: "media" | "document" | "web" | null | undefined;
649
+ customtypes?: (string | {
650
+ id: string;
651
+ fields: (string | {
652
+ id: string;
653
+ customtypes: (string | {
654
+ id: string;
655
+ fields: (string | {
656
+ id: string;
657
+ fields: string[];
658
+ })[];
659
+ })[];
660
+ } | {
661
+ id: string;
662
+ fields: (string | {
663
+ id: string;
664
+ customtypes: (string | {
665
+ id: string;
666
+ fields: (string | {
667
+ id: string;
668
+ fields: string[];
669
+ })[];
670
+ })[];
671
+ })[];
672
+ })[];
673
+ })[] | undefined;
674
+ masks?: string[] | undefined;
675
+ tags?: string[] | undefined;
676
+ allowTargetBlank?: boolean | undefined;
677
+ allowText?: boolean | undefined;
678
+ repeat?: boolean | undefined;
679
+ variants?: string[] | undefined;
680
+ } | undefined;
681
+ } | {
682
+ type: "Number";
683
+ fieldset?: string | null | undefined;
684
+ config?: {
685
+ label?: string | null | undefined;
686
+ placeholder?: string | undefined;
687
+ min?: number | undefined;
688
+ max?: number | undefined;
689
+ step?: number | undefined;
690
+ } | undefined;
691
+ } | {
692
+ type: "Range";
693
+ fieldset?: string | null | undefined;
694
+ config?: {
695
+ label?: string | null | undefined;
696
+ placeholder?: string | undefined;
697
+ min?: number | undefined;
698
+ max?: number | undefined;
699
+ step?: number | undefined;
700
+ } | undefined;
701
+ } | {
702
+ type: "StructuredText";
703
+ fieldset?: string | null | undefined;
704
+ config?: {
705
+ label?: string | null | undefined;
706
+ placeholder?: string | undefined;
707
+ useAsTitle?: boolean | undefined;
708
+ single?: string | undefined;
709
+ multi?: string | undefined;
710
+ imageConstraint?: {
711
+ width?: number | null | undefined;
712
+ height?: number | null | undefined;
713
+ } | undefined;
714
+ labels?: string[] | undefined;
715
+ allowTargetBlank?: boolean | undefined;
716
+ } | undefined;
717
+ } | {
718
+ type: "Select";
719
+ fieldset?: string | null | undefined;
720
+ config?: {
721
+ label?: string | null | undefined;
722
+ placeholder?: string | undefined;
723
+ default_value?: string | undefined;
724
+ options?: string[] | undefined;
725
+ } | undefined;
726
+ } | {
727
+ type: "Separator";
728
+ config?: {
729
+ label?: string | null | undefined;
730
+ } | undefined;
731
+ } | {
732
+ type: "Table";
733
+ config?: {
734
+ label?: string | null | undefined;
735
+ } | undefined;
736
+ } | {
737
+ type: "Text";
738
+ fieldset?: string | null | undefined;
739
+ config?: {
740
+ label?: string | null | undefined;
741
+ useAsTitle?: boolean | undefined;
742
+ placeholder?: string | undefined;
743
+ } | undefined;
744
+ } | {
745
+ type: "Timestamp";
746
+ fieldset?: string | null | undefined;
747
+ config?: {
748
+ label?: string | null | undefined;
749
+ placeholder?: string | undefined;
750
+ default?: string | undefined;
751
+ } | undefined;
752
+ }> | undefined;
753
+ } | undefined;
754
+ }> | undefined;
755
+ } | undefined;
756
+ }, unknown>>>>;
757
+ items: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
758
+ type: z.ZodMiniLiteral<"Boolean">;
759
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
760
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
761
+ default_value: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
762
+ placeholder_true: z.ZodMiniOptional<z.ZodMiniString<string>>;
763
+ placeholder_false: z.ZodMiniOptional<z.ZodMiniString<string>>;
764
+ }, z.core.$strip>>;
765
+ }, z.core.$strip>, z.ZodMiniObject<{
766
+ type: z.ZodMiniLiteral<"Color">;
767
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
768
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
769
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
770
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
771
+ }, z.core.$strip>>;
772
+ }, z.core.$strip>, z.ZodMiniObject<{
773
+ type: z.ZodMiniLiteral<"Date">;
774
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
775
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
776
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
777
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
778
+ default: z.ZodMiniOptional<z.ZodMiniString<string>>;
779
+ }, z.core.$strip>>;
780
+ }, z.core.$strip>, z.ZodMiniObject<{
781
+ type: z.ZodMiniLiteral<"Embed">;
782
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
783
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
784
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
785
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
786
+ useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
787
+ }, z.core.$strip>>;
788
+ }, z.core.$strip>, z.ZodMiniObject<{
789
+ type: z.ZodMiniLiteral<"GeoPoint">;
790
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
791
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
792
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
793
+ }, z.core.$strip>>;
794
+ }, z.core.$strip>, z.ZodMiniObject<{
795
+ type: z.ZodMiniLiteral<"Image">;
796
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
797
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
798
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
799
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
800
+ constraint: z.ZodMiniOptional<z.ZodMiniObject<{
801
+ width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
802
+ height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
803
+ }, z.core.$strip>>;
804
+ thumbnails: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
805
+ name: z.ZodMiniString<string>;
806
+ width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
807
+ height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
808
+ }, z.core.$strip>>>;
809
+ }, z.core.$strip>>;
810
+ }, z.core.$strip>, z.ZodMiniObject<{
811
+ type: z.ZodMiniLiteral<"IntegrationFields">;
812
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
813
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
814
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
815
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
816
+ catalog: z.ZodMiniOptional<z.ZodMiniString<string>>;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strip>, z.ZodMiniObject<{
819
+ type: z.ZodMiniLiteral<"Link">;
820
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
821
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
822
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
823
+ useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
824
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
825
+ select: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnknown, z.ZodMiniTransform<"media" | "document" | "web" | null, unknown>>>;
826
+ customtypes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
827
+ id: z.ZodMiniString<string>;
828
+ fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
829
+ id: z.ZodMiniString<string>;
830
+ fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
831
+ id: z.ZodMiniString<string>;
832
+ customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
833
+ id: z.ZodMiniString<string>;
834
+ fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
835
+ id: z.ZodMiniString<string>;
836
+ fields: z.ZodMiniArray<z.ZodMiniString<string>>;
837
+ }, z.core.$strip>, z.ZodMiniString<string>]>>;
838
+ }, z.core.$strip>]>>;
839
+ }, z.core.$strip>, z.ZodMiniString<string>]>>;
840
+ }, z.core.$strip>, z.ZodMiniObject<{
841
+ id: z.ZodMiniString<string>;
842
+ customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
843
+ id: z.ZodMiniString<string>;
844
+ fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
845
+ id: z.ZodMiniString<string>;
846
+ fields: z.ZodMiniArray<z.ZodMiniString<string>>;
847
+ }, z.core.$strip>, z.ZodMiniString<string>]>>;
848
+ }, z.core.$strip>]>>;
849
+ }, z.core.$strip>, z.ZodMiniString<string>]>>;
850
+ }, z.core.$strip>]>>>;
851
+ masks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<string[], string | string[]>>>;
852
+ tags: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<string[], string | string[]>>>;
853
+ allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
854
+ allowText: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
855
+ repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
856
+ variants: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
857
+ }, z.core.$strip>>;
858
+ }, z.core.$strip>, z.ZodMiniObject<{
859
+ type: z.ZodMiniLiteral<"Number">;
860
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
861
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
862
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
863
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
864
+ min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
865
+ max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
866
+ step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
867
+ }, z.core.$strip>>;
868
+ }, z.core.$strip>, z.ZodMiniObject<{
869
+ type: z.ZodMiniLiteral<"Range">;
870
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
871
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
872
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
873
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
874
+ min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
875
+ max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
876
+ step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
877
+ }, z.core.$strip>>;
878
+ }, z.core.$strip>, z.ZodMiniObject<{
879
+ type: z.ZodMiniLiteral<"StructuredText">;
880
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
881
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
882
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
883
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
884
+ useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
885
+ single: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
886
+ multi: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
887
+ imageConstraint: z.ZodMiniOptional<z.ZodMiniObject<{
888
+ width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
889
+ height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
890
+ }, z.core.$strip>>;
891
+ labels: z.ZodMiniOptional<z.ZodMiniType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
892
+ allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
893
+ }, z.core.$strip>>;
894
+ }, z.core.$strip>, z.ZodMiniObject<{
895
+ type: z.ZodMiniLiteral<"Select">;
896
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
897
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
898
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
899
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
900
+ default_value: z.ZodMiniOptional<z.ZodMiniString<string>>;
901
+ options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>>;
902
+ }, z.core.$strip>>;
903
+ }, z.core.$strip>, z.ZodMiniObject<{
904
+ type: z.ZodMiniLiteral<"Separator">;
905
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
906
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
907
+ }, z.core.$strip>>;
908
+ }, z.core.$strip>, z.ZodMiniObject<{
909
+ type: z.ZodMiniLiteral<"Table">;
910
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
911
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
912
+ }, z.core.$strip>>;
913
+ }, z.core.$strip>, z.ZodMiniObject<{
914
+ type: z.ZodMiniLiteral<"Text">;
915
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
916
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
917
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
918
+ useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
919
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
920
+ }, z.core.$strip>>;
921
+ }, z.core.$strip>, z.ZodMiniObject<{
922
+ type: z.ZodMiniLiteral<"Timestamp">;
923
+ fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
924
+ config: z.ZodMiniOptional<z.ZodMiniObject<{
925
+ label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
926
+ placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
927
+ default: z.ZodMiniOptional<z.ZodMiniString<string>>;
928
+ }, z.core.$strip>>;
929
+ }, z.core.$strip>]>>>;
930
+ }, z.core.$strip>;
931
+ type SharedSliceModelVariation = z.infer<typeof SharedSliceModelVariationSchema>;
364
932
  declare const SharedSliceModelSchema: z.ZodMiniObject<{
365
933
  id: z.ZodMiniString<string>;
366
934
  type: z.ZodMiniLiteral<"SharedSlice">;
@@ -381,177 +949,187 @@ declare const SharedSliceModelSchema: z.ZodMiniObject<{
381
949
  config?: {
382
950
  label?: string | null | undefined;
383
951
  repeat?: boolean | undefined;
384
- fields?: Record<string, {
385
- type: "Boolean";
386
- config?: {
387
- label?: string | null | undefined;
388
- default_value?: boolean | undefined;
389
- placeholder_true?: string | undefined;
390
- placeholder_false?: string | undefined;
391
- } | undefined;
392
- } | {
393
- type: "Color";
394
- fieldset?: string | null | undefined;
395
- config?: {
396
- label?: string | null | undefined;
397
- placeholder?: string | undefined;
398
- } | undefined;
399
- } | {
400
- type: "Date";
401
- fieldset?: string | null | undefined;
402
- config?: {
403
- label?: string | null | undefined;
404
- placeholder?: string | undefined;
405
- default?: string | undefined;
406
- } | undefined;
407
- } | {
408
- type: "Embed";
409
- fieldset?: string | null | undefined;
410
- config?: {
411
- label?: string | null | undefined;
412
- placeholder?: string | undefined;
413
- useAsTitle?: boolean | undefined;
414
- } | undefined;
415
- } | {
416
- type: "GeoPoint";
417
- fieldset?: string | null | undefined;
418
- config?: {
419
- label?: string | null | undefined;
420
- } | undefined;
421
- } | {
422
- type: "Image";
952
+ fields?: Record<string, NestableModel | {
953
+ type: "Group";
423
954
  fieldset?: string | null | undefined;
955
+ icon?: string | undefined;
956
+ description?: string | undefined;
424
957
  config?: {
425
958
  label?: string | null | undefined;
426
- placeholder?: string | undefined;
427
- constraint?: {
428
- width?: number | null | undefined;
429
- height?: number | null | undefined;
430
- } | undefined;
431
- thumbnails?: {
432
- name: string;
433
- width?: number | null | undefined;
434
- height?: number | null | undefined;
435
- }[] | undefined;
436
- } | undefined;
437
- } | {
438
- type: "IntegrationFields";
439
- fieldset?: string | null | undefined;
440
- config?: {
441
- label?: string | null | undefined;
442
- placeholder?: string | undefined;
443
- catalog?: string | undefined;
444
- } | undefined;
445
- } | {
446
- type: "Link";
447
- fieldset?: string | null | undefined;
448
- config?: {
449
- label?: string | null | undefined;
450
- useAsTitle?: boolean | undefined;
451
- placeholder?: string | undefined;
452
- select?: "media" | "document" | "web" | null | undefined;
453
- customtypes?: (string | {
454
- id: string;
455
- fields: (string | {
456
- id: string;
457
- customtypes: (string | {
458
- id: string;
459
- fields: (string | {
460
- id: string;
461
- fields: string[];
462
- })[];
463
- })[];
464
- } | {
465
- id: string;
466
- fields: (string | {
959
+ repeat?: boolean | undefined;
960
+ fields?: Record<string, {
961
+ type: "Boolean";
962
+ config?: {
963
+ label?: string | null | undefined;
964
+ default_value?: boolean | undefined;
965
+ placeholder_true?: string | undefined;
966
+ placeholder_false?: string | undefined;
967
+ } | undefined;
968
+ } | {
969
+ type: "Color";
970
+ fieldset?: string | null | undefined;
971
+ config?: {
972
+ label?: string | null | undefined;
973
+ placeholder?: string | undefined;
974
+ } | undefined;
975
+ } | {
976
+ type: "Date";
977
+ fieldset?: string | null | undefined;
978
+ config?: {
979
+ label?: string | null | undefined;
980
+ placeholder?: string | undefined;
981
+ default?: string | undefined;
982
+ } | undefined;
983
+ } | {
984
+ type: "Embed";
985
+ fieldset?: string | null | undefined;
986
+ config?: {
987
+ label?: string | null | undefined;
988
+ placeholder?: string | undefined;
989
+ useAsTitle?: boolean | undefined;
990
+ } | undefined;
991
+ } | {
992
+ type: "GeoPoint";
993
+ fieldset?: string | null | undefined;
994
+ config?: {
995
+ label?: string | null | undefined;
996
+ } | undefined;
997
+ } | {
998
+ type: "Image";
999
+ fieldset?: string | null | undefined;
1000
+ config?: {
1001
+ label?: string | null | undefined;
1002
+ placeholder?: string | undefined;
1003
+ constraint?: {
1004
+ width?: number | null | undefined;
1005
+ height?: number | null | undefined;
1006
+ } | undefined;
1007
+ thumbnails?: {
1008
+ name: string;
1009
+ width?: number | null | undefined;
1010
+ height?: number | null | undefined;
1011
+ }[] | undefined;
1012
+ } | undefined;
1013
+ } | {
1014
+ type: "IntegrationFields";
1015
+ fieldset?: string | null | undefined;
1016
+ config?: {
1017
+ label?: string | null | undefined;
1018
+ placeholder?: string | undefined;
1019
+ catalog?: string | undefined;
1020
+ } | undefined;
1021
+ } | {
1022
+ type: "Link";
1023
+ fieldset?: string | null | undefined;
1024
+ config?: {
1025
+ label?: string | null | undefined;
1026
+ useAsTitle?: boolean | undefined;
1027
+ placeholder?: string | undefined;
1028
+ select?: "media" | "document" | "web" | null | undefined;
1029
+ customtypes?: (string | {
467
1030
  id: string;
468
- customtypes: (string | {
1031
+ fields: (string | {
1032
+ id: string;
1033
+ customtypes: (string | {
1034
+ id: string;
1035
+ fields: (string | {
1036
+ id: string;
1037
+ fields: string[];
1038
+ })[];
1039
+ })[];
1040
+ } | {
469
1041
  id: string;
470
1042
  fields: (string | {
471
1043
  id: string;
472
- fields: string[];
1044
+ customtypes: (string | {
1045
+ id: string;
1046
+ fields: (string | {
1047
+ id: string;
1048
+ fields: string[];
1049
+ })[];
1050
+ })[];
473
1051
  })[];
474
1052
  })[];
475
- })[];
476
- })[];
477
- })[] | undefined;
478
- masks?: string[] | undefined;
479
- tags?: string[] | undefined;
480
- allowTargetBlank?: boolean | undefined;
481
- allowText?: boolean | undefined;
482
- repeat?: boolean | undefined;
483
- variants?: string[] | undefined;
484
- } | undefined;
485
- } | {
486
- type: "Number";
487
- fieldset?: string | null | undefined;
488
- config?: {
489
- label?: string | null | undefined;
490
- placeholder?: string | undefined;
491
- min?: number | undefined;
492
- max?: number | undefined;
493
- step?: number | undefined;
494
- } | undefined;
495
- } | {
496
- type: "Range";
497
- fieldset?: string | null | undefined;
498
- config?: {
499
- label?: string | null | undefined;
500
- placeholder?: string | undefined;
501
- min?: number | undefined;
502
- max?: number | undefined;
503
- step?: number | undefined;
504
- } | undefined;
505
- } | {
506
- type: "StructuredText";
507
- fieldset?: string | null | undefined;
508
- config?: {
509
- label?: string | null | undefined;
510
- placeholder?: string | undefined;
511
- useAsTitle?: boolean | undefined;
512
- single?: string | undefined;
513
- multi?: string | undefined;
514
- imageConstraint?: {
515
- width?: number | null | undefined;
516
- height?: number | null | undefined;
517
- } | undefined;
518
- labels?: string[] | undefined;
519
- allowTargetBlank?: boolean | undefined;
520
- } | undefined;
521
- } | {
522
- type: "Select";
523
- fieldset?: string | null | undefined;
524
- config?: {
525
- label?: string | null | undefined;
526
- placeholder?: string | undefined;
527
- default_value?: string | undefined;
528
- options?: string[] | undefined;
529
- } | undefined;
530
- } | {
531
- type: "Separator";
532
- config?: {
533
- label?: string | null | undefined;
534
- } | undefined;
535
- } | {
536
- type: "Table";
537
- config?: {
538
- label?: string | null | undefined;
539
- } | undefined;
540
- } | {
541
- type: "Text";
542
- fieldset?: string | null | undefined;
543
- config?: {
544
- label?: string | null | undefined;
545
- useAsTitle?: boolean | undefined;
546
- placeholder?: string | undefined;
547
- } | undefined;
548
- } | {
549
- type: "Timestamp";
550
- fieldset?: string | null | undefined;
551
- config?: {
552
- label?: string | null | undefined;
553
- placeholder?: string | undefined;
554
- default?: string | undefined;
1053
+ })[] | undefined;
1054
+ masks?: string[] | undefined;
1055
+ tags?: string[] | undefined;
1056
+ allowTargetBlank?: boolean | undefined;
1057
+ allowText?: boolean | undefined;
1058
+ repeat?: boolean | undefined;
1059
+ variants?: string[] | undefined;
1060
+ } | undefined;
1061
+ } | {
1062
+ type: "Number";
1063
+ fieldset?: string | null | undefined;
1064
+ config?: {
1065
+ label?: string | null | undefined;
1066
+ placeholder?: string | undefined;
1067
+ min?: number | undefined;
1068
+ max?: number | undefined;
1069
+ step?: number | undefined;
1070
+ } | undefined;
1071
+ } | {
1072
+ type: "Range";
1073
+ fieldset?: string | null | undefined;
1074
+ config?: {
1075
+ label?: string | null | undefined;
1076
+ placeholder?: string | undefined;
1077
+ min?: number | undefined;
1078
+ max?: number | undefined;
1079
+ step?: number | undefined;
1080
+ } | undefined;
1081
+ } | {
1082
+ type: "StructuredText";
1083
+ fieldset?: string | null | undefined;
1084
+ config?: {
1085
+ label?: string | null | undefined;
1086
+ placeholder?: string | undefined;
1087
+ useAsTitle?: boolean | undefined;
1088
+ single?: string | undefined;
1089
+ multi?: string | undefined;
1090
+ imageConstraint?: {
1091
+ width?: number | null | undefined;
1092
+ height?: number | null | undefined;
1093
+ } | undefined;
1094
+ labels?: string[] | undefined;
1095
+ allowTargetBlank?: boolean | undefined;
1096
+ } | undefined;
1097
+ } | {
1098
+ type: "Select";
1099
+ fieldset?: string | null | undefined;
1100
+ config?: {
1101
+ label?: string | null | undefined;
1102
+ placeholder?: string | undefined;
1103
+ default_value?: string | undefined;
1104
+ options?: string[] | undefined;
1105
+ } | undefined;
1106
+ } | {
1107
+ type: "Separator";
1108
+ config?: {
1109
+ label?: string | null | undefined;
1110
+ } | undefined;
1111
+ } | {
1112
+ type: "Table";
1113
+ config?: {
1114
+ label?: string | null | undefined;
1115
+ } | undefined;
1116
+ } | {
1117
+ type: "Text";
1118
+ fieldset?: string | null | undefined;
1119
+ config?: {
1120
+ label?: string | null | undefined;
1121
+ useAsTitle?: boolean | undefined;
1122
+ placeholder?: string | undefined;
1123
+ } | undefined;
1124
+ } | {
1125
+ type: "Timestamp";
1126
+ fieldset?: string | null | undefined;
1127
+ config?: {
1128
+ label?: string | null | undefined;
1129
+ placeholder?: string | undefined;
1130
+ default?: string | undefined;
1131
+ } | undefined;
1132
+ }> | undefined;
555
1133
  } | undefined;
556
1134
  }> | undefined;
557
1135
  } | undefined;
@@ -563,177 +1141,187 @@ declare const SharedSliceModelSchema: z.ZodMiniObject<{
563
1141
  config?: {
564
1142
  label?: string | null | undefined;
565
1143
  repeat?: boolean | undefined;
566
- fields?: Record<string, {
567
- type: "Boolean";
568
- config?: {
569
- label?: string | null | undefined;
570
- default_value?: boolean | undefined;
571
- placeholder_true?: string | undefined;
572
- placeholder_false?: string | undefined;
573
- } | undefined;
574
- } | {
575
- type: "Color";
576
- fieldset?: string | null | undefined;
577
- config?: {
578
- label?: string | null | undefined;
579
- placeholder?: string | undefined;
580
- } | undefined;
581
- } | {
582
- type: "Date";
583
- fieldset?: string | null | undefined;
584
- config?: {
585
- label?: string | null | undefined;
586
- placeholder?: string | undefined;
587
- default?: string | undefined;
588
- } | undefined;
589
- } | {
590
- type: "Embed";
591
- fieldset?: string | null | undefined;
592
- config?: {
593
- label?: string | null | undefined;
594
- placeholder?: string | undefined;
595
- useAsTitle?: boolean | undefined;
596
- } | undefined;
597
- } | {
598
- type: "GeoPoint";
599
- fieldset?: string | null | undefined;
600
- config?: {
601
- label?: string | null | undefined;
602
- } | undefined;
603
- } | {
604
- type: "Image";
605
- fieldset?: string | null | undefined;
606
- config?: {
607
- label?: string | null | undefined;
608
- placeholder?: string | undefined;
609
- constraint?: {
610
- width?: number | null | undefined;
611
- height?: number | null | undefined;
612
- } | undefined;
613
- thumbnails?: {
614
- name: string;
615
- width?: number | null | undefined;
616
- height?: number | null | undefined;
617
- }[] | undefined;
618
- } | undefined;
619
- } | {
620
- type: "IntegrationFields";
1144
+ fields?: Record<string, NestableModel | {
1145
+ type: "Group";
621
1146
  fieldset?: string | null | undefined;
1147
+ icon?: string | undefined;
1148
+ description?: string | undefined;
622
1149
  config?: {
623
1150
  label?: string | null | undefined;
624
- placeholder?: string | undefined;
625
- catalog?: string | undefined;
626
- } | undefined;
627
- } | {
628
- type: "Link";
629
- fieldset?: string | null | undefined;
630
- config?: {
631
- label?: string | null | undefined;
632
- useAsTitle?: boolean | undefined;
633
- placeholder?: string | undefined;
634
- select?: "media" | "document" | "web" | null | undefined;
635
- customtypes?: (string | {
636
- id: string;
637
- fields: (string | {
638
- id: string;
639
- customtypes: (string | {
1151
+ repeat?: boolean | undefined;
1152
+ fields?: Record<string, {
1153
+ type: "Boolean";
1154
+ config?: {
1155
+ label?: string | null | undefined;
1156
+ default_value?: boolean | undefined;
1157
+ placeholder_true?: string | undefined;
1158
+ placeholder_false?: string | undefined;
1159
+ } | undefined;
1160
+ } | {
1161
+ type: "Color";
1162
+ fieldset?: string | null | undefined;
1163
+ config?: {
1164
+ label?: string | null | undefined;
1165
+ placeholder?: string | undefined;
1166
+ } | undefined;
1167
+ } | {
1168
+ type: "Date";
1169
+ fieldset?: string | null | undefined;
1170
+ config?: {
1171
+ label?: string | null | undefined;
1172
+ placeholder?: string | undefined;
1173
+ default?: string | undefined;
1174
+ } | undefined;
1175
+ } | {
1176
+ type: "Embed";
1177
+ fieldset?: string | null | undefined;
1178
+ config?: {
1179
+ label?: string | null | undefined;
1180
+ placeholder?: string | undefined;
1181
+ useAsTitle?: boolean | undefined;
1182
+ } | undefined;
1183
+ } | {
1184
+ type: "GeoPoint";
1185
+ fieldset?: string | null | undefined;
1186
+ config?: {
1187
+ label?: string | null | undefined;
1188
+ } | undefined;
1189
+ } | {
1190
+ type: "Image";
1191
+ fieldset?: string | null | undefined;
1192
+ config?: {
1193
+ label?: string | null | undefined;
1194
+ placeholder?: string | undefined;
1195
+ constraint?: {
1196
+ width?: number | null | undefined;
1197
+ height?: number | null | undefined;
1198
+ } | undefined;
1199
+ thumbnails?: {
1200
+ name: string;
1201
+ width?: number | null | undefined;
1202
+ height?: number | null | undefined;
1203
+ }[] | undefined;
1204
+ } | undefined;
1205
+ } | {
1206
+ type: "IntegrationFields";
1207
+ fieldset?: string | null | undefined;
1208
+ config?: {
1209
+ label?: string | null | undefined;
1210
+ placeholder?: string | undefined;
1211
+ catalog?: string | undefined;
1212
+ } | undefined;
1213
+ } | {
1214
+ type: "Link";
1215
+ fieldset?: string | null | undefined;
1216
+ config?: {
1217
+ label?: string | null | undefined;
1218
+ useAsTitle?: boolean | undefined;
1219
+ placeholder?: string | undefined;
1220
+ select?: "media" | "document" | "web" | null | undefined;
1221
+ customtypes?: (string | {
640
1222
  id: string;
641
1223
  fields: (string | {
642
1224
  id: string;
643
- fields: string[];
644
- })[];
645
- })[];
646
- } | {
647
- id: string;
648
- fields: (string | {
649
- id: string;
650
- customtypes: (string | {
1225
+ customtypes: (string | {
1226
+ id: string;
1227
+ fields: (string | {
1228
+ id: string;
1229
+ fields: string[];
1230
+ })[];
1231
+ })[];
1232
+ } | {
651
1233
  id: string;
652
1234
  fields: (string | {
653
1235
  id: string;
654
- fields: string[];
1236
+ customtypes: (string | {
1237
+ id: string;
1238
+ fields: (string | {
1239
+ id: string;
1240
+ fields: string[];
1241
+ })[];
1242
+ })[];
655
1243
  })[];
656
1244
  })[];
657
- })[];
658
- })[];
659
- })[] | undefined;
660
- masks?: string[] | undefined;
661
- tags?: string[] | undefined;
662
- allowTargetBlank?: boolean | undefined;
663
- allowText?: boolean | undefined;
664
- repeat?: boolean | undefined;
665
- variants?: string[] | undefined;
666
- } | undefined;
667
- } | {
668
- type: "Number";
669
- fieldset?: string | null | undefined;
670
- config?: {
671
- label?: string | null | undefined;
672
- placeholder?: string | undefined;
673
- min?: number | undefined;
674
- max?: number | undefined;
675
- step?: number | undefined;
676
- } | undefined;
677
- } | {
678
- type: "Range";
679
- fieldset?: string | null | undefined;
680
- config?: {
681
- label?: string | null | undefined;
682
- placeholder?: string | undefined;
683
- min?: number | undefined;
684
- max?: number | undefined;
685
- step?: number | undefined;
686
- } | undefined;
687
- } | {
688
- type: "StructuredText";
689
- fieldset?: string | null | undefined;
690
- config?: {
691
- label?: string | null | undefined;
692
- placeholder?: string | undefined;
693
- useAsTitle?: boolean | undefined;
694
- single?: string | undefined;
695
- multi?: string | undefined;
696
- imageConstraint?: {
697
- width?: number | null | undefined;
698
- height?: number | null | undefined;
699
- } | undefined;
700
- labels?: string[] | undefined;
701
- allowTargetBlank?: boolean | undefined;
702
- } | undefined;
703
- } | {
704
- type: "Select";
705
- fieldset?: string | null | undefined;
706
- config?: {
707
- label?: string | null | undefined;
708
- placeholder?: string | undefined;
709
- default_value?: string | undefined;
710
- options?: string[] | undefined;
711
- } | undefined;
712
- } | {
713
- type: "Separator";
714
- config?: {
715
- label?: string | null | undefined;
716
- } | undefined;
717
- } | {
718
- type: "Table";
719
- config?: {
720
- label?: string | null | undefined;
721
- } | undefined;
722
- } | {
723
- type: "Text";
724
- fieldset?: string | null | undefined;
725
- config?: {
726
- label?: string | null | undefined;
727
- useAsTitle?: boolean | undefined;
728
- placeholder?: string | undefined;
729
- } | undefined;
730
- } | {
731
- type: "Timestamp";
732
- fieldset?: string | null | undefined;
733
- config?: {
734
- label?: string | null | undefined;
735
- placeholder?: string | undefined;
736
- default?: string | undefined;
1245
+ })[] | undefined;
1246
+ masks?: string[] | undefined;
1247
+ tags?: string[] | undefined;
1248
+ allowTargetBlank?: boolean | undefined;
1249
+ allowText?: boolean | undefined;
1250
+ repeat?: boolean | undefined;
1251
+ variants?: string[] | undefined;
1252
+ } | undefined;
1253
+ } | {
1254
+ type: "Number";
1255
+ fieldset?: string | null | undefined;
1256
+ config?: {
1257
+ label?: string | null | undefined;
1258
+ placeholder?: string | undefined;
1259
+ min?: number | undefined;
1260
+ max?: number | undefined;
1261
+ step?: number | undefined;
1262
+ } | undefined;
1263
+ } | {
1264
+ type: "Range";
1265
+ fieldset?: string | null | undefined;
1266
+ config?: {
1267
+ label?: string | null | undefined;
1268
+ placeholder?: string | undefined;
1269
+ min?: number | undefined;
1270
+ max?: number | undefined;
1271
+ step?: number | undefined;
1272
+ } | undefined;
1273
+ } | {
1274
+ type: "StructuredText";
1275
+ fieldset?: string | null | undefined;
1276
+ config?: {
1277
+ label?: string | null | undefined;
1278
+ placeholder?: string | undefined;
1279
+ useAsTitle?: boolean | undefined;
1280
+ single?: string | undefined;
1281
+ multi?: string | undefined;
1282
+ imageConstraint?: {
1283
+ width?: number | null | undefined;
1284
+ height?: number | null | undefined;
1285
+ } | undefined;
1286
+ labels?: string[] | undefined;
1287
+ allowTargetBlank?: boolean | undefined;
1288
+ } | undefined;
1289
+ } | {
1290
+ type: "Select";
1291
+ fieldset?: string | null | undefined;
1292
+ config?: {
1293
+ label?: string | null | undefined;
1294
+ placeholder?: string | undefined;
1295
+ default_value?: string | undefined;
1296
+ options?: string[] | undefined;
1297
+ } | undefined;
1298
+ } | {
1299
+ type: "Separator";
1300
+ config?: {
1301
+ label?: string | null | undefined;
1302
+ } | undefined;
1303
+ } | {
1304
+ type: "Table";
1305
+ config?: {
1306
+ label?: string | null | undefined;
1307
+ } | undefined;
1308
+ } | {
1309
+ type: "Text";
1310
+ fieldset?: string | null | undefined;
1311
+ config?: {
1312
+ label?: string | null | undefined;
1313
+ useAsTitle?: boolean | undefined;
1314
+ placeholder?: string | undefined;
1315
+ } | undefined;
1316
+ } | {
1317
+ type: "Timestamp";
1318
+ fieldset?: string | null | undefined;
1319
+ config?: {
1320
+ label?: string | null | undefined;
1321
+ placeholder?: string | undefined;
1322
+ default?: string | undefined;
1323
+ } | undefined;
1324
+ }> | undefined;
737
1325
  } | undefined;
738
1326
  }> | undefined;
739
1327
  } | undefined;
@@ -933,177 +1521,187 @@ declare const SharedSliceVariationContentModelSchema: z.ZodMiniObject<{
933
1521
  config?: {
934
1522
  label?: string | null | undefined;
935
1523
  repeat?: boolean | undefined;
936
- fields?: Record<string, {
937
- type: "Boolean";
938
- config?: {
939
- label?: string | null | undefined;
940
- default_value?: boolean | undefined;
941
- placeholder_true?: string | undefined;
942
- placeholder_false?: string | undefined;
943
- } | undefined;
944
- } | {
945
- type: "Color";
946
- fieldset?: string | null | undefined;
947
- config?: {
948
- label?: string | null | undefined;
949
- placeholder?: string | undefined;
950
- } | undefined;
951
- } | {
952
- type: "Date";
953
- fieldset?: string | null | undefined;
954
- config?: {
955
- label?: string | null | undefined;
956
- placeholder?: string | undefined;
957
- default?: string | undefined;
958
- } | undefined;
959
- } | {
960
- type: "Embed";
961
- fieldset?: string | null | undefined;
962
- config?: {
963
- label?: string | null | undefined;
964
- placeholder?: string | undefined;
965
- useAsTitle?: boolean | undefined;
966
- } | undefined;
967
- } | {
968
- type: "GeoPoint";
969
- fieldset?: string | null | undefined;
970
- config?: {
971
- label?: string | null | undefined;
972
- } | undefined;
973
- } | {
974
- type: "Image";
975
- fieldset?: string | null | undefined;
976
- config?: {
977
- label?: string | null | undefined;
978
- placeholder?: string | undefined;
979
- constraint?: {
980
- width?: number | null | undefined;
981
- height?: number | null | undefined;
982
- } | undefined;
983
- thumbnails?: {
984
- name: string;
985
- width?: number | null | undefined;
986
- height?: number | null | undefined;
987
- }[] | undefined;
988
- } | undefined;
989
- } | {
990
- type: "IntegrationFields";
1524
+ fields?: Record<string, NestableModel | {
1525
+ type: "Group";
991
1526
  fieldset?: string | null | undefined;
1527
+ icon?: string | undefined;
1528
+ description?: string | undefined;
992
1529
  config?: {
993
1530
  label?: string | null | undefined;
994
- placeholder?: string | undefined;
995
- catalog?: string | undefined;
996
- } | undefined;
997
- } | {
998
- type: "Link";
999
- fieldset?: string | null | undefined;
1000
- config?: {
1001
- label?: string | null | undefined;
1002
- useAsTitle?: boolean | undefined;
1003
- placeholder?: string | undefined;
1004
- select?: "media" | "document" | "web" | null | undefined;
1005
- customtypes?: (string | {
1006
- id: string;
1007
- fields: (string | {
1008
- id: string;
1009
- customtypes: (string | {
1531
+ repeat?: boolean | undefined;
1532
+ fields?: Record<string, {
1533
+ type: "Boolean";
1534
+ config?: {
1535
+ label?: string | null | undefined;
1536
+ default_value?: boolean | undefined;
1537
+ placeholder_true?: string | undefined;
1538
+ placeholder_false?: string | undefined;
1539
+ } | undefined;
1540
+ } | {
1541
+ type: "Color";
1542
+ fieldset?: string | null | undefined;
1543
+ config?: {
1544
+ label?: string | null | undefined;
1545
+ placeholder?: string | undefined;
1546
+ } | undefined;
1547
+ } | {
1548
+ type: "Date";
1549
+ fieldset?: string | null | undefined;
1550
+ config?: {
1551
+ label?: string | null | undefined;
1552
+ placeholder?: string | undefined;
1553
+ default?: string | undefined;
1554
+ } | undefined;
1555
+ } | {
1556
+ type: "Embed";
1557
+ fieldset?: string | null | undefined;
1558
+ config?: {
1559
+ label?: string | null | undefined;
1560
+ placeholder?: string | undefined;
1561
+ useAsTitle?: boolean | undefined;
1562
+ } | undefined;
1563
+ } | {
1564
+ type: "GeoPoint";
1565
+ fieldset?: string | null | undefined;
1566
+ config?: {
1567
+ label?: string | null | undefined;
1568
+ } | undefined;
1569
+ } | {
1570
+ type: "Image";
1571
+ fieldset?: string | null | undefined;
1572
+ config?: {
1573
+ label?: string | null | undefined;
1574
+ placeholder?: string | undefined;
1575
+ constraint?: {
1576
+ width?: number | null | undefined;
1577
+ height?: number | null | undefined;
1578
+ } | undefined;
1579
+ thumbnails?: {
1580
+ name: string;
1581
+ width?: number | null | undefined;
1582
+ height?: number | null | undefined;
1583
+ }[] | undefined;
1584
+ } | undefined;
1585
+ } | {
1586
+ type: "IntegrationFields";
1587
+ fieldset?: string | null | undefined;
1588
+ config?: {
1589
+ label?: string | null | undefined;
1590
+ placeholder?: string | undefined;
1591
+ catalog?: string | undefined;
1592
+ } | undefined;
1593
+ } | {
1594
+ type: "Link";
1595
+ fieldset?: string | null | undefined;
1596
+ config?: {
1597
+ label?: string | null | undefined;
1598
+ useAsTitle?: boolean | undefined;
1599
+ placeholder?: string | undefined;
1600
+ select?: "media" | "document" | "web" | null | undefined;
1601
+ customtypes?: (string | {
1010
1602
  id: string;
1011
1603
  fields: (string | {
1012
1604
  id: string;
1013
- fields: string[];
1014
- })[];
1015
- })[];
1016
- } | {
1017
- id: string;
1018
- fields: (string | {
1019
- id: string;
1020
- customtypes: (string | {
1605
+ customtypes: (string | {
1606
+ id: string;
1607
+ fields: (string | {
1608
+ id: string;
1609
+ fields: string[];
1610
+ })[];
1611
+ })[];
1612
+ } | {
1021
1613
  id: string;
1022
1614
  fields: (string | {
1023
1615
  id: string;
1024
- fields: string[];
1616
+ customtypes: (string | {
1617
+ id: string;
1618
+ fields: (string | {
1619
+ id: string;
1620
+ fields: string[];
1621
+ })[];
1622
+ })[];
1025
1623
  })[];
1026
1624
  })[];
1027
- })[];
1028
- })[];
1029
- })[] | undefined;
1030
- masks?: string[] | undefined;
1031
- tags?: string[] | undefined;
1032
- allowTargetBlank?: boolean | undefined;
1033
- allowText?: boolean | undefined;
1034
- repeat?: boolean | undefined;
1035
- variants?: string[] | undefined;
1036
- } | undefined;
1037
- } | {
1038
- type: "Number";
1039
- fieldset?: string | null | undefined;
1040
- config?: {
1041
- label?: string | null | undefined;
1042
- placeholder?: string | undefined;
1043
- min?: number | undefined;
1044
- max?: number | undefined;
1045
- step?: number | undefined;
1046
- } | undefined;
1047
- } | {
1048
- type: "Range";
1049
- fieldset?: string | null | undefined;
1050
- config?: {
1051
- label?: string | null | undefined;
1052
- placeholder?: string | undefined;
1053
- min?: number | undefined;
1054
- max?: number | undefined;
1055
- step?: number | undefined;
1056
- } | undefined;
1057
- } | {
1058
- type: "StructuredText";
1059
- fieldset?: string | null | undefined;
1060
- config?: {
1061
- label?: string | null | undefined;
1062
- placeholder?: string | undefined;
1063
- useAsTitle?: boolean | undefined;
1064
- single?: string | undefined;
1065
- multi?: string | undefined;
1066
- imageConstraint?: {
1067
- width?: number | null | undefined;
1068
- height?: number | null | undefined;
1069
- } | undefined;
1070
- labels?: string[] | undefined;
1071
- allowTargetBlank?: boolean | undefined;
1072
- } | undefined;
1073
- } | {
1074
- type: "Select";
1075
- fieldset?: string | null | undefined;
1076
- config?: {
1077
- label?: string | null | undefined;
1078
- placeholder?: string | undefined;
1079
- default_value?: string | undefined;
1080
- options?: string[] | undefined;
1081
- } | undefined;
1082
- } | {
1083
- type: "Separator";
1084
- config?: {
1085
- label?: string | null | undefined;
1086
- } | undefined;
1087
- } | {
1088
- type: "Table";
1089
- config?: {
1090
- label?: string | null | undefined;
1091
- } | undefined;
1092
- } | {
1093
- type: "Text";
1094
- fieldset?: string | null | undefined;
1095
- config?: {
1096
- label?: string | null | undefined;
1097
- useAsTitle?: boolean | undefined;
1098
- placeholder?: string | undefined;
1099
- } | undefined;
1100
- } | {
1101
- type: "Timestamp";
1102
- fieldset?: string | null | undefined;
1103
- config?: {
1104
- label?: string | null | undefined;
1105
- placeholder?: string | undefined;
1106
- default?: string | undefined;
1625
+ })[] | undefined;
1626
+ masks?: string[] | undefined;
1627
+ tags?: string[] | undefined;
1628
+ allowTargetBlank?: boolean | undefined;
1629
+ allowText?: boolean | undefined;
1630
+ repeat?: boolean | undefined;
1631
+ variants?: string[] | undefined;
1632
+ } | undefined;
1633
+ } | {
1634
+ type: "Number";
1635
+ fieldset?: string | null | undefined;
1636
+ config?: {
1637
+ label?: string | null | undefined;
1638
+ placeholder?: string | undefined;
1639
+ min?: number | undefined;
1640
+ max?: number | undefined;
1641
+ step?: number | undefined;
1642
+ } | undefined;
1643
+ } | {
1644
+ type: "Range";
1645
+ fieldset?: string | null | undefined;
1646
+ config?: {
1647
+ label?: string | null | undefined;
1648
+ placeholder?: string | undefined;
1649
+ min?: number | undefined;
1650
+ max?: number | undefined;
1651
+ step?: number | undefined;
1652
+ } | undefined;
1653
+ } | {
1654
+ type: "StructuredText";
1655
+ fieldset?: string | null | undefined;
1656
+ config?: {
1657
+ label?: string | null | undefined;
1658
+ placeholder?: string | undefined;
1659
+ useAsTitle?: boolean | undefined;
1660
+ single?: string | undefined;
1661
+ multi?: string | undefined;
1662
+ imageConstraint?: {
1663
+ width?: number | null | undefined;
1664
+ height?: number | null | undefined;
1665
+ } | undefined;
1666
+ labels?: string[] | undefined;
1667
+ allowTargetBlank?: boolean | undefined;
1668
+ } | undefined;
1669
+ } | {
1670
+ type: "Select";
1671
+ fieldset?: string | null | undefined;
1672
+ config?: {
1673
+ label?: string | null | undefined;
1674
+ placeholder?: string | undefined;
1675
+ default_value?: string | undefined;
1676
+ options?: string[] | undefined;
1677
+ } | undefined;
1678
+ } | {
1679
+ type: "Separator";
1680
+ config?: {
1681
+ label?: string | null | undefined;
1682
+ } | undefined;
1683
+ } | {
1684
+ type: "Table";
1685
+ config?: {
1686
+ label?: string | null | undefined;
1687
+ } | undefined;
1688
+ } | {
1689
+ type: "Text";
1690
+ fieldset?: string | null | undefined;
1691
+ config?: {
1692
+ label?: string | null | undefined;
1693
+ useAsTitle?: boolean | undefined;
1694
+ placeholder?: string | undefined;
1695
+ } | undefined;
1696
+ } | {
1697
+ type: "Timestamp";
1698
+ fieldset?: string | null | undefined;
1699
+ config?: {
1700
+ label?: string | null | undefined;
1701
+ placeholder?: string | undefined;
1702
+ default?: string | undefined;
1703
+ } | undefined;
1704
+ }> | undefined;
1107
1705
  } | undefined;
1108
1706
  }> | undefined;
1109
1707
  } | undefined;
@@ -1115,177 +1713,187 @@ declare const SharedSliceVariationContentModelSchema: z.ZodMiniObject<{
1115
1713
  config?: {
1116
1714
  label?: string | null | undefined;
1117
1715
  repeat?: boolean | undefined;
1118
- fields?: Record<string, {
1119
- type: "Boolean";
1120
- config?: {
1121
- label?: string | null | undefined;
1122
- default_value?: boolean | undefined;
1123
- placeholder_true?: string | undefined;
1124
- placeholder_false?: string | undefined;
1125
- } | undefined;
1126
- } | {
1127
- type: "Color";
1128
- fieldset?: string | null | undefined;
1129
- config?: {
1130
- label?: string | null | undefined;
1131
- placeholder?: string | undefined;
1132
- } | undefined;
1133
- } | {
1134
- type: "Date";
1135
- fieldset?: string | null | undefined;
1136
- config?: {
1137
- label?: string | null | undefined;
1138
- placeholder?: string | undefined;
1139
- default?: string | undefined;
1140
- } | undefined;
1141
- } | {
1142
- type: "Embed";
1143
- fieldset?: string | null | undefined;
1144
- config?: {
1145
- label?: string | null | undefined;
1146
- placeholder?: string | undefined;
1147
- useAsTitle?: boolean | undefined;
1148
- } | undefined;
1149
- } | {
1150
- type: "GeoPoint";
1151
- fieldset?: string | null | undefined;
1152
- config?: {
1153
- label?: string | null | undefined;
1154
- } | undefined;
1155
- } | {
1156
- type: "Image";
1157
- fieldset?: string | null | undefined;
1158
- config?: {
1159
- label?: string | null | undefined;
1160
- placeholder?: string | undefined;
1161
- constraint?: {
1162
- width?: number | null | undefined;
1163
- height?: number | null | undefined;
1164
- } | undefined;
1165
- thumbnails?: {
1166
- name: string;
1167
- width?: number | null | undefined;
1168
- height?: number | null | undefined;
1169
- }[] | undefined;
1170
- } | undefined;
1171
- } | {
1172
- type: "IntegrationFields";
1716
+ fields?: Record<string, NestableModel | {
1717
+ type: "Group";
1173
1718
  fieldset?: string | null | undefined;
1719
+ icon?: string | undefined;
1720
+ description?: string | undefined;
1174
1721
  config?: {
1175
1722
  label?: string | null | undefined;
1176
- placeholder?: string | undefined;
1177
- catalog?: string | undefined;
1178
- } | undefined;
1179
- } | {
1180
- type: "Link";
1181
- fieldset?: string | null | undefined;
1182
- config?: {
1183
- label?: string | null | undefined;
1184
- useAsTitle?: boolean | undefined;
1185
- placeholder?: string | undefined;
1186
- select?: "media" | "document" | "web" | null | undefined;
1187
- customtypes?: (string | {
1188
- id: string;
1189
- fields: (string | {
1190
- id: string;
1191
- customtypes: (string | {
1723
+ repeat?: boolean | undefined;
1724
+ fields?: Record<string, {
1725
+ type: "Boolean";
1726
+ config?: {
1727
+ label?: string | null | undefined;
1728
+ default_value?: boolean | undefined;
1729
+ placeholder_true?: string | undefined;
1730
+ placeholder_false?: string | undefined;
1731
+ } | undefined;
1732
+ } | {
1733
+ type: "Color";
1734
+ fieldset?: string | null | undefined;
1735
+ config?: {
1736
+ label?: string | null | undefined;
1737
+ placeholder?: string | undefined;
1738
+ } | undefined;
1739
+ } | {
1740
+ type: "Date";
1741
+ fieldset?: string | null | undefined;
1742
+ config?: {
1743
+ label?: string | null | undefined;
1744
+ placeholder?: string | undefined;
1745
+ default?: string | undefined;
1746
+ } | undefined;
1747
+ } | {
1748
+ type: "Embed";
1749
+ fieldset?: string | null | undefined;
1750
+ config?: {
1751
+ label?: string | null | undefined;
1752
+ placeholder?: string | undefined;
1753
+ useAsTitle?: boolean | undefined;
1754
+ } | undefined;
1755
+ } | {
1756
+ type: "GeoPoint";
1757
+ fieldset?: string | null | undefined;
1758
+ config?: {
1759
+ label?: string | null | undefined;
1760
+ } | undefined;
1761
+ } | {
1762
+ type: "Image";
1763
+ fieldset?: string | null | undefined;
1764
+ config?: {
1765
+ label?: string | null | undefined;
1766
+ placeholder?: string | undefined;
1767
+ constraint?: {
1768
+ width?: number | null | undefined;
1769
+ height?: number | null | undefined;
1770
+ } | undefined;
1771
+ thumbnails?: {
1772
+ name: string;
1773
+ width?: number | null | undefined;
1774
+ height?: number | null | undefined;
1775
+ }[] | undefined;
1776
+ } | undefined;
1777
+ } | {
1778
+ type: "IntegrationFields";
1779
+ fieldset?: string | null | undefined;
1780
+ config?: {
1781
+ label?: string | null | undefined;
1782
+ placeholder?: string | undefined;
1783
+ catalog?: string | undefined;
1784
+ } | undefined;
1785
+ } | {
1786
+ type: "Link";
1787
+ fieldset?: string | null | undefined;
1788
+ config?: {
1789
+ label?: string | null | undefined;
1790
+ useAsTitle?: boolean | undefined;
1791
+ placeholder?: string | undefined;
1792
+ select?: "media" | "document" | "web" | null | undefined;
1793
+ customtypes?: (string | {
1192
1794
  id: string;
1193
1795
  fields: (string | {
1194
1796
  id: string;
1195
- fields: string[];
1196
- })[];
1197
- })[];
1198
- } | {
1199
- id: string;
1200
- fields: (string | {
1201
- id: string;
1202
- customtypes: (string | {
1797
+ customtypes: (string | {
1798
+ id: string;
1799
+ fields: (string | {
1800
+ id: string;
1801
+ fields: string[];
1802
+ })[];
1803
+ })[];
1804
+ } | {
1203
1805
  id: string;
1204
1806
  fields: (string | {
1205
1807
  id: string;
1206
- fields: string[];
1808
+ customtypes: (string | {
1809
+ id: string;
1810
+ fields: (string | {
1811
+ id: string;
1812
+ fields: string[];
1813
+ })[];
1814
+ })[];
1207
1815
  })[];
1208
1816
  })[];
1209
- })[];
1210
- })[];
1211
- })[] | undefined;
1212
- masks?: string[] | undefined;
1213
- tags?: string[] | undefined;
1214
- allowTargetBlank?: boolean | undefined;
1215
- allowText?: boolean | undefined;
1216
- repeat?: boolean | undefined;
1217
- variants?: string[] | undefined;
1218
- } | undefined;
1219
- } | {
1220
- type: "Number";
1221
- fieldset?: string | null | undefined;
1222
- config?: {
1223
- label?: string | null | undefined;
1224
- placeholder?: string | undefined;
1225
- min?: number | undefined;
1226
- max?: number | undefined;
1227
- step?: number | undefined;
1228
- } | undefined;
1229
- } | {
1230
- type: "Range";
1231
- fieldset?: string | null | undefined;
1232
- config?: {
1233
- label?: string | null | undefined;
1234
- placeholder?: string | undefined;
1235
- min?: number | undefined;
1236
- max?: number | undefined;
1237
- step?: number | undefined;
1238
- } | undefined;
1239
- } | {
1240
- type: "StructuredText";
1241
- fieldset?: string | null | undefined;
1242
- config?: {
1243
- label?: string | null | undefined;
1244
- placeholder?: string | undefined;
1245
- useAsTitle?: boolean | undefined;
1246
- single?: string | undefined;
1247
- multi?: string | undefined;
1248
- imageConstraint?: {
1249
- width?: number | null | undefined;
1250
- height?: number | null | undefined;
1251
- } | undefined;
1252
- labels?: string[] | undefined;
1253
- allowTargetBlank?: boolean | undefined;
1254
- } | undefined;
1255
- } | {
1256
- type: "Select";
1257
- fieldset?: string | null | undefined;
1258
- config?: {
1259
- label?: string | null | undefined;
1260
- placeholder?: string | undefined;
1261
- default_value?: string | undefined;
1262
- options?: string[] | undefined;
1263
- } | undefined;
1264
- } | {
1265
- type: "Separator";
1266
- config?: {
1267
- label?: string | null | undefined;
1268
- } | undefined;
1269
- } | {
1270
- type: "Table";
1271
- config?: {
1272
- label?: string | null | undefined;
1273
- } | undefined;
1274
- } | {
1275
- type: "Text";
1276
- fieldset?: string | null | undefined;
1277
- config?: {
1278
- label?: string | null | undefined;
1279
- useAsTitle?: boolean | undefined;
1280
- placeholder?: string | undefined;
1281
- } | undefined;
1282
- } | {
1283
- type: "Timestamp";
1284
- fieldset?: string | null | undefined;
1285
- config?: {
1286
- label?: string | null | undefined;
1287
- placeholder?: string | undefined;
1288
- default?: string | undefined;
1817
+ })[] | undefined;
1818
+ masks?: string[] | undefined;
1819
+ tags?: string[] | undefined;
1820
+ allowTargetBlank?: boolean | undefined;
1821
+ allowText?: boolean | undefined;
1822
+ repeat?: boolean | undefined;
1823
+ variants?: string[] | undefined;
1824
+ } | undefined;
1825
+ } | {
1826
+ type: "Number";
1827
+ fieldset?: string | null | undefined;
1828
+ config?: {
1829
+ label?: string | null | undefined;
1830
+ placeholder?: string | undefined;
1831
+ min?: number | undefined;
1832
+ max?: number | undefined;
1833
+ step?: number | undefined;
1834
+ } | undefined;
1835
+ } | {
1836
+ type: "Range";
1837
+ fieldset?: string | null | undefined;
1838
+ config?: {
1839
+ label?: string | null | undefined;
1840
+ placeholder?: string | undefined;
1841
+ min?: number | undefined;
1842
+ max?: number | undefined;
1843
+ step?: number | undefined;
1844
+ } | undefined;
1845
+ } | {
1846
+ type: "StructuredText";
1847
+ fieldset?: string | null | undefined;
1848
+ config?: {
1849
+ label?: string | null | undefined;
1850
+ placeholder?: string | undefined;
1851
+ useAsTitle?: boolean | undefined;
1852
+ single?: string | undefined;
1853
+ multi?: string | undefined;
1854
+ imageConstraint?: {
1855
+ width?: number | null | undefined;
1856
+ height?: number | null | undefined;
1857
+ } | undefined;
1858
+ labels?: string[] | undefined;
1859
+ allowTargetBlank?: boolean | undefined;
1860
+ } | undefined;
1861
+ } | {
1862
+ type: "Select";
1863
+ fieldset?: string | null | undefined;
1864
+ config?: {
1865
+ label?: string | null | undefined;
1866
+ placeholder?: string | undefined;
1867
+ default_value?: string | undefined;
1868
+ options?: string[] | undefined;
1869
+ } | undefined;
1870
+ } | {
1871
+ type: "Separator";
1872
+ config?: {
1873
+ label?: string | null | undefined;
1874
+ } | undefined;
1875
+ } | {
1876
+ type: "Table";
1877
+ config?: {
1878
+ label?: string | null | undefined;
1879
+ } | undefined;
1880
+ } | {
1881
+ type: "Text";
1882
+ fieldset?: string | null | undefined;
1883
+ config?: {
1884
+ label?: string | null | undefined;
1885
+ useAsTitle?: boolean | undefined;
1886
+ placeholder?: string | undefined;
1887
+ } | undefined;
1888
+ } | {
1889
+ type: "Timestamp";
1890
+ fieldset?: string | null | undefined;
1891
+ config?: {
1892
+ label?: string | null | undefined;
1893
+ placeholder?: string | undefined;
1894
+ default?: string | undefined;
1895
+ } | undefined;
1896
+ }> | undefined;
1289
1897
  } | undefined;
1290
1898
  }> | undefined;
1291
1899
  } | undefined;
@@ -1472,5 +2080,5 @@ type SliceContentModel = CompositeSliceModel | LegacySliceModel | SharedSliceVar
1472
2080
  declare const SliceModelTypeSchema: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"Slice">, z.ZodMiniLiteral<"SharedSlice">]>;
1473
2081
  type SliceModelType = z.infer<typeof SliceModelTypeSchema>;
1474
2082
  //#endregion
1475
- export { CompositeSliceModel, DynamicSliceModel, LegacySliceModel, SharedSliceModel, SharedSliceRefModel, SharedSliceVariationContentModel, SliceContentModel, SliceModelType, StaticSliceModel };
2083
+ export { CompositeSliceModel, DynamicSliceModel, LegacySliceModel, SharedSliceModel, SharedSliceModelVariation, SharedSliceRefModel, SharedSliceVariationContentModel, SliceContentModel, SliceModelType, StaticSliceModel };
1476
2084
  //# sourceMappingURL=slice.d.ts.map