@prismicio/types-internal 2.7.0 → 2.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.
@@ -3,7 +3,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
3
3
  data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4
4
  __TYPE__: t.LiteralC<"ImageLink">;
5
5
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
6
- kind: t.Type<"image", "image", unknown>;
6
+ kind: t.StringC;
7
7
  id: t.StringC;
8
8
  url: t.StringC;
9
9
  height: t.StringC;
@@ -15,7 +15,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
15
15
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
16
16
  __TYPE__: t.LiteralC<"FileLink">;
17
17
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
18
- kind: t.Type<"file", "file", unknown>;
18
+ kind: t.StringC;
19
19
  id: t.StringC;
20
20
  url: t.StringC;
21
21
  name: t.StringC;
@@ -41,7 +41,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
41
41
  }>]>>]>]> | t.UnionC<[t.Type<{
42
42
  __TYPE__: "ImageLink";
43
43
  } & {
44
- kind: "image";
44
+ kind: string;
45
45
  id: string;
46
46
  url: string;
47
47
  height: string;
@@ -51,7 +51,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
51
51
  } & {
52
52
  date?: string | null | undefined;
53
53
  }, {
54
- kind: "image";
54
+ kind: string;
55
55
  id: string;
56
56
  url: string;
57
57
  height: string;
@@ -63,7 +63,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
63
63
  }, unknown>, t.Type<{
64
64
  __TYPE__: "FileLink";
65
65
  } & {
66
- kind: "file";
66
+ kind: string;
67
67
  id: string;
68
68
  url: string;
69
69
  name: string;
@@ -71,7 +71,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
71
71
  } & {
72
72
  date?: string | null | undefined;
73
73
  }, {
74
- kind: "file";
74
+ kind: string;
75
75
  id: string;
76
76
  url: string;
77
77
  name: string;
@@ -125,7 +125,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
125
125
  data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
126
126
  __TYPE__: t.LiteralC<"ImageLink">;
127
127
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
128
- kind: t.Type<"image", "image", unknown>;
128
+ kind: t.StringC;
129
129
  id: t.StringC;
130
130
  url: t.StringC;
131
131
  height: t.StringC;
@@ -137,7 +137,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
137
137
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
138
138
  __TYPE__: t.LiteralC<"FileLink">;
139
139
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
140
- kind: t.Type<"file", "file", unknown>;
140
+ kind: t.StringC;
141
141
  id: t.StringC;
142
142
  url: t.StringC;
143
143
  name: t.StringC;
@@ -163,7 +163,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
163
163
  }>]>>]>]> | t.UnionC<[t.Type<{
164
164
  __TYPE__: "ImageLink";
165
165
  } & {
166
- kind: "image";
166
+ kind: string;
167
167
  id: string;
168
168
  url: string;
169
169
  height: string;
@@ -173,7 +173,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
173
173
  } & {
174
174
  date?: string | null | undefined;
175
175
  }, {
176
- kind: "image";
176
+ kind: string;
177
177
  id: string;
178
178
  url: string;
179
179
  height: string;
@@ -185,7 +185,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
185
185
  }, unknown>, t.Type<{
186
186
  __TYPE__: "FileLink";
187
187
  } & {
188
- kind: "file";
188
+ kind: string;
189
189
  id: string;
190
190
  url: string;
191
191
  name: string;
@@ -193,7 +193,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
193
193
  } & {
194
194
  date?: string | null | undefined;
195
195
  }, {
196
- kind: "file";
196
+ kind: string;
197
197
  id: string;
198
198
  url: string;
199
199
  name: string;
@@ -247,7 +247,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
247
247
  data: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
248
248
  __TYPE__: t.LiteralC<"ImageLink">;
249
249
  }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
250
- kind: t.Type<"image", "image", unknown>;
250
+ kind: t.StringC;
251
251
  id: t.StringC;
252
252
  url: t.StringC;
253
253
  height: t.StringC;
@@ -259,7 +259,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
259
259
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
260
260
  __TYPE__: t.LiteralC<"FileLink">;
261
261
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
262
- kind: t.Type<"file", "file", unknown>;
262
+ kind: t.StringC;
263
263
  id: t.StringC;
264
264
  url: t.StringC;
265
265
  name: t.StringC;
@@ -285,7 +285,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
285
285
  }>]>>]>]> | t.UnionC<[t.Type<{
286
286
  __TYPE__: "ImageLink";
287
287
  } & {
288
- kind: "image";
288
+ kind: string;
289
289
  id: string;
290
290
  url: string;
291
291
  height: string;
@@ -295,7 +295,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
295
295
  } & {
296
296
  date?: string | null | undefined;
297
297
  }, {
298
- kind: "image";
298
+ kind: string;
299
299
  id: string;
300
300
  url: string;
301
301
  height: string;
@@ -307,7 +307,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
307
307
  }, unknown>, t.Type<{
308
308
  __TYPE__: "FileLink";
309
309
  } & {
310
- kind: "file";
310
+ kind: string;
311
311
  id: string;
312
312
  url: string;
313
313
  name: string;
@@ -315,7 +315,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
315
315
  } & {
316
316
  date?: string | null | undefined;
317
317
  }, {
318
- kind: "file";
318
+ kind: string;
319
319
  id: string;
320
320
  url: string;
321
321
  name: string;
@@ -392,7 +392,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
392
392
  linkTo: t.UnionC<[t.Type<({
393
393
  __TYPE__: "ImageLink";
394
394
  } & {
395
- kind: "image";
395
+ kind: string;
396
396
  id: string;
397
397
  url: string;
398
398
  height: string;
@@ -404,7 +404,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
404
404
  }) | ({
405
405
  __TYPE__: "FileLink";
406
406
  } & {
407
- kind: "file";
407
+ kind: string;
408
408
  id: string;
409
409
  url: string;
410
410
  name: string;
@@ -428,7 +428,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
428
428
  }), ({
429
429
  __TYPE__: "ImageLink";
430
430
  } & {
431
- kind: "image";
431
+ kind: string;
432
432
  id: string;
433
433
  url: string;
434
434
  height: string;
@@ -440,7 +440,7 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
440
440
  }) | ({
441
441
  __TYPE__: "FileLink";
442
442
  } & {
443
- kind: "file";
443
+ kind: string;
444
444
  id: string;
445
445
  url: string;
446
446
  name: string;
@@ -505,7 +505,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
505
505
  data: ({
506
506
  __TYPE__: "ImageLink";
507
507
  } & {
508
- kind: "image";
508
+ kind: string;
509
509
  id: string;
510
510
  url: string;
511
511
  height: string;
@@ -517,7 +517,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
517
517
  }) | ({
518
518
  __TYPE__: "FileLink";
519
519
  } & {
520
- kind: "file";
520
+ kind: string;
521
521
  id: string;
522
522
  url: string;
523
523
  name: string;
@@ -555,7 +555,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
555
555
  data: ({
556
556
  __TYPE__: "ImageLink";
557
557
  } & {
558
- kind: "image";
558
+ kind: string;
559
559
  id: string;
560
560
  url: string;
561
561
  height: string;
@@ -567,7 +567,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
567
567
  }) | ({
568
568
  __TYPE__: "FileLink";
569
569
  } & {
570
- kind: "file";
570
+ kind: string;
571
571
  id: string;
572
572
  url: string;
573
573
  name: string;
@@ -636,7 +636,7 @@ export declare const BlockLegacy: t.Type<({
636
636
  linkTo?: ({
637
637
  __TYPE__: "ImageLink";
638
638
  } & {
639
- kind: "image";
639
+ kind: string;
640
640
  id: string;
641
641
  url: string;
642
642
  height: string;
@@ -648,7 +648,7 @@ export declare const BlockLegacy: t.Type<({
648
648
  }) | ({
649
649
  __TYPE__: "FileLink";
650
650
  } & {
651
- kind: "file";
651
+ kind: string;
652
652
  id: string;
653
653
  url: string;
654
654
  name: string;
@@ -707,7 +707,7 @@ export declare const BlockLegacy: t.Type<({
707
707
  data: ({
708
708
  __TYPE__: "ImageLink";
709
709
  } & {
710
- kind: "image";
710
+ kind: string;
711
711
  id: string;
712
712
  url: string;
713
713
  height: string;
@@ -719,7 +719,7 @@ export declare const BlockLegacy: t.Type<({
719
719
  }) | ({
720
720
  __TYPE__: "FileLink";
721
721
  } & {
722
- kind: "file";
722
+ kind: string;
723
723
  id: string;
724
724
  url: string;
725
725
  name: string;
@@ -786,7 +786,7 @@ export declare const BlockLegacy: t.Type<({
786
786
  linkTo?: ({
787
787
  __TYPE__: "ImageLink";
788
788
  } & {
789
- kind: "image";
789
+ kind: string;
790
790
  id: string;
791
791
  url: string;
792
792
  height: string;
@@ -798,7 +798,7 @@ export declare const BlockLegacy: t.Type<({
798
798
  }) | ({
799
799
  __TYPE__: "FileLink";
800
800
  } & {
801
- kind: "file";
801
+ kind: string;
802
802
  id: string;
803
803
  url: string;
804
804
  name: string;
@@ -857,7 +857,7 @@ export declare const BlockLegacy: t.Type<({
857
857
  data: ({
858
858
  __TYPE__: "ImageLink";
859
859
  } & {
860
- kind: "image";
860
+ kind: string;
861
861
  id: string;
862
862
  url: string;
863
863
  height: string;
@@ -869,7 +869,7 @@ export declare const BlockLegacy: t.Type<({
869
869
  }) | ({
870
870
  __TYPE__: "FileLink";
871
871
  } & {
872
- kind: "file";
872
+ kind: string;
873
873
  id: string;
874
874
  url: string;
875
875
  name: string;
@@ -937,7 +937,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
937
937
  linkTo: t.UnionC<[t.Type<({
938
938
  __TYPE__: "ImageLink";
939
939
  } & {
940
- kind: "image";
940
+ kind: string;
941
941
  id: string;
942
942
  url: string;
943
943
  height: string;
@@ -949,7 +949,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
949
949
  }) | ({
950
950
  __TYPE__: "FileLink";
951
951
  } & {
952
- kind: "file";
952
+ kind: string;
953
953
  id: string;
954
954
  url: string;
955
955
  name: string;
@@ -973,7 +973,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
973
973
  }), ({
974
974
  __TYPE__: "ImageLink";
975
975
  } & {
976
- kind: "image";
976
+ kind: string;
977
977
  id: string;
978
978
  url: string;
979
979
  height: string;
@@ -985,7 +985,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
985
985
  }) | ({
986
986
  __TYPE__: "FileLink";
987
987
  } & {
988
- kind: "file";
988
+ kind: string;
989
989
  id: string;
990
990
  url: string;
991
991
  name: string;
@@ -1044,7 +1044,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1044
1044
  data: ({
1045
1045
  __TYPE__: "ImageLink";
1046
1046
  } & {
1047
- kind: "image";
1047
+ kind: string;
1048
1048
  id: string;
1049
1049
  url: string;
1050
1050
  height: string;
@@ -1056,7 +1056,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1056
1056
  }) | ({
1057
1057
  __TYPE__: "FileLink";
1058
1058
  } & {
1059
- kind: "file";
1059
+ kind: string;
1060
1060
  id: string;
1061
1061
  url: string;
1062
1062
  name: string;
@@ -1094,7 +1094,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1094
1094
  data: ({
1095
1095
  __TYPE__: "ImageLink";
1096
1096
  } & {
1097
- kind: "image";
1097
+ kind: string;
1098
1098
  id: string;
1099
1099
  url: string;
1100
1100
  height: string;
@@ -1106,7 +1106,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1106
1106
  }) | ({
1107
1107
  __TYPE__: "FileLink";
1108
1108
  } & {
1109
- kind: "file";
1109
+ kind: string;
1110
1110
  id: string;
1111
1111
  url: string;
1112
1112
  name: string;
@@ -31,7 +31,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
31
31
  linkTo?: ({
32
32
  __TYPE__: "ImageLink";
33
33
  } & {
34
- kind: "image";
34
+ kind: string;
35
35
  id: string;
36
36
  url: string;
37
37
  height: string;
@@ -43,7 +43,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
43
43
  }) | ({
44
44
  __TYPE__: "FileLink";
45
45
  } & {
46
- kind: "file";
46
+ kind: string;
47
47
  id: string;
48
48
  url: string;
49
49
  name: string;
@@ -102,7 +102,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
102
102
  data: ({
103
103
  __TYPE__: "ImageLink";
104
104
  } & {
105
- kind: "image";
105
+ kind: string;
106
106
  id: string;
107
107
  url: string;
108
108
  height: string;
@@ -114,7 +114,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
114
114
  }) | ({
115
115
  __TYPE__: "FileLink";
116
116
  } & {
117
- kind: "file";
117
+ kind: string;
118
118
  id: string;
119
119
  url: string;
120
120
  name: string;
@@ -185,7 +185,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
185
185
  linkTo: t.UnionC<[t.Type<({
186
186
  __TYPE__: "ImageLink";
187
187
  } & {
188
- kind: "image";
188
+ kind: string;
189
189
  id: string;
190
190
  url: string;
191
191
  height: string;
@@ -197,7 +197,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
197
197
  }) | ({
198
198
  __TYPE__: "FileLink";
199
199
  } & {
200
- kind: "file";
200
+ kind: string;
201
201
  id: string;
202
202
  url: string;
203
203
  name: string;
@@ -221,7 +221,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
221
221
  }), ({
222
222
  __TYPE__: "ImageLink";
223
223
  } & {
224
- kind: "image";
224
+ kind: string;
225
225
  id: string;
226
226
  url: string;
227
227
  height: string;
@@ -233,7 +233,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
233
233
  }) | ({
234
234
  __TYPE__: "FileLink";
235
235
  } & {
236
- kind: "file";
236
+ kind: string;
237
237
  id: string;
238
238
  url: string;
239
239
  name: string;
@@ -292,7 +292,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
292
292
  data: ({
293
293
  __TYPE__: "ImageLink";
294
294
  } & {
295
- kind: "image";
295
+ kind: string;
296
296
  id: string;
297
297
  url: string;
298
298
  height: string;
@@ -304,7 +304,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
304
304
  }) | ({
305
305
  __TYPE__: "FileLink";
306
306
  } & {
307
- kind: "file";
307
+ kind: string;
308
308
  id: string;
309
309
  url: string;
310
310
  name: string;
@@ -342,7 +342,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
342
342
  data: ({
343
343
  __TYPE__: "ImageLink";
344
344
  } & {
345
- kind: "image";
345
+ kind: string;
346
346
  id: string;
347
347
  url: string;
348
348
  height: string;
@@ -354,7 +354,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
354
354
  }) | ({
355
355
  __TYPE__: "FileLink";
356
356
  } & {
357
- kind: "file";
357
+ kind: string;
358
358
  id: string;
359
359
  url: string;
360
360
  name: string;
@@ -427,7 +427,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
427
427
  linkTo?: ({
428
428
  __TYPE__: "ImageLink";
429
429
  } & {
430
- kind: "image";
430
+ kind: string;
431
431
  id: string;
432
432
  url: string;
433
433
  height: string;
@@ -439,7 +439,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
439
439
  }) | ({
440
440
  __TYPE__: "FileLink";
441
441
  } & {
442
- kind: "file";
442
+ kind: string;
443
443
  id: string;
444
444
  url: string;
445
445
  name: string;
@@ -498,7 +498,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
498
498
  data: ({
499
499
  __TYPE__: "ImageLink";
500
500
  } & {
501
- kind: "image";
501
+ kind: string;
502
502
  id: string;
503
503
  url: string;
504
504
  height: string;
@@ -510,7 +510,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
510
510
  }) | ({
511
511
  __TYPE__: "FileLink";
512
512
  } & {
513
- kind: "file";
513
+ kind: string;
514
514
  id: string;
515
515
  url: string;
516
516
  name: string;
@@ -578,7 +578,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
578
578
  linkTo?: ({
579
579
  __TYPE__: "ImageLink";
580
580
  } & {
581
- kind: "image";
581
+ kind: string;
582
582
  id: string;
583
583
  url: string;
584
584
  height: string;
@@ -590,7 +590,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
590
590
  }) | ({
591
591
  __TYPE__: "FileLink";
592
592
  } & {
593
- kind: "file";
593
+ kind: string;
594
594
  id: string;
595
595
  url: string;
596
596
  name: string;
@@ -649,7 +649,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
649
649
  data: ({
650
650
  __TYPE__: "ImageLink";
651
651
  } & {
652
- kind: "image";
652
+ kind: string;
653
653
  id: string;
654
654
  url: string;
655
655
  height: string;
@@ -661,7 +661,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
661
661
  }) | ({
662
662
  __TYPE__: "FileLink";
663
663
  } & {
664
- kind: "file";
664
+ kind: string;
665
665
  id: string;
666
666
  url: string;
667
667
  name: string;