@prismicio/types-internal 3.4.0-alpha.13 → 3.4.0-alpha.14
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.
- package/lib/content/Document.d.ts +498 -3366
- package/lib/content/fields/GroupContent.d.ts +1 -1
- package/lib/content/fields/GroupContent.js +2 -1
- package/lib/content/fields/WidgetContent.d.ts +514 -3382
- package/lib/content/fields/nestable/NestableContent.d.ts +68 -546
- package/lib/content/fields/nestable/NestableContent.js +7 -8
- package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
- package/lib/content/fields/nestable/RepeatableContent.js +5 -2
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -641
- package/lib/content/fields/nestable/RichTextContent/index.js +4 -8
- package/lib/content/fields/nestable/TableContent.d.ts +637 -834
- package/lib/content/fields/nestable/TableContent.js +10 -7
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +190 -1146
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +26 -252
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +190 -1146
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +68 -546
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +68 -546
- package/lib/content/fields/slices/Slice/index.d.ts +269 -2029
- package/lib/content/fields/slices/SliceItem.d.ts +463 -2223
- package/lib/content/fields/slices/SlicesContent.d.ts +394 -2784
- package/lib/customtypes/widgets/Group.d.ts +36 -36
- package/lib/customtypes/widgets/Widget.d.ts +54 -54
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -6
- package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -1
- package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
- package/lib/customtypes/widgets/nestable/RichText.js +0 -2
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -12
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -12
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -48
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +18 -18
- package/lib/customtypes/widgets/slices/Slices.d.ts +72 -72
- package/package.json +1 -1
- package/src/content/fields/GroupContent.ts +2 -1
- package/src/content/fields/nestable/NestableContent.ts +13 -9
- package/src/content/fields/nestable/RepeatableContent.ts +6 -2
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
- package/src/content/fields/nestable/RichTextContent/index.ts +3 -7
- package/src/content/fields/nestable/TableContent.ts +10 -7
- package/src/customtypes/widgets/nestable/NestableWidget.ts +1 -1
- package/src/customtypes/widgets/nestable/RichText.ts +0 -2
- package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
- package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
- package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
- package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
- package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -108
|
@@ -100,6 +100,12 @@ export declare const NestedGroupConfig: t.ExactC<t.PartialC<{
|
|
|
100
100
|
config: t.ExactC<t.PartialC<{
|
|
101
101
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
102
102
|
}>>;
|
|
103
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
104
|
+
type: t.LiteralC<"Table">;
|
|
105
|
+
}>, t.PartialC<{
|
|
106
|
+
config: t.ExactC<t.PartialC<{
|
|
107
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
108
|
+
}>>;
|
|
103
109
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
104
110
|
type: t.LiteralC<"Text">;
|
|
105
111
|
}>, t.PartialC<{
|
|
@@ -162,12 +168,6 @@ export declare const NestedGroupConfig: t.ExactC<t.PartialC<{
|
|
|
162
168
|
placeholder: t.StringC;
|
|
163
169
|
catalog: t.StringC;
|
|
164
170
|
}>>;
|
|
165
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
166
|
-
type: t.LiteralC<"Table">;
|
|
167
|
-
}>, t.PartialC<{
|
|
168
|
-
config: t.ExactC<t.PartialC<{
|
|
169
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
170
|
-
}>>;
|
|
171
171
|
}>]>>]>>;
|
|
172
172
|
}>>;
|
|
173
173
|
export declare type NestedGroupConfig = t.TypeOf<typeof NestedGroupConfig>;
|
|
@@ -277,6 +277,12 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
277
277
|
config: t.ExactC<t.PartialC<{
|
|
278
278
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
279
279
|
}>>;
|
|
280
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
281
|
+
type: t.LiteralC<"Table">;
|
|
282
|
+
}>, t.PartialC<{
|
|
283
|
+
config: t.ExactC<t.PartialC<{
|
|
284
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
285
|
+
}>>;
|
|
280
286
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
281
287
|
type: t.LiteralC<"Text">;
|
|
282
288
|
}>, t.PartialC<{
|
|
@@ -339,12 +345,6 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
339
345
|
placeholder: t.StringC;
|
|
340
346
|
catalog: t.StringC;
|
|
341
347
|
}>>;
|
|
342
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
343
|
-
type: t.LiteralC<"Table">;
|
|
344
|
-
}>, t.PartialC<{
|
|
345
|
-
config: t.ExactC<t.PartialC<{
|
|
346
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
347
|
-
}>>;
|
|
348
348
|
}>]>>]>>;
|
|
349
349
|
}>>;
|
|
350
350
|
}>]>>;
|
|
@@ -449,6 +449,12 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
449
449
|
config: t.ExactC<t.PartialC<{
|
|
450
450
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
451
451
|
}>>;
|
|
452
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
453
|
+
type: t.LiteralC<"Table">;
|
|
454
|
+
}>, t.PartialC<{
|
|
455
|
+
config: t.ExactC<t.PartialC<{
|
|
456
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
457
|
+
}>>;
|
|
452
458
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
453
459
|
type: t.LiteralC<"Text">;
|
|
454
460
|
}>, t.PartialC<{
|
|
@@ -511,12 +517,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
511
517
|
placeholder: t.StringC;
|
|
512
518
|
catalog: t.StringC;
|
|
513
519
|
}>>;
|
|
514
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
515
|
-
type: t.LiteralC<"Table">;
|
|
516
|
-
}>, t.PartialC<{
|
|
517
|
-
config: t.ExactC<t.PartialC<{
|
|
518
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
519
|
-
}>>;
|
|
520
520
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
521
521
|
type: t.LiteralC<"Group">;
|
|
522
522
|
}>, t.PartialC<{
|
|
@@ -623,6 +623,12 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
623
623
|
config: t.ExactC<t.PartialC<{
|
|
624
624
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
625
625
|
}>>;
|
|
626
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
627
|
+
type: t.LiteralC<"Table">;
|
|
628
|
+
}>, t.PartialC<{
|
|
629
|
+
config: t.ExactC<t.PartialC<{
|
|
630
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
631
|
+
}>>;
|
|
626
632
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
627
633
|
type: t.LiteralC<"Text">;
|
|
628
634
|
}>, t.PartialC<{
|
|
@@ -685,12 +691,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
685
691
|
placeholder: t.StringC;
|
|
686
692
|
catalog: t.StringC;
|
|
687
693
|
}>>;
|
|
688
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
689
|
-
type: t.LiteralC<"Table">;
|
|
690
|
-
}>, t.PartialC<{
|
|
691
|
-
config: t.ExactC<t.PartialC<{
|
|
692
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
693
|
-
}>>;
|
|
694
694
|
}>]>>]>>;
|
|
695
695
|
}>>;
|
|
696
696
|
}>]>>]>>;
|
|
@@ -802,6 +802,12 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
802
802
|
config: t.ExactC<t.PartialC<{
|
|
803
803
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
804
804
|
}>>;
|
|
805
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
806
|
+
type: t.LiteralC<"Table">;
|
|
807
|
+
}>, t.PartialC<{
|
|
808
|
+
config: t.ExactC<t.PartialC<{
|
|
809
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
810
|
+
}>>;
|
|
805
811
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
806
812
|
type: t.LiteralC<"Text">;
|
|
807
813
|
}>, t.PartialC<{
|
|
@@ -864,12 +870,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
864
870
|
placeholder: t.StringC;
|
|
865
871
|
catalog: t.StringC;
|
|
866
872
|
}>>;
|
|
867
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
868
|
-
type: t.LiteralC<"Table">;
|
|
869
|
-
}>, t.PartialC<{
|
|
870
|
-
config: t.ExactC<t.PartialC<{
|
|
871
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
872
|
-
}>>;
|
|
873
873
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
874
874
|
type: t.LiteralC<"Group">;
|
|
875
875
|
}>, t.PartialC<{
|
|
@@ -976,6 +976,12 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
976
976
|
config: t.ExactC<t.PartialC<{
|
|
977
977
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
978
978
|
}>>;
|
|
979
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
980
|
+
type: t.LiteralC<"Table">;
|
|
981
|
+
}>, t.PartialC<{
|
|
982
|
+
config: t.ExactC<t.PartialC<{
|
|
983
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
984
|
+
}>>;
|
|
979
985
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
980
986
|
type: t.LiteralC<"Text">;
|
|
981
987
|
}>, t.PartialC<{
|
|
@@ -1038,12 +1044,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1038
1044
|
placeholder: t.StringC;
|
|
1039
1045
|
catalog: t.StringC;
|
|
1040
1046
|
}>>;
|
|
1041
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1042
|
-
type: t.LiteralC<"Table">;
|
|
1043
|
-
}>, t.PartialC<{
|
|
1044
|
-
config: t.ExactC<t.PartialC<{
|
|
1045
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1046
|
-
}>>;
|
|
1047
1047
|
}>]>>]>>;
|
|
1048
1048
|
}>>;
|
|
1049
1049
|
}>]>>]>>;
|
|
@@ -107,6 +107,12 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
107
107
|
config: t.ExactC<t.PartialC<{
|
|
108
108
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
109
109
|
}>>;
|
|
110
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
111
|
+
type: t.LiteralC<"Table">;
|
|
112
|
+
}>, t.PartialC<{
|
|
113
|
+
config: t.ExactC<t.PartialC<{
|
|
114
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
115
|
+
}>>;
|
|
110
116
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
111
117
|
type: t.LiteralC<"Text">;
|
|
112
118
|
}>, t.PartialC<{
|
|
@@ -169,12 +175,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
169
175
|
placeholder: t.StringC;
|
|
170
176
|
catalog: t.StringC;
|
|
171
177
|
}>>;
|
|
172
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
173
|
-
type: t.LiteralC<"Table">;
|
|
174
|
-
}>, t.PartialC<{
|
|
175
|
-
config: t.ExactC<t.PartialC<{
|
|
176
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
177
|
-
}>>;
|
|
178
178
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
179
179
|
type: t.LiteralC<"Group">;
|
|
180
180
|
}>, t.PartialC<{
|
|
@@ -281,6 +281,12 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
281
281
|
config: t.ExactC<t.PartialC<{
|
|
282
282
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
283
283
|
}>>;
|
|
284
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
285
|
+
type: t.LiteralC<"Table">;
|
|
286
|
+
}>, t.PartialC<{
|
|
287
|
+
config: t.ExactC<t.PartialC<{
|
|
288
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
289
|
+
}>>;
|
|
284
290
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
285
291
|
type: t.LiteralC<"Text">;
|
|
286
292
|
}>, t.PartialC<{
|
|
@@ -343,12 +349,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
343
349
|
placeholder: t.StringC;
|
|
344
350
|
catalog: t.StringC;
|
|
345
351
|
}>>;
|
|
346
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
347
|
-
type: t.LiteralC<"Table">;
|
|
348
|
-
}>, t.PartialC<{
|
|
349
|
-
config: t.ExactC<t.PartialC<{
|
|
350
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
351
|
-
}>>;
|
|
352
352
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
353
353
|
type: t.LiteralC<"Group">;
|
|
354
354
|
}>, t.PartialC<{
|
|
@@ -455,6 +455,12 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
455
455
|
config: t.ExactC<t.PartialC<{
|
|
456
456
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
457
457
|
}>>;
|
|
458
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
459
|
+
type: t.LiteralC<"Table">;
|
|
460
|
+
}>, t.PartialC<{
|
|
461
|
+
config: t.ExactC<t.PartialC<{
|
|
462
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
463
|
+
}>>;
|
|
458
464
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
459
465
|
type: t.LiteralC<"Text">;
|
|
460
466
|
}>, t.PartialC<{
|
|
@@ -517,12 +523,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
517
523
|
placeholder: t.StringC;
|
|
518
524
|
catalog: t.StringC;
|
|
519
525
|
}>>;
|
|
520
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
521
|
-
type: t.LiteralC<"Table">;
|
|
522
|
-
}>, t.PartialC<{
|
|
523
|
-
config: t.ExactC<t.PartialC<{
|
|
524
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
525
|
-
}>>;
|
|
526
526
|
}>]>>]>>;
|
|
527
527
|
}>>;
|
|
528
528
|
}>]>>]>>;
|
|
@@ -634,6 +634,12 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
634
634
|
config: t.ExactC<t.PartialC<{
|
|
635
635
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
636
636
|
}>>;
|
|
637
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
638
|
+
type: t.LiteralC<"Table">;
|
|
639
|
+
}>, t.PartialC<{
|
|
640
|
+
config: t.ExactC<t.PartialC<{
|
|
641
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
642
|
+
}>>;
|
|
637
643
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
638
644
|
type: t.LiteralC<"Text">;
|
|
639
645
|
}>, t.PartialC<{
|
|
@@ -696,12 +702,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
696
702
|
placeholder: t.StringC;
|
|
697
703
|
catalog: t.StringC;
|
|
698
704
|
}>>;
|
|
699
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
700
|
-
type: t.LiteralC<"Table">;
|
|
701
|
-
}>, t.PartialC<{
|
|
702
|
-
config: t.ExactC<t.PartialC<{
|
|
703
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
704
|
-
}>>;
|
|
705
705
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
706
706
|
type: t.LiteralC<"Group">;
|
|
707
707
|
}>, t.PartialC<{
|
|
@@ -808,6 +808,12 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
808
808
|
config: t.ExactC<t.PartialC<{
|
|
809
809
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
810
810
|
}>>;
|
|
811
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
812
|
+
type: t.LiteralC<"Table">;
|
|
813
|
+
}>, t.PartialC<{
|
|
814
|
+
config: t.ExactC<t.PartialC<{
|
|
815
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
816
|
+
}>>;
|
|
811
817
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
812
818
|
type: t.LiteralC<"Text">;
|
|
813
819
|
}>, t.PartialC<{
|
|
@@ -870,12 +876,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
870
876
|
placeholder: t.StringC;
|
|
871
877
|
catalog: t.StringC;
|
|
872
878
|
}>>;
|
|
873
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
874
|
-
type: t.LiteralC<"Table">;
|
|
875
|
-
}>, t.PartialC<{
|
|
876
|
-
config: t.ExactC<t.PartialC<{
|
|
877
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
878
|
-
}>>;
|
|
879
879
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
880
880
|
type: t.LiteralC<"Group">;
|
|
881
881
|
}>, t.PartialC<{
|
|
@@ -982,6 +982,12 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
982
982
|
config: t.ExactC<t.PartialC<{
|
|
983
983
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
984
984
|
}>>;
|
|
985
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
986
|
+
type: t.LiteralC<"Table">;
|
|
987
|
+
}>, t.PartialC<{
|
|
988
|
+
config: t.ExactC<t.PartialC<{
|
|
989
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
990
|
+
}>>;
|
|
985
991
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
986
992
|
type: t.LiteralC<"Text">;
|
|
987
993
|
}>, t.PartialC<{
|
|
@@ -1044,12 +1050,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1044
1050
|
placeholder: t.StringC;
|
|
1045
1051
|
catalog: t.StringC;
|
|
1046
1052
|
}>>;
|
|
1047
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1048
|
-
type: t.LiteralC<"Table">;
|
|
1049
|
-
}>, t.PartialC<{
|
|
1050
|
-
config: t.ExactC<t.PartialC<{
|
|
1051
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1052
|
-
}>>;
|
|
1053
1053
|
}>]>>]>>;
|
|
1054
1054
|
}>>;
|
|
1055
1055
|
}>]>>]>>;
|
|
@@ -2579,6 +2579,12 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2579
2579
|
config: t.ExactC<t.PartialC<{
|
|
2580
2580
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2581
2581
|
}>>;
|
|
2582
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2583
|
+
type: t.LiteralC<"Table">;
|
|
2584
|
+
}>, t.PartialC<{
|
|
2585
|
+
config: t.ExactC<t.PartialC<{
|
|
2586
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2587
|
+
}>>;
|
|
2582
2588
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2583
2589
|
type: t.LiteralC<"Text">;
|
|
2584
2590
|
}>, t.PartialC<{
|
|
@@ -2641,12 +2647,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2641
2647
|
placeholder: t.StringC;
|
|
2642
2648
|
catalog: t.StringC;
|
|
2643
2649
|
}>>;
|
|
2644
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2645
|
-
type: t.LiteralC<"Table">;
|
|
2646
|
-
}>, t.PartialC<{
|
|
2647
|
-
config: t.ExactC<t.PartialC<{
|
|
2648
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2649
|
-
}>>;
|
|
2650
2650
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2651
2651
|
type: t.LiteralC<"Group">;
|
|
2652
2652
|
}>, t.PartialC<{
|
|
@@ -2753,6 +2753,12 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2753
2753
|
config: t.ExactC<t.PartialC<{
|
|
2754
2754
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2755
2755
|
}>>;
|
|
2756
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2757
|
+
type: t.LiteralC<"Table">;
|
|
2758
|
+
}>, t.PartialC<{
|
|
2759
|
+
config: t.ExactC<t.PartialC<{
|
|
2760
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2761
|
+
}>>;
|
|
2756
2762
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2757
2763
|
type: t.LiteralC<"Text">;
|
|
2758
2764
|
}>, t.PartialC<{
|
|
@@ -2815,12 +2821,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2815
2821
|
placeholder: t.StringC;
|
|
2816
2822
|
catalog: t.StringC;
|
|
2817
2823
|
}>>;
|
|
2818
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2819
|
-
type: t.LiteralC<"Table">;
|
|
2820
|
-
}>, t.PartialC<{
|
|
2821
|
-
config: t.ExactC<t.PartialC<{
|
|
2822
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2823
|
-
}>>;
|
|
2824
2824
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2825
2825
|
type: t.LiteralC<"Group">;
|
|
2826
2826
|
}>, t.PartialC<{
|
|
@@ -2927,6 +2927,12 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2927
2927
|
config: t.ExactC<t.PartialC<{
|
|
2928
2928
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2929
2929
|
}>>;
|
|
2930
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2931
|
+
type: t.LiteralC<"Table">;
|
|
2932
|
+
}>, t.PartialC<{
|
|
2933
|
+
config: t.ExactC<t.PartialC<{
|
|
2934
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2935
|
+
}>>;
|
|
2930
2936
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2931
2937
|
type: t.LiteralC<"Text">;
|
|
2932
2938
|
}>, t.PartialC<{
|
|
@@ -2989,12 +2995,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2989
2995
|
placeholder: t.StringC;
|
|
2990
2996
|
catalog: t.StringC;
|
|
2991
2997
|
}>>;
|
|
2992
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2993
|
-
type: t.LiteralC<"Table">;
|
|
2994
|
-
}>, t.PartialC<{
|
|
2995
|
-
config: t.ExactC<t.PartialC<{
|
|
2996
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2997
|
-
}>>;
|
|
2998
2998
|
}>]>>]>>;
|
|
2999
2999
|
}>>;
|
|
3000
3000
|
}>]>>]>>;
|
|
@@ -96,6 +96,12 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
|
|
|
96
96
|
config: t.ExactC<t.PartialC<{
|
|
97
97
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
98
98
|
}>>;
|
|
99
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
100
|
+
type: t.LiteralC<"Table">;
|
|
101
|
+
}>, t.PartialC<{
|
|
102
|
+
config: t.ExactC<t.PartialC<{
|
|
103
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
104
|
+
}>>;
|
|
99
105
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
100
106
|
type: t.LiteralC<"Text">;
|
|
101
107
|
}>, t.PartialC<{
|
|
@@ -158,12 +164,6 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
|
|
|
158
164
|
placeholder: t.StringC;
|
|
159
165
|
catalog: t.StringC;
|
|
160
166
|
}>>;
|
|
161
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
162
|
-
type: t.LiteralC<"Table">;
|
|
163
|
-
}>, t.PartialC<{
|
|
164
|
-
config: t.ExactC<t.PartialC<{
|
|
165
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
166
|
-
}>>;
|
|
167
167
|
}>]>>]>;
|
|
168
168
|
export declare type NestableWidget = t.TypeOf<typeof NestableWidget>;
|
|
169
169
|
export declare type NestableFieldTypes = NestableWidget["type"];
|
|
@@ -30,10 +30,10 @@ exports.NestableWidget = t.union([
|
|
|
30
30
|
RichText_1.RichText,
|
|
31
31
|
Select_1.Select,
|
|
32
32
|
Separator_1.Separator,
|
|
33
|
+
Table_1.Table,
|
|
33
34
|
Text_1.Text,
|
|
34
35
|
Timestamp_1.Timestamp,
|
|
35
36
|
Link_1.Link,
|
|
36
37
|
Image_1.Image,
|
|
37
38
|
IntegrationField_1.IntegrationField,
|
|
38
|
-
Table_1.Table,
|
|
39
39
|
]);
|
|
@@ -19,7 +19,6 @@ export declare const RichTextNodeType: {
|
|
|
19
19
|
readonly list: "list-item";
|
|
20
20
|
readonly orderedList: "o-list-item";
|
|
21
21
|
readonly rtl: "rtl";
|
|
22
|
-
readonly table: "table";
|
|
23
22
|
};
|
|
24
23
|
export declare const RichTextNodeTypeCodec: t.KeyofC<{
|
|
25
24
|
heading1: null;
|
|
@@ -38,7 +37,6 @@ export declare const RichTextNodeTypeCodec: t.KeyofC<{
|
|
|
38
37
|
"list-item": null;
|
|
39
38
|
"o-list-item": null;
|
|
40
39
|
rtl: null;
|
|
41
|
-
table: null;
|
|
42
40
|
}>;
|
|
43
41
|
export declare const RichTextConfig: t.ExactC<t.PartialC<{
|
|
44
42
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -27,7 +27,6 @@ exports.RichTextNodeType = {
|
|
|
27
27
|
list: "list-item",
|
|
28
28
|
orderedList: "o-list-item",
|
|
29
29
|
rtl: "rtl",
|
|
30
|
-
table: "table",
|
|
31
30
|
};
|
|
32
31
|
exports.RichTextNodeTypeCodec = t.keyof({
|
|
33
32
|
[exports.RichTextNodeType.heading1]: null,
|
|
@@ -46,7 +45,6 @@ exports.RichTextNodeTypeCodec = t.keyof({
|
|
|
46
45
|
[exports.RichTextNodeType.list]: null,
|
|
47
46
|
[exports.RichTextNodeType.orderedList]: null,
|
|
48
47
|
[exports.RichTextNodeType.rtl]: null,
|
|
49
|
-
[exports.RichTextNodeType.table]: null,
|
|
50
48
|
});
|
|
51
49
|
const RichTextOptions = new t.Type("RichTextOptions", (u) => typeof u === "string", (u) => {
|
|
52
50
|
return (0, function_1.pipe)(t.union([t.string, t.null]).decode(u), fp_ts_1.either.map((s) => {
|
|
@@ -109,6 +109,12 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
109
109
|
config: t.ExactC<t.PartialC<{
|
|
110
110
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
111
111
|
}>>;
|
|
112
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
113
|
+
type: t.LiteralC<"Table">;
|
|
114
|
+
}>, t.PartialC<{
|
|
115
|
+
config: t.ExactC<t.PartialC<{
|
|
116
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
117
|
+
}>>;
|
|
112
118
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
113
119
|
type: t.LiteralC<"Text">;
|
|
114
120
|
}>, t.PartialC<{
|
|
@@ -171,12 +177,6 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
171
177
|
placeholder: t.StringC;
|
|
172
178
|
catalog: t.StringC;
|
|
173
179
|
}>>;
|
|
174
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
175
|
-
type: t.LiteralC<"Table">;
|
|
176
|
-
}>, t.PartialC<{
|
|
177
|
-
config: t.ExactC<t.PartialC<{
|
|
178
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
179
|
-
}>>;
|
|
180
180
|
}>]>>]>>;
|
|
181
181
|
repeat: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
182
182
|
type: t.LiteralC<"Color">;
|
|
@@ -275,6 +275,12 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
275
275
|
config: t.ExactC<t.PartialC<{
|
|
276
276
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
277
277
|
}>>;
|
|
278
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
279
|
+
type: t.LiteralC<"Table">;
|
|
280
|
+
}>, t.PartialC<{
|
|
281
|
+
config: t.ExactC<t.PartialC<{
|
|
282
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
283
|
+
}>>;
|
|
278
284
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
279
285
|
type: t.LiteralC<"Text">;
|
|
280
286
|
}>, t.PartialC<{
|
|
@@ -337,12 +343,6 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
337
343
|
placeholder: t.StringC;
|
|
338
344
|
catalog: t.StringC;
|
|
339
345
|
}>>;
|
|
340
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
341
|
-
type: t.LiteralC<"Table">;
|
|
342
|
-
}>, t.PartialC<{
|
|
343
|
-
config: t.ExactC<t.PartialC<{
|
|
344
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
345
|
-
}>>;
|
|
346
346
|
}>]>>]>>;
|
|
347
347
|
config: t.ExactC<t.PartialC<{
|
|
348
348
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -97,6 +97,12 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
97
97
|
config: t.ExactC<t.PartialC<{
|
|
98
98
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
99
99
|
}>>;
|
|
100
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
101
|
+
type: t.LiteralC<"Table">;
|
|
102
|
+
}>, t.PartialC<{
|
|
103
|
+
config: t.ExactC<t.PartialC<{
|
|
104
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
105
|
+
}>>;
|
|
100
106
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
101
107
|
type: t.LiteralC<"Text">;
|
|
102
108
|
}>, t.PartialC<{
|
|
@@ -159,12 +165,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
159
165
|
placeholder: t.StringC;
|
|
160
166
|
catalog: t.StringC;
|
|
161
167
|
}>>;
|
|
162
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
163
|
-
type: t.LiteralC<"Table">;
|
|
164
|
-
}>, t.PartialC<{
|
|
165
|
-
config: t.ExactC<t.PartialC<{
|
|
166
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
167
|
-
}>>;
|
|
168
168
|
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
169
169
|
type: t.LiteralC<"Group">;
|
|
170
170
|
}>, t.PartialC<{
|
|
@@ -271,6 +271,12 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
271
271
|
config: t.ExactC<t.PartialC<{
|
|
272
272
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
273
273
|
}>>;
|
|
274
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
275
|
+
type: t.LiteralC<"Table">;
|
|
276
|
+
}>, t.PartialC<{
|
|
277
|
+
config: t.ExactC<t.PartialC<{
|
|
278
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
279
|
+
}>>;
|
|
274
280
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
275
281
|
type: t.LiteralC<"Text">;
|
|
276
282
|
}>, t.PartialC<{
|
|
@@ -333,12 +339,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
333
339
|
placeholder: t.StringC;
|
|
334
340
|
catalog: t.StringC;
|
|
335
341
|
}>>;
|
|
336
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
337
|
-
type: t.LiteralC<"Table">;
|
|
338
|
-
}>, t.PartialC<{
|
|
339
|
-
config: t.ExactC<t.PartialC<{
|
|
340
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
341
|
-
}>>;
|
|
342
342
|
}>]>>]>>;
|
|
343
343
|
}>>;
|
|
344
344
|
}>]>>]>;
|