@prismicio/types-internal 2.9.0-alpha.2 → 2.9.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.
@@ -150,7 +150,7 @@ export declare type ExternalLinkContent = t.TypeOf<typeof ExternalLinkContent>;
150
150
  export declare const AnyLinkType = "AnyLink";
151
151
  export declare const AnyLinkContent: t.IntersectionC<[t.ExactC<t.TypeC<{
152
152
  __TYPE__: t.LiteralC<"AnyLink">;
153
- }>>, t.ExactC<t.TypeC<{
153
+ }>>, t.ExactC<t.PartialC<{
154
154
  text: t.StringC;
155
155
  }>>]>;
156
156
  export declare type AnyLinkContent = t.TypeOf<typeof AnyLinkContent>;
@@ -221,7 +221,7 @@ export declare const isLinkContent: (u: unknown) => u is {
221
221
  })) | ({
222
222
  __TYPE__: "AnyLink";
223
223
  } & {
224
- text: string;
224
+ text?: string;
225
225
  });
226
226
  };
227
227
  export declare const LinkLegacy: t.UnionC<[t.Type<{
@@ -339,9 +339,9 @@ export declare const LinkLegacy: t.UnionC<[t.Type<{
339
339
  }, unknown>, t.Type<{
340
340
  __TYPE__: "AnyLink";
341
341
  } & {
342
- text: string;
342
+ text?: string;
343
343
  }, {
344
- text: string;
344
+ text?: string;
345
345
  }, unknown>]>;
346
346
  export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
347
347
  __TYPE__: "LinkContent";
@@ -409,7 +409,7 @@ export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
409
409
  })) | ({
410
410
  __TYPE__: "AnyLink";
411
411
  } & {
412
- text: string;
412
+ text?: string;
413
413
  });
414
414
  }, WithTypes<({
415
415
  kind: string;
@@ -463,7 +463,7 @@ export declare const LinkContentLegacy: (ctx: LegacyContentCtx) => t.Type<{
463
463
  kind: "web";
464
464
  text: string;
465
465
  } | {
466
- text: string;
466
+ text?: string;
467
467
  }>, unknown>;
468
468
  export declare const Link: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
469
469
  __TYPE__: t.LiteralC<"ImageLink">;
@@ -530,7 +530,7 @@ export declare const Link: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
530
530
  text: t.StringC;
531
531
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
532
532
  __TYPE__: t.LiteralC<"AnyLink">;
533
- }>>, t.ExactC<t.TypeC<{
533
+ }>>, t.ExactC<t.PartialC<{
534
534
  text: t.StringC;
535
535
  }>>]>]>;
536
536
  export declare const LinkContent: t.ExactC<t.TypeC<{
@@ -600,7 +600,7 @@ export declare const LinkContent: t.ExactC<t.TypeC<{
600
600
  text: t.StringC;
601
601
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
602
602
  __TYPE__: t.LiteralC<"AnyLink">;
603
- }>>, t.ExactC<t.TypeC<{
603
+ }>>, t.ExactC<t.PartialC<{
604
604
  text: t.StringC;
605
605
  }>>]>]>;
606
606
  }>>;
@@ -269,9 +269,7 @@ exports.ExternalLinkContent = t.intersection([
269
269
  ]);
270
270
  // AnyLink.
271
271
  exports.AnyLinkType = "AnyLink";
272
- const anyLinkLegacyCodec = t.strict({
273
- text: t.string,
274
- });
272
+ const anyLinkLegacyCodec = t.exact(t.partial({ text: t.string }));
275
273
  const AnyLinkLegacy = new t.Type("AnyLink", (u) => (0, utils_1.hasContentType)(u) && u.__TYPE__ === exports.AnyLinkType, (anyLink) => {
276
274
  return (0, function_1.pipe)(anyLinkLegacyCodec.decode(anyLink), fp_ts_1.either.map((parsedAnyLink) => {
277
275
  return exports.AnyLinkContent.encode({
@@ -178,7 +178,7 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
178
178
  text: t.StringC;
179
179
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
180
180
  __TYPE__: t.LiteralC<"AnyLink">;
181
- }>>, t.ExactC<t.TypeC<{
181
+ }>>, t.ExactC<t.PartialC<{
182
182
  text: t.StringC;
183
183
  }>>]>]>;
184
184
  }>>, t.ExactC<t.TypeC<{
@@ -492,7 +492,7 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
492
492
  text: t.StringC;
493
493
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
494
494
  __TYPE__: t.LiteralC<"AnyLink">;
495
- }>>, t.ExactC<t.TypeC<{
495
+ }>>, t.ExactC<t.PartialC<{
496
496
  text: t.StringC;
497
497
  }>>]>]>;
498
498
  }>>>;
