@prismicio/types-internal 4.7.0-pr.36.dbbb170 → 4.8.0-pr.33.be0224f

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