@prismicio/types-internal 3.7.0-alpha.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -678,9 +678,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
678
678
  direction: t.StringC;
679
679
  }>]>>]>>;
680
680
  }>>;
681
- }>>, t.PartialC<{
681
+ }>>, t.ExactC<t.PartialC<{
682
682
  columnWidth: t.NumberC;
683
- }>]>>;
683
+ }>>]>>;
684
684
  }>>>;
685
685
  }>>, t.ExactC<t.TypeC<{
686
686
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -1448,9 +1448,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1448
1448
  direction: t.StringC;
1449
1449
  }>]>>]>>;
1450
1450
  }>>;
1451
- }>>, t.PartialC<{
1451
+ }>>, t.ExactC<t.PartialC<{
1452
1452
  columnWidth: t.NumberC;
1453
- }>]>>;
1453
+ }>>]>>;
1454
1454
  }>>>;
1455
1455
  }>>, t.ExactC<t.TypeC<{
1456
1456
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2210,9 +2210,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2210
2210
  direction: t.StringC;
2211
2211
  }>]>>]>>;
2212
2212
  }>>;
2213
- }>>, t.PartialC<{
2213
+ }>>, t.ExactC<t.PartialC<{
2214
2214
  columnWidth: t.NumberC;
2215
- }>]>>;
2215
+ }>>]>>;
2216
2216
  }>>>;
2217
2217
  }>>, t.ExactC<t.TypeC<{
2218
2218
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2974,9 +2974,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2974
2974
  direction: t.StringC;
2975
2975
  }>]>>]>>;
2976
2976
  }>>;
2977
- }>>, t.PartialC<{
2977
+ }>>, t.ExactC<t.PartialC<{
2978
2978
  columnWidth: t.NumberC;
2979
- }>]>>;
2979
+ }>>]>>;
2980
2980
  }>>>;
2981
2981
  }>>, t.ExactC<t.TypeC<{
2982
2982
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3736,9 +3736,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3736
3736
  direction: t.StringC;
3737
3737
  }>]>>]>>;
3738
3738
  }>>;
3739
- }>>, t.PartialC<{
3739
+ }>>, t.ExactC<t.PartialC<{
3740
3740
  columnWidth: t.NumberC;
3741
- }>]>>;
3741
+ }>>]>>;
3742
3742
  }>>>;
3743
3743
  }>>, t.ExactC<t.TypeC<{
3744
3744
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -4497,9 +4497,9 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
4497
4497
  direction: t.StringC;
4498
4498
  }>]>>]>>;
4499
4499
  }>>;
4500
- }>>, t.PartialC<{
4500
+ }>>, t.ExactC<t.PartialC<{
4501
4501
  columnWidth: t.NumberC;
4502
- }>]>>;
4502
+ }>>]>>;
4503
4503
  }>>>;
4504
4504
  }>>, t.ExactC<t.TypeC<{
4505
4505
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -675,9 +675,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
675
675
  direction: t.StringC;
676
676
  }>]>>]>>;
677
677
  }>>;
678
- }>>, t.PartialC<{
678
+ }>>, t.ExactC<t.PartialC<{
679
679
  columnWidth: t.NumberC;
680
- }>]>>;
680
+ }>>]>>;
681
681
  }>>>;
682
682
  }>>, t.ExactC<t.TypeC<{
683
683
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -1445,9 +1445,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1445
1445
  direction: t.StringC;
1446
1446
  }>]>>]>>;
1447
1447
  }>>;
1448
- }>>, t.PartialC<{
1448
+ }>>, t.ExactC<t.PartialC<{
1449
1449
  columnWidth: t.NumberC;
1450
- }>]>>;
1450
+ }>>]>>;
1451
1451
  }>>>;
1452
1452
  }>>, t.ExactC<t.TypeC<{
1453
1453
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2207,9 +2207,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2207
2207
  direction: t.StringC;
2208
2208
  }>]>>]>>;
2209
2209
  }>>;