@@ -678,7 +678,7 @@ export declare const isNestableContent: (u: unknown) => u is {
678
678
  })) | ({
679
679
  __TYPE__: "AnyLink";
680
680
  } & {
681
- text: string;
681
+ text?: string;
682
682
  });
683
683
  } | {
684
684
  __TYPE__: "RepeatableContent";
@@ -749,7 +749,7 @@ export declare const isNestableContent: (u: unknown) => u is {
749
749
  })) | ({
750
750
  __TYPE__: "AnyLink";
751
751
  } & {
752
- text: string;
752
+ text?: string;
753
753
  });
754
754
  }[];
755
755
  } | {
@@ -1087,7 +1087,7 @@ export declare const NestableLegacy: (ctx: LegacyContentCtx) => {
1087
1087
  })) | ({
1088
1088
  __TYPE__: "AnyLink";
1089
1089
  } & {
1090
- text: string;
1090
+ text?: string;
1091
1091
  });
1092
1092
  }> | import("fp-ts/lib/Either").Right<{
1093
1093
  __TYPE__: "RepeatableContent";
@@ -1158,7 +1158,7 @@ export declare const NestableLegacy: (ctx: LegacyContentCtx) => {
1158
1158
  })) | ({
1159
1159
  __TYPE__: "AnyLink";
1160
1160
  } & {
1161
- text: string;
1161
+ text?: string;
1162
1162
  });
1163
1163
  }[];
1164
1164
  }> | import("fp-ts/lib/Either").Right<{
@@ -185,7 +185,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
185
185
  })) | ({
186
186
  __TYPE__: "AnyLink";
187
187
  } & {
188
- text: string;
188
+ text?: string;
189
189
  });
190
190
  } | {
191
191
  __TYPE__: "RepeatableContent";
@@ -256,7 +256,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
256
256
  })) | ({
257
257
  __TYPE__: "AnyLink";
258
258
  } & {
259
- text: string;
259
+ text?: string;
260
260
  });
261
261
  }[];
262
262
  } | {
@@ -596,7 +596,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
596
596
  })) | ({
597
597
  __TYPE__: "AnyLink";
598
598
  } & {
599
- text: string;
599
+ text?: string;
600
600
  });
601
601
  } | {
602
602
  __TYPE__: "RepeatableContent";
@@ -667,7 +667,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
667
667
  })) | ({
668
668
  __TYPE__: "AnyLink";
669
669
  } & {
670
- text: string;
670
+ text?: string;
671
671
  });
672
672
  }[];
673
673
  } | import("../../GroupContent").GroupContent | {
@@ -1009,7 +1009,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1009
1009
  })) | ({
1010
1010
  __TYPE__: "AnyLink";
1011
1011
  } & {
1012
- text: string;
1012
+ text?: string;
1013
1013
  });
1014
1014
  } | {
1015
1015
  __TYPE__: "RepeatableContent";
@@ -1080,7 +1080,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1080
1080
  })) | ({
1081
1081
  __TYPE__: "AnyLink";
1082
1082
  } & {
1083
- text: string;
1083
+ text?: string;
1084
1084
  });
1085
1085
  }[];
1086
1086
  } | {
@@ -1420,7 +1420,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1420
1420
  })) | ({
1421
1421
  __TYPE__: "AnyLink";
1422
1422
  } & {
1423
- text: string;
1423
+ text?: string;
1424
1424
  });
1425
1425
  } | {
1426
1426
  __TYPE__: "RepeatableContent";
@@ -1491,7 +1491,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1491
1491
  })) | ({
1492
1492
  __TYPE__: "AnyLink";
1493
1493
  } & {
1494
- text: string;
1494
+ text?: string;
1495
1495
  });
1496
1496
  }[];
1497
1497
  } | import("../../GroupContent").GroupContent | {
@@ -1836,7 +1836,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1836
1836
  text: t.StringC;
1837
1837
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1838
1838
  __TYPE__: t.LiteralC<"AnyLink">;
1839
- }>>, t.ExactC<t.TypeC<{
1839
+ }>>, t.ExactC<t.PartialC<{
1840
1840
  text: t.StringC;
1841
1841
  }>>]>]>;
