@prismicio/types-internal 4.8.0-pr.33.be0224f → 4.8.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.
package/dist/io-ts.d.ts CHANGED
@@ -228,9 +228,6 @@ declare const SharedSliceContentSchema: t.Type<{
228
228
  } | {
229
229
  type: string;
230
230
  __TYPE__: "EmptyContent";
231
- } | {
232
- __TYPE__: "IntegrationFieldsContent";
233
- value: string;
234
231
  } | {
235
232
  __TYPE__: "BooleanContent";
236
233
  value: boolean;
@@ -300,6 +297,9 @@ declare const SharedSliceContentSchema: t.Type<{
300
297
  provider?: string | null | undefined;
301
298
  }> | undefined;
302
299
  __TYPE__: "ImageContent";
300
+ } | {
301
+ __TYPE__: "IntegrationFieldsContent";
302
+ value: string;
303
303
  } | {
304
304
  __TYPE__: "LinkContent";
305
305
  key: string;
@@ -377,9 +377,6 @@ declare const SharedSliceContentSchema: t.Type<{
377
377
  } | {
378
378
  type: string;
379
379
  __TYPE__: "EmptyContent";
380
- } | {
381
- __TYPE__: "IntegrationFieldsContent";
382
- value: string;
383
380
  } | {
384
381
  __TYPE__: "BooleanContent";
385
382
  value: boolean;
@@ -449,6 +446,9 @@ declare const SharedSliceContentSchema: t.Type<{
449
446
  provider?: string | null | undefined;
450
447
  }> | undefined;
451
448
  __TYPE__: "ImageContent";
449
+ } | {
450
+ __TYPE__: "IntegrationFieldsContent";
451
+ value: string;
452
452
  } | {
453
453
  __TYPE__: "LinkContent";
454
454
  key: string;
@@ -841,9 +841,6 @@ declare const NestableContentSchema: t.Type<{
841
841
  } | {
842
842
  type: string;
843
843
  __TYPE__: "EmptyContent";
844
- } | {
845
- __TYPE__: "IntegrationFieldsContent";
846
- value: string;
847
844
  } | {
848
845
  __TYPE__: "BooleanContent";
849
846
  value: boolean;
@@ -913,6 +910,9 @@ declare const NestableContentSchema: t.Type<{
913
910
  provider?: string | null | undefined;
914
911
  }> | undefined;
915
912
  __TYPE__: "ImageContent";
913
+ } | {
914
+ __TYPE__: "IntegrationFieldsContent";
915
+ value: string;
916
916
  } | {
917
917
  __TYPE__: "LinkContent";
918
918
  key: string;
@@ -982,9 +982,6 @@ declare const NestableContentSchema: t.Type<{
982
982
  } | {
983
983
  type: string;
984
984
  __TYPE__: "EmptyContent";
985
- } | {
986
- __TYPE__: "IntegrationFieldsContent";
987
- value: string;
988
985
  } | {
989
986
  __TYPE__: "BooleanContent";
990
987
  value: boolean;
@@ -1054,6 +1051,9 @@ declare const NestableContentSchema: t.Type<{
1054
1051
  provider?: string | null | undefined;
1055
1052
  }> | undefined;
1056
1053
  __TYPE__: "ImageContent";
1054
+ } | {
1055
+ __TYPE__: "IntegrationFieldsContent";
1056
+ value: string;
1057
1057
  } | {
1058
1058
  __TYPE__: "LinkContent";
1059
1059
  key: string;
@@ -1134,9 +1134,6 @@ declare const CompositeSliceContentSchema: t.Type<{
1134
1134
  } | {
1135
1135
  type: string;
1136
1136
  __TYPE__: "EmptyContent";
1137
- } | {
1138
- __TYPE__: "IntegrationFieldsContent";
1139
- value: string;
1140
1137
  } | {
1141
1138
  __TYPE__: "BooleanContent";
1142
1139
  value: boolean;
@@ -1206,6 +1203,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1206
1203
  provider?: string | null | undefined;
1207
1204
  }> | undefined;
1208
1205
  __TYPE__: "ImageContent";
1206
+ } | {
1207
+ __TYPE__: "IntegrationFieldsContent";
1208
+ value: string;
1209
1209
  } | {
1210
1210
  __TYPE__: "LinkContent";
1211
1211
  key: string;
@@ -1279,9 +1279,6 @@ declare const CompositeSliceContentSchema: t.Type<{
1279
1279
  } | {
1280
1280
  type: string;
1281
1281
  __TYPE__: "EmptyContent";
1282
- } | {
1283
- __TYPE__: "IntegrationFieldsContent";
1284
- value: string;
1285
1282
  } | {
1286
1283
  __TYPE__: "BooleanContent";
1287
1284
  value: boolean;
@@ -1351,6 +1348,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1351
1348
  provider?: string | null | undefined;
1352
1349
  }> | undefined;
1353
1350
  __TYPE__: "ImageContent";
1351
+ } | {
1352
+ __TYPE__: "IntegrationFieldsContent";
1353
+ value: string;
1354
1354
  } | {
1355
1355
  __TYPE__: "LinkContent";
1356
1356
  key: string;
@@ -1423,9 +1423,6 @@ declare const LegacySliceContentSchema: t.Type<{
1423
1423
  } | {
1424
1424
  type: string;
1425
1425
  __TYPE__: "EmptyContent";
1426
- } | {
1427
- __TYPE__: "IntegrationFieldsContent";
1428
- value: string;
1429
1426
  } | {
1430
1427
  __TYPE__: "BooleanContent";
1431
1428
  value: boolean;
@@ -1495,6 +1492,9 @@ declare const LegacySliceContentSchema: t.Type<{
1495
1492
  provider?: string | null | undefined;
1496
1493
  }> | undefined;
1497
1494
  __TYPE__: "ImageContent";
1495
+ } | {
1496
+ __TYPE__: "IntegrationFieldsContent";
1497
+ value: string;
1498
1498
  } | {
1499
1499
  __TYPE__: "LinkContent";
1500
1500
  key: string;
@@ -1567,9 +1567,6 @@ declare const LegacySliceContentSchema: t.Type<{
1567
1567
  } | {
1568
1568
  type: string;
1569
1569
  __TYPE__: "EmptyContent";
1570
- } | {
1571
- __TYPE__: "IntegrationFieldsContent";
1572
- value: string;
1573
1570
  } | {
1574
1571
  __TYPE__: "BooleanContent";
1575
1572
  value: boolean;
@@ -1639,6 +1636,9 @@ declare const LegacySliceContentSchema: t.Type<{
1639
1636
  provider?: string | null | undefined;
1640
1637
  }> | undefined;
1641
1638
  __TYPE__: "ImageContent";
1639
+ } | {
1640
+ __TYPE__: "IntegrationFieldsContent";
1641
+ value: string;
1642
1642
  } | {
1643
1643
  __TYPE__: "LinkContent";
1644
1644
  key: string;
@@ -1717,9 +1717,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
1717
1717
  } | {
1718
1718
  type: string;
1719
1719
  __TYPE__: "EmptyContent";
1720
- } | {
1721
- __TYPE__: "IntegrationFieldsContent";
1722
- value: string;
1723
1720
  } | {
1724
1721
  __TYPE__: "BooleanContent";
1725
1722
  value: boolean;
@@ -1789,6 +1786,9 @@ declare const LegacySliceItemContentSchema: t.Type<{
1789
1786
  provider?: string | null | undefined;
1790
1787
  }> | undefined;
1791
1788
  __TYPE__: "ImageContent";
1789
+ } | {
1790
+ __TYPE__: "IntegrationFieldsContent";
1791
+ value: string;
1792
1792
  } | {
1793
1793
  __TYPE__: "LinkContent";
1794
1794
  key: string;
@@ -1866,9 +1866,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
1866
1866
  } | {
1867
1867
  type: string;
1868
1868
  __TYPE__: "EmptyContent";
1869
- } | {
1870
- __TYPE__: "IntegrationFieldsContent";
1871
- value: string;
1872
1869
  } | {
1873
1870
  __TYPE__: "BooleanContent";
1874
1871
  value: boolean;
@@ -1938,6 +1935,9 @@ declare const LegacySliceItemContentSchema: t.Type<{
1938
1935
  provider?: string | null | undefined;
1939
1936
  }> | undefined;
1940
1937
  __TYPE__: "ImageContent";
1938
+ } | {
1939
+ __TYPE__: "IntegrationFieldsContent";
1940
+ value: string;
1941
1941
  } | {
1942
1942
  __TYPE__: "LinkContent";
1943
1943
  key: string;
@@ -2018,9 +2018,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2018
2018
  } | {
2019
2019
  type: string;
2020
2020
  __TYPE__: "EmptyContent";
2021
- } | {
2022
- __TYPE__: "IntegrationFieldsContent";
2023
- value: string;
2024
2021
  } | {
2025
2022
  __TYPE__: "BooleanContent";
2026
2023
  value: boolean;
@@ -2090,6 +2087,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2090
2087
  provider?: string | null | undefined;
2091
2088
  }> | undefined;
2092
2089
  __TYPE__: "ImageContent";
2090
+ } | {
2091
+ __TYPE__: "IntegrationFieldsContent";
2092
+ value: string;
2093
2093
  } | {
2094
2094
  __TYPE__: "LinkContent";
2095
2095
  key: string;
@@ -2168,9 +2168,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2168
2168
  } | {
2169
2169
  type: string;
2170
2170
  __TYPE__: "EmptyContent";
2171
- } | {
2172
- __TYPE__: "IntegrationFieldsContent";
2173
- value: string;
2174
2171
  } | {
2175
2172
  __TYPE__: "BooleanContent";
2176
2173
  value: boolean;
@@ -2240,6 +2237,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2240
2237
  provider?: string | null | undefined;
2241
2238
  }> | undefined;
2242
2239
  __TYPE__: "ImageContent";
2240
+ } | {
2241
+ __TYPE__: "IntegrationFieldsContent";
2242
+ value: string;
2243
2243
  } | {
2244
2244
  __TYPE__: "LinkContent";
2245
2245
  key: string;
@@ -2320,9 +2320,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
2320
2320
  } | {
2321
2321
  type: string;
2322
2322
  __TYPE__: "EmptyContent";
2323
- } | {
2324
- __TYPE__: "IntegrationFieldsContent";
2325
- value: string;
2326
2323
  } | {
2327
2324
  __TYPE__: "BooleanContent";
2328
2325
  value: boolean;
@@ -2392,6 +2389,9 @@ declare const SharedSliceItemContentSchema: t.Type<{
2392
2389
  provider?: string | null | undefined;
2393
2390
  }> | undefined;
2394
2391
  __TYPE__: "ImageContent";
2392
+ } | {
2393
+ __TYPE__: "IntegrationFieldsContent";
2394
+ value: string;
2395
2395
  } | {
2396
2396
  __TYPE__: "LinkContent";
2397
2397
  key: string;
@@ -2474,9 +2474,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
2474
2474
  } | {
2475
2475
  type: string;
2476
2476
  __TYPE__: "EmptyContent";
2477
- } | {
2478
- __TYPE__: "IntegrationFieldsContent";
2479
- value: string;
2480
2477
  } | {
2481
2478
  __TYPE__: "BooleanContent";
2482
2479
  value: boolean;
@@ -2546,6 +2543,9 @@ declare const SharedSliceItemContentSchema: t.Type<{
2546
2543
  provider?: string | null | undefined;
2547
2544
  }> | undefined;
2548
2545
  __TYPE__: "ImageContent";
2546
+ } | {
2547
+ __TYPE__: "IntegrationFieldsContent";
2548
+ value: string;
2549
2549
  } | {
2550
2550
  __TYPE__: "LinkContent";
2551
2551
  key: string;
@@ -3049,9 +3049,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3049
3049
  } | {
3050
3050
  type: string;
3051
3051
  __TYPE__: "EmptyContent";
3052
- } | {
3053
- __TYPE__: "IntegrationFieldsContent";
3054
- value: string;
3055
3052
  } | {
3056
3053
  __TYPE__: "BooleanContent";
3057
3054
  value: boolean;
@@ -3121,6 +3118,9 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3121
3118
  provider?: string | null | undefined;
3122
3119
  }> | undefined;
3123
3120
  __TYPE__: "ImageContent";
3121
+ } | {
3122
+ __TYPE__: "IntegrationFieldsContent";
3123
+ value: string;
3124
3124
  } | {
3125
3125
  __TYPE__: "LinkContent";
3126
3126
  key: string;
@@ -3200,9 +3200,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3200
3200
  } | {
3201
3201
  type: string;
3202
3202
  __TYPE__: "EmptyContent";
3203
- } | {
3204
- __TYPE__: "IntegrationFieldsContent";
3205
- value: string;
3206
3203
  } | {
3207
3204
  __TYPE__: "BooleanContent";
3208
3205
  value: boolean;
@@ -3272,6 +3269,9 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3272
3269
  provider?: string | null | undefined;
3273
3270
  }> | undefined;
3274
3271
  __TYPE__: "ImageContent";
3272
+ } | {
3273
+ __TYPE__: "IntegrationFieldsContent";
3274
+ value: string;
3275
3275
  } | {
3276
3276
  __TYPE__: "LinkContent";
3277
3277
  key: string;
@@ -3354,9 +3354,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3354
3354
  } | {
3355
3355
  type: string;
3356
3356
  __TYPE__: "EmptyContent";
3357
- } | {
3358
- __TYPE__: "IntegrationFieldsContent";
3359
- value: string;
3360
3357
  } | {
3361
3358
  __TYPE__: "BooleanContent";
3362
3359
  value: boolean;
@@ -3426,6 +3423,9 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3426
3423
  provider?: string | null | undefined;
3427
3424
  }> | undefined;
3428
3425
  __TYPE__: "ImageContent";
3426
+ } | {
3427
+ __TYPE__: "IntegrationFieldsContent";
3428
+ value: string;
3429
3429
  } | {
3430
3430
  __TYPE__: "LinkContent";
3431
3431
  key: string;
@@ -202,6 +202,22 @@ declare const GroupModelSchema: z.ZodMiniObject<{
202
202
  label?: string | null | undefined;
203
203
  repeat?: boolean | undefined;
204
204
  fields?: Record<string, {
205
+ type: "StructuredText";
206
+ fieldset?: string | null | undefined;
207
+ config?: {
208
+ label?: string | null | undefined;
209
+ placeholder?: string | undefined;
210
+ useAsTitle?: boolean | undefined;
211
+ single?: string | undefined;
212
+ multi?: string | undefined;
213
+ imageConstraint?: {
214
+ width?: number | null | undefined;
215
+ height?: number | null | undefined;
216
+ } | undefined;
217
+ labels?: string[] | undefined;
218
+ allowTargetBlank?: boolean | undefined;
219
+ } | undefined;
220
+ } | {
205
221
  type: "Boolean";
206
222
  config?: {
207
223
  label?: string | null | undefined;
@@ -322,22 +338,6 @@ declare const GroupModelSchema: z.ZodMiniObject<{
322
338
  max?: number | undefined;
323
339
  step?: number | undefined;
324
340
  } | undefined;
325
- } | {
326
- type: "StructuredText";
327
- fieldset?: string | null | undefined;
328
- config?: {
329
- label?: string | null | undefined;
330
- placeholder?: string | undefined;
331
- useAsTitle?: boolean | undefined;
332
- single?: string | undefined;
333
- multi?: string | undefined;
334
- imageConstraint?: {
335
- width?: number | null | undefined;
336
- height?: number | null | undefined;
337
- } | undefined;
338
- labels?: string[] | undefined;
339
- allowTargetBlank?: boolean | undefined;
340
- } | undefined;
341
341
  } | {
342
342
  type: "Select";
343
343
  fieldset?: string | null | undefined;
@@ -384,6 +384,22 @@ declare const GroupModelSchema: z.ZodMiniObject<{
384
384
  label?: string | null | undefined;
385
385
  repeat?: boolean | undefined;
386
386
  fields?: Record<string, {
387
+ type: "StructuredText";
388
+ fieldset?: string | null | undefined;
389
+ config?: {
390
+ label?: string | null | undefined;
391
+ placeholder?: string | undefined;
392
+ useAsTitle?: boolean | undefined;
393
+ single?: string | undefined;
394
+ multi?: string | undefined;
395
+ imageConstraint?: {
396
+ width?: number | null | undefined;
397
+ height?: number | null | undefined;
398
+ } | undefined;
399
+ labels?: string[] | undefined;
400
+ allowTargetBlank?: boolean | undefined;
401
+ } | undefined;
402
+ } | {
387
403
  type: "Boolean";
388
404
  config?: {
389
405
  label?: string | null | undefined;
@@ -504,22 +520,6 @@ declare const GroupModelSchema: z.ZodMiniObject<{
504
520
  max?: number | undefined;
505
521
  step?: number | undefined;
506
522
  } | undefined;
507
- } | {
508
- type: "StructuredText";
509
- fieldset?: string | null | undefined;
510
- config?: {
511
- label?: string | null | undefined;
512
- placeholder?: string | undefined;
513
- useAsTitle?: boolean | undefined;
514
- single?: string | undefined;
515
- multi?: string | undefined;
516
- imageConstraint?: {
517
- width?: number | null | undefined;
518
- height?: number | null | undefined;
519
- } | undefined;
520
- labels?: string[] | undefined;
521
- allowTargetBlank?: boolean | undefined;
522
- } | undefined;
523
523
  } | {
524
524
  type: "Select";
525
525
  fieldset?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "4.8.0-pr.33.be0224f",
3
+ "version": "4.8.0",
4
4
  "description": "TypeScript types and runtime parsers for Prismic data",
5
5
  "keywords": [
6
6
  "prismic",