2210
- }>>, t.PartialC<{
2210
+ }>>, t.ExactC<t.PartialC<{
2211
2211
  columnWidth: t.NumberC;
2212
- }>]>>;
2212
+ }>>]>>;
2213
2213
  }>>>;
2214
2214
  }>>, t.ExactC<t.TypeC<{
2215
2215
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2971,9 +2971,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2971
2971
  direction: t.StringC;
2972
2972
  }>]>>]>>;
2973
2973
  }>>;
2974
- }>>, t.PartialC<{
2974
+ }>>, t.ExactC<t.PartialC<{
2975
2975
  columnWidth: t.NumberC;
2976
- }>]>>;
2976
+ }>>]>>;
2977
2977
  }>>>;
2978
2978
  }>>, t.ExactC<t.TypeC<{
2979
2979
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3733,9 +3733,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3733
3733
  direction: t.StringC;
3734
3734
  }>]>>]>>;
3735
3735
  }>>;
3736
- }>>, t.PartialC<{
3736
+ }>>, t.ExactC<t.PartialC<{
3737
3737
  columnWidth: t.NumberC;
3738
- }>]>>;
3738
+ }>>]>>;
3739
3739
  }>>>;
3740
3740
  }>>, t.ExactC<t.TypeC<{
3741
3741
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -4494,9 +4494,9 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
4494
4494
  direction: t.StringC;
4495
4495
  }>]>>]>>;
4496
4496
  }>>;
4497
- }>>, t.PartialC<{
4497
+ }>>, t.ExactC<t.PartialC<{
4498
4498
  columnWidth: t.NumberC;
4499
- }>]>>;
4499
+ }>>]>>;
4500
4500
  }>>>;
4501
4501
  }>>, t.ExactC<t.TypeC<{
4502
4502
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -675,9 +675,9 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
675
675
  direction: t.StringC;
676
676
  }>]>>]>>;
677
677
  }>>;
678
- }>>, t.PartialC<{
678
+ }>>, t.ExactC<t.PartialC<{
679
679
  columnWidth: t.NumberC;
680
- }>]>>;
680
+ }>>]>>;
681
681
  }>>>;
682
682
  }>>, t.ExactC<t.TypeC<{
683
683
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -414,9 +414,9 @@ export declare const TableContent: t.ExactC<t.TypeC<{
414
414
  direction: t.StringC;
415
415
  }>]>>]>>;
416
416
  }>>;
417
- }>>, t.PartialC<{
417
+ }>>, t.ExactC<t.PartialC<{
418
418
  columnWidth: t.NumberC;
419
- }>]>>;
419
+ }>>]>>;
420
420
  }>>>;
421
421
  }>>;
422
422
  export declare type TableContent = t.TypeOf<typeof TableContent>;
@@ -16,9 +16,9 @@ const TableCell = t.intersection([
16
16
  type: t.union([t.literal("tableHeader"), t.literal("tableCell")]),
17
17
  content: RichTextContent_1.RichTextContent,
18
18
  }),
19
- t.partial({
19
+ t.exact(t.partial({
20
20
  columnWidth: t.number,
21
- }),
21
+ })),
22
22
  ]);
23
23
  const TableRow = t.strict({
24
24
  type: t.literal("tableRow"),
@@ -34,9 +34,9 @@ const TableCellLegacy = t.intersection([
34
34
  type: t.union([t.literal("tableHeader"), t.literal("tableCell")]),
35
35
  content: RichTextContent_1.RichTextLegacyContent,
36
36
  }),
37
- t.partial({
37
+ t.exact(t.partial({
38
38
  columnWidth: t.number,
39
- }),
39
+ })),
40
40
  ]);
41
41
  const TableRowLegacy = t.strict({
42
42
  type: t.literal("tableRow"),
@@ -3045,9 +3045,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3045
3045
  direction: t.StringC;
3046
3046
  }>]>>]>>;
3047
3047
  }>>;
3048
- }>>, t.PartialC<{
3048
+ }>>, t.ExactC<t.PartialC<{
3049
3049
  columnWidth: t.NumberC;
3050
- }>]>>;
3050
+ }>>]>>;
3051
3051
  }>>>;