1842
1842
  }>>, t.ExactC<t.TypeC<{
@@ -2150,7 +2150,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2150
2150
  text: t.StringC;
2151
2151
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2152
2152
  __TYPE__: t.LiteralC<"AnyLink">;
2153
- }>>, t.ExactC<t.TypeC<{
2153
+ }>>, t.ExactC<t.PartialC<{
2154
2154
  text: t.StringC;
2155
2155
  }>>]>]>;
2156
2156
  }>>>;
@@ -2334,7 +2334,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2334
2334
  text: t.StringC;
2335
2335
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2336
2336
  __TYPE__: t.LiteralC<"AnyLink">;
2337
- }>>, t.ExactC<t.TypeC<{
2337
+ }>>, t.ExactC<t.PartialC<{
2338
2338
  text: t.StringC;
2339
2339
  }>>]>]>;
2340
2340
  }>>, t.ExactC<t.TypeC<{
@@ -2648,7 +2648,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2648
2648
  text: t.StringC;
2649
2649
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2650
2650
  __TYPE__: t.LiteralC<"AnyLink">;
2651
- }>>, t.ExactC<t.TypeC<{
2651
+ }>>, t.ExactC<t.PartialC<{
2652
2652
  text: t.StringC;
2653
2653
  }>>]>]>;
2654
2654
  }>>>;
@@ -183,7 +183,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
183
183
  text: t.StringC;
184
184
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
185
185
  __TYPE__: t.LiteralC<"AnyLink">;
186
- }>>, t.ExactC<t.TypeC<{
186
+ }>>, t.ExactC<t.PartialC<{
187
187
  text: t.StringC;
188
188
  }>>]>]>;
189
189
  }>>, t.ExactC<t.TypeC<{
@@ -497,7 +497,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
497
497
  text: t.StringC;
498
498
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
499
499
  __TYPE__: t.LiteralC<"AnyLink">;
500
- }>>, t.ExactC<t.TypeC<{
500
+ }>>, t.ExactC<t.PartialC<{
501
501
  text: t.StringC;
502
502
  }>>]>]>;
503
503
  }>>>;
@@ -186,7 +186,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
186
186
  })) | ({
187
187
  __TYPE__: "AnyLink";
188
188
  } & {
189
- text: string;
189
+ text?: string;
190
190
  });
191
191
  } | {
192
192
  __TYPE__: "RepeatableContent";
@@ -257,7 +257,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
257
257
  })) | ({
258
258
  __TYPE__: "AnyLink";
259
259
  } & {
260
- text: string;
260
+ text?: string;
261
261
  });
262
262
  }[];
263
263
  } | import("../../GroupContent").GroupContent | {
@@ -597,7 +597,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
597
597
  })) | ({
598
598
  __TYPE__: "AnyLink";
599
599
  } & {
600
- text: string;
600
+ text?: string;
601
601
  });
602
602
  } | {
603
603
  __TYPE__: "RepeatableContent";
@@ -668,7 +668,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
668
668
  })) | ({
669
669
  __TYPE__: "AnyLink";
670
670
  } & {
671
- text: string;
671
+ text?: string;
672
672
  });
673
673
  }[];
674
674
  } | import("../../GroupContent").GroupContent | {
@@ -1011,7 +1011,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1011
1011
  })) | ({
1012
1012
  __TYPE__: "AnyLink";
1013
1013
  } & {
1014
- text: string;
1014
+ text?: string;
1015
1015
  });
1016
1016
  } | {
1017
1017
  __TYPE__: "RepeatableContent";
@@ -1082,7 +1082,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1082
1082
  })) | ({
1083
1083
  __TYPE__: "AnyLink";
1084
1084
  } & {
1085
- text: string;
1085
+ text?: string;
1086
1086
  });
1087
1087
  }[];
1088
1088
  } | import("../../GroupContent").GroupContent | {
@@ -1422,7 +1422,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1422
1422
  })) | ({
1423
1423
  __TYPE__: "AnyLink";
1424
1424
  } & {
1425
- text: string;
1425
+ text?: string;
1426
1426
  });
1427
1427
  } | {
1428
1428
  __TYPE__: "RepeatableContent";
@@ -1493,7 +1493,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1493
1493
  })) | ({
1494
1494
  __TYPE__: "AnyLink";
1495
1495
  } & {
1496
- text: string;
1496
+ text?: string;
1497
1497
  });
