@prismicio/types-internal 2.0.0-alpha.7 → 2.0.0-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.
Files changed (31) hide show
  1. package/lib/content/Document.d.ts +632 -56
  2. package/lib/content/fields/GroupContent.d.ts +199 -19
  3. package/lib/content/fields/WidgetContent.d.ts +960 -96
  4. package/lib/content/fields/index.d.ts +1 -0
  5. package/lib/content/fields/index.js +1 -0
  6. package/lib/content/fields/nestable/EmbedContent.d.ts +44 -41
  7. package/lib/content/fields/nestable/EmbedContent.js +15 -38
  8. package/lib/content/fields/nestable/NestableContent.d.ts +120 -13
  9. package/lib/content/fields/nestable/NestableContent.js +2 -1
  10. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +76 -5
  11. package/lib/content/fields/nestable/RichTextContent/Blocks.js +15 -7
  12. package/lib/content/fields/nestable/RichTextContent/index.d.ts +76 -4
  13. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +240 -24
  14. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +79 -7
  15. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +240 -24
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +199 -19
  17. package/lib/content/fields/slices/Slice/index.d.ts +436 -37
  18. package/lib/content/fields/slices/Slice/index.js +3 -0
  19. package/lib/content/fields/slices/SliceItem.d.ts +474 -42
  20. package/lib/content/fields/slices/SliceItem.js +2 -2
  21. package/lib/content/fields/slices/SlicesContent.d.ts +720 -72
  22. package/lib/content/fields/slices/index.d.ts +1 -3
  23. package/lib/content/fields/slices/index.js +1 -3
  24. package/package.json +1 -1
  25. package/src/content/fields/index.ts +1 -0
  26. package/src/content/fields/nestable/EmbedContent.ts +20 -59
  27. package/src/content/fields/nestable/NestableContent.ts +3 -2
  28. package/src/content/fields/nestable/RichTextContent/Blocks.ts +19 -8
  29. package/src/content/fields/slices/Slice/index.ts +4 -0
  30. package/src/content/fields/slices/SliceItem.ts +2 -2
  31. package/src/content/fields/slices/index.ts +1 -3
@@ -2,9 +2,30 @@ import * as t from "io-ts";
2
2
  import type { LegacyContentCtx } from "../../../LegacyContentCtx";
3
3
  export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
4
4
  decode: (value: unknown) => import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
5
+ type: string;
6
+ __TYPE__: "EmptyContent";
7
+ }> | import("fp-ts/lib/Either").Right<{
5
8
  __TYPE__: "BooleanContent";
6
9
  value: boolean;
7
- }> | import("fp-ts/lib/Either").Right<import("../..").EmbedContent> | import("fp-ts/lib/Either").Right<{
10
+ }> | import("fp-ts/lib/Either").Right<{
11
+ embed_url: string;
12
+ type: string;
13
+ } & {
14
+ version?: string | number | null;
15
+ title?: string | null | undefined;
16
+ author_name?: string | null | undefined;
17
+ author_url?: string | null | undefined;
18
+ provider_name?: string | null | undefined;
19
+ provider_url?: string | null | undefined;
20
+ cache_age?: string | number | null;
21
+ thumbnail_url?: string | null | undefined;
22
+ thumbnail_width?: number | null | undefined;
23
+ thumbnail_height?: number | null | undefined;
24
+ html?: string | null | undefined;
25
+ } & {
26
+ __TYPE__: "EmbedContent";
27
+ all: unknown;
28
+ }> | import("fp-ts/lib/Either").Right<{
8
29
  type: "Color";
9
30
  value: string;
10
31
  __TYPE__: "FieldContent";
@@ -133,9 +154,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
133
154
  title?: string;
134
155
  } | null | undefined;
135
156
  });
136
- }> | import("fp-ts/lib/Either").Right<{
137
- type: string;
138
- __TYPE__: "EmptyContent";
139
157
  }> | import("fp-ts/lib/Either").Right<{
140
158
  __TYPE__: "StructuredTextContent";
141
159
  value: (({
@@ -208,7 +226,25 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
208
226
  direction?: string | null | undefined;
209
227
  }) | ({
210
228
  type: "embed";
211
- data: import("../..").EmbedContent;
229
+ data: {
230
+ embed_url: string;
231
+ type: string;
232
+ } & {
233
+ version?: string | number | null;
234
+ title?: string | null | undefined;
235
+ author_name?: string | null | undefined;
236
+ author_url?: string | null | undefined;
237
+ provider_name?: string | null | undefined;
238
+ provider_url?: string | null | undefined;
239
+ cache_age?: string | number | null;
240
+ thumbnail_url?: string | null | undefined;
241
+ thumbnail_width?: number | null | undefined;
242
+ thumbnail_height?: number | null | undefined;
243
+ html?: string | null | undefined;
244
+ } & {
245
+ __TYPE__: "EmbedContent";
246
+ all: unknown;
247
+ };
212
248
  } & {
213
249
  label?: string | null | undefined;
214
250
  direction?: string | null | undefined;
@@ -235,9 +271,30 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
235
271
  __TYPE__: "CompositeSliceContent";
236
272
  nonRepeat: {
237
273
  [x: string]: {
274
+ type: string;
275
+ __TYPE__: "EmptyContent";
276
+ } | {
238
277
  __TYPE__: "BooleanContent";
239
278
  value: boolean;
240
- } | import("../..").EmbedContent | {
279
+ } | ({
280
+ embed_url: string;
281
+ type: string;
282
+ } & {
283
+ version?: string | number | null;
284
+ title?: string | null | undefined;
285
+ author_name?: string | null | undefined;
286
+ author_url?: string | null | undefined;
287
+ provider_name?: string | null | undefined;
288
+ provider_url?: string | null | undefined;
289
+ cache_age?: string | number | null;
290
+ thumbnail_url?: string | null | undefined;
291
+ thumbnail_width?: number | null | undefined;
292
+ thumbnail_height?: number | null | undefined;
293
+ html?: string | null | undefined;
294
+ } & {
295
+ __TYPE__: "EmbedContent";
296
+ all: unknown;
297
+ }) | {
241
298
  type: "Color";
242
299
  value: string;
243
300
  __TYPE__: "FieldContent";
@@ -366,9 +423,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
366
423
  title?: string;
367
424
  } | null | undefined;
368
425
  });
369
- } | {
370
- type: string;
371
- __TYPE__: "EmptyContent";
372
426
  } | {
373
427
  __TYPE__: "StructuredTextContent";
374
428
  value: (({
@@ -441,7 +495,25 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
441
495
  direction?: string | null | undefined;
442
496
  }) | ({
443
497
  type: "embed";
444
- data: import("../..").EmbedContent;
498
+ data: {
499
+ embed_url: string;
500
+ type: string;
501
+ } & {
502
+ version?: string | number | null;
503
+ title?: string | null | undefined;
504
+ author_name?: string | null | undefined;
505
+ author_url?: string | null | undefined;
506
+ provider_name?: string | null | undefined;
507
+ provider_url?: string | null | undefined;
508
+ cache_age?: string | number | null;
509
+ thumbnail_url?: string | null | undefined;
510
+ thumbnail_width?: number | null | undefined;
511
+ thumbnail_height?: number | null | undefined;
512
+ html?: string | null | undefined;
513
+ } & {
514
+ __TYPE__: "EmbedContent";
515
+ all: unknown;
516
+ };
445
517
  } & {
446
518
  label?: string | null | undefined;
447
519
  direction?: string | null | undefined;
@@ -469,9 +541,30 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
469
541
  repeat: {
470
542
  __TYPE__: "GroupItemContent";
471
543
  value: [string, {
544
+ type: string;
545
+ __TYPE__: "EmptyContent";
546
+ } | {
472
547
  __TYPE__: "BooleanContent";
473
548
  value: boolean;
474
- } | import("../..").EmbedContent | {
549
+ } | ({
550
+ embed_url: string;
551
+ type: string;
552
+ } & {
553
+ version?: string | number | null;
554
+ title?: string | null | undefined;
555
+ author_name?: string | null | undefined;
556
+ author_url?: string | null | undefined;
557
+ provider_name?: string | null | undefined;
558
+ provider_url?: string | null | undefined;
559
+ cache_age?: string | number | null;
560
+ thumbnail_url?: string | null | undefined;
561
+ thumbnail_width?: number | null | undefined;
562
+ thumbnail_height?: number | null | undefined;
563
+ html?: string | null | undefined;
564
+ } & {
565
+ __TYPE__: "EmbedContent";
566
+ all: unknown;
567
+ }) | {
475
568
  type: "Color";
476
569
  value: string;
477
570
  __TYPE__: "FieldContent";
@@ -600,9 +693,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
600
693
  title?: string;
601
694
  } | null | undefined;
602
695
  });
603
- } | {
604
- type: string;
605
- __TYPE__: "EmptyContent";
606
696
  } | {
607
697
  __TYPE__: "StructuredTextContent";
608
698
  value: (({
@@ -675,7 +765,25 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
675
765
  direction?: string | null | undefined;
676
766
  }) | ({
677
767
  type: "embed";
678
- data: import("../..").EmbedContent;
768
+ data: {
769
+ embed_url: string;
770
+ type: string;
771
+ } & {
772
+ version?: string | number | null;
773
+ title?: string | null | undefined;
774
+ author_name?: string | null | undefined;
775
+ author_url?: string | null | undefined;
776
+ provider_name?: string | null | undefined;
777
+ provider_url?: string | null | undefined;
778
+ cache_age?: string | number | null;
779
+ thumbnail_url?: string | null | undefined;
780
+ thumbnail_width?: number | null | undefined;
781
+ thumbnail_height?: number | null | undefined;
782
+ html?: string | null | undefined;
783
+ } & {
784
+ __TYPE__: "EmbedContent";
785
+ all: unknown;
786
+ };
679
787
  } & {
680
788
  label?: string | null | undefined;
681
789
  direction?: string | null | undefined;
@@ -705,9 +813,30 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
705
813
  variation: string;
706
814
  primary: {
707
815
  [x: string]: {
816
+ type: string;
817
+ __TYPE__: "EmptyContent";
818
+ } | {
708
819
  __TYPE__: "BooleanContent";
709
820
  value: boolean;
710
- } | import("../..").EmbedContent | {
821
+ } | ({
822
+ embed_url: string;
823
+ type: string;
824
+ } & {
825
+ version?: string | number | null;
826
+ title?: string | null | undefined;
827
+ author_name?: string | null | undefined;
828
+ author_url?: string | null | undefined;
829
+ provider_name?: string | null | undefined;
830
+ provider_url?: string | null | undefined;
831
+ cache_age?: string | number | null;
832
+ thumbnail_url?: string | null | undefined;
833
+ thumbnail_width?: number | null | undefined;
834
+ thumbnail_height?: number | null | undefined;
835
+ html?: string | null | undefined;
836
+ } & {
837
+ __TYPE__: "EmbedContent";
838
+ all: unknown;
839
+ }) | {
711
840
  type: "Color";
712
841
  value: string;
713
842
  __TYPE__: "FieldContent";
@@ -836,9 +965,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
836
965
  title?: string;
837
966
  } | null | undefined;
838
967
  });
839
- } | {
840
- type: string;
841
- __TYPE__: "EmptyContent";
842
968
  } | {
843
969
  __TYPE__: "StructuredTextContent";
844
970
  value: (({
@@ -911,7 +1037,25 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
911
1037
  direction?: string | null | undefined;
912
1038
  }) | ({
913
1039
  type: "embed";
914
- data: import("../..").EmbedContent;
1040
+ data: {
1041
+ embed_url: string;
1042
+ type: string;
1043
+ } & {
1044
+ version?: string | number | null;
1045
+ title?: string | null | undefined;
1046
+ author_name?: string | null | undefined;
1047
+ author_url?: string | null | undefined;
1048
+ provider_name?: string | null | undefined;
1049
+ provider_url?: string | null | undefined;
1050
+ cache_age?: string | number | null;
1051
+ thumbnail_url?: string | null | undefined;
1052
+ thumbnail_width?: number | null | undefined;
1053
+ thumbnail_height?: number | null | undefined;
1054
+ html?: string | null | undefined;
1055
+ } & {
1056
+ __TYPE__: "EmbedContent";
1057
+ all: unknown;
1058
+ };
915
1059
  } & {
916
1060
  label?: string | null | undefined;
917
1061
  direction?: string | null | undefined;
@@ -939,9 +1083,30 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
939
1083
  items: {
940
1084
  __TYPE__: "GroupItemContent";
941
1085
  value: [string, {
1086
+ type: string;
1087
+ __TYPE__: "EmptyContent";
1088
+ } | {
942
1089
  __TYPE__: "BooleanContent";
943
1090
  value: boolean;
944
- } | import("../..").EmbedContent | {
1091
+ } | ({
1092
+ embed_url: string;
1093
+ type: string;
1094
+ } & {
1095
+ version?: string | number | null;
1096
+ title?: string | null | undefined;
1097
+ author_name?: string | null | undefined;
1098
+ author_url?: string | null | undefined;
1099
+ provider_name?: string | null | undefined;
1100
+ provider_url?: string | null | undefined;
1101
+ cache_age?: string | number | null;
1102
+ thumbnail_url?: string | null | undefined;
1103
+ thumbnail_width?: number | null | undefined;
1104
+ thumbnail_height?: number | null | undefined;
1105
+ html?: string | null | undefined;
1106
+ } & {
1107
+ __TYPE__: "EmbedContent";
1108
+ all: unknown;
1109
+ }) | {
945
1110
  type: "Color";
946
1111
  value: string;
947
1112
  __TYPE__: "FieldContent";
@@ -1070,9 +1235,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1070
1235
  title?: string;
1071
1236
  } | null | undefined;
1072
1237
  });
1073
- } | {
1074
- type: string;
1075
- __TYPE__: "EmptyContent";
1076
1238
  } | {
1077
1239
  __TYPE__: "StructuredTextContent";
1078
1240
  value: (({
@@ -1145,7 +1307,25 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1145
1307
  direction?: string | null | undefined;
1146
1308
  }) | ({
1147
1309
  type: "embed";
1148
- data: import("../..").EmbedContent;
1310
+ data: {
1311
+ embed_url: string;
1312
+ type: string;
1313
+ } & {
1314
+ version?: string | number | null;
1315
+ title?: string | null | undefined;
1316
+ author_name?: string | null | undefined;
1317
+ author_url?: string | null | undefined;
1318
+ provider_name?: string | null | undefined;
1319
+ provider_url?: string | null | undefined;
1320
+ cache_age?: string | number | null;
1321
+ thumbnail_url?: string | null | undefined;
1322
+ thumbnail_width?: number | null | undefined;
1323
+ thumbnail_height?: number | null | undefined;
1324
+ html?: string | null | undefined;
1325
+ } & {
1326
+ __TYPE__: "EmbedContent";
1327
+ all: unknown;
1328
+ };
1149
1329
  } & {
1150
1330
  label?: string | null | undefined;
1151
1331
  direction?: string | null | undefined;
@@ -1181,7 +1361,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1181
1361
  }>>, t.ExactC<t.TypeC<{
1182
1362
  __TYPE__: t.LiteralC<"BooleanContent">;
1183
1363
  value: t.BooleanC;
1184
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
1364
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1365
+ embed_url: t.StringC;
1366
+ type: t.StringC;
1367
+ }>, t.PartialC<{
1368
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1369
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1370
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1371
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1372
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1373
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1374
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1375
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1376
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1377
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1378
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1379
+ }>]>>, t.ExactC<t.TypeC<{
1380
+ __TYPE__: t.LiteralC<"EmbedContent">;
1381
+ all: t.UnknownC;
1382
+ }>>]>, t.ExactC<t.TypeC<{
1185
1383
  type: t.LiteralC<"Text">;
1186
1384
  value: t.Type<string, string, unknown>;
1187
1385
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -1420,7 +1618,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1420
1618
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1421
1619
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1422
1620
  type: t.LiteralC<"embed">;
1423
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
1621
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1622
+ embed_url: t.StringC;
1623
+ type: t.StringC;
1624
+ }>, t.PartialC<{
1625
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1626
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1627
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1628
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1629
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1630
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1631
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1632
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1633
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1634
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1635
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1636
+ }>]>>, t.ExactC<t.TypeC<{
1637
+ __TYPE__: t.LiteralC<"EmbedContent">;
1638
+ all: t.UnknownC;
1639
+ }>>]>;
1424
1640
  }>, t.PartialC<{
1425
1641
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1426
1642
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1458,7 +1674,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1458
1674
  }>>, t.ExactC<t.TypeC<{
1459
1675
  __TYPE__: t.LiteralC<"BooleanContent">;
1460
1676
  value: t.BooleanC;
1461
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
1677
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1678
+ embed_url: t.StringC;
1679
+ type: t.StringC;
1680
+ }>, t.PartialC<{
1681
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1682
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1683
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1684
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1685
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1686
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1687
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1688
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1689
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1690
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1691
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1692
+ }>]>>, t.ExactC<t.TypeC<{
1693
+ __TYPE__: t.LiteralC<"EmbedContent">;
1694
+ all: t.UnknownC;
1695
+ }>>]>, t.ExactC<t.TypeC<{
1462
1696
  type: t.LiteralC<"Text">;
1463
1697
  value: t.Type<string, string, unknown>;
1464
1698
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -1697,7 +1931,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1697
1931
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1698
1932
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1699
1933
  type: t.LiteralC<"embed">;
1700
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
1934
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1935
+ embed_url: t.StringC;
1936
+ type: t.StringC;
1937
+ }>, t.PartialC<{
1938
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1939
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1940
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1941
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1942
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1943
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1944
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1945
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1946
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1947
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
1948
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1949
+ }>]>>, t.ExactC<t.TypeC<{
1950
+ __TYPE__: t.LiteralC<"EmbedContent">;
1951
+ all: t.UnknownC;
1952
+ }>>]>;
1701
1953
  }>, t.PartialC<{
1702
1954
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1703
1955
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1737,7 +1989,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1737
1989
  }>>, t.ExactC<t.TypeC<{
1738
1990
  __TYPE__: t.LiteralC<"BooleanContent">;
1739
1991
  value: t.BooleanC;
1740
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
1992
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1993
+ embed_url: t.StringC;
1994
+ type: t.StringC;
1995
+ }>, t.PartialC<{
1996
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
1997
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1998
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1999
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2000
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2001
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2002
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2003
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2004
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2005
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2006
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2007
+ }>]>>, t.ExactC<t.TypeC<{
2008
+ __TYPE__: t.LiteralC<"EmbedContent">;
2009
+ all: t.UnknownC;
2010
+ }>>]>, t.ExactC<t.TypeC<{
1741
2011
  type: t.LiteralC<"Text">;
1742
2012
  value: t.Type<string, string, unknown>;
1743
2013
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -1976,7 +2246,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1976
2246
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1977
2247
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1978
2248
  type: t.LiteralC<"embed">;
1979
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
2249
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2250
+ embed_url: t.StringC;
2251
+ type: t.StringC;
2252
+ }>, t.PartialC<{
2253
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2254
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2255
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2256
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2257
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2258
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2259
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2260
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2261
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2262
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2263
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2264
+ }>]>>, t.ExactC<t.TypeC<{
2265
+ __TYPE__: t.LiteralC<"EmbedContent">;
2266
+ all: t.UnknownC;
2267
+ }>>]>;
1980
2268
  }>, t.PartialC<{
1981
2269
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1982
2270
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2014,7 +2302,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2014
2302
  }>>, t.ExactC<t.TypeC<{
2015
2303
  __TYPE__: t.LiteralC<"BooleanContent">;
2016
2304
  value: t.BooleanC;
2017
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
2305
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2306
+ embed_url: t.StringC;
2307
+ type: t.StringC;
2308
+ }>, t.PartialC<{
2309
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2310
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2311
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2312
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2313
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2314
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2315
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2316
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2317
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2318
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2319
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2320
+ }>]>>, t.ExactC<t.TypeC<{
2321
+ __TYPE__: t.LiteralC<"EmbedContent">;
2322
+ all: t.UnknownC;
2323
+ }>>]>, t.ExactC<t.TypeC<{
2018
2324
  type: t.LiteralC<"Text">;
2019
2325
  value: t.Type<string, string, unknown>;
2020
2326
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -2253,7 +2559,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2253
2559
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2254
2560
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2255
2561
  type: t.LiteralC<"embed">;
2256
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
2562
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2563
+ embed_url: t.StringC;
2564
+ type: t.StringC;
2565
+ }>, t.PartialC<{
2566
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2567
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2568
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2569
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2570
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2571
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2572
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2573
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2574
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2575
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2576
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2577
+ }>]>>, t.ExactC<t.TypeC<{
2578
+ __TYPE__: t.LiteralC<"EmbedContent">;
2579
+ all: t.UnknownC;
2580
+ }>>]>;
2257
2581
  }>, t.PartialC<{
2258
2582
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2259
2583
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2290,7 +2614,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2290
2614
  }>>, t.ExactC<t.TypeC<{
2291
2615
  __TYPE__: t.LiteralC<"BooleanContent">;
2292
2616
  value: t.BooleanC;
2293
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
2617
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2618
+ embed_url: t.StringC;
2619
+ type: t.StringC;
2620
+ }>, t.PartialC<{
2621
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2622
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2623
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2624
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2625
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2626
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2627
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2628
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2629
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2630
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2631
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2632
+ }>]>>, t.ExactC<t.TypeC<{
2633
+ __TYPE__: t.LiteralC<"EmbedContent">;
2634
+ all: t.UnknownC;
2635
+ }>>]>, t.ExactC<t.TypeC<{
2294
2636
  type: t.LiteralC<"Text">;
2295
2637
  value: t.Type<string, string, unknown>;
2296
2638
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -2529,7 +2871,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2529
2871
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2530
2872
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2531
2873
  type: t.LiteralC<"embed">;
2532
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
2874
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2875
+ embed_url: t.StringC;
2876
+ type: t.StringC;
2877
+ }>, t.PartialC<{
2878
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2879
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2880
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2881
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2882
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2883
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2884
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2885
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2886
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2887
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2888
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2889
+ }>]>>, t.ExactC<t.TypeC<{
2890
+ __TYPE__: t.LiteralC<"EmbedContent">;
2891
+ all: t.UnknownC;
2892
+ }>>]>;
2533
2893
  }>, t.PartialC<{
2534
2894
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2535
2895
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2568,7 +2928,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2568
2928
  }>>, t.ExactC<t.TypeC<{
2569
2929
  __TYPE__: t.LiteralC<"BooleanContent">;
2570
2930
  value: t.BooleanC;
2571
- }>>, t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>, t.ExactC<t.TypeC<{
2931
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2932
+ embed_url: t.StringC;
2933
+ type: t.StringC;
2934
+ }>, t.PartialC<{
2935
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2936
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2937
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2938
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2939
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2940
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2941
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2942
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2943
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2944
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2945
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2946
+ }>]>>, t.ExactC<t.TypeC<{
2947
+ __TYPE__: t.LiteralC<"EmbedContent">;
2948
+ all: t.UnknownC;
2949
+ }>>]>, t.ExactC<t.TypeC<{
2572
2950
  type: t.LiteralC<"Text">;
2573
2951
  value: t.Type<string, string, unknown>;
2574
2952
  __TYPE__: t.LiteralC<"FieldContent">;
@@ -2807,7 +3185,25 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2807
3185
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2808
3186
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2809
3187
  type: t.LiteralC<"embed">;
2810
- data: t.Type<import("../..").EmbedContent, import("../..").EmbedContent, unknown>;
3188
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3189
+ embed_url: t.StringC;
3190
+ type: t.StringC;
3191
+ }>, t.PartialC<{
3192
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3193
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3194
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3195
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3196
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3197
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3198
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3199
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3200
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3201
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3202
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3203
+ }>]>>, t.ExactC<t.TypeC<{
3204
+ __TYPE__: t.LiteralC<"EmbedContent">;
3205
+ all: t.UnknownC;
3206
+ }>>]>;
2811
3207
  }>, t.PartialC<{
2812
3208
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2813
3209
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2840,3 +3236,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2840
3236
  }>>>;
2841
3237
  }>>]>]>;
2842
3238
  export type SliceContent = t.TypeOf<typeof SliceContent>;
3239
+ export * from "./CompositeSliceContent";
3240
+ export * from "./SharedSliceContent";
3241
+ export * from "./SimpleSliceContent";