@prismicio/types-internal 2.2.0-traverse.alpha-8 → 2.2.0-traverse.alpha-9

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.
@@ -323,7 +323,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
323
323
  preview?: {
324
324
  title?: string;
325
325
  } | null | undefined;
326
- });
326
+ }) | {
327
+ label: string;
328
+ };
327
329
  } & {
328
330
  start: number;
329
331
  end: number;
@@ -367,7 +369,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
367
369
  preview?: {
368
370
  title?: string;
369
371
  } | null | undefined;
370
- });
372
+ }) | {
373
+ label: string;
374
+ };
371
375
  } & {
372
376
  start: number;
373
377
  end: number;
@@ -701,7 +705,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
701
705
  preview?: {
702
706
  title?: string;
703
707
  } | null | undefined;
704
- });
708
+ }) | {
709
+ label: string;
710
+ };
705
711
  } & {
706
712
  start: number;
707
713
  end: number;
@@ -745,7 +751,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
745
751
  preview?: {
746
752
  title?: string;
747
753
  } | null | undefined;
748
- });
754
+ }) | {
755
+ label: string;
756
+ };
749
757
  } & {
750
758
  start: number;
751
759
  end: number;
@@ -1088,7 +1096,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1088
1096
  preview?: {
1089
1097
  title?: string;
1090
1098
  } | null | undefined;
1091
- });
1099
+ }) | {
1100
+ label: string;
1101
+ };
1092
1102
  } & {
1093
1103
  start: number;
1094
1104
  end: number;
@@ -1132,7 +1142,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1132
1142
  preview?: {
1133
1143
  title?: string;
1134
1144
  } | null | undefined;
1135
- });
1145
+ }) | {
1146
+ label: string;
1147
+ };
1136
1148
  } & {
1137
1149
  start: number;
1138
1150
  end: number;
@@ -1467,7 +1479,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1467
1479
  preview?: {
1468
1480
  title?: string;
1469
1481
  } | null | undefined;
1470
- });
1482
+ }) | {
1483
+ label: string;
1484
+ };
1471
1485
  } & {
1472
1486
  start: number;
1473
1487
  end: number;
@@ -1511,7 +1525,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1511
1525
  preview?: {
1512
1526
  title?: string;
1513
1527
  } | null | undefined;
1514
- });
1528
+ }) | {
1529
+ label: string;
1530
+ };
1515
1531
  } & {
1516
1532
  start: number;
1517
1533
  end: number;
@@ -1848,7 +1864,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1848
1864
  preview?: {
1849
1865
  title?: string;
1850
1866
  } | null | undefined;
1851
- });
1867
+ }) | {
1868
+ label: string;
1869
+ };
1852
1870
  } & {
1853
1871
  start: number;
1854
1872
  end: number;
@@ -1892,7 +1910,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
1892
1910
  preview?: {
1893
1911
  title?: string;
1894
1912
  } | null | undefined;
1895
- });
1913
+ }) | {
1914
+ label: string;
1915
+ };
1896
1916
  } & {
1897
1917
  start: number;
1898
1918
  end: number;
@@ -2227,7 +2247,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
2227
2247
  preview?: {
2228
2248
  title?: string;
2229
2249
  } | null | undefined;
2230
- });
2250
+ }) | {
2251
+ label: string;
2252
+ };
2231
2253
  } & {
2232
2254
  start: number;
2233
2255
  end: number;
@@ -2271,7 +2293,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
2271
2293
  preview?: {
2272
2294
  title?: string;
2273
2295
  } | null | undefined;
2274
- });
2296
+ }) | {
2297
+ label: string;
2298
+ };
2275
2299
  } & {
2276
2300
  start: number;
2277
2301
  end: number;
@@ -2605,7 +2629,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
2605
2629
  preview?: {
2606
2630
  title?: string;
2607
2631
  } | null | undefined;
2608
- });
2632
+ }) | {
2633
+ label: string;
2634
+ };
2609
2635
  } & {
2610
2636
  start: number;
2611
2637
  end: number;
@@ -2649,7 +2675,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
2649
2675
  preview?: {
2650
2676
  title?: string;
2651
2677
  } | null | undefined;
2652
- });
2678
+ }) | {
2679
+ label: string;
2680
+ };
2653
2681
  } & {
2654
2682
  start: number;
2655
2683
  end: number;
@@ -2985,7 +3013,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
2985
3013
  preview?: {
2986
3014
  title?: string;
2987
3015
  } | null | undefined;
2988
- });
3016
+ }) | {
3017
+ label: string;
3018
+ };
2989
3019
  } & {
2990
3020
  start: number;
2991
3021
  end: number;
@@ -3029,7 +3059,9 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
3029
3059
  preview?: {
3030
3060
  title?: string;
3031
3061
  } | null | undefined;
3032
- });
3062
+ }) | {
3063
+ label: string;
3064
+ };
3033
3065
  } & {
3034
3066
  start: number;
3035
3067
  end: number;
@@ -3338,7 +3370,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
3338
3370
  preview?: {
3339
3371
  title?: string;
3340
3372
  } | null | undefined;
3341
- });
3373
+ }) | {
3374
+ label: string;
3375
+ };
3342
3376
  } & {
3343
3377
  start: number;
3344
3378
  end: number;
@@ -3646,7 +3680,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
3646
3680
  preview?: {
3647
3681
  title?: string;
3648
3682
  } | null | undefined;
3649
- });
3683
+ }) | {
3684
+ label: string;
3685
+ };
3650
3686
  } & {
3651
3687
  start: number;
3652
3688
  end: number;
@@ -3961,7 +3997,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
3961
3997
  preview?: {
3962
3998
  title?: string;
3963
3999
  } | null | undefined;
3964
- });
4000
+ }) | {
4001
+ label: string;
4002
+ };
3965
4003
  } & {
3966
4004
  start: number;
3967
4005
  end: number;
@@ -4269,7 +4307,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
4269
4307
  preview?: {
4270
4308
  title?: string;
4271
4309
  } | null | undefined;
4272
- });
4310
+ }) | {
4311
+ label: string;
4312
+ };
4273
4313
  } & {
4274
4314
  start: number;
4275
4315
  end: number;
@@ -4578,7 +4618,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
4578
4618
  preview?: {
4579
4619
  title?: string;
4580
4620
  } | null | undefined;
4581
- });
4621
+ }) | {
4622
+ label: string;
4623
+ };
4582
4624
  } & {
4583
4625
  start: number;
4584
4626
  end: number;
@@ -4886,7 +4928,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
4886
4928
  preview?: {
4887
4929
  title?: string;
4888
4930
  } | null | undefined;
4889
- });
4931
+ }) | {
4932
+ label: string;
4933
+ };
4890
4934
  } & {
4891
4935
  start: number;
4892
4936
  end: number;
@@ -5196,7 +5240,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
5196
5240
  preview?: {
5197
5241
  title?: string;
5198
5242
  } | null | undefined;
5199
- });
5243
+ }) | {
5244
+ label: string;
5245
+ };
5200
5246
  } & {
5201
5247
  start: number;
5202
5248
  end: number;
@@ -5504,7 +5550,9 @@ export declare const isWidgetContent: (u: unknown) => u is {
5504
5550
  preview?: {
5505
5551
  title?: string;
5506
5552
  } | null | undefined;
5507
- });
5553
+ }) | {
5554
+ label: string;
5555
+ };
5508
5556
  } & {
5509
5557
  start: number;
5510
5558
  end: number;
@@ -5816,7 +5864,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5816
5864
  preview?: {
5817
5865
  title?: string;
5818
5866
  } | null | undefined;
5819
- });
5867
+ }) | {
5868
+ label: string;
5869
+ };
5820
5870
  } & {
5821
5871
  start: number;
5822
5872
  end: number;
@@ -6124,7 +6174,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6124
6174
  preview?: {
6125
6175
  title?: string;
6126
6176
  } | null | undefined;
6127
- });
6177
+ }) | {
6178
+ label: string;
6179
+ };
6128
6180
  } & {
6129
6181
  start: number;
6130
6182
  end: number;
@@ -6439,7 +6491,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6439
6491
  preview?: {
6440
6492
  title?: string;
6441
6493
  } | null | undefined;
6442
- });
6494
+ }) | {
6495
+ label: string;
6496
+ };
6443
6497
  } & {
6444
6498
  start: number;
6445
6499
  end: number;
@@ -6747,7 +6801,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6747
6801
  preview?: {
6748
6802
  title?: string;
6749
6803
  } | null | undefined;
6750
- });
6804
+ }) | {
6805
+ label: string;
6806
+ };
6751
6807
  } & {
6752
6808
  start: number;
6753
6809
  end: number;
@@ -7056,7 +7112,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7056
7112
  preview?: {
7057
7113
  title?: string;
7058
7114
  } | null | undefined;
7059
- });
7115
+ }) | {
7116
+ label: string;
7117
+ };
7060
7118
  } & {
7061
7119
  start: number;
7062
7120
  end: number;
@@ -7364,7 +7422,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7364
7422
  preview?: {
7365
7423
  title?: string;
7366
7424
  } | null | undefined;
7367
- });
7425
+ }) | {
7426
+ label: string;
7427
+ };
7368
7428
  } & {
7369
7429
  start: number;
7370
7430
  end: number;
@@ -7674,7 +7734,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7674
7734
  preview?: {
7675
7735
  title?: string;
7676
7736
  } | null | undefined;
7677
- });
7737
+ }) | {
7738
+ label: string;
7739
+ };
7678
7740
  } & {
7679
7741
  start: number;
7680
7742
  end: number;
@@ -7982,7 +8044,9 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7982
8044
  preview?: {
7983
8045
  title?: string;
7984
8046
  } | null | undefined;
7985
- });
8047
+ }) | {
8048
+ label: string;
8049
+ };
7986
8050
  } & {
7987
8051
  start: number;
7988
8052
  end: number;
@@ -319,7 +319,9 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
319
319
  preview?: {
320
320
  title?: string;
321
321
  } | null | undefined;
322
- });
322
+ }) | {
323
+ label: string;
324
+ };
323
325
  } & {
324
326
  start: number;
325
327
  end: number;
@@ -363,7 +365,9 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
363
365
  preview?: {
364
366
  title?: string;
365
367
  } | null | undefined;
366
- });
368
+ }) | {
369
+ label: string;
370
+ };
367
371
  } & {
368
372
  start: number;
369
373
  end: number;
@@ -670,7 +674,9 @@ export declare const isNestableContent: (u: unknown) => u is {
670
674
  preview?: {
671
675
  title?: string;
672
676
  } | null | undefined;
673
- });
677
+ }) | {
678
+ label: string;
679
+ };
674
680
  } & {
675
681
  start: number;
676
682
  end: number;
@@ -976,7 +982,9 @@ export declare const NestableLegacy: (ctx: LegacyContentCtx) => {
976
982
  preview?: {
977
983
  title?: string;
978
984
  } | null | undefined;
979
- });
985
+ }) | {
986
+ label: string;
987
+ };
980
988
  } & {
981
989
  start: number;
982
990
  end: number;
@@ -1,6 +1,6 @@
1
1
  import * as t from "io-ts";
2
2
  export declare const Span: t.ExactC<t.IntersectionC<[t.PartialC<{
3
- data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
3
+ data: t.UnionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4
4
  __TYPE__: t.LiteralC<"ImageLink">;
5
5
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
6
6
  id: t.StringC;
@@ -106,7 +106,9 @@ export declare const Span: t.ExactC<t.IntersectionC<[t.PartialC<{
106
106
  preview?: {
107
107
  title?: string;
108
108
  } | null | undefined;
109
- }, unknown>]>;
109
+ }, unknown>]>, t.ExactC<t.TypeC<{
110
+ label: t.StringC;
111
+ }>>]>;
110
112
  }>, t.TypeC<{
111
113
  start: t.NumberC;
112
114
  end: t.NumberC;
@@ -131,7 +133,7 @@ export declare const Span: t.ExactC<t.IntersectionC<[t.PartialC<{
131
133
  }>]>>;
132
134
  export declare type Span = t.TypeOf<typeof Span>;
133
135
  export declare const SpanLegacy: t.ExactC<t.IntersectionC<[t.PartialC<{
134
- data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
136
+ data: t.UnionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
135
137
  __TYPE__: t.LiteralC<"ImageLink">;
136
138
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
137
139
  id: t.StringC;
@@ -237,7 +239,9 @@ export declare const SpanLegacy: t.ExactC<t.IntersectionC<[t.PartialC<{
237
239
  preview?: {
238
240
  title?: string;
239
241
  } | null | undefined;
240
- }, unknown>]>;
242
+ }, unknown>]>, t.ExactC<t.TypeC<{
243
+ label: t.StringC;
244
+ }>>]>;
241
245
  }>, t.TypeC<{
242
246
  start: t.NumberC;
243
247
  end: t.NumberC;
@@ -262,7 +266,7 @@ export declare const SpanLegacy: t.ExactC<t.IntersectionC<[t.PartialC<{
262
266
  }>]>>;
263
267
  export declare type SpanLegacy = t.TypeOf<typeof SpanLegacy>;
264
268
  export declare const ValidatedSpans: <C extends t.ExactC<t.IntersectionC<[t.PartialC<{
265
- data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
269
+ data: t.UnionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
266
270
  __TYPE__: t.LiteralC<"ImageLink">;
267
271
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
268
272
  id: t.StringC;
@@ -368,7 +372,9 @@ export declare const ValidatedSpans: <C extends t.ExactC<t.IntersectionC<[t.Part
368
372
  preview?: {
369
373
  title?: string;
370
374
  } | null | undefined;
371
- }, unknown>]>;
375
+ }, unknown>]>, t.ExactC<t.TypeC<{
376
+ label: t.StringC;
377
+ }>>]>;
372
378
  }>, t.TypeC<{
373
379
  start: t.NumberC;
374
380
  end: t.NumberC;
@@ -561,7 +567,9 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
561
567
  preview?: {
562
568
  title?: string;
563
569
  } | null | undefined;
564
- });
570
+ }) | {
571
+ label: string;
572
+ };
565
573
  } & {
566
574
  start: number;
567
575
  end: number;
@@ -605,7 +613,9 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
605
613
  preview?: {
606
614
  title?: string;
607
615
  } | null | undefined;
608
- });
616
+ }) | {
617
+ label: string;
618
+ };
609
619
  } & {
610
620
  start: number;
611
621
  end: number;
@@ -753,7 +763,9 @@ export declare const BlockLegacy: t.Type<({
753
763
  preview?: {
754
764
  title?: string;
755
765
  } | null | undefined;
756
- });
766
+ }) | {
767
+ label: string;
768
+ };
757
769
  } & {
758
770
  start: number;
759
771
  end: number;
@@ -899,7 +911,9 @@ export declare const BlockLegacy: t.Type<({
899
911
  preview?: {
900
912
  title?: string;
901
913
  } | null | undefined;
902
- });
914
+ }) | {
915
+ label: string;
916
+ };
903
917
  } & {
904
918
  start: number;
905
919
  end: number;
@@ -1074,7 +1088,9 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1074
1088
  preview?: {
1075
1089
  title?: string;
1076
1090
  } | null | undefined;
1077
- });
1091
+ }) | {
1092
+ label: string;
1093
+ };
1078
1094
  } & {
1079
1095
  start: number;
1080
1096
  end: number;
@@ -1118,7 +1134,9 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1118
1134
  preview?: {
1119
1135
  title?: string;
1120
1136
  } | null | undefined;
1121
- });
1137
+ }) | {
1138
+ label: string;
1139
+ };
1122
1140
  } & {
1123
1141
  start: number;
1124
1142
  end: number;
@@ -12,9 +12,12 @@ const function_2 = require("../../../../validators/function");
12
12
  const EmbedContent_1 = require("../EmbedContent");
13
13
  const ImageContent_1 = require("../ImageContent");
14
14
  const LinkContent_1 = require("../LinkContent");
15
+ const labelCodec = t.strict({
16
+ label: t.string,
17
+ });
15
18
  const SpanFn = (linkCodec) => t.exact(t.intersection([
16
19
  t.partial({
17
- data: linkCodec,
20
+ data: t.union([linkCodec, labelCodec]),
18
21
  }),
19
22
  t.type({
20
23
  start: t.number,
@@ -30,7 +33,13 @@ const ValidatedSpans = (spanCodec) => {
30
33
  const res = spans
31
34
  .reduce((acc, maybeSpan) => {
32
35
  const decodedSpan = spanCodec.decode(maybeSpan);
33
- return (0, Either_1.isRight)(decodedSpan) ? [...acc, decodedSpan.right] : acc;
36
+ if ((0, Either_1.isLeft)(decodedSpan))
37
+ return acc;
38
+ if ((decodedSpan.right.type === "hyperlink" ||
39
+ decodedSpan.right.type === "label") &&
40
+ !decodedSpan.right.data)
41
+ return acc;
42
+ return [...acc, decodedSpan.right];
34
43
  }, [])
35
44
  .sort((m1, m2) => m1.start - m2.start);
36
45
  return t.success(res);
@@ -139,7 +139,9 @@ export declare const isRichTextContent: (u: unknown) => u is {
139
139
  preview?: {
140
140
  title?: string;
141
141
  } | null | undefined;
142
- });
142
+ }) | {
143
+ label: string;
144
+ };
143
145
  } & {
144
146
  start: number;
145
147
  end: number;
@@ -317,7 +319,9 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
317
319
  preview?: {
318
320
  title?: string;
319
321
  } | null | undefined;
320
- });
322
+ }) | {
323
+ label: string;
324
+ };
321
325
  } & {
322
326
  start: number;
323
327
  end: number;
@@ -361,7 +365,9 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
361
365
  preview?: {
362
366
  title?: string;
363
367
  } | null | undefined;
364
- });
368
+ }) | {
369
+ label: string;
370
+ };
365
371
  } & {
366
372
  start: number;
367
373
  end: number;
@@ -513,7 +519,9 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
513
519
  preview?: {
514
520
  title?: string;
515
521
  } | null | undefined;
516
- });
522
+ }) | {
523
+ label: string;
524
+ };
517
525
  } & {
518
526
  start: number;
519
527
  end: number;
@@ -660,7 +668,9 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
660
668
  preview?: {
661
669
  title?: string;
662
670
  } | null | undefined;
663
- });
671
+ }) | {
672
+ label: string;
673
+ };
664
674
  } & {
665
675
  start: number;
666
676
  end: number;
@@ -298,7 +298,9 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
298
298
  preview?: {
299
299
  title?: string;
300
300
  } | null | undefined;
301
- });
301
+ }) | {
302
+ label: string;
303
+ };
302
304
  } & {
303
305
  start: number;
304
306
  end: number;
@@ -606,7 +608,9 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
606
608
  preview?: {
607
609
  title?: string;
608
610
  } | null | undefined;
609
- });
611
+ }) | {
612
+ label: string;
613
+ };
610
614
  } & {
611
615
  start: number;
612
616
  end: number;
@@ -916,7 +920,9 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
916
920
  preview?: {
917
921
  title?: string;
918
922
  } | null | undefined;
919
- });
923
+ }) | {
924
+ label: string;
925
+ };
920
926
  } & {
921
927
  start: number;
922
928
  end: number;
@@ -1224,7 +1230,9 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1224
1230
  preview?: {
1225
1231
  title?: string;
1226
1232
  } | null | undefined;
1227
- });
1233
+ }) | {
1234
+ label: string;
1235
+ };
1228
1236
  } & {
1229
1237
  start: number;
1230
1238
  end: number;
@@ -1566,7 +1574,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1566
1574
  preview?: {
1567
1575
  title?: string;
1568
1576
  } | null | undefined;
1569
- });
1577
+ }) | {
1578
+ label: string;
1579
+ };
1570
1580
  } & {
1571
1581
  start: number;
1572
1582
  end: number;
@@ -1610,7 +1620,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1610
1620
  preview?: {
1611
1621
  title?: string;
1612
1622
  } | null | undefined;
1613
- });
1623
+ }) | {
1624
+ label: string;
1625
+ };
1614
1626
  } & {
1615
1627
  start: number;
1616
1628
  end: number;
@@ -1945,7 +1957,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1945
1957
  preview?: {
1946
1958
  title?: string;
1947
1959
  } | null | undefined;
1948
- });
1960
+ }) | {
1961
+ label: string;
1962
+ };
1949
1963
  } & {
1950
1964
  start: number;
1951
1965
  end: number;
@@ -1989,7 +2003,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1989
2003
  preview?: {
1990
2004
  title?: string;
1991
2005
  } | null | undefined;
1992
- });
2006
+ }) | {
2007
+ label: string;
2008
+ };
1993
2009
  } & {
1994
2010
  start: number;
1995
2011
  end: number;