1498
1498
  }[];
1499
1499
  } | import("../../GroupContent").GroupContent | {
@@ -1840,7 +1840,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1840
1840
  text: t.StringC;
1841
1841
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1842
1842
  __TYPE__: t.LiteralC<"AnyLink">;
1843
- }>>, t.ExactC<t.TypeC<{
1843
+ }>>, t.ExactC<t.PartialC<{
1844
1844
  text: t.StringC;
1845
1845
  }>>]>]>;
1846
1846
  }>>, t.ExactC<t.TypeC<{
@@ -2154,7 +2154,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2154
2154
  text: t.StringC;
2155
2155
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2156
2156
  __TYPE__: t.LiteralC<"AnyLink">;
2157
- }>>, t.ExactC<t.TypeC<{
2157
+ }>>, t.ExactC<t.PartialC<{
2158
2158
  text: t.StringC;
2159
2159
  }>>]>]>;
2160
2160
  }>>>;
@@ -2338,7 +2338,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2338
2338
  text: t.StringC;
2339
2339
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2340
2340
  __TYPE__: t.LiteralC<"AnyLink">;
2341
- }>>, t.ExactC<t.TypeC<{
2341
+ }>>, t.ExactC<t.PartialC<{
2342
2342
  text: t.StringC;
2343
2343
  }>>]>]>;
2344
2344
  }>>, t.ExactC<t.TypeC<{
@@ -2652,7 +2652,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2652
2652
  text: t.StringC;
2653
2653
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2654
2654
  __TYPE__: t.LiteralC<"AnyLink">;
2655
- }>>, t.ExactC<t.TypeC<{
2655
+ }>>, t.ExactC<t.PartialC<{
2656
2656
  text: t.StringC;
2657
2657
  }>>]>]>;
2658
2658
  }>>>;
@@ -181,7 +181,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
181
181
  text: t.StringC;
182
182
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
183
183
  __TYPE__: t.LiteralC<"AnyLink">;
184
- }>>, t.ExactC<t.TypeC<{
184
+ }>>, t.ExactC<t.PartialC<{
185
185
  text: t.StringC;
186
186
  }>>]>]>;
187
187
  }>>, t.ExactC<t.TypeC<{
@@ -495,7 +495,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
495
495
  text: t.StringC;
496
496
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
497
497
  __TYPE__: t.LiteralC<"AnyLink">;
498
- }>>, t.ExactC<t.TypeC<{
498
+ }>>, t.ExactC<t.PartialC<{
499
499
  text: t.StringC;
500
500
  }>>]>]>;
501
501
  }>>>;
@@ -679,7 +679,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
679
679
  })) | ({
680
680
  __TYPE__: "AnyLink";
681
681
  } & {
682
- text: string;
682
+ text?: string;
683
683
  });
684
684
  } | {
685
685
  __TYPE__: "RepeatableContent";
@@ -750,7 +750,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
750
750
  })) | ({
751
751
  __TYPE__: "AnyLink";
752
752
  } & {
753
- text: string;
753
+ text?: string;
754
754
  });
755
755
  }[];
756
756
  } | GroupContent | {
@@ -1088,7 +1088,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1088
1088
  })) | ({
1089
1089
  __TYPE__: "AnyLink";
1090
1090
  } & {
1091
- text: string;
1091
+ text?: string;
1092
1092
  });
1093
1093
  }> | import("fp-ts/lib/Either").Right<{
1094
1094
  __TYPE__: "RepeatableContent";
@@ -1159,7 +1159,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1159
1159
  })) | ({
1160
1160
  __TYPE__: "AnyLink";
1161
1161
  } & {
1162
- text: string;
1162
+ text?: string;
1163
1163
  });
1164
1164
  }[];
1165
1165
  }> | import("fp-ts/lib/Either").Right<{
@@ -178,7 +178,7 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
178
178
  text: t.StringC;
179
179
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
180
180
  __TYPE__: t.LiteralC<"AnyLink">;
181
- }>>, t.ExactC<t.TypeC<{
181
+ }>>, t.ExactC<t.PartialC<{
182
182
  text: t.StringC;
183
183
  }>>]>]>;
184
184
  }>>, t.ExactC<t.TypeC<{
@@ -492,7 +492,7 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
492
492
  text: t.StringC;
493
493
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
494
494
  __TYPE__: t.LiteralC<"AnyLink">;
495
- }>>, t.ExactC<t.TypeC<{
495
+ }>>, t.ExactC<t.PartialC<{
496
496
  text: t.StringC;
497
497
  }>>]>]>;
498
498
  }>>>;
@@ -678,7 +678,7 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
678
678
  })) | ({
679
679
  __TYPE__: "AnyLink";
680
680
  } & {
681
- text: string;
681
+ text?: string;
682
682
  });
683
683
  }> | import("fp-ts/lib/Either").Right<{
684
684
  __TYPE__: "RepeatableContent";
@@ -749,7 +749,7 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
749
749
  })) | ({
750
750
  __TYPE__: "AnyLink";
751
751
  } & {
752
- text: string;
752
+ text?: string;
753
753
  });
754
754
  }[];
755
755
  }> | import("fp-ts/lib/Either").Right<{
@@ -1088,7 +1088,7 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1088
1088
  })) | ({
1089
1089
  __TYPE__: "AnyLink";
1090
1090
  } & {
1091
- text: string;
1091
+ text?: string;
1092
1092
  });
1093
1093
  } | {
1094
1094
  __TYPE__: "RepeatableContent";
@@ -1159,7 +1159,7 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1159
1159
  })) | ({
1160
1160
  __TYPE__: "AnyLink";
1161
1161
  } & {
1162
- text: string;
1162
+ text?: string;
1163
1163
  });
1164
1164
  }[];
1165
1165
  } | GroupContent | {
@@ -179,7 +179,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
179
179
  })) | ({
180
180
  __TYPE__: "AnyLink";
181
181
  } & {
182
- text: string;
182
+ text?: string;
183
183
  });
184
184
  }> | import("fp-ts/lib/Either").Right<{
185
185
  __TYPE__: "RepeatableContent";
@@ -250,7 +250,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
250
250
  })) | ({
251
251
  __TYPE__: "AnyLink";
252
252
  } & {
253
- text: string;
253
+ text?: string;
254
254
  });
255
255
  }[];
256
256
  }> | import("fp-ts/lib/Either").Right<{
@@ -589,7 +589,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
589
589
  })) | ({
590
590
  __TYPE__: "AnyLink";
591
591
  } & {
592
- text: string;
592
+ text?: string;
593
593
  });
594
594
  } | {
595
595
  __TYPE__: "RepeatableContent";
@@ -660,7 +660,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
660
660
  })) | ({
661
661
  __TYPE__: "AnyLink";
662
662
  } & {
663
- text: string;
663
+ text?: string;
664
664
  });
665
665
  }[];
666
666
  } | {
@@ -1000,7 +1000,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1000
1000
  })) | ({
1001
1001
  __TYPE__: "AnyLink";
1002
1002
  } & {
1003
- text: string;
1003
+ text?: string;
1004
1004
  });
1005
1005
  } | {
1006
1006
  __TYPE__: "RepeatableContent";
@@ -1071,7 +1071,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1071
1071
  })) | ({
1072
1072
  __TYPE__: "AnyLink";
1073
1073
  } & {
1074
- text: string;
1074
+ text?: string;
1075
1075
  });
1076
1076
  }[];
1077
1077
  } | import("../..").GroupContent | {
@@ -1413,7 +1413,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1413
1413
  })) | ({
1414
1414
  __TYPE__: "AnyLink";
1415
1415
  } & {
1416
- text: string;
1416
+ text?: string;
1417
1417
  });
1418
1418
  } | {
1419
1419
  __TYPE__: "RepeatableContent";
@@ -1484,7 +1484,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1484
1484
  })) | ({
1485
1485
  __TYPE__: "AnyLink";
1486
1486
  } & {
1487
- text: string;
1487
+ text?: string;
1488
1488
  });
1489
1489
  }[];
1490
1490
  } | import("../..").GroupContent | {
@@ -1824,7 +1824,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1824
1824
  })) | ({
1825
1825
  __TYPE__: "AnyLink";
1826
1826
  } & {
1827
- text: string;
1827
+ text?: string;
1828
1828
  });
1829
1829
  } | {
1830
1830
  __TYPE__: "RepeatableContent";
@@ -1895,7 +1895,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1895
1895
  })) | ({
1896
1896
  __TYPE__: "AnyLink";
1897
1897
  } & {
1898
- text: string;
1898
+ text?: string;
1899
1899
  });
1900
1900
  }[];
1901
1901
  } | import("../..").GroupContent | {
@@ -2237,7 +2237,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2237
2237
  text: t.StringC;
2238
2238
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2239
2239
  __TYPE__: t.LiteralC<"AnyLink">;
2240
- }>>, t.ExactC<t.TypeC<{
2240
+ }>>, t.ExactC<t.PartialC<{
2241
2241
  text: t.StringC;
2242
2242
  }>>]>]>;
2243
2243
  }>>, t.ExactC<t.TypeC<{
@@ -2551,7 +2551,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2551
2551
  text: t.StringC;
2552
2552
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2553
2553
  __TYPE__: t.LiteralC<"AnyLink">;
2554
- }>>, t.ExactC<t.TypeC<{
2554
+ }>>, t.ExactC<t.PartialC<{
2555
2555
  text: t.StringC;
2556
2556
  }>>]>]>;
2557
2557
  }>>>;
@@ -2735,7 +2735,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2735
2735
  text: t.StringC;
2736
2736
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2737
2737
  __TYPE__: t.LiteralC<"AnyLink">;
2738
- }>>, t.ExactC<t.TypeC<{
2738
+ }>>, t.ExactC<t.PartialC<{
2739
2739
  text: t.StringC;
2740
2740
  }>>]>]>;
2741
2741
  }>>, t.ExactC<t.TypeC<{
@@ -3049,7 +3049,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3049
3049
  text: t.StringC;
3050
3050
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3051
3051
  __TYPE__: t.LiteralC<"AnyLink">;
3052
- }>>, t.ExactC<t.TypeC<{
3052
+ }>>, t.ExactC<t.PartialC<{
3053
3053
  text: t.StringC;
3054
3054
  }>>]>]>;
3055
3055
  }>>>;
@@ -3235,7 +3235,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3235
3235
  text: t.StringC;
3236
3236
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3237
3237
  __TYPE__: t.LiteralC<"AnyLink">;
3238
- }>>, t.ExactC<t.TypeC<{
3238
+ }>>, t.ExactC<t.PartialC<{
3239
3239
  text: t.StringC;
3240
3240
  }>>]>]>;
3241
3241
  }>>, t.ExactC<t.TypeC<{
@@ -3549,7 +3549,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3549
3549
  text: t.StringC;
3550
3550
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3551
3551
  __TYPE__: t.LiteralC<"AnyLink">;
3552
- }>>, t.ExactC<t.TypeC<{
3552
+ }>>, t.ExactC<t.PartialC<{
3553
3553
  text: t.StringC;
3554
3554
  }>>]>]>;
3555
3555
  }>>>;
@@ -3733,7 +3733,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3733
3733
  text: t.StringC;
3734
3734
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3735
3735
  __TYPE__: t.LiteralC<"AnyLink">;
3736
- }>>, t.ExactC<t.TypeC<{
3736
+ }>>, t.ExactC<t.PartialC<{
3737
3737
  text: t.StringC;
3738
3738
  }>>]>]>;
3739
3739
  }>>, t.ExactC<t.TypeC<{
@@ -4047,7 +4047,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4047
4047
  text: t.StringC;
4048
4048
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4049
4049
  __TYPE__: t.LiteralC<"AnyLink">;
4050
- }>>, t.ExactC<t.TypeC<{
4050
+ }>>, t.ExactC<t.PartialC<{
4051
4051
  text: t.StringC;
4052
4052
  }>>]>]>;
4053
4053
  }>>>;
@@ -4230,7 +4230,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4230
4230
  text: t.StringC;
4231
4231
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4232
4232
  __TYPE__: t.LiteralC<"AnyLink">;
4233
- }>>, t.ExactC<t.TypeC<{
4233
+ }>>, t.ExactC<t.PartialC<{
4234
4234
  text: t.StringC;
4235
4235
  }>>]>]>;
4236
4236
  }>>, t.ExactC<t.TypeC<{
@@ -4544,7 +4544,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4544
4544
  text: t.StringC;
4545
4545
  }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4546
4546
  __TYPE__: t.LiteralC<"AnyLink">;
4547
- }>>, t.ExactC<t.TypeC<{
4547
+ }>>, t.ExactC<t.PartialC<{
4548
4548
  text: t.StringC;
4549
4549
  }>>]>]>;
4550
4550
  }>>>;