3052
3052
  }>>, t.ExactC<t.TypeC<{
3053
3053
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3807,9 +3807,9 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3807
3807
  direction: t.StringC;
3808
3808
  }>]>>]>>;
3809
3809
  }>>;
3810
- }>>, t.PartialC<{
3810
+ }>>, t.ExactC<t.PartialC<{
3811
3811
  columnWidth: t.NumberC;
3812
- }>]>>;
3812
+ }>>]>>;
3813
3813
  }>>>;
3814
3814
  }>>, t.ExactC<t.TypeC<{
3815
3815
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -680,9 +680,9 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
680
680
  direction: t.StringC;
681
681
  }>]>>]>>;
682
682
  }>>;
683
- }>>, t.PartialC<{
683
+ }>>, t.ExactC<t.PartialC<{
684
684
  columnWidth: t.NumberC;
685
- }>]>>;
685
+ }>>]>>;
686
686
  }>>>;
687
687
  }>>, t.ExactC<t.TypeC<{
688
688
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3049,9 +3049,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
3049
3049
  direction: t.StringC;
3050
3050
  }>]>>]>>;
3051
3051
  }>>;
3052
- }>>, t.PartialC<{
3052
+ }>>, t.ExactC<t.PartialC<{
3053
3053
  columnWidth: t.NumberC;
3054
- }>]>>;
3054
+ }>>]>>;
3055
3055
  }>>>;
3056
3056
  }>>, t.ExactC<t.TypeC<{
3057
3057
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3811,9 +3811,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
3811
3811
  direction: t.StringC;
3812
3812
  }>]>>]>>;
3813
3813
  }>>;
3814
- }>>, t.PartialC<{
3814
+ }>>, t.ExactC<t.PartialC<{
3815
3815
  columnWidth: t.NumberC;
3816
- }>]>>;
3816
+ }>>]>>;
3817
3817
  }>>>;
3818
3818
  }>>, t.ExactC<t.TypeC<{
3819
3819
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -678,9 +678,9 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
678
678
  direction: t.StringC;
679
679
  }>]>>]>>;
680
680
  }>>;
681
- }>>, t.PartialC<{
681
+ }>>, t.ExactC<t.PartialC<{
682
682
  columnWidth: t.NumberC;
683
- }>]>>;
683
+ }>>]>>;
684
684
  }>>>;
685
685
  }>>, t.ExactC<t.TypeC<{
686
686
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -675,9 +675,9 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
675
675
  direction: t.StringC;
676
676
  }>]>>]>>;
677
677
  }>>;
678
- }>>, t.PartialC<{
678
+ }>>, t.ExactC<t.PartialC<{
679
679
  columnWidth: t.NumberC;
680
- }>]>>;
680
+ }>>]>>;
681
681
  }>>>;
682
682
  }>>, t.ExactC<t.TypeC<{
683
683
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3624,9 +3624,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3624
3624
  direction: t.StringC;
3625
3625
  }>]>>]>>;
3626
3626
  }>>;
3627
- }>>, t.PartialC<{
3627
+ }>>, t.ExactC<t.PartialC<{
3628
3628
  columnWidth: t.NumberC;
3629
- }>]>>;
3629
+ }>>]>>;
3630
3630
  }>>>;
3631
3631
  }>>, t.ExactC<t.TypeC<{
3632
3632
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -4386,9 +4386,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
4386
4386
  direction: t.StringC;
4387
4387
  }>]>>]>>;
4388
4388
  }>>;
4389
- }>>, t.PartialC<{
4389
+ }>>, t.ExactC<t.PartialC<{
4390
4390
  columnWidth: t.NumberC;
4391
- }>]>>;
4391
+ }>>]>>;
4392
4392
  }>>>;
4393
4393
  }>>, t.ExactC<t.TypeC<{
4394
4394
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -5150,9 +5150,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
5150
5150
  direction: t.StringC;
5151
5151
  }>]>>]>>;
5152
5152
  }>>;
