@prismicio/types-internal 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/content/Document.d.ts +114 -42
- package/lib/content/fields/RepeatableContent.d.ts +45 -47
- package/lib/content/fields/WidgetContent.d.ts +114 -42
- package/lib/content/fields/nestable/LinkContent.js +4 -16
- package/lib/content/fields/nestable/NestableContent.d.ts +19 -7
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +192 -55
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +10 -10
- package/lib/content/fields/nestable/TableContent.d.ts +25 -9
- package/lib/content/fields/nestable/TableContent.js +8 -8
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +38 -14
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +7 -3
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +38 -14
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +19 -7
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +19 -7
- package/lib/content/fields/slices/Slice/index.d.ts +65 -25
- package/lib/content/fields/slices/SliceItem.d.ts +65 -25
- package/lib/content/fields/slices/SlicesContent.d.ts +95 -35
- package/lib/content/utils.d.ts +4 -0
- package/lib/content/utils.js +16 -1
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +327 -0
- package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +1 -20
- package/src/content/fields/nestable/TableContent.ts +37 -29
- package/src/content/utils.ts +20 -0
- package/lib/content/fields/nestable/RichTextContent/Block.d.ts +0 -1036
- package/lib/content/fields/nestable/RichTextContent/Block.js +0 -31
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +0 -60
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +0 -53
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +0 -203
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +0 -36
- package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +0 -500
- package/lib/content/fields/nestable/RichTextContent/TableBlock.js +0 -21
|
@@ -424,9 +424,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
424
424
|
__TYPE__: "SeparatorContent";
|
|
425
425
|
}> | import("fp-ts/lib/Either").Right<{
|
|
426
426
|
__TYPE__: "TableContent";
|
|
427
|
-
content: {
|
|
427
|
+
content: ({
|
|
428
|
+
key: string;
|
|
429
|
+
} & {
|
|
428
430
|
type: "tableRow";
|
|
429
431
|
content: ({
|
|
432
|
+
key: string;
|
|
433
|
+
} & {
|
|
430
434
|
type: "tableHeader" | "tableCell";
|
|
431
435
|
content: {
|
|
432
436
|
__TYPE__: "StructuredTextContent";
|
|
@@ -585,7 +589,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
585
589
|
} & {
|
|
586
590
|
columnWidth?: number;
|
|
587
591
|
})[];
|
|
588
|
-
}[];
|
|
592
|
+
})[];
|
|
589
593
|
}> | import("fp-ts/lib/Either").Right<{
|
|
590
594
|
__TYPE__: "CompositeSliceContent";
|
|
591
595
|
nonRepeat: {
|
|
@@ -1012,9 +1016,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1012
1016
|
__TYPE__: "SeparatorContent";
|
|
1013
1017
|
} | {
|
|
1014
1018
|
__TYPE__: "TableContent";
|
|
1015
|
-
content: {
|
|
1019
|
+
content: ({
|
|
1020
|
+
key: string;
|
|
1021
|
+
} & {
|
|
1016
1022
|
type: "tableRow";
|
|
1017
1023
|
content: ({
|
|
1024
|
+
key: string;
|
|
1025
|
+
} & {
|
|
1018
1026
|
type: "tableHeader" | "tableCell";
|
|
1019
1027
|
content: {
|
|
1020
1028
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1173,7 +1181,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1173
1181
|
} & {
|
|
1174
1182
|
columnWidth?: number;
|
|
1175
1183
|
})[];
|
|
1176
|
-
}[];
|
|
1184
|
+
})[];
|
|
1177
1185
|
};
|
|
1178
1186
|
};
|
|
1179
1187
|
repeat: {
|
|
@@ -1601,9 +1609,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1601
1609
|
__TYPE__: "SeparatorContent";
|
|
1602
1610
|
} | {
|
|
1603
1611
|
__TYPE__: "TableContent";
|
|
1604
|
-
content: {
|
|
1612
|
+
content: ({
|
|
1613
|
+
key: string;
|
|
1614
|
+
} & {
|
|
1605
1615
|
type: "tableRow";
|
|
1606
1616
|
content: ({
|
|
1617
|
+
key: string;
|
|
1618
|
+
} & {
|
|
1607
1619
|
type: "tableHeader" | "tableCell";
|
|
1608
1620
|
content: {
|
|
1609
1621
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1762,7 +1774,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1762
1774
|
} & {
|
|
1763
1775
|
columnWidth?: number;
|
|
1764
1776
|
})[];
|
|
1765
|
-
}[];
|
|
1777
|
+
})[];
|
|
1766
1778
|
}][];
|
|
1767
1779
|
}[];
|
|
1768
1780
|
}> | import("fp-ts/lib/Either").Right<{
|
|
@@ -2192,9 +2204,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
2192
2204
|
__TYPE__: "SeparatorContent";
|
|
2193
2205
|
} | {
|
|
2194
2206
|
__TYPE__: "TableContent";
|
|
2195
|
-
content: {
|
|
2207
|
+
content: ({
|
|
2208
|
+
key: string;
|
|
2209
|
+
} & {
|
|
2196
2210
|
type: "tableRow";
|
|
2197
2211
|
content: ({
|
|
2212
|
+
key: string;
|
|
2213
|
+
} & {
|
|
2198
2214
|
type: "tableHeader" | "tableCell";
|
|
2199
2215
|
content: {
|
|
2200
2216
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2353,7 +2369,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
2353
2369
|
} & {
|
|
2354
2370
|
columnWidth?: number;
|
|
2355
2371
|
})[];
|
|
2356
|
-
}[];
|
|
2372
|
+
})[];
|
|
2357
2373
|
};
|
|
2358
2374
|
};
|
|
2359
2375
|
items: {
|
|
@@ -2781,9 +2797,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
2781
2797
|
__TYPE__: "SeparatorContent";
|
|
2782
2798
|
} | {
|
|
2783
2799
|
__TYPE__: "TableContent";
|
|
2784
|
-
content: {
|
|
2800
|
+
content: ({
|
|
2801
|
+
key: string;
|
|
2802
|
+
} & {
|
|
2785
2803
|
type: "tableRow";
|
|
2786
2804
|
content: ({
|
|
2805
|
+
key: string;
|
|
2806
|
+
} & {
|
|
2787
2807
|
type: "tableHeader" | "tableCell";
|
|
2788
2808
|
content: {
|
|
2789
2809
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2942,7 +2962,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
2942
2962
|
} & {
|
|
2943
2963
|
columnWidth?: number;
|
|
2944
2964
|
})[];
|
|
2945
|
-
}[];
|
|
2965
|
+
})[];
|
|
2946
2966
|
}][];
|
|
2947
2967
|
}[];
|
|
2948
2968
|
}> | import("fp-ts/lib/Either").Right<import("../..").GroupContent> | undefined;
|
|
@@ -3380,9 +3400,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3380
3400
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3381
3401
|
}>>, t.ExactC<t.TypeC<{
|
|
3382
3402
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
3383
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3403
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3404
|
+
key: t.Type<string, string, unknown>;
|
|
3405
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3384
3406
|
type: t.LiteralC<"tableRow">;
|
|
3385
3407
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3408
|
+
key: t.Type<string, string, unknown>;
|
|
3409
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3386
3410
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
3387
3411
|
content: t.ExactC<t.TypeC<{
|
|
3388
3412
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -3626,8 +3650,8 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3626
3650
|
}>>;
|
|
3627
3651
|
}>>, t.ExactC<t.PartialC<{
|
|
3628
3652
|
columnWidth: t.NumberC;
|
|
3629
|
-
}>>]>>;
|
|
3630
|
-
}
|
|
3653
|
+
}>>]>]>>;
|
|
3654
|
+
}>>]>>;
|
|
3631
3655
|
}>>, t.ExactC<t.TypeC<{
|
|
3632
3656
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3633
3657
|
type: t.LiteralC<"Link">;
|
|
@@ -4142,9 +4166,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4142
4166
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
4143
4167
|
}>>, t.ExactC<t.TypeC<{
|
|
4144
4168
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
4145
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4169
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4170
|
+
key: t.Type<string, string, unknown>;
|
|
4171
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4146
4172
|
type: t.LiteralC<"tableRow">;
|
|
4147
4173
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4174
|
+
key: t.Type<string, string, unknown>;
|
|
4175
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4148
4176
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
4149
4177
|
content: t.ExactC<t.TypeC<{
|
|
4150
4178
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -4388,8 +4416,8 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4388
4416
|
}>>;
|
|
4389
4417
|
}>>, t.ExactC<t.PartialC<{
|
|
4390
4418
|
columnWidth: t.NumberC;
|
|
4391
|
-
}>>]>>;
|
|
4392
|
-
}
|
|
4419
|
+
}>>]>]>>;
|
|
4420
|
+
}>>]>>;
|
|
4393
4421
|
}>>, t.ExactC<t.TypeC<{
|
|
4394
4422
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
4395
4423
|
type: t.LiteralC<"Link">;
|
|
@@ -4906,9 +4934,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4906
4934
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
4907
4935
|
}>>, t.ExactC<t.TypeC<{
|
|
4908
4936
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
4909
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4937
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4938
|
+
key: t.Type<string, string, unknown>;
|
|
4939
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4910
4940
|
type: t.LiteralC<"tableRow">;
|
|
4911
4941
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4942
|
+
key: t.Type<string, string, unknown>;
|
|
4943
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4912
4944
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
4913
4945
|
content: t.ExactC<t.TypeC<{
|
|
4914
4946
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -5152,8 +5184,8 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
5152
5184
|
}>>;
|
|
5153
5185
|
}>>, t.ExactC<t.PartialC<{
|
|
5154
5186
|
columnWidth: t.NumberC;
|
|
5155
|
-
}>>]>>;
|
|
5156
|
-
}
|
|
5187
|
+
}>>]>]>>;
|
|
5188
|
+
}>>]>>;
|
|
5157
5189
|
}>>, t.ExactC<t.TypeC<{
|
|
5158
5190
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
5159
5191
|
type: t.LiteralC<"Link">;
|
|
@@ -5668,9 +5700,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
5668
5700
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
5669
5701
|
}>>, t.ExactC<t.TypeC<{
|
|
5670
5702
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
5671
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
5703
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
5704
|
+
key: t.Type<string, string, unknown>;
|
|
5705
|
+
}>>, t.ExactC<t.TypeC<{
|
|
5672
5706
|
type: t.LiteralC<"tableRow">;
|
|
5673
5707
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
5708
|
+
key: t.Type<string, string, unknown>;
|
|
5709
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
5674
5710
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
5675
5711
|
content: t.ExactC<t.TypeC<{
|
|
5676
5712
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -5914,8 +5950,8 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
5914
5950
|
}>>;
|
|
5915
5951
|
}>>, t.ExactC<t.PartialC<{
|
|
5916
5952
|
columnWidth: t.NumberC;
|
|
5917
|
-
}>>]>>;
|
|
5918
|
-
}
|
|
5953
|
+
}>>]>]>>;
|
|
5954
|
+
}>>]>>;
|
|
5919
5955
|
}>>, t.ExactC<t.TypeC<{
|
|
5920
5956
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
5921
5957
|
type: t.LiteralC<"Link">;
|
|
@@ -6429,9 +6465,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
6429
6465
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
6430
6466
|
}>>, t.ExactC<t.TypeC<{
|
|
6431
6467
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
6432
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
6468
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
6469
|
+
key: t.Type<string, string, unknown>;
|
|
6470
|
+
}>>, t.ExactC<t.TypeC<{
|
|
6433
6471
|
type: t.LiteralC<"tableRow">;
|
|
6434
6472
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
6473
|
+
key: t.Type<string, string, unknown>;
|
|
6474
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
6435
6475
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
6436
6476
|
content: t.ExactC<t.TypeC<{
|
|
6437
6477
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -6675,8 +6715,8 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
6675
6715
|
}>>;
|
|
6676
6716
|
}>>, t.ExactC<t.PartialC<{
|
|
6677
6717
|
columnWidth: t.NumberC;
|
|
6678
|
-
}>>]>>;
|
|
6679
|
-
}
|
|
6718
|
+
}>>]>]>>;
|
|
6719
|
+
}>>]>>;
|
|
6680
6720
|
}>>, t.ExactC<t.TypeC<{
|
|
6681
6721
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
6682
6722
|
type: t.LiteralC<"Link">;
|
|
@@ -442,9 +442,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
442
442
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
443
443
|
}>>, t.ExactC<t.TypeC<{
|
|
444
444
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
445
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
445
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
446
|
+
key: t.Type<string, string, unknown>;
|
|
447
|
+
}>>, t.ExactC<t.TypeC<{
|
|
446
448
|
type: t.LiteralC<"tableRow">;
|
|
447
449
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
450
|
+
key: t.Type<string, string, unknown>;
|
|
451
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
448
452
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
449
453
|
content: t.ExactC<t.TypeC<{
|
|
450
454
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -688,8 +692,8 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
688
692
|
}>>;
|
|
689
693
|
}>>, t.ExactC<t.PartialC<{
|
|
690
694
|
columnWidth: t.NumberC;
|
|
691
|
-
}>>]>>;
|
|
692
|
-
}
|
|
695
|
+
}>>]>]>>;
|
|
696
|
+
}>>]>>;
|
|
693
697
|
}>>, t.ExactC<t.TypeC<{
|
|
694
698
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
695
699
|
type: t.LiteralC<"Link">;
|
|
@@ -1204,9 +1208,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1204
1208
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1205
1209
|
}>>, t.ExactC<t.TypeC<{
|
|
1206
1210
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
1207
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1211
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1212
|
+
key: t.Type<string, string, unknown>;
|
|
1213
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1208
1214
|
type: t.LiteralC<"tableRow">;
|
|
1209
1215
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1216
|
+
key: t.Type<string, string, unknown>;
|
|
1217
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1210
1218
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
1211
1219
|
content: t.ExactC<t.TypeC<{
|
|
1212
1220
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -1450,8 +1458,8 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1450
1458
|
}>>;
|
|
1451
1459
|
}>>, t.ExactC<t.PartialC<{
|
|
1452
1460
|
columnWidth: t.NumberC;
|
|
1453
|
-
}>>]>>;
|
|
1454
|
-
}
|
|
1461
|
+
}>>]>]>>;
|
|
1462
|
+
}>>]>>;
|
|
1455
1463
|
}>>, t.ExactC<t.TypeC<{
|
|
1456
1464
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1457
1465
|
type: t.LiteralC<"Link">;
|
|
@@ -1968,9 +1976,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1968
1976
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1969
1977
|
}>>, t.ExactC<t.TypeC<{
|
|
1970
1978
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
1971
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1979
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1980
|
+
key: t.Type<string, string, unknown>;
|
|
1981
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1972
1982
|
type: t.LiteralC<"tableRow">;
|
|
1973
1983
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1984
|
+
key: t.Type<string, string, unknown>;
|
|
1985
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1974
1986
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
1975
1987
|
content: t.ExactC<t.TypeC<{
|
|
1976
1988
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -2214,8 +2226,8 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
2214
2226
|
}>>;
|
|
2215
2227
|
}>>, t.ExactC<t.PartialC<{
|
|
2216
2228
|
columnWidth: t.NumberC;
|
|
2217
|
-
}>>]>>;
|
|
2218
|
-
}
|
|
2229
|
+
}>>]>]>>;
|
|
2230
|
+
}>>]>>;
|
|
2219
2231
|
}>>, t.ExactC<t.TypeC<{
|
|
2220
2232
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2221
2233
|
type: t.LiteralC<"Link">;
|
|
@@ -2730,9 +2742,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
2730
2742
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2731
2743
|
}>>, t.ExactC<t.TypeC<{
|
|
2732
2744
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
2733
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2745
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2746
|
+
key: t.Type<string, string, unknown>;
|
|
2747
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2734
2748
|
type: t.LiteralC<"tableRow">;
|
|
2735
2749
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2750
|
+
key: t.Type<string, string, unknown>;
|
|
2751
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2736
2752
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
2737
2753
|
content: t.ExactC<t.TypeC<{
|
|
2738
2754
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -2976,8 +2992,8 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
2976
2992
|
}>>;
|
|
2977
2993
|
}>>, t.ExactC<t.PartialC<{
|
|
2978
2994
|
columnWidth: t.NumberC;
|
|
2979
|
-
}>>]>>;
|
|
2980
|
-
}
|
|
2995
|
+
}>>]>]>>;
|
|
2996
|
+
}>>]>>;
|
|
2981
2997
|
}>>, t.ExactC<t.TypeC<{
|
|
2982
2998
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2983
2999
|
type: t.LiteralC<"Link">;
|
|
@@ -3491,9 +3507,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
3491
3507
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3492
3508
|
}>>, t.ExactC<t.TypeC<{
|
|
3493
3509
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
3494
|
-
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3510
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3511
|
+
key: t.Type<string, string, unknown>;
|
|
3512
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3495
3513
|
type: t.LiteralC<"tableRow">;
|
|
3496
3514
|
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3515
|
+
key: t.Type<string, string, unknown>;
|
|
3516
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3497
3517
|
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
3498
3518
|
content: t.ExactC<t.TypeC<{
|
|
3499
3519
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -3737,8 +3757,8 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
3737
3757
|
}>>;
|
|
3738
3758
|
}>>, t.ExactC<t.PartialC<{
|
|
3739
3759
|
columnWidth: t.NumberC;
|
|
3740
|
-
}>>]>>;
|
|
3741
|
-
}
|
|
3760
|
+
}>>]>]>>;
|
|
3761
|
+
}>>]>>;
|
|
3742
3762
|
}>>, t.ExactC<t.TypeC<{
|
|
3743
3763
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3744
3764
|
type: t.LiteralC<"Link">;
|
|
@@ -4263,9 +4283,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
4263
4283
|
__TYPE__: "SeparatorContent";
|
|
4264
4284
|
} | {
|
|
4265
4285
|
__TYPE__: "TableContent";
|
|
4266
|
-
content: {
|
|
4286
|
+
content: ({
|
|
4287
|
+
key: string;
|
|
4288
|
+
} & {
|
|
4267
4289
|
type: "tableRow";
|
|
4268
4290
|
content: ({
|
|
4291
|
+
key: string;
|
|
4292
|
+
} & {
|
|
4269
4293
|
type: "tableHeader" | "tableCell";
|
|
4270
4294
|
content: {
|
|
4271
4295
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4424,7 +4448,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
4424
4448
|
} & {
|
|
4425
4449
|
columnWidth?: number;
|
|
4426
4450
|
})[];
|
|
4427
|
-
}[];
|
|
4451
|
+
})[];
|
|
4428
4452
|
} | {
|
|
4429
4453
|
__TYPE__: "CompositeSliceContent";
|
|
4430
4454
|
nonRepeat: {
|
|
@@ -4851,9 +4875,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
4851
4875
|
__TYPE__: "SeparatorContent";
|
|
4852
4876
|
} | {
|
|
4853
4877
|
__TYPE__: "TableContent";
|
|
4854
|
-
content: {
|
|
4878
|
+
content: ({
|
|
4879
|
+
key: string;
|
|
4880
|
+
} & {
|
|
4855
4881
|
type: "tableRow";
|
|
4856
4882
|
content: ({
|
|
4883
|
+
key: string;
|
|
4884
|
+
} & {
|
|
4857
4885
|
type: "tableHeader" | "tableCell";
|
|
4858
4886
|
content: {
|
|
4859
4887
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5012,7 +5040,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
5012
5040
|
} & {
|
|
5013
5041
|
columnWidth?: number;
|
|
5014
5042
|
})[];
|
|
5015
|
-
}[];
|
|
5043
|
+
})[];
|
|
5016
5044
|
};
|
|
5017
5045
|
};
|
|
5018
5046
|
repeat: {
|
|
@@ -5440,9 +5468,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
5440
5468
|
__TYPE__: "SeparatorContent";
|
|
5441
5469
|
} | {
|
|
5442
5470
|
__TYPE__: "TableContent";
|
|
5443
|
-
content: {
|
|
5471
|
+
content: ({
|
|
5472
|
+
key: string;
|
|
5473
|
+
} & {
|
|
5444
5474
|
type: "tableRow";
|
|
5445
5475
|
content: ({
|
|
5476
|
+
key: string;
|
|
5477
|
+
} & {
|
|
5446
5478
|
type: "tableHeader" | "tableCell";
|
|
5447
5479
|
content: {
|
|
5448
5480
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5601,7 +5633,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
5601
5633
|
} & {
|
|
5602
5634
|
columnWidth?: number;
|
|
5603
5635
|
})[];
|
|
5604
|
-
}[];
|
|
5636
|
+
})[];
|
|
5605
5637
|
}][];
|
|
5606
5638
|
}[];
|
|
5607
5639
|
} | {
|
|
@@ -6031,9 +6063,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
6031
6063
|
__TYPE__: "SeparatorContent";
|
|
6032
6064
|
} | {
|
|
6033
6065
|
__TYPE__: "TableContent";
|
|
6034
|
-
content: {
|
|
6066
|
+
content: ({
|
|
6067
|
+
key: string;
|
|
6068
|
+
} & {
|
|
6035
6069
|
type: "tableRow";
|
|
6036
6070
|
content: ({
|
|
6071
|
+
key: string;
|
|
6072
|
+
} & {
|
|
6037
6073
|
type: "tableHeader" | "tableCell";
|
|
6038
6074
|
content: {
|
|
6039
6075
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6192,7 +6228,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
6192
6228
|
} & {
|
|
6193
6229
|
columnWidth?: number;
|
|
6194
6230
|
})[];
|
|
6195
|
-
}[];
|
|
6231
|
+
})[];
|
|
6196
6232
|
};
|
|
6197
6233
|
};
|
|
6198
6234
|
items: {
|
|
@@ -6620,9 +6656,13 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
6620
6656
|
__TYPE__: "SeparatorContent";
|
|
6621
6657
|
} | {
|
|
6622
6658
|
__TYPE__: "TableContent";
|
|
6623
|
-
content: {
|
|
6659
|
+
content: ({
|
|
6660
|
+
key: string;
|
|
6661
|
+
} & {
|
|
6624
6662
|
type: "tableRow";
|
|
6625
6663
|
content: ({
|
|
6664
|
+
key: string;
|
|
6665
|
+
} & {
|
|
6626
6666
|
type: "tableHeader" | "tableCell";
|
|
6627
6667
|
content: {
|
|
6628
6668
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6781,7 +6821,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
6781
6821
|
} & {
|
|
6782
6822
|
columnWidth?: number;
|
|
6783
6823
|
})[];
|
|
6784
|
-
}[];
|
|
6824
|
+
})[];
|
|
6785
6825
|
}][];
|
|
6786
6826
|
}[];
|
|
6787
6827
|
};
|