@prismicio/types-internal 3.4.0-alpha.2 → 3.4.0-alpha.4
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 +3305 -3323
- package/lib/content/fields/RepeatableContent.d.ts +51 -123
- package/lib/content/fields/RepeatableContent.js +10 -14
- package/lib/content/fields/WidgetContent.d.ts +3046 -3064
- package/lib/content/fields/nestable/NestableContent.d.ts +501 -504
- package/lib/content/fields/nestable/NestableContent.js +0 -7
- package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
- package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
- package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
- package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +637 -9
- package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
- package/lib/content/fields/nestable/TableContent.d.ts +245 -12
- package/lib/content/fields/nestable/TableContent.js +7 -7
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1013 -1019
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +234 -235
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1013 -1019
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +501 -504
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +499 -502
- package/lib/content/fields/slices/Slice/index.d.ts +1852 -1862
- package/lib/content/fields/slices/SliceItem.d.ts +1957 -1967
- package/lib/content/fields/slices/SlicesContent.d.ts +2619 -2634
- package/lib/customtypes/CustomType.d.ts +0 -108
- package/lib/customtypes/Section.d.ts +0 -108
- package/lib/customtypes/diff/SharedSlice.d.ts +0 -48
- package/lib/customtypes/diff/Variation.d.ts +0 -48
- package/lib/customtypes/widgets/Group.d.ts +0 -36
- package/lib/customtypes/widgets/Widget.d.ts +0 -126
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -6
- package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -2
- package/lib/customtypes/widgets/nestable/RichText.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/RichText.js +2 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -12
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -12
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -48
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -36
- package/lib/customtypes/widgets/slices/Slices.d.ts +0 -168
- package/package.json +1 -1
- package/src/content/fields/nestable/NestableContent.ts +0 -12
- package/src/content/fields/nestable/RichTextContent/Block.ts +35 -0
- package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +81 -0
- package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +42 -0
- package/src/content/fields/nestable/RichTextContent/TableBlock.ts +36 -0
- package/src/content/fields/nestable/RichTextContent/TextBlock.ts +108 -0
- package/src/content/fields/nestable/RichTextContent/index.ts +2 -2
- package/src/content/fields/nestable/TableContent.ts +6 -6
- package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -2
- package/src/customtypes/widgets/nestable/RichText.ts +2 -0
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +0 -238
|
@@ -100,12 +100,6 @@ 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
|
-
}>>;
|
|
109
103
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
110
104
|
type: t.LiteralC<"Text">;
|
|
111
105
|
}>, t.PartialC<{
|
|
@@ -277,12 +271,6 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
277
271
|
config: t.ExactC<t.PartialC<{
|
|
278
272
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
279
273
|
}>>;
|
|
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
|
-
}>>;
|
|
286
274
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
287
275
|
type: t.LiteralC<"Text">;
|
|
288
276
|
}>, t.PartialC<{
|
|
@@ -449,12 +437,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
449
437
|
config: t.ExactC<t.PartialC<{
|
|
450
438
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
451
439
|
}>>;
|
|
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
|
-
}>>;
|
|
458
440
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
459
441
|
type: t.LiteralC<"Text">;
|
|
460
442
|
}>, t.PartialC<{
|
|
@@ -623,12 +605,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
623
605
|
config: t.ExactC<t.PartialC<{
|
|
624
606
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
625
607
|
}>>;
|
|
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
|
-
}>>;
|
|
632
608
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
633
609
|
type: t.LiteralC<"Text">;
|
|
634
610
|
}>, t.PartialC<{
|
|
@@ -802,12 +778,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
802
778
|
config: t.ExactC<t.PartialC<{
|
|
803
779
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
804
780
|
}>>;
|
|
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
|
-
}>>;
|
|
811
781
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
812
782
|
type: t.LiteralC<"Text">;
|
|
813
783
|
}>, t.PartialC<{
|
|
@@ -976,12 +946,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
976
946
|
config: t.ExactC<t.PartialC<{
|
|
977
947
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
978
948
|
}>>;
|
|
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
|
-
}>>;
|
|
985
949
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
986
950
|
type: t.LiteralC<"Text">;
|
|
987
951
|
}>, t.PartialC<{
|
|
@@ -107,12 +107,6 @@ 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
|
-
}>>;
|
|
116
110
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
117
111
|
type: t.LiteralC<"Text">;
|
|
118
112
|
}>, t.PartialC<{
|
|
@@ -281,12 +275,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
281
275
|
config: t.ExactC<t.PartialC<{
|
|
282
276
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
283
277
|
}>>;
|
|
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
|
-
}>>;
|
|
290
278
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
291
279
|
type: t.LiteralC<"Text">;
|
|
292
280
|
}>, t.PartialC<{
|
|
@@ -455,12 +443,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
455
443
|
config: t.ExactC<t.PartialC<{
|
|
456
444
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
457
445
|
}>>;
|
|
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
|
-
}>>;
|
|
464
446
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
465
447
|
type: t.LiteralC<"Text">;
|
|
466
448
|
}>, t.PartialC<{
|
|
@@ -634,12 +616,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
634
616
|
config: t.ExactC<t.PartialC<{
|
|
635
617
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
636
618
|
}>>;
|
|
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
|
-
}>>;
|
|
643
619
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
644
620
|
type: t.LiteralC<"Text">;
|
|
645
621
|
}>, t.PartialC<{
|
|
@@ -808,12 +784,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
808
784
|
config: t.ExactC<t.PartialC<{
|
|
809
785
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
810
786
|
}>>;
|
|
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
|
-
}>>;
|
|
817
787
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
818
788
|
type: t.LiteralC<"Text">;
|
|
819
789
|
}>, t.PartialC<{
|
|
@@ -982,12 +952,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
982
952
|
config: t.ExactC<t.PartialC<{
|
|
983
953
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
984
954
|
}>>;
|
|
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
|
-
}>>;
|
|
991
955
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
992
956
|
type: t.LiteralC<"Text">;
|
|
993
957
|
}>, t.PartialC<{
|
|
@@ -1209,12 +1173,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1209
1173
|
config?: {
|
|
1210
1174
|
label?: string | null | undefined;
|
|
1211
1175
|
};
|
|
1212
|
-
}) | ({
|
|
1213
|
-
type: "Table";
|
|
1214
|
-
} & {
|
|
1215
|
-
config?: {
|
|
1216
|
-
label?: string | null | undefined;
|
|
1217
|
-
};
|
|
1218
1176
|
}) | ({
|
|
1219
1177
|
type: "Text";
|
|
1220
1178
|
} & {
|
|
@@ -1384,12 +1342,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1384
1342
|
config?: {
|
|
1385
1343
|
label?: string | null | undefined;
|
|
1386
1344
|
};
|
|
1387
|
-
}) | ({
|
|
1388
|
-
type: "Table";
|
|
1389
|
-
} & {
|
|
1390
|
-
config?: {
|
|
1391
|
-
label?: string | null | undefined;
|
|
1392
|
-
};
|
|
1393
1345
|
}) | ({
|
|
1394
1346
|
type: "Text";
|
|
1395
1347
|
} & {
|
|
@@ -1560,12 +1512,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1560
1512
|
config?: {
|
|
1561
1513
|
label?: string | null | undefined;
|
|
1562
1514
|
};
|
|
1563
|
-
}) | ({
|
|
1564
|
-
type: "Table";
|
|
1565
|
-
} & {
|
|
1566
|
-
config?: {
|
|
1567
|
-
label?: string | null | undefined;
|
|
1568
|
-
};
|
|
1569
1515
|
}) | ({
|
|
1570
1516
|
type: "Text";
|
|
1571
1517
|
} & {
|
|
@@ -1728,12 +1674,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1728
1674
|
config?: {
|
|
1729
1675
|
label?: string | null | undefined;
|
|
1730
1676
|
};
|
|
1731
|
-
}) | ({
|
|
1732
|
-
type: "Table";
|
|
1733
|
-
} & {
|
|
1734
|
-
config?: {
|
|
1735
|
-
label?: string | null | undefined;
|
|
1736
|
-
};
|
|
1737
1677
|
}) | ({
|
|
1738
1678
|
type: "Text";
|
|
1739
1679
|
} & {
|
|
@@ -1912,12 +1852,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1912
1852
|
config?: {
|
|
1913
1853
|
label?: string | null | undefined;
|
|
1914
1854
|
};
|
|
1915
|
-
}) | ({
|
|
1916
|
-
type: "Table";
|
|
1917
|
-
} & {
|
|
1918
|
-
config?: {
|
|
1919
|
-
label?: string | null | undefined;
|
|
1920
|
-
};
|
|
1921
1855
|
}) | ({
|
|
1922
1856
|
type: "Text";
|
|
1923
1857
|
} & {
|
|
@@ -2087,12 +2021,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2087
2021
|
config?: {
|
|
2088
2022
|
label?: string | null | undefined;
|
|
2089
2023
|
};
|
|
2090
|
-
}) | ({
|
|
2091
|
-
type: "Table";
|
|
2092
|
-
} & {
|
|
2093
|
-
config?: {
|
|
2094
|
-
label?: string | null | undefined;
|
|
2095
|
-
};
|
|
2096
2024
|
}) | ({
|
|
2097
2025
|
type: "Text";
|
|
2098
2026
|
} & {
|
|
@@ -2262,12 +2190,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2262
2190
|
config?: {
|
|
2263
2191
|
label?: string | null | undefined;
|
|
2264
2192
|
};
|
|
2265
|
-
}) | ({
|
|
2266
|
-
type: "Table";
|
|
2267
|
-
} & {
|
|
2268
|
-
config?: {
|
|
2269
|
-
label?: string | null | undefined;
|
|
2270
|
-
};
|
|
2271
2193
|
}) | ({
|
|
2272
2194
|
type: "Text";
|
|
2273
2195
|
} & {
|
|
@@ -2436,12 +2358,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2436
2358
|
config?: {
|
|
2437
2359
|
label?: string | null | undefined;
|
|
2438
2360
|
};
|
|
2439
|
-
}) | ({
|
|
2440
|
-
type: "Table";
|
|
2441
|
-
} & {
|
|
2442
|
-
config?: {
|
|
2443
|
-
label?: string | null | undefined;
|
|
2444
|
-
};
|
|
2445
2361
|
}) | ({
|
|
2446
2362
|
type: "Text";
|
|
2447
2363
|
} & {
|
|
@@ -2579,12 +2495,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2579
2495
|
config: t.ExactC<t.PartialC<{
|
|
2580
2496
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2581
2497
|
}>>;
|
|
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
|
-
}>>;
|
|
2588
2498
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2589
2499
|
type: t.LiteralC<"Text">;
|
|
2590
2500
|
}>, t.PartialC<{
|
|
@@ -2753,12 +2663,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2753
2663
|
config: t.ExactC<t.PartialC<{
|
|
2754
2664
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2755
2665
|
}>>;
|
|
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
|
-
}>>;
|
|
2762
2666
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2763
2667
|
type: t.LiteralC<"Text">;
|
|
2764
2668
|
}>, t.PartialC<{
|
|
@@ -2927,12 +2831,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2927
2831
|
config: t.ExactC<t.PartialC<{
|
|
2928
2832
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2929
2833
|
}>>;
|
|
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
|
-
}>>;
|
|
2936
2834
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2937
2835
|
type: t.LiteralC<"Text">;
|
|
2938
2836
|
}>, t.PartialC<{
|
|
@@ -3154,12 +3052,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3154
3052
|
config?: {
|
|
3155
3053
|
label?: string | null | undefined;
|
|
3156
3054
|
};
|
|
3157
|
-
}) | ({
|
|
3158
|
-
type: "Table";
|
|
3159
|
-
} & {
|
|
3160
|
-
config?: {
|
|
3161
|
-
label?: string | null | undefined;
|
|
3162
|
-
};
|
|
3163
3055
|
}) | ({
|
|
3164
3056
|
type: "Text";
|
|
3165
3057
|
} & {
|
|
@@ -3329,12 +3221,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3329
3221
|
config?: {
|
|
3330
3222
|
label?: string | null | undefined;
|
|
3331
3223
|
};
|
|
3332
|
-
}) | ({
|
|
3333
|
-
type: "Table";
|
|
3334
|
-
} & {
|
|
3335
|
-
config?: {
|
|
3336
|
-
label?: string | null | undefined;
|
|
3337
|
-
};
|
|
3338
3224
|
}) | ({
|
|
3339
3225
|
type: "Text";
|
|
3340
3226
|
} & {
|
|
@@ -3505,12 +3391,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3505
3391
|
config?: {
|
|
3506
3392
|
label?: string | null | undefined;
|
|
3507
3393
|
};
|
|
3508
|
-
}) | ({
|
|
3509
|
-
type: "Table";
|
|
3510
|
-
} & {
|
|
3511
|
-
config?: {
|
|
3512
|
-
label?: string | null | undefined;
|
|
3513
|
-
};
|
|
3514
3394
|
}) | ({
|
|
3515
3395
|
type: "Text";
|
|
3516
3396
|
} & {
|
|
@@ -3673,12 +3553,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3673
3553
|
config?: {
|
|
3674
3554
|
label?: string | null | undefined;
|
|
3675
3555
|
};
|
|
3676
|
-
}) | ({
|
|
3677
|
-
type: "Table";
|
|
3678
|
-
} & {
|
|
3679
|
-
config?: {
|
|
3680
|
-
label?: string | null | undefined;
|
|
3681
|
-
};
|
|
3682
3556
|
}) | ({
|
|
3683
3557
|
type: "Text";
|
|
3684
3558
|
} & {
|
|
@@ -96,12 +96,6 @@ 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
|
-
}>>;
|
|
105
99
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
106
100
|
type: t.LiteralC<"Text">;
|
|
107
101
|
}>, t.PartialC<{
|
|
@@ -16,7 +16,6 @@ const Range_1 = require("./Range");
|
|
|
16
16
|
const RichText_1 = require("./RichText");
|
|
17
17
|
const Select_1 = require("./Select");
|
|
18
18
|
const Separator_1 = require("./Separator");
|
|
19
|
-
const Table_1 = require("./Table");
|
|
20
19
|
const Text_1 = require("./Text");
|
|
21
20
|
const Timestamp_1 = require("./Timestamp");
|
|
22
21
|
exports.NestableWidget = t.union([
|
|
@@ -30,7 +29,6 @@ exports.NestableWidget = t.union([
|
|
|
30
29
|
RichText_1.RichText,
|
|
31
30
|
Select_1.Select,
|
|
32
31
|
Separator_1.Separator,
|
|
33
|
-
Table_1.Table,
|
|
34
32
|
Text_1.Text,
|
|
35
33
|
Timestamp_1.Timestamp,
|
|
36
34
|
Link_1.Link,
|
|
@@ -19,6 +19,7 @@ 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";
|
|
22
23
|
};
|
|
23
24
|
export declare const RichTextNodeTypeCodec: t.KeyofC<{
|
|
24
25
|
heading1: null;
|
|
@@ -37,6 +38,7 @@ export declare const RichTextNodeTypeCodec: t.KeyofC<{
|
|
|
37
38
|
"list-item": null;
|
|
38
39
|
"o-list-item": null;
|
|
39
40
|
rtl: null;
|
|
41
|
+
table: null;
|
|
40
42
|
}>;
|
|
41
43
|
export declare const RichTextConfig: t.ExactC<t.PartialC<{
|
|
42
44
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -27,6 +27,7 @@ exports.RichTextNodeType = {
|
|
|
27
27
|
list: "list-item",
|
|
28
28
|
orderedList: "o-list-item",
|
|
29
29
|
rtl: "rtl",
|
|
30
|
+
table: "table",
|
|
30
31
|
};
|
|
31
32
|
exports.RichTextNodeTypeCodec = t.keyof({
|
|
32
33
|
[exports.RichTextNodeType.heading1]: null,
|
|
@@ -45,6 +46,7 @@ exports.RichTextNodeTypeCodec = t.keyof({
|
|
|
45
46
|
[exports.RichTextNodeType.list]: null,
|
|
46
47
|
[exports.RichTextNodeType.orderedList]: null,
|
|
47
48
|
[exports.RichTextNodeType.rtl]: null,
|
|
49
|
+
[exports.RichTextNodeType.table]: null,
|
|
48
50
|
});
|
|
49
51
|
const RichTextOptions = new t.Type("RichTextOptions", (u) => typeof u === "string", (u) => {
|
|
50
52
|
return (0, function_1.pipe)(t.union([t.string, t.null]).decode(u), fp_ts_1.either.map((s) => {
|
|
@@ -109,12 +109,6 @@ 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
|
-
}>>;
|
|
118
112
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
119
113
|
type: t.LiteralC<"Text">;
|
|
120
114
|
}>, t.PartialC<{
|
|
@@ -275,12 +269,6 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
275
269
|
config: t.ExactC<t.PartialC<{
|
|
276
270
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
277
271
|
}>>;
|
|
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
|
-
}>>;
|
|
284
272
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
285
273
|
type: t.LiteralC<"Text">;
|
|
286
274
|
}>, t.PartialC<{
|
|
@@ -97,12 +97,6 @@ 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
|
-
}>>;
|
|
106
100
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
107
101
|
type: t.LiteralC<"Text">;
|
|
108
102
|
}>, t.PartialC<{
|
|
@@ -271,12 +265,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
|
|
|
271
265
|
config: t.ExactC<t.PartialC<{
|
|
272
266
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
273
267
|
}>>;
|
|
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
|
-
}>>;
|
|
280
268
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
281
269
|
type: t.LiteralC<"Text">;
|
|
282
270
|
}>, t.PartialC<{
|
|
@@ -107,12 +107,6 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
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
|
-
}>>;
|
|
116
110
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
117
111
|
type: t.LiteralC<"Text">;
|
|
118
112
|
}>, t.PartialC<{
|
|
@@ -281,12 +275,6 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
281
275
|
config: t.ExactC<t.PartialC<{
|
|
282
276
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
283
277
|
}>>;
|
|
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
|
-
}>>;
|
|
290
278
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
291
279
|
type: t.LiteralC<"Text">;
|
|
292
280
|
}>, t.PartialC<{
|
|
@@ -455,12 +443,6 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
455
443
|
config: t.ExactC<t.PartialC<{
|
|
456
444
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
457
445
|
}>>;
|
|
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
|
-
}>>;
|
|
464
446
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
465
447
|
type: t.LiteralC<"Text">;
|
|
466
448
|
}>, t.PartialC<{
|
|
@@ -625,12 +607,6 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
625
607
|
config: t.ExactC<t.PartialC<{
|
|
626
608
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
627
609
|
}>>;
|
|
628
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
629
|
-
type: t.LiteralC<"Table">;
|
|
630
|
-
}>, t.PartialC<{
|
|
631
|
-
config: t.ExactC<t.PartialC<{
|
|
632
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
633
|
-
}>>;
|
|
634
610
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
635
611
|
type: t.LiteralC<"Text">;
|
|
636
612
|
}>, t.PartialC<{
|
|
@@ -813,12 +789,6 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
813
789
|
config: t.ExactC<t.PartialC<{
|
|
814
790
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
815
791
|
}>>;
|
|
816
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
817
|
-
type: t.LiteralC<"Table">;
|
|
818
|
-
}>, t.PartialC<{
|
|
819
|
-
config: t.ExactC<t.PartialC<{
|
|
820
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
821
|
-
}>>;
|
|
822
792
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
823
793
|
type: t.LiteralC<"Text">;
|
|
824
794
|
}>, t.PartialC<{
|
|
@@ -987,12 +957,6 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
987
957
|
config: t.ExactC<t.PartialC<{
|
|
988
958
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
989
959
|
}>>;
|
|
990
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
991
|
-
type: t.LiteralC<"Table">;
|
|
992
|
-
}>, t.PartialC<{
|
|
993
|
-
config: t.ExactC<t.PartialC<{
|
|
994
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
995
|
-
}>>;
|
|
996
960
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
997
961
|
type: t.LiteralC<"Text">;
|
|
998
962
|
}>, t.PartialC<{
|
|
@@ -1161,12 +1125,6 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1161
1125
|
config: t.ExactC<t.PartialC<{
|
|
1162
1126
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1163
1127
|
}>>;
|
|
1164
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1165
|
-
type: t.LiteralC<"Table">;
|
|
1166
|
-
}>, t.PartialC<{
|
|
1167
|
-
config: t.ExactC<t.PartialC<{
|
|
1168
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1169
|
-
}>>;
|
|
1170
1128
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1171
1129
|
type: t.LiteralC<"Text">;
|
|
1172
1130
|
}>, t.PartialC<{
|
|
@@ -1331,12 +1289,6 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1331
1289
|
config: t.ExactC<t.PartialC<{
|
|
1332
1290
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1333
1291
|
}>>;
|
|
1334
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1335
|
-
type: t.LiteralC<"Table">;
|
|
1336
|
-
}>, t.PartialC<{
|
|
1337
|
-
config: t.ExactC<t.PartialC<{
|
|
1338
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1339
|
-
}>>;
|
|
1340
1292
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1341
1293
|
type: t.LiteralC<"Text">;
|
|
1342
1294
|
}>, t.PartialC<{
|
|
@@ -96,12 +96,6 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
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
|
-
}>>;
|
|
105
99
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
106
100
|
type: t.LiteralC<"Text">;
|
|
107
101
|
}>, t.PartialC<{
|
|
@@ -270,12 +264,6 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
270
264
|
config: t.ExactC<t.PartialC<{
|
|
271
265
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
272
266
|
}>>;
|
|
273
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
274
|
-
type: t.LiteralC<"Table">;
|
|
275
|
-
}>, t.PartialC<{
|
|
276
|
-
config: t.ExactC<t.PartialC<{
|
|
277
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
278
|
-
}>>;
|
|
279
267
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
280
268
|
type: t.LiteralC<"Text">;
|
|
281
269
|
}>, t.PartialC<{
|
|
@@ -444,12 +432,6 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
|
|
|
444
432
|
config: t.ExactC<t.PartialC<{
|
|
445
433
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
446
434
|
}>>;
|
|
447
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
448
|
-
type: t.LiteralC<"Table">;
|
|
449
|
-
}>, t.PartialC<{
|
|
450
|
-
config: t.ExactC<t.PartialC<{
|
|
451
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
452
|
-
}>>;
|
|
453
435
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
454
436
|
type: t.LiteralC<"Text">;
|
|
455
437
|
}>, t.PartialC<{
|
|
@@ -660,12 +642,6 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
660
642
|
config?: {
|
|
661
643
|
label?: string | null | undefined;
|
|
662
644
|
};
|
|
663
|
-
}) | ({
|
|
664
|
-
type: "Table";
|
|
665
|
-
} & {
|
|
666
|
-
config?: {
|
|
667
|
-
label?: string | null | undefined;
|
|
668
|
-
};
|
|
669
645
|
}) | ({
|
|
670
646
|
type: "Text";
|
|
671
647
|
} & {
|
|
@@ -835,12 +811,6 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
835
811
|
config?: {
|
|
836
812
|
label?: string | null | undefined;
|
|
837
813
|
};
|
|
838
|
-
}) | ({
|
|
839
|
-
type: "Table";
|
|
840
|
-
} & {
|
|
841
|
-
config?: {
|
|
842
|
-
label?: string | null | undefined;
|
|
843
|
-
};
|
|
844
814
|
}) | ({
|
|
845
815
|
type: "Text";
|
|
846
816
|
} & {
|
|
@@ -1010,12 +980,6 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
|
|
|
1010
980
|
config?: {
|
|
1011
981
|
label?: string | null | undefined;
|
|
1012
982
|
};
|
|
1013
|
-
}) | ({
|
|
1014
|
-
type: "Table";
|
|
1015
|
-
} & {
|
|
1016
|
-
config?: {
|
|
1017
|
-
label?: string | null | undefined;
|
|
1018
|
-
};
|
|
1019
983
|
}) | ({
|
|
1020
984
|
type: "Text";
|
|
1021
985
|
} & {
|