5153
- }>>, t.PartialC<{
5153
+ }>>, t.ExactC<t.PartialC<{
5154
5154
  columnWidth: t.NumberC;
5155
- }>]>>;
5155
+ }>>]>>;
5156
5156
  }>>>;
5157
5157
  }>>, t.ExactC<t.TypeC<{
5158
5158
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -5912,9 +5912,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
5912
5912
  direction: t.StringC;
5913
5913
  }>]>>]>>;
5914
5914
  }>>;
5915
- }>>, t.PartialC<{
5915
+ }>>, t.ExactC<t.PartialC<{
5916
5916
  columnWidth: t.NumberC;
5917
- }>]>>;
5917
+ }>>]>>;
5918
5918
  }>>>;
5919
5919
  }>>, t.ExactC<t.TypeC<{
5920
5920
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -6673,9 +6673,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
6673
6673
  direction: t.StringC;
6674
6674
  }>]>>]>>;
6675
6675
  }>>;
6676
- }>>, t.PartialC<{
6676
+ }>>, t.ExactC<t.PartialC<{
6677
6677
  columnWidth: t.NumberC;
6678
- }>]>>;
6678
+ }>>]>>;
6679
6679
  }>>>;
6680
6680
  }>>, t.ExactC<t.TypeC<{
6681
6681
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -686,9 +686,9 @@ export declare const SliceItemContent: t.TypeC<{
686
686
  direction: t.StringC;
687
687
  }>]>>]>>;
688
688
  }>>;
689
- }>>, t.PartialC<{
689
+ }>>, t.ExactC<t.PartialC<{
690
690
  columnWidth: t.NumberC;
691
- }>]>>;
691
+ }>>]>>;
692
692
  }>>>;
693
693
  }>>, t.ExactC<t.TypeC<{
694
694
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -1448,9 +1448,9 @@ export declare const SliceItemContent: t.TypeC<{
1448
1448
  direction: t.StringC;
1449
1449
  }>]>>]>>;
1450
1450
  }>>;
1451
- }>>, t.PartialC<{
1451
+ }>>, t.ExactC<t.PartialC<{
1452
1452
  columnWidth: t.NumberC;
1453
- }>]>>;
1453
+ }>>]>>;
1454
1454
  }>>>;
1455
1455
  }>>, t.ExactC<t.TypeC<{
1456
1456
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2212,9 +2212,9 @@ export declare const SliceItemContent: t.TypeC<{
2212
2212
  direction: t.StringC;
2213
2213
  }>]>>]>>;
2214
2214
  }>>;
2215
- }>>, t.PartialC<{
2215
+ }>>, t.ExactC<t.PartialC<{
2216
2216
  columnWidth: t.NumberC;
2217
- }>]>>;
2217
+ }>>]>>;
2218
2218
  }>>>;
2219
2219
  }>>, t.ExactC<t.TypeC<{
2220
2220
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -2974,9 +2974,9 @@ export declare const SliceItemContent: t.TypeC<{
2974
2974
  direction: t.StringC;
2975
2975
  }>]>>]>>;
2976
2976
  }>>;
2977
- }>>, t.PartialC<{
2977
+ }>>, t.ExactC<t.PartialC<{
2978
2978
  columnWidth: t.NumberC;
2979
- }>]>>;
2979
+ }>>]>>;
2980
2980
  }>>>;
2981
2981
  }>>, t.ExactC<t.TypeC<{
2982
2982
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -3735,9 +3735,9 @@ export declare const SliceItemContent: t.TypeC<{
3735
3735
  direction: t.StringC;
3736
3736
  }>]>>]>>;
3737
3737
  }>>;
3738
- }>>, t.PartialC<{
3738
+ }>>, t.ExactC<t.PartialC<{
3739
3739
  columnWidth: t.NumberC;
3740
- }>]>>;
3740
+ }>>]>>;
3741
3741
  }>>>;
3742
3742
  }>>, t.ExactC<t.TypeC<{
3743
3743
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -6592,9 +6592,9 @@ export declare const SlicesContent: t.TypeC<{
6592
6592
  direction: t.StringC;
6593
6593
  }>]>>]>>;
6594
6594
  }>>;
6595
- }>>, t.PartialC<{
6595
+ }>>, t.ExactC<t.PartialC<{
6596
6596
  columnWidth: t.NumberC;
6597
- }>]>>;
6597
+ }>>]>>;
6598
6598
  }>>>;
6599
6599
  }>>, t.ExactC<t.TypeC<{
6600
6600
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -7354,9 +7354,9 @@ export declare const SlicesContent: t.TypeC<{
7354
7354
  direction: t.StringC;
7355
7355
  }>]>>]>>;
7356
7356
  }>>;
7357
- }>>, t.PartialC<{
7357
+ }>>, t.ExactC<t.PartialC<{
7358
7358
  columnWidth: t.NumberC;
7359
- }>]>>;
7359
+ }>>]>>;
7360
7360
  }>>>;
7361
7361
  }>>, t.ExactC<t.TypeC<{
7362
7362
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -8118,9 +8118,9 @@ export declare const SlicesContent: t.TypeC<{
8118
8118
  direction: t.StringC;
8119
8119
  }>]>>]>>;
8120
8120
  }>>;
8121
- }>>, t.PartialC<{
8121
+ }>>, t.ExactC<t.PartialC<{
8122
8122
  columnWidth: t.NumberC;
8123
- }>]>>;
8123
+ }>>]>>;
8124
8124
  }>>>;
8125
8125
  }>>, t.ExactC<t.TypeC<{
8126
8126
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -8880,9 +8880,9 @@ export declare const SlicesContent: t.TypeC<{
8880
8880
  direction: t.StringC;
8881
8881
  }>]>>]>>;
8882
8882
  }>>;
8883
- }>>, t.PartialC<{
8883
+ }>>, t.ExactC<t.PartialC<{
8884
8884
  columnWidth: t.NumberC;
8885
- }>]>>;
8885
+ }>>]>>;
8886
8886
  }>>>;
8887
8887
  }>>, t.ExactC<t.TypeC<{
8888
8888
  __TYPE__: t.LiteralC<"RepeatableContent">;
@@ -9641,9 +9641,9 @@ export declare const SlicesContent: t.TypeC<{
9641
9641
  direction: t.StringC;
9642
9642
  }>]>>]>>;
9643
9643
  }>>;
9644
- }>>, t.PartialC<{
9644
+ }>>, t.ExactC<t.PartialC<{
9645
9645
  columnWidth: t.NumberC;
9646
- }>]>>;
9646
+ }>>]>>;
9647
9647
  }>>>;
9648
9648
  }>>, t.ExactC<t.TypeC<{
9649
9649
  __TYPE__: t.LiteralC<"RepeatableContent">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "3.7.0-alpha.0",
3
+ "version": "3.7.0",
4
4
  "description": "Prismic types for Custom Types and Prismic Data",
5
5
  "keywords": [
6
6
  "typescript",
@@ -77,6 +77,5 @@
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public"
80
- },
81
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
80
+ }
82
81
  }
@@ -24,9 +24,11 @@ const TableCell = t.intersection([
24
24
  type: t.union([t.literal("tableHeader"), t.literal("tableCell")]),
25
25
  content: RichTextContent,
26
26
  }),
27
- t.partial({
28
- columnWidth: t.number,
29
- }),
27
+ t.exact(
28
+ t.partial({
29
+ columnWidth: t.number,
30
+ }),
31
+ ),
30
32
  ])
31
33
 
32
34
  const TableRow = t.strict({
@@ -47,9 +49,11 @@ const TableCellLegacy = t.intersection([
47
49
  type: t.union([t.literal("tableHeader"), t.literal("tableCell")]),
48
50
  content: RichTextLegacyContent,
49
51
  }),
50
- t.partial({
51
- columnWidth: t.number,
52
- }),
52
+ t.exact(
53
+ t.partial({
54
+ columnWidth: t.number,
55
+ }),
56
+ ),
53
57
  ])
54
58
 
55
59
  const TableRowLegacy = t.strict({