@prismicio/types-internal 3.1.0-alpha.0 → 3.1.0-alpha.2
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 +204 -96
- package/lib/content/fields/RepeatableContent.d.ts +11 -5
- package/lib/content/fields/WidgetContent.d.ts +204 -96
- package/lib/content/fields/nestable/LinkContent.d.ts +41 -17
- package/lib/content/fields/nestable/LinkContent.js +9 -1
- package/lib/content/fields/nestable/NestableContent.d.ts +34 -16
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +68 -32
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +10 -4
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +68 -32
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +34 -16
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +34 -16
- package/lib/content/fields/slices/Slice/index.d.ts +110 -50
- package/lib/content/fields/slices/SliceItem.d.ts +110 -50
- package/lib/content/fields/slices/SlicesContent.d.ts +170 -80
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +9 -1
|
@@ -178,9 +178,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
178
178
|
text: t.StringC;
|
|
179
179
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
180
180
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
181
|
-
}>>, t.ExactC<t.
|
|
181
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
182
|
+
kind: t.LiteralC<"any">;
|
|
182
183
|
text: t.StringC;
|
|
183
|
-
}
|
|
184
|
+
}>>, t.ExactC<t.TypeC<{
|
|
185
|
+
kind: t.LiteralC<"any">;
|
|
186
|
+
}>>]>]>]>;
|
|
184
187
|
}>>, t.ExactC<t.TypeC<{
|
|
185
188
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
186
189
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -489,9 +492,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
489
492
|
text: t.StringC;
|
|
490
493
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
491
494
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
492
|
-
}>>, t.ExactC<t.
|
|
495
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
496
|
+
kind: t.LiteralC<"any">;
|
|
493
497
|
text: t.StringC;
|
|
494
|
-
}
|
|
498
|
+
}>>, t.ExactC<t.TypeC<{
|
|
499
|
+
kind: t.LiteralC<"any">;
|
|
500
|
+
}>>]>]>]>;
|
|
495
501
|
}>>>;
|
|
496
502
|
}>>]>, t.TypeC<{
|
|
497
503
|
__TYPE__: t.LiteralC<"UIDContent">;
|
|
@@ -678,9 +684,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
678
684
|
text: t.StringC;
|
|
679
685
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
680
686
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
681
|
-
}>>, t.ExactC<t.
|
|
687
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
688
|
+
kind: t.LiteralC<"any">;
|
|
682
689
|
text: t.StringC;
|
|
683
|
-
}
|
|
690
|
+
}>>, t.ExactC<t.TypeC<{
|
|
691
|
+
kind: t.LiteralC<"any">;
|
|
692
|
+
}>>]>]>]>;
|
|
684
693
|
}>>, t.ExactC<t.TypeC<{
|
|
685
694
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
686
695
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -989,9 +998,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
989
998
|
text: t.StringC;
|
|
990
999
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
991
1000
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
992
|
-
}>>, t.ExactC<t.
|
|
1001
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
1002
|
+
kind: t.LiteralC<"any">;
|
|
993
1003
|
text: t.StringC;
|
|
994
|
-
}
|
|
1004
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1005
|
+
kind: t.LiteralC<"any">;
|
|
1006
|
+
}>>]>]>]>;
|
|
995
1007
|
}>>>;
|
|
996
1008
|
}>>]>>;
|
|
997
1009
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
@@ -1170,9 +1182,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1170
1182
|
text: t.StringC;
|
|
1171
1183
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1172
1184
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1173
|
-
}>>, t.ExactC<t.
|
|
1185
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
1186
|
+
kind: t.LiteralC<"any">;
|
|
1174
1187
|
text: t.StringC;
|
|
1175
|
-
}
|
|
1188
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1189
|
+
kind: t.LiteralC<"any">;
|
|
1190
|
+
}>>]>]>]>;
|
|
1176
1191
|
}>>, t.ExactC<t.TypeC<{
|
|
1177
1192
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1178
1193
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1481,9 +1496,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1481
1496
|
text: t.StringC;
|
|
1482
1497
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1483
1498
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1484
|
-
}>>, t.ExactC<t.
|
|
1499
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
1500
|
+
kind: t.LiteralC<"any">;
|
|
1485
1501
|
text: t.StringC;
|
|
1486
|
-
}
|
|
1502
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1503
|
+
kind: t.LiteralC<"any">;
|
|
1504
|
+
}>>]>]>]>;
|
|
1487
1505
|
}>>>;
|
|
1488
1506
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
|
|
1489
1507
|
}>>>;
|
|
@@ -1664,9 +1682,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1664
1682
|
text: t.StringC;
|
|
1665
1683
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1666
1684
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1667
|
-
}>>, t.ExactC<t.
|
|
1685
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
1686
|
+
kind: t.LiteralC<"any">;
|
|
1668
1687
|
text: t.StringC;
|
|
1669
|
-
}
|
|
1688
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1689
|
+
kind: t.LiteralC<"any">;
|
|
1690
|
+
}>>]>]>]>;
|
|
1670
1691
|
}>>, t.ExactC<t.TypeC<{
|
|
1671
1692
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1672
1693
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1975,9 +1996,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1975
1996
|
text: t.StringC;
|
|
1976
1997
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1977
1998
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1978
|
-
}>>, t.ExactC<t.
|
|
1999
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
2000
|
+
kind: t.LiteralC<"any">;
|
|
1979
2001
|
text: t.StringC;
|
|
1980
|
-
}
|
|
2002
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2003
|
+
kind: t.LiteralC<"any">;
|
|
2004
|
+
}>>]>]>]>;
|
|
1981
2005
|
}>>>;
|
|
1982
2006
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
|
|
1983
2007
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
@@ -2156,9 +2180,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2156
2180
|
text: t.StringC;
|
|
2157
2181
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2158
2182
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2159
|
-
}>>, t.ExactC<t.
|
|
2183
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
2184
|
+
kind: t.LiteralC<"any">;
|
|
2160
2185
|
text: t.StringC;
|
|
2161
|
-
}
|
|
2186
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2187
|
+
kind: t.LiteralC<"any">;
|
|
2188
|
+
}>>]>]>]>;
|
|
2162
2189
|
}>>, t.ExactC<t.TypeC<{
|
|
2163
2190
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2164
2191
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2467,9 +2494,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2467
2494
|
text: t.StringC;
|
|
2468
2495
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2469
2496
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2470
|
-
}>>, t.ExactC<t.
|
|
2497
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
2498
|
+
kind: t.LiteralC<"any">;
|
|
2471
2499
|
text: t.StringC;
|
|
2472
|
-
}
|
|
2500
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2501
|
+
kind: t.LiteralC<"any">;
|
|
2502
|
+
}>>]>]>]>;
|
|
2473
2503
|
}>>>;
|
|
2474
2504
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
|
|
2475
2505
|
}>>>;
|
|
@@ -2647,9 +2677,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2647
2677
|
text: t.StringC;
|
|
2648
2678
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2649
2679
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2650
|
-
}>>, t.ExactC<t.
|
|
2680
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
2681
|
+
kind: t.LiteralC<"any">;
|
|
2651
2682
|
text: t.StringC;
|
|
2652
|
-
}
|
|
2683
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2684
|
+
kind: t.LiteralC<"any">;
|
|
2685
|
+
}>>]>]>]>;
|
|
2653
2686
|
}>>, t.ExactC<t.TypeC<{
|
|
2654
2687
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2655
2688
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2958,9 +2991,12 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2958
2991
|
text: t.StringC;
|
|
2959
2992
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2960
2993
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2961
|
-
}>>, t.ExactC<t.
|
|
2994
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
2995
|
+
kind: t.LiteralC<"any">;
|
|
2962
2996
|
text: t.StringC;
|
|
2963
|
-
}
|
|
2997
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2998
|
+
kind: t.LiteralC<"any">;
|
|
2999
|
+
}>>]>]>]>;
|
|
2964
3000
|
}>>>;
|
|
2965
3001
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
|
|
2966
3002
|
}>>;
|
|
@@ -3157,9 +3193,12 @@ export declare const DocumentLegacy: {
|
|
|
3157
3193
|
text?: string;
|
|
3158
3194
|
})) | ({
|
|
3159
3195
|
__TYPE__: "AnyLink";
|
|
3160
|
-
} & {
|
|
3161
|
-
|
|
3162
|
-
|
|
3196
|
+
} & ({
|
|
3197
|
+
kind: "any";
|
|
3198
|
+
text: string;
|
|
3199
|
+
} | {
|
|
3200
|
+
kind: "any";
|
|
3201
|
+
}));
|
|
3163
3202
|
} | {
|
|
3164
3203
|
__TYPE__: "RepeatableContent";
|
|
3165
3204
|
type: "Link";
|
|
@@ -3225,9 +3264,12 @@ export declare const DocumentLegacy: {
|
|
|
3225
3264
|
text?: string;
|
|
3226
3265
|
})) | ({
|
|
3227
3266
|
__TYPE__: "AnyLink";
|
|
3228
|
-
} & {
|
|
3229
|
-
|
|
3230
|
-
|
|
3267
|
+
} & ({
|
|
3268
|
+
kind: "any";
|
|
3269
|
+
text: string;
|
|
3270
|
+
} | {
|
|
3271
|
+
kind: "any";
|
|
3272
|
+
}));
|
|
3231
3273
|
}[];
|
|
3232
3274
|
} | import("./fields").GroupContent | {
|
|
3233
3275
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3567,9 +3609,12 @@ export declare const DocumentLegacy: {
|
|
|
3567
3609
|
text?: string;
|
|
3568
3610
|
})) | ({
|
|
3569
3611
|
__TYPE__: "AnyLink";
|
|
3570
|
-
} & {
|
|
3571
|
-
|
|
3572
|
-
|
|
3612
|
+
} & ({
|
|
3613
|
+
kind: "any";
|
|
3614
|
+
text: string;
|
|
3615
|
+
} | {
|
|
3616
|
+
kind: "any";
|
|
3617
|
+
}));
|
|
3573
3618
|
} | {
|
|
3574
3619
|
__TYPE__: "RepeatableContent";
|
|
3575
3620
|
type: "Link";
|
|
@@ -3635,9 +3680,12 @@ export declare const DocumentLegacy: {
|
|
|
3635
3680
|
text?: string;
|
|
3636
3681
|
})) | ({
|
|
3637
3682
|
__TYPE__: "AnyLink";
|
|
3638
|
-
} & {
|
|
3639
|
-
|
|
3640
|
-
|
|
3683
|
+
} & ({
|
|
3684
|
+
kind: "any";
|
|
3685
|
+
text: string;
|
|
3686
|
+
} | {
|
|
3687
|
+
kind: "any";
|
|
3688
|
+
}));
|
|
3641
3689
|
}[];
|
|
3642
3690
|
} | import("./fields").GroupContent | {
|
|
3643
3691
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3971,9 +4019,12 @@ export declare const DocumentLegacy: {
|
|
|
3971
4019
|
text?: string;
|
|
3972
4020
|
})) | ({
|
|
3973
4021
|
__TYPE__: "AnyLink";
|
|
3974
|
-
} & {
|
|
3975
|
-
|
|
3976
|
-
|
|
4022
|
+
} & ({
|
|
4023
|
+
kind: "any";
|
|
4024
|
+
text: string;
|
|
4025
|
+
} | {
|
|
4026
|
+
kind: "any";
|
|
4027
|
+
}));
|
|
3977
4028
|
} | {
|
|
3978
4029
|
__TYPE__: "RepeatableContent";
|
|
3979
4030
|
type: "Link";
|
|
@@ -4039,9 +4090,12 @@ export declare const DocumentLegacy: {
|
|
|
4039
4090
|
text?: string;
|
|
4040
4091
|
})) | ({
|
|
4041
4092
|
__TYPE__: "AnyLink";
|
|
4042
|
-
} & {
|
|
4043
|
-
|
|
4044
|
-
|
|
4093
|
+
} & ({
|
|
4094
|
+
kind: "any";
|
|
4095
|
+
text: string;
|
|
4096
|
+
} | {
|
|
4097
|
+
kind: "any";
|
|
4098
|
+
}));
|
|
4045
4099
|
}[];
|
|
4046
4100
|
} | {
|
|
4047
4101
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4376,9 +4430,12 @@ export declare const DocumentLegacy: {
|
|
|
4376
4430
|
text?: string;
|
|
4377
4431
|
})) | ({
|
|
4378
4432
|
__TYPE__: "AnyLink";
|
|
4379
|
-
} & {
|
|
4380
|
-
|
|
4381
|
-
|
|
4433
|
+
} & ({
|
|
4434
|
+
kind: "any";
|
|
4435
|
+
text: string;
|
|
4436
|
+
} | {
|
|
4437
|
+
kind: "any";
|
|
4438
|
+
}));
|
|
4382
4439
|
} | {
|
|
4383
4440
|
__TYPE__: "RepeatableContent";
|
|
4384
4441
|
type: "Link";
|
|
@@ -4444,9 +4501,12 @@ export declare const DocumentLegacy: {
|
|
|
4444
4501
|
text?: string;
|
|
4445
4502
|
})) | ({
|
|
4446
4503
|
__TYPE__: "AnyLink";
|
|
4447
|
-
} & {
|
|
4448
|
-
|
|
4449
|
-
|
|
4504
|
+
} & ({
|
|
4505
|
+
kind: "any";
|
|
4506
|
+
text: string;
|
|
4507
|
+
} | {
|
|
4508
|
+
kind: "any";
|
|
4509
|
+
}));
|
|
4450
4510
|
}[];
|
|
4451
4511
|
} | import("./fields").GroupContent | {
|
|
4452
4512
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4783,9 +4843,12 @@ export declare const DocumentLegacy: {
|
|
|
4783
4843
|
text?: string;
|
|
4784
4844
|
})) | ({
|
|
4785
4845
|
__TYPE__: "AnyLink";
|
|
4786
|
-
} & {
|
|
4787
|
-
|
|
4788
|
-
|
|
4846
|
+
} & ({
|
|
4847
|
+
kind: "any";
|
|
4848
|
+
text: string;
|
|
4849
|
+
} | {
|
|
4850
|
+
kind: "any";
|
|
4851
|
+
}));
|
|
4789
4852
|
} | {
|
|
4790
4853
|
__TYPE__: "RepeatableContent";
|
|
4791
4854
|
type: "Link";
|
|
@@ -4851,9 +4914,12 @@ export declare const DocumentLegacy: {
|
|
|
4851
4914
|
text?: string;
|
|
4852
4915
|
})) | ({
|
|
4853
4916
|
__TYPE__: "AnyLink";
|
|
4854
|
-
} & {
|
|
4855
|
-
|
|
4856
|
-
|
|
4917
|
+
} & ({
|
|
4918
|
+
kind: "any";
|
|
4919
|
+
text: string;
|
|
4920
|
+
} | {
|
|
4921
|
+
kind: "any";
|
|
4922
|
+
}));
|
|
4857
4923
|
}[];
|
|
4858
4924
|
} | import("./fields").GroupContent | {
|
|
4859
4925
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5188,9 +5254,12 @@ export declare const DocumentLegacy: {
|
|
|
5188
5254
|
text?: string;
|
|
5189
5255
|
})) | ({
|
|
5190
5256
|
__TYPE__: "AnyLink";
|
|
5191
|
-
} & {
|
|
5192
|
-
|
|
5193
|
-
|
|
5257
|
+
} & ({
|
|
5258
|
+
kind: "any";
|
|
5259
|
+
text: string;
|
|
5260
|
+
} | {
|
|
5261
|
+
kind: "any";
|
|
5262
|
+
}));
|
|
5194
5263
|
} | {
|
|
5195
5264
|
__TYPE__: "RepeatableContent";
|
|
5196
5265
|
type: "Link";
|
|
@@ -5256,9 +5325,12 @@ export declare const DocumentLegacy: {
|
|
|
5256
5325
|
text?: string;
|
|
5257
5326
|
})) | ({
|
|
5258
5327
|
__TYPE__: "AnyLink";
|
|
5259
|
-
} & {
|
|
5260
|
-
|
|
5261
|
-
|
|
5328
|
+
} & ({
|
|
5329
|
+
kind: "any";
|
|
5330
|
+
text: string;
|
|
5331
|
+
} | {
|
|
5332
|
+
kind: "any";
|
|
5333
|
+
}));
|
|
5262
5334
|
}[];
|
|
5263
5335
|
} | import("./fields").GroupContent | {
|
|
5264
5336
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5629,9 +5701,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5629
5701
|
text?: string;
|
|
5630
5702
|
})) | ({
|
|
5631
5703
|
__TYPE__: "AnyLink";
|
|
5632
|
-
} & {
|
|
5633
|
-
|
|
5634
|
-
|
|
5704
|
+
} & ({
|
|
5705
|
+
kind: "any";
|
|
5706
|
+
text: string;
|
|
5707
|
+
} | {
|
|
5708
|
+
kind: "any";
|
|
5709
|
+
}));
|
|
5635
5710
|
} | {
|
|
5636
5711
|
__TYPE__: "RepeatableContent";
|
|
5637
5712
|
type: "Link";
|
|
@@ -5697,9 +5772,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5697
5772
|
text?: string;
|
|
5698
5773
|
})) | ({
|
|
5699
5774
|
__TYPE__: "AnyLink";
|
|
5700
|
-
} & {
|
|
5701
|
-
|
|
5702
|
-
|
|
5775
|
+
} & ({
|
|
5776
|
+
kind: "any";
|
|
5777
|
+
text: string;
|
|
5778
|
+
} | {
|
|
5779
|
+
kind: "any";
|
|
5780
|
+
}));
|
|
5703
5781
|
}[];
|
|
5704
5782
|
} | import("./fields").GroupContent | {
|
|
5705
5783
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6039,9 +6117,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6039
6117
|
text?: string;
|
|
6040
6118
|
})) | ({
|
|
6041
6119
|
__TYPE__: "AnyLink";
|
|
6042
|
-
} & {
|
|
6043
|
-
|
|
6044
|
-
|
|
6120
|
+
} & ({
|
|
6121
|
+
kind: "any";
|
|
6122
|
+
text: string;
|
|
6123
|
+
} | {
|
|
6124
|
+
kind: "any";
|
|
6125
|
+
}));
|
|
6045
6126
|
} | {
|
|
6046
6127
|
__TYPE__: "RepeatableContent";
|
|
6047
6128
|
type: "Link";
|
|
@@ -6107,9 +6188,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6107
6188
|
text?: string;
|
|
6108
6189
|
})) | ({
|
|
6109
6190
|
__TYPE__: "AnyLink";
|
|
6110
|
-
} & {
|
|
6111
|
-
|
|
6112
|
-
|
|
6191
|
+
} & ({
|
|
6192
|
+
kind: "any";
|
|
6193
|
+
text: string;
|
|
6194
|
+
} | {
|
|
6195
|
+
kind: "any";
|
|
6196
|
+
}));
|
|
6113
6197
|
}[];
|
|
6114
6198
|
} | import("./fields").GroupContent | {
|
|
6115
6199
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6443,9 +6527,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6443
6527
|
text?: string;
|
|
6444
6528
|
})) | ({
|
|
6445
6529
|
__TYPE__: "AnyLink";
|
|
6446
|
-
} & {
|
|
6447
|
-
|
|
6448
|
-
|
|
6530
|
+
} & ({
|
|
6531
|
+
kind: "any";
|
|
6532
|
+
text: string;
|
|
6533
|
+
} | {
|
|
6534
|
+
kind: "any";
|
|
6535
|
+
}));
|
|
6449
6536
|
} | {
|
|
6450
6537
|
__TYPE__: "RepeatableContent";
|
|
6451
6538
|
type: "Link";
|
|
@@ -6511,9 +6598,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6511
6598
|
text?: string;
|
|
6512
6599
|
})) | ({
|
|
6513
6600
|
__TYPE__: "AnyLink";
|
|
6514
|
-
} & {
|
|
6515
|
-
|
|
6516
|
-
|
|
6601
|
+
} & ({
|
|
6602
|
+
kind: "any";
|
|
6603
|
+
text: string;
|
|
6604
|
+
} | {
|
|
6605
|
+
kind: "any";
|
|
6606
|
+
}));
|
|
6517
6607
|
}[];
|
|
6518
6608
|
} | {
|
|
6519
6609
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6848,9 +6938,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6848
6938
|
text?: string;
|
|
6849
6939
|
})) | ({
|
|
6850
6940
|
__TYPE__: "AnyLink";
|
|
6851
|
-
} & {
|
|
6852
|
-
|
|
6853
|
-
|
|
6941
|
+
} & ({
|
|
6942
|
+
kind: "any";
|
|
6943
|
+
text: string;
|
|
6944
|
+
} | {
|
|
6945
|
+
kind: "any";
|
|
6946
|
+
}));
|
|
6854
6947
|
} | {
|
|
6855
6948
|
__TYPE__: "RepeatableContent";
|
|
6856
6949
|
type: "Link";
|
|
@@ -6916,9 +7009,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6916
7009
|
text?: string;
|
|
6917
7010
|
})) | ({
|
|
6918
7011
|
__TYPE__: "AnyLink";
|
|
6919
|
-
} & {
|
|
6920
|
-
|
|
6921
|
-
|
|
7012
|
+
} & ({
|
|
7013
|
+
kind: "any";
|
|
7014
|
+
text: string;
|
|
7015
|
+
} | {
|
|
7016
|
+
kind: "any";
|
|
7017
|
+
}));
|
|
6922
7018
|
}[];
|
|
6923
7019
|
} | import("./fields").GroupContent | {
|
|
6924
7020
|
__TYPE__: "StructuredTextContent";
|
|
@@ -7255,9 +7351,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7255
7351
|
text?: string;
|
|
7256
7352
|
})) | ({
|
|
7257
7353
|
__TYPE__: "AnyLink";
|
|
7258
|
-
} & {
|
|
7259
|
-
|
|
7260
|
-
|
|
7354
|
+
} & ({
|
|
7355
|
+
kind: "any";
|
|
7356
|
+
text: string;
|
|
7357
|
+
} | {
|
|
7358
|
+
kind: "any";
|
|
7359
|
+
}));
|
|
7261
7360
|
} | {
|
|
7262
7361
|
__TYPE__: "RepeatableContent";
|
|
7263
7362
|
type: "Link";
|
|
@@ -7323,9 +7422,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7323
7422
|
text?: string;
|
|
7324
7423
|
})) | ({
|
|
7325
7424
|
__TYPE__: "AnyLink";
|
|
7326
|
-
} & {
|
|
7327
|
-
|
|
7328
|
-
|
|
7425
|
+
} & ({
|
|
7426
|
+
kind: "any";
|
|
7427
|
+
text: string;
|
|
7428
|
+
} | {
|
|
7429
|
+
kind: "any";
|
|
7430
|
+
}));
|
|
7329
7431
|
}[];
|
|
7330
7432
|
} | import("./fields").GroupContent | {
|
|
7331
7433
|
__TYPE__: "StructuredTextContent";
|
|
@@ -7660,9 +7762,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7660
7762
|
text?: string;
|
|
7661
7763
|
})) | ({
|
|
7662
7764
|
__TYPE__: "AnyLink";
|
|
7663
|
-
} & {
|
|
7664
|
-
|
|
7665
|
-
|
|
7765
|
+
} & ({
|
|
7766
|
+
kind: "any";
|
|
7767
|
+
text: string;
|
|
7768
|
+
} | {
|
|
7769
|
+
kind: "any";
|
|
7770
|
+
}));
|
|
7666
7771
|
} | {
|
|
7667
7772
|
__TYPE__: "RepeatableContent";
|
|
7668
7773
|
type: "Link";
|
|
@@ -7728,9 +7833,12 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7728
7833
|
text?: string;
|
|
7729
7834
|
})) | ({
|
|
7730
7835
|
__TYPE__: "AnyLink";
|
|
7731
|
-
} & {
|
|
7732
|
-
|
|
7733
|
-
|
|
7836
|
+
} & ({
|
|
7837
|
+
kind: "any";
|
|
7838
|
+
text: string;
|
|
7839
|
+
} | {
|
|
7840
|
+
kind: "any";
|
|
7841
|
+
}));
|
|
7734
7842
|
}[];
|
|
7735
7843
|
} | import("./fields").GroupContent | {
|
|
7736
7844
|
__TYPE__: "StructuredTextContent";
|
|
@@ -69,9 +69,12 @@ export declare const RepeatableContent: t.ExactC<t.TypeC<{
|
|
|
69
69
|
text: t.StringC;
|
|
70
70
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
71
71
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
72
|
-
}>>, t.ExactC<t.
|
|
72
|
+
}>>, t.UnionC<[t.ExactC<t.TypeC<{
|
|
73
|
+
kind: t.LiteralC<"any">;
|
|
73
74
|
text: t.StringC;
|
|
74
|
-
}
|
|
75
|
+
}>>, t.ExactC<t.TypeC<{
|
|
76
|
+
kind: t.LiteralC<"any">;
|
|
77
|
+
}>>]>]>]>;
|
|
75
78
|
}>>>;
|
|
76
79
|
}>>;
|
|
77
80
|
export declare type RepeatableContent = t.TypeOf<typeof RepeatableContent>;
|
|
@@ -140,9 +143,12 @@ export declare const isRepeatableContent: t.Is<{
|
|
|
140
143
|
text?: string;
|
|
141
144
|
})) | ({
|
|
142
145
|
__TYPE__: "AnyLink";
|
|
143
|
-
} & {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
+
} & ({
|
|
147
|
+
kind: "any";
|
|
148
|
+
text: string;
|
|
149
|
+
} | {
|
|
150
|
+
kind: "any";
|
|
151
|
+
}));
|
|
146
152
|
}[];
|
|
147
153
|
}>;
|
|
148
154
|
export declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<RepeatableContent, WithTypes<Array<unknown>>, unknown>;
|