@prismicio/types-internal 2.5.0 → 2.7.0-alpha.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/lib/_internal/utils.d.ts +2 -2
- package/lib/content/Document.d.ts +1828 -1156
- package/lib/content/fields/WidgetContent.d.ts +1840 -1168
- package/lib/content/fields/nestable/LinkContent.d.ts +206 -8
- package/lib/content/fields/nestable/LinkContent.js +11 -1
- package/lib/content/fields/nestable/NestableContent.d.ts +288 -2
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +537 -6
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +260 -0
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +580 -8
- package/lib/content/fields/slices/Slice/CompositeSliceContent.js +2 -1
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +137 -2160
- package/lib/content/fields/slices/Slice/RepeatableContent.js +6 -148
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +580 -8
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +1 -1
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +294 -1051
- package/lib/content/fields/slices/Slice/SimpleSliceContent.js +7 -10
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +288 -2
- package/lib/content/fields/slices/Slice/index.d.ts +1077 -764
- package/lib/content/fields/slices/Slice/index.js +0 -1
- package/lib/content/fields/slices/SliceItem.d.ts +1107 -793
- package/lib/content/fields/slices/SlicesContent.d.ts +2537 -2151
- package/lib/customtypes/CustomType.d.ts +342 -162
- package/lib/customtypes/Section.d.ts +342 -162
- package/lib/customtypes/diff/SharedSlice.d.ts +152 -72
- package/lib/customtypes/diff/Variation.d.ts +152 -72
- package/lib/customtypes/widgets/Group.d.ts +60 -0
- package/lib/customtypes/widgets/Widget.d.ts +318 -108
- package/lib/customtypes/widgets/nestable/Link.d.ts +20 -0
- package/lib/customtypes/widgets/nestable/Link.js +2 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +10 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +20 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +20 -0
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +80 -0
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +87 -27
- package/lib/customtypes/widgets/slices/Slices.d.ts +424 -144
- package/package.json +1 -1
- package/src/_internal/utils.ts +1 -2
- package/src/content/fields/nestable/LinkContent.ts +13 -1
- package/src/content/fields/slices/Slice/CompositeSliceContent.ts +4 -8
- package/src/content/fields/slices/Slice/RepeatableContent.ts +11 -242
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +7 -7
- package/src/content/fields/slices/Slice/SimpleSliceContent.ts +17 -21
- package/src/content/fields/slices/Slice/index.ts +0 -1
- package/src/content/fields/slices/SlicesContent.ts +2 -2
- package/src/customtypes/widgets/nestable/Link.ts +2 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
- package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
|
@@ -12,6 +12,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
12
12
|
kind: t.StringC;
|
|
13
13
|
}>, t.PartialC<{
|
|
14
14
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
15
|
+
title: t.ExactC<t.TypeC<{
|
|
16
|
+
type: t.LiteralC<"Text">;
|
|
17
|
+
value: t.Type<string, string, unknown>;
|
|
18
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
19
|
+
}>>;
|
|
15
20
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
16
21
|
id: t.StringC;
|
|
17
22
|
url: t.StringC;
|
|
@@ -20,15 +25,31 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
20
25
|
size: t.StringC;
|
|
21
26
|
}>, t.PartialC<{
|
|
22
27
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
28
|
+
title: t.ExactC<t.TypeC<{
|
|
29
|
+
type: t.LiteralC<"Text">;
|
|
30
|
+
value: t.Type<string, string, unknown>;
|
|
31
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
32
|
+
}>>;
|
|
23
33
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
24
34
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
25
35
|
}>, t.PartialC<{
|
|
26
36
|
size: t.StringC;
|
|
37
|
+
title: t.ExactC<t.TypeC<{
|
|
38
|
+
type: t.LiteralC<"Text">;
|
|
39
|
+
value: t.Type<string, string, unknown>;
|
|
40
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
41
|
+
}>>;
|
|
27
42
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
28
43
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
29
|
-
}>>, t.ExactC<t.TypeC<{
|
|
44
|
+
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
30
45
|
id: t.Type<string, string, unknown>;
|
|
31
|
-
}
|
|
46
|
+
}>, t.PartialC<{
|
|
47
|
+
title: t.ExactC<t.TypeC<{
|
|
48
|
+
type: t.LiteralC<"Text">;
|
|
49
|
+
value: t.Type<string, string, unknown>;
|
|
50
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
51
|
+
}>>;
|
|
52
|
+
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
32
53
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
33
54
|
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
34
55
|
url: t.StringC;
|
|
@@ -40,6 +61,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
40
61
|
}, {
|
|
41
62
|
title?: string;
|
|
42
63
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
64
|
+
title: t.ExactC<t.TypeC<{
|
|
65
|
+
type: t.LiteralC<"Text">;
|
|
66
|
+
value: t.Type<string, string, unknown>;
|
|
67
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
68
|
+
}>>;
|
|
43
69
|
}>]>>]>]> | t.UnionC<[t.Type<{
|
|
44
70
|
__TYPE__: "ImageLink";
|
|
45
71
|
} & {
|
|
@@ -52,6 +78,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
52
78
|
kind: string;
|
|
53
79
|
} & {
|
|
54
80
|
date?: string | null | undefined;
|
|
81
|
+
title?: {
|
|
82
|
+
type: "Text";
|
|
83
|
+
value: string;
|
|
84
|
+
__TYPE__: "FieldContent";
|
|
85
|
+
};
|
|
55
86
|
}, {
|
|
56
87
|
id: string;
|
|
57
88
|
url: string;
|
|
@@ -62,6 +93,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
62
93
|
kind: string;
|
|
63
94
|
} & {
|
|
64
95
|
date?: string | null | undefined;
|
|
96
|
+
title?: {
|
|
97
|
+
type: "Text";
|
|
98
|
+
value: string;
|
|
99
|
+
__TYPE__: "FieldContent";
|
|
100
|
+
};
|
|
65
101
|
}, unknown>, t.Type<{
|
|
66
102
|
id: string;
|
|
67
103
|
url: string;
|
|
@@ -70,10 +106,20 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
70
106
|
size: string;
|
|
71
107
|
} & {
|
|
72
108
|
date?: string | null | undefined;
|
|
109
|
+
title?: {
|
|
110
|
+
type: "Text";
|
|
111
|
+
value: string;
|
|
112
|
+
__TYPE__: "FieldContent";
|
|
113
|
+
};
|
|
73
114
|
} & {
|
|
74
115
|
__TYPE__: "FileLink";
|
|
75
116
|
} & {
|
|
76
117
|
size?: string;
|
|
118
|
+
title?: {
|
|
119
|
+
type: "Text";
|
|
120
|
+
value: string;
|
|
121
|
+
__TYPE__: "FieldContent";
|
|
122
|
+
};
|
|
77
123
|
}, {
|
|
78
124
|
id: string;
|
|
79
125
|
url: string;
|
|
@@ -82,12 +128,29 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
82
128
|
size: string;
|
|
83
129
|
} & {
|
|
84
130
|
date?: string | null | undefined;
|
|
131
|
+
title?: {
|
|
132
|
+
type: "Text";
|
|
133
|
+
value: string;
|
|
134
|
+
__TYPE__: "FieldContent";
|
|
135
|
+
};
|
|
85
136
|
}, unknown>, t.Type<{
|
|
86
137
|
__TYPE__: "DocumentLink";
|
|
87
138
|
} & {
|
|
88
139
|
id: string;
|
|
140
|
+
} & {
|
|
141
|
+
title?: {
|
|
142
|
+
type: "Text";
|
|
143
|
+
value: string;
|
|
144
|
+
__TYPE__: "FieldContent";
|
|
145
|
+
};
|
|
89
146
|
}, {
|
|
90
147
|
id: string;
|
|
148
|
+
} & {
|
|
149
|
+
title?: {
|
|
150
|
+
type: "Text";
|
|
151
|
+
value: string;
|
|
152
|
+
__TYPE__: "FieldContent";
|
|
153
|
+
};
|
|
91
154
|
}, unknown>, t.Type<{
|
|
92
155
|
__TYPE__: "ExternalLink";
|
|
93
156
|
} & {
|
|
@@ -98,6 +161,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
98
161
|
preview?: {
|
|
99
162
|
title?: string;
|
|
100
163
|
} | null | undefined;
|
|
164
|
+
title?: {
|
|
165
|
+
type: "Text";
|
|
166
|
+
value: string;
|
|
167
|
+
__TYPE__: "FieldContent";
|
|
168
|
+
};
|
|
101
169
|
}, {
|
|
102
170
|
url: string;
|
|
103
171
|
} & {
|
|
@@ -106,6 +174,11 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
106
174
|
preview?: {
|
|
107
175
|
title?: string;
|
|
108
176
|
} | null | undefined;
|
|
177
|
+
title?: {
|
|
178
|
+
type: "Text";
|
|
179
|
+
value: string;
|
|
180
|
+
__TYPE__: "FieldContent";
|
|
181
|
+
};
|
|
109
182
|
}, unknown>]>;
|
|
110
183
|
start: t.NumberC;
|
|
111
184
|
end: t.NumberC;
|
|
@@ -138,6 +211,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
138
211
|
kind: t.StringC;
|
|
139
212
|
}>, t.PartialC<{
|
|
140
213
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
214
|
+
title: t.ExactC<t.TypeC<{
|
|
215
|
+
type: t.LiteralC<"Text">;
|
|
216
|
+
value: t.Type<string, string, unknown>;
|
|
217
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
218
|
+
}>>;
|
|
141
219
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
142
220
|
id: t.StringC;
|
|
143
221
|
url: t.StringC;
|
|
@@ -146,15 +224,31 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
146
224
|
size: t.StringC;
|
|
147
225
|
}>, t.PartialC<{
|
|
148
226
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
227
|
+
title: t.ExactC<t.TypeC<{
|
|
228
|
+
type: t.LiteralC<"Text">;
|
|
229
|
+
value: t.Type<string, string, unknown>;
|
|
230
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
231
|
+
}>>;
|
|
149
232
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
150
233
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
151
234
|
}>, t.PartialC<{
|
|
152
235
|
size: t.StringC;
|
|
236
|
+
title: t.ExactC<t.TypeC<{
|
|
237
|
+
type: t.LiteralC<"Text">;
|
|
238
|
+
value: t.Type<string, string, unknown>;
|
|
239
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
240
|
+
}>>;
|
|
153
241
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
154
242
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
155
|
-
}>>, t.ExactC<t.TypeC<{
|
|
243
|
+
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
156
244
|
id: t.Type<string, string, unknown>;
|
|
157
|
-
}
|
|
245
|
+
}>, t.PartialC<{
|
|
246
|
+
title: t.ExactC<t.TypeC<{
|
|
247
|
+
type: t.LiteralC<"Text">;
|
|
248
|
+
value: t.Type<string, string, unknown>;
|
|
249
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
250
|
+
}>>;
|
|
251
|
+
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
158
252
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
159
253
|
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
160
254
|
url: t.StringC;
|
|
@@ -166,6 +260,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
166
260
|
}, {
|
|
167
261
|
title?: string;
|
|
168
262
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
263
|
+
title: t.ExactC<t.TypeC<{
|
|
264
|
+
type: t.LiteralC<"Text">;
|
|
265
|
+
value: t.Type<string, string, unknown>;
|
|
266
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
267
|
+
}>>;
|
|
169
268
|
}>]>>]>]> | t.UnionC<[t.Type<{
|
|
170
269
|
__TYPE__: "ImageLink";
|
|
171
270
|
} & {
|
|
@@ -178,6 +277,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
178
277
|
kind: string;
|
|
179
278
|
} & {
|
|
180
279
|
date?: string | null | undefined;
|
|
280
|
+
title?: {
|
|
281
|
+
type: "Text";
|
|
282
|
+
value: string;
|
|
283
|
+
__TYPE__: "FieldContent";
|
|
284
|
+
};
|
|
181
285
|
}, {
|
|
182
286
|
id: string;
|
|
183
287
|
url: string;
|
|
@@ -188,6 +292,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
188
292
|
kind: string;
|
|
189
293
|
} & {
|
|
190
294
|
date?: string | null | undefined;
|
|
295
|
+
title?: {
|
|
296
|
+
type: "Text";
|
|
297
|
+
value: string;
|
|
298
|
+
__TYPE__: "FieldContent";
|
|
299
|
+
};
|
|
191
300
|
}, unknown>, t.Type<{
|
|
192
301
|
id: string;
|
|
193
302
|
url: string;
|
|
@@ -196,10 +305,20 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
196
305
|
size: string;
|
|
197
306
|
} & {
|
|
198
307
|
date?: string | null | undefined;
|
|
308
|
+
title?: {
|
|
309
|
+
type: "Text";
|
|
310
|
+
value: string;
|
|
311
|
+
__TYPE__: "FieldContent";
|
|
312
|
+
};
|
|
199
313
|
} & {
|
|
200
314
|
__TYPE__: "FileLink";
|
|
201
315
|
} & {
|
|
202
316
|
size?: string;
|
|
317
|
+
title?: {
|
|
318
|
+
type: "Text";
|
|
319
|
+
value: string;
|
|
320
|
+
__TYPE__: "FieldContent";
|
|
321
|
+
};
|
|
203
322
|
}, {
|
|
204
323
|
id: string;
|
|
205
324
|
url: string;
|
|
@@ -208,12 +327,29 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
208
327
|
size: string;
|
|
209
328
|
} & {
|
|
210
329
|
date?: string | null | undefined;
|
|
330
|
+
title?: {
|
|
331
|
+
type: "Text";
|
|
332
|
+
value: string;
|
|
333
|
+
__TYPE__: "FieldContent";
|
|
334
|
+
};
|
|
211
335
|
}, unknown>, t.Type<{
|
|
212
336
|
__TYPE__: "DocumentLink";
|
|
213
337
|
} & {
|
|
214
338
|
id: string;
|
|
339
|
+
} & {
|
|
340
|
+
title?: {
|
|
341
|
+
type: "Text";
|
|
342
|
+
value: string;
|
|
343
|
+
__TYPE__: "FieldContent";
|
|
344
|
+
};
|
|
215
345
|
}, {
|
|
216
346
|
id: string;
|
|
347
|
+
} & {
|
|
348
|
+
title?: {
|
|
349
|
+
type: "Text";
|
|
350
|
+
value: string;
|
|
351
|
+
__TYPE__: "FieldContent";
|
|
352
|
+
};
|
|
217
353
|
}, unknown>, t.Type<{
|
|
218
354
|
__TYPE__: "ExternalLink";
|
|
219
355
|
} & {
|
|
@@ -224,6 +360,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
224
360
|
preview?: {
|
|
225
361
|
title?: string;
|
|
226
362
|
} | null | undefined;
|
|
363
|
+
title?: {
|
|
364
|
+
type: "Text";
|
|
365
|
+
value: string;
|
|
366
|
+
__TYPE__: "FieldContent";
|
|
367
|
+
};
|
|
227
368
|
}, {
|
|
228
369
|
url: string;
|
|
229
370
|
} & {
|
|
@@ -232,6 +373,11 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
232
373
|
preview?: {
|
|
233
374
|
title?: string;
|
|
234
375
|
} | null | undefined;
|
|
376
|
+
title?: {
|
|
377
|
+
type: "Text";
|
|
378
|
+
value: string;
|
|
379
|
+
__TYPE__: "FieldContent";
|
|
380
|
+
};
|
|
235
381
|
}, unknown>]>;
|
|
236
382
|
start: t.NumberC;
|
|
237
383
|
end: t.NumberC;
|
|
@@ -264,6 +410,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
264
410
|
kind: t.StringC;
|
|
265
411
|
}>, t.PartialC<{
|
|
266
412
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
413
|
+
title: t.ExactC<t.TypeC<{
|
|
414
|
+
type: t.LiteralC<"Text">;
|
|
415
|
+
value: t.Type<string, string, unknown>;
|
|
416
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
417
|
+
}>>;
|
|
267
418
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
268
419
|
id: t.StringC;
|
|
269
420
|
url: t.StringC;
|
|
@@ -272,15 +423,31 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
272
423
|
size: t.StringC;
|
|
273
424
|
}>, t.PartialC<{
|
|
274
425
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
426
|
+
title: t.ExactC<t.TypeC<{
|
|
427
|
+
type: t.LiteralC<"Text">;
|
|
428
|
+
value: t.Type<string, string, unknown>;
|
|
429
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
430
|
+
}>>;
|
|
275
431
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
276
432
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
277
433
|
}>, t.PartialC<{
|
|
278
434
|
size: t.StringC;
|
|
435
|
+
title: t.ExactC<t.TypeC<{
|
|
436
|
+
type: t.LiteralC<"Text">;
|
|
437
|
+
value: t.Type<string, string, unknown>;
|
|
438
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
439
|
+
}>>;
|
|
279
440
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
280
441
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
281
|
-
}>>, t.ExactC<t.TypeC<{
|
|
442
|
+
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
282
443
|
id: t.Type<string, string, unknown>;
|
|
283
|
-
}
|
|
444
|
+
}>, t.PartialC<{
|
|
445
|
+
title: t.ExactC<t.TypeC<{
|
|
446
|
+
type: t.LiteralC<"Text">;
|
|
447
|
+
value: t.Type<string, string, unknown>;
|
|
448
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
449
|
+
}>>;
|
|
450
|
+
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
284
451
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
285
452
|
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
286
453
|
url: t.StringC;
|
|
@@ -292,6 +459,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
292
459
|
}, {
|
|
293
460
|
title?: string;
|
|
294
461
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
462
|
+
title: t.ExactC<t.TypeC<{
|
|
463
|
+
type: t.LiteralC<"Text">;
|
|
464
|
+
value: t.Type<string, string, unknown>;
|
|
465
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
466
|
+
}>>;
|
|
295
467
|
}>]>>]>]> | t.UnionC<[t.Type<{
|
|
296
468
|
__TYPE__: "ImageLink";
|
|
297
469
|
} & {
|
|
@@ -304,6 +476,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
304
476
|
kind: string;
|
|
305
477
|
} & {
|
|
306
478
|
date?: string | null | undefined;
|
|
479
|
+
title?: {
|
|
480
|
+
type: "Text";
|
|
481
|
+
value: string;
|
|
482
|
+
__TYPE__: "FieldContent";
|
|
483
|
+
};
|
|
307
484
|
}, {
|
|
308
485
|
id: string;
|
|
309
486
|
url: string;
|
|
@@ -314,6 +491,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
314
491
|
kind: string;
|
|
315
492
|
} & {
|
|
316
493
|
date?: string | null | undefined;
|
|
494
|
+
title?: {
|
|
495
|
+
type: "Text";
|
|
496
|
+
value: string;
|
|
497
|
+
__TYPE__: "FieldContent";
|
|
498
|
+
};
|
|
317
499
|
}, unknown>, t.Type<{
|
|
318
500
|
id: string;
|
|
319
501
|
url: string;
|
|
@@ -322,10 +504,20 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
322
504
|
size: string;
|
|
323
505
|
} & {
|
|
324
506
|
date?: string | null | undefined;
|
|
507
|
+
title?: {
|
|
508
|
+
type: "Text";
|
|
509
|
+
value: string;
|
|
510
|
+
__TYPE__: "FieldContent";
|
|
511
|
+
};
|
|
325
512
|
} & {
|
|
326
513
|
__TYPE__: "FileLink";
|
|
327
514
|
} & {
|
|
328
515
|
size?: string;
|
|
516
|
+
title?: {
|
|
517
|
+
type: "Text";
|
|
518
|
+
value: string;
|
|
519
|
+
__TYPE__: "FieldContent";
|
|
520
|
+
};
|
|
329
521
|
}, {
|
|
330
522
|
id: string;
|
|
331
523
|
url: string;
|
|
@@ -334,12 +526,29 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
334
526
|
size: string;
|
|
335
527
|
} & {
|
|
336
528
|
date?: string | null | undefined;
|
|
529
|
+
title?: {
|
|
530
|
+
type: "Text";
|
|
531
|
+
value: string;
|
|
532
|
+
__TYPE__: "FieldContent";
|
|
533
|
+
};
|
|
337
534
|
}, unknown>, t.Type<{
|
|
338
535
|
__TYPE__: "DocumentLink";
|
|
339
536
|
} & {
|
|
340
537
|
id: string;
|
|
538
|
+
} & {
|
|
539
|
+
title?: {
|
|
540
|
+
type: "Text";
|
|
541
|
+
value: string;
|
|
542
|
+
__TYPE__: "FieldContent";
|
|
543
|
+
};
|
|
341
544
|
}, {
|
|
342
545
|
id: string;
|
|
546
|
+
} & {
|
|
547
|
+
title?: {
|
|
548
|
+
type: "Text";
|
|
549
|
+
value: string;
|
|
550
|
+
__TYPE__: "FieldContent";
|
|
551
|
+
};
|
|
343
552
|
}, unknown>, t.Type<{
|
|
344
553
|
__TYPE__: "ExternalLink";
|
|
345
554
|
} & {
|
|
@@ -350,6 +559,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
350
559
|
preview?: {
|
|
351
560
|
title?: string;
|
|
352
561
|
} | null | undefined;
|
|
562
|
+
title?: {
|
|
563
|
+
type: "Text";
|
|
564
|
+
value: string;
|
|
565
|
+
__TYPE__: "FieldContent";
|
|
566
|
+
};
|
|
353
567
|
}, {
|
|
354
568
|
url: string;
|
|
355
569
|
} & {
|
|
@@ -358,6 +572,11 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
358
572
|
preview?: {
|
|
359
573
|
title?: string;
|
|
360
574
|
} | null | undefined;
|
|
575
|
+
title?: {
|
|
576
|
+
type: "Text";
|
|
577
|
+
value: string;
|
|
578
|
+
__TYPE__: "FieldContent";
|
|
579
|
+
};
|
|
361
580
|
}, unknown>]>;
|
|
362
581
|
start: t.NumberC;
|
|
363
582
|
end: t.NumberC;
|
|
@@ -413,6 +632,11 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
413
632
|
kind: string;
|
|
414
633
|
} & {
|
|
415
634
|
date?: string | null | undefined;
|
|
635
|
+
title?: {
|
|
636
|
+
type: "Text";
|
|
637
|
+
value: string;
|
|
638
|
+
__TYPE__: "FieldContent";
|
|
639
|
+
};
|
|
416
640
|
}) | ({
|
|
417
641
|
id: string;
|
|
418
642
|
url: string;
|
|
@@ -421,14 +645,30 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
421
645
|
size: string;
|
|
422
646
|
} & {
|
|
423
647
|
date?: string | null | undefined;
|
|
648
|
+
title?: {
|
|
649
|
+
type: "Text";
|
|
650
|
+
value: string;
|
|
651
|
+
__TYPE__: "FieldContent";
|
|
652
|
+
};
|
|
424
653
|
} & {
|
|
425
654
|
__TYPE__: "FileLink";
|
|
426
655
|
} & {
|
|
427
656
|
size?: string;
|
|
657
|
+
title?: {
|
|
658
|
+
type: "Text";
|
|
659
|
+
value: string;
|
|
660
|
+
__TYPE__: "FieldContent";
|
|
661
|
+
};
|
|
428
662
|
}) | ({
|
|
429
663
|
__TYPE__: "DocumentLink";
|
|
430
664
|
} & {
|
|
431
665
|
id: string;
|
|
666
|
+
} & {
|
|
667
|
+
title?: {
|
|
668
|
+
type: "Text";
|
|
669
|
+
value: string;
|
|
670
|
+
__TYPE__: "FieldContent";
|
|
671
|
+
};
|
|
432
672
|
}) | ({
|
|
433
673
|
__TYPE__: "ExternalLink";
|
|
434
674
|
} & {
|
|
@@ -439,6 +679,11 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
439
679
|
preview?: {
|
|
440
680
|
title?: string;
|
|
441
681
|
} | null | undefined;
|
|
682
|
+
title?: {
|
|
683
|
+
type: "Text";
|
|
684
|
+
value: string;
|
|
685
|
+
__TYPE__: "FieldContent";
|
|
686
|
+
};
|
|
442
687
|
}), ({
|
|
443
688
|
__TYPE__: "ImageLink";
|
|
444
689
|
} & {
|
|
@@ -451,6 +696,11 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
451
696
|
kind: string;
|
|
452
697
|
} & {
|
|
453
698
|
date?: string | null | undefined;
|
|
699
|
+
title?: {
|
|
700
|
+
type: "Text";
|
|
701
|
+
value: string;
|
|
702
|
+
__TYPE__: "FieldContent";
|
|
703
|
+
};
|
|
454
704
|
}) | ({
|
|
455
705
|
id: string;
|
|
456
706
|
url: string;
|
|
@@ -459,14 +709,30 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
459
709
|
size: string;
|
|
460
710
|
} & {
|
|
461
711
|
date?: string | null | undefined;
|
|
712
|
+
title?: {
|
|
713
|
+
type: "Text";
|
|
714
|
+
value: string;
|
|
715
|
+
__TYPE__: "FieldContent";
|
|
716
|
+
};
|
|
462
717
|
} & {
|
|
463
718
|
__TYPE__: "FileLink";
|
|
464
719
|
} & {
|
|
465
720
|
size?: string;
|
|
721
|
+
title?: {
|
|
722
|
+
type: "Text";
|
|
723
|
+
value: string;
|
|
724
|
+
__TYPE__: "FieldContent";
|
|
725
|
+
};
|
|
466
726
|
}) | ({
|
|
467
727
|
__TYPE__: "DocumentLink";
|
|
468
728
|
} & {
|
|
469
729
|
id: string;
|
|
730
|
+
} & {
|
|
731
|
+
title?: {
|
|
732
|
+
type: "Text";
|
|
733
|
+
value: string;
|
|
734
|
+
__TYPE__: "FieldContent";
|
|
735
|
+
};
|
|
470
736
|
}) | ({
|
|
471
737
|
__TYPE__: "ExternalLink";
|
|
472
738
|
} & {
|
|
@@ -477,6 +743,11 @@ export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
477
743
|
preview?: {
|
|
478
744
|
title?: string;
|
|
479
745
|
} | null | undefined;
|
|
746
|
+
title?: {
|
|
747
|
+
type: "Text";
|
|
748
|
+
value: string;
|
|
749
|
+
__TYPE__: "FieldContent";
|
|
750
|
+
};
|
|
480
751
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
481
752
|
}>]>;
|
|
482
753
|
}>, t.PartialC<{
|
|
@@ -530,6 +801,11 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
530
801
|
kind: string;
|
|
531
802
|
} & {
|
|
532
803
|
date?: string | null | undefined;
|
|
804
|
+
title?: {
|
|
805
|
+
type: "Text";
|
|
806
|
+
value: string;
|
|
807
|
+
__TYPE__: "FieldContent";
|
|
808
|
+
};
|
|
533
809
|
}) | ({
|
|
534
810
|
id: string;
|
|
535
811
|
url: string;
|
|
@@ -538,14 +814,30 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
538
814
|
size: string;
|
|
539
815
|
} & {
|
|
540
816
|
date?: string | null | undefined;
|
|
817
|
+
title?: {
|
|
818
|
+
type: "Text";
|
|
819
|
+
value: string;
|
|
820
|
+
__TYPE__: "FieldContent";
|
|
821
|
+
};
|
|
541
822
|
} & {
|
|
542
823
|
__TYPE__: "FileLink";
|
|
543
824
|
} & {
|
|
544
825
|
size?: string;
|
|
826
|
+
title?: {
|
|
827
|
+
type: "Text";
|
|
828
|
+
value: string;
|
|
829
|
+
__TYPE__: "FieldContent";
|
|
830
|
+
};
|
|
545
831
|
}) | ({
|
|
546
832
|
__TYPE__: "DocumentLink";
|
|
547
833
|
} & {
|
|
548
834
|
id: string;
|
|
835
|
+
} & {
|
|
836
|
+
title?: {
|
|
837
|
+
type: "Text";
|
|
838
|
+
value: string;
|
|
839
|
+
__TYPE__: "FieldContent";
|
|
840
|
+
};
|
|
549
841
|
}) | ({
|
|
550
842
|
__TYPE__: "ExternalLink";
|
|
551
843
|
} & {
|
|
@@ -556,6 +848,11 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
556
848
|
preview?: {
|
|
557
849
|
title?: string;
|
|
558
850
|
} | null | undefined;
|
|
851
|
+
title?: {
|
|
852
|
+
type: "Text";
|
|
853
|
+
value: string;
|
|
854
|
+
__TYPE__: "FieldContent";
|
|
855
|
+
};
|
|
559
856
|
});
|
|
560
857
|
start: number;
|
|
561
858
|
end: number;
|
|
@@ -582,6 +879,11 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
582
879
|
kind: string;
|
|
583
880
|
} & {
|
|
584
881
|
date?: string | null | undefined;
|
|
882
|
+
title?: {
|
|
883
|
+
type: "Text";
|
|
884
|
+
value: string;
|
|
885
|
+
__TYPE__: "FieldContent";
|
|
886
|
+
};
|
|
585
887
|
}) | ({
|
|
586
888
|
id: string;
|
|
587
889
|
url: string;
|
|
@@ -590,14 +892,30 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
590
892
|
size: string;
|
|
591
893
|
} & {
|
|
592
894
|
date?: string | null | undefined;
|
|
895
|
+
title?: {
|
|
896
|
+
type: "Text";
|
|
897
|
+
value: string;
|
|
898
|
+
__TYPE__: "FieldContent";
|
|
899
|
+
};
|
|
593
900
|
} & {
|
|
594
901
|
__TYPE__: "FileLink";
|
|
595
902
|
} & {
|
|
596
903
|
size?: string;
|
|
904
|
+
title?: {
|
|
905
|
+
type: "Text";
|
|
906
|
+
value: string;
|
|
907
|
+
__TYPE__: "FieldContent";
|
|
908
|
+
};
|
|
597
909
|
}) | ({
|
|
598
910
|
__TYPE__: "DocumentLink";
|
|
599
911
|
} & {
|
|
600
912
|
id: string;
|
|
913
|
+
} & {
|
|
914
|
+
title?: {
|
|
915
|
+
type: "Text";
|
|
916
|
+
value: string;
|
|
917
|
+
__TYPE__: "FieldContent";
|
|
918
|
+
};
|
|
601
919
|
}) | ({
|
|
602
920
|
__TYPE__: "ExternalLink";
|
|
603
921
|
} & {
|
|
@@ -608,6 +926,11 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
608
926
|
preview?: {
|
|
609
927
|
title?: string;
|
|
610
928
|
} | null | undefined;
|
|
929
|
+
title?: {
|
|
930
|
+
type: "Text";
|
|
931
|
+
value: string;
|
|
932
|
+
__TYPE__: "FieldContent";
|
|
933
|
+
};
|
|
611
934
|
});
|
|
612
935
|
start: number;
|
|
613
936
|
end: number;
|
|
@@ -665,6 +988,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
665
988
|
kind: string;
|
|
666
989
|
} & {
|
|
667
990
|
date?: string | null | undefined;
|
|
991
|
+
title?: {
|
|
992
|
+
type: "Text";
|
|
993
|
+
value: string;
|
|
994
|
+
__TYPE__: "FieldContent";
|
|
995
|
+
};
|
|
668
996
|
}) | ({
|
|
669
997
|
id: string;
|
|
670
998
|
url: string;
|
|
@@ -673,14 +1001,30 @@ export declare const BlockLegacy: t.Type<({
|
|
|
673
1001
|
size: string;
|
|
674
1002
|
} & {
|
|
675
1003
|
date?: string | null | undefined;
|
|
1004
|
+
title?: {
|
|
1005
|
+
type: "Text";
|
|
1006
|
+
value: string;
|
|
1007
|
+
__TYPE__: "FieldContent";
|
|
1008
|
+
};
|
|
676
1009
|
} & {
|
|
677
1010
|
__TYPE__: "FileLink";
|
|
678
1011
|
} & {
|
|
679
1012
|
size?: string;
|
|
1013
|
+
title?: {
|
|
1014
|
+
type: "Text";
|
|
1015
|
+
value: string;
|
|
1016
|
+
__TYPE__: "FieldContent";
|
|
1017
|
+
};
|
|
680
1018
|
}) | ({
|
|
681
1019
|
__TYPE__: "DocumentLink";
|
|
682
1020
|
} & {
|
|
683
1021
|
id: string;
|
|
1022
|
+
} & {
|
|
1023
|
+
title?: {
|
|
1024
|
+
type: "Text";
|
|
1025
|
+
value: string;
|
|
1026
|
+
__TYPE__: "FieldContent";
|
|
1027
|
+
};
|
|
684
1028
|
}) | ({
|
|
685
1029
|
__TYPE__: "ExternalLink";
|
|
686
1030
|
} & {
|
|
@@ -691,6 +1035,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
691
1035
|
preview?: {
|
|
692
1036
|
title?: string;
|
|
693
1037
|
} | null | undefined;
|
|
1038
|
+
title?: {
|
|
1039
|
+
type: "Text";
|
|
1040
|
+
value: string;
|
|
1041
|
+
__TYPE__: "FieldContent";
|
|
1042
|
+
};
|
|
694
1043
|
}) | null | undefined;
|
|
695
1044
|
};
|
|
696
1045
|
} & {
|
|
@@ -738,6 +1087,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
738
1087
|
kind: string;
|
|
739
1088
|
} & {
|
|
740
1089
|
date?: string | null | undefined;
|
|
1090
|
+
title?: {
|
|
1091
|
+
type: "Text";
|
|
1092
|
+
value: string;
|
|
1093
|
+
__TYPE__: "FieldContent";
|
|
1094
|
+
};
|
|
741
1095
|
}) | ({
|
|
742
1096
|
id: string;
|
|
743
1097
|
url: string;
|
|
@@ -746,14 +1100,30 @@ export declare const BlockLegacy: t.Type<({
|
|
|
746
1100
|
size: string;
|
|
747
1101
|
} & {
|
|
748
1102
|
date?: string | null | undefined;
|
|
1103
|
+
title?: {
|
|
1104
|
+
type: "Text";
|
|
1105
|
+
value: string;
|
|
1106
|
+
__TYPE__: "FieldContent";
|
|
1107
|
+
};
|
|
749
1108
|
} & {
|
|
750
1109
|
__TYPE__: "FileLink";
|
|
751
1110
|
} & {
|
|
752
1111
|
size?: string;
|
|
1112
|
+
title?: {
|
|
1113
|
+
type: "Text";
|
|
1114
|
+
value: string;
|
|
1115
|
+
__TYPE__: "FieldContent";
|
|
1116
|
+
};
|
|
753
1117
|
}) | ({
|
|
754
1118
|
__TYPE__: "DocumentLink";
|
|
755
1119
|
} & {
|
|
756
1120
|
id: string;
|
|
1121
|
+
} & {
|
|
1122
|
+
title?: {
|
|
1123
|
+
type: "Text";
|
|
1124
|
+
value: string;
|
|
1125
|
+
__TYPE__: "FieldContent";
|
|
1126
|
+
};
|
|
757
1127
|
}) | ({
|
|
758
1128
|
__TYPE__: "ExternalLink";
|
|
759
1129
|
} & {
|
|
@@ -764,6 +1134,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
764
1134
|
preview?: {
|
|
765
1135
|
title?: string;
|
|
766
1136
|
} | null | undefined;
|
|
1137
|
+
title?: {
|
|
1138
|
+
type: "Text";
|
|
1139
|
+
value: string;
|
|
1140
|
+
__TYPE__: "FieldContent";
|
|
1141
|
+
};
|
|
767
1142
|
});
|
|
768
1143
|
start: number;
|
|
769
1144
|
end: number;
|
|
@@ -819,6 +1194,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
819
1194
|
kind: string;
|
|
820
1195
|
} & {
|
|
821
1196
|
date?: string | null | undefined;
|
|
1197
|
+
title?: {
|
|
1198
|
+
type: "Text";
|
|
1199
|
+
value: string;
|
|
1200
|
+
__TYPE__: "FieldContent";
|
|
1201
|
+
};
|
|
822
1202
|
}) | ({
|
|
823
1203
|
id: string;
|
|
824
1204
|
url: string;
|
|
@@ -827,14 +1207,30 @@ export declare const BlockLegacy: t.Type<({
|
|
|
827
1207
|
size: string;
|
|
828
1208
|
} & {
|
|
829
1209
|
date?: string | null | undefined;
|
|
1210
|
+
title?: {
|
|
1211
|
+
type: "Text";
|
|
1212
|
+
value: string;
|
|
1213
|
+
__TYPE__: "FieldContent";
|
|
1214
|
+
};
|
|
830
1215
|
} & {
|
|
831
1216
|
__TYPE__: "FileLink";
|
|
832
1217
|
} & {
|
|
833
1218
|
size?: string;
|
|
1219
|
+
title?: {
|
|
1220
|
+
type: "Text";
|
|
1221
|
+
value: string;
|
|
1222
|
+
__TYPE__: "FieldContent";
|
|
1223
|
+
};
|
|
834
1224
|
}) | ({
|
|
835
1225
|
__TYPE__: "DocumentLink";
|
|
836
1226
|
} & {
|
|
837
1227
|
id: string;
|
|
1228
|
+
} & {
|
|
1229
|
+
title?: {
|
|
1230
|
+
type: "Text";
|
|
1231
|
+
value: string;
|
|
1232
|
+
__TYPE__: "FieldContent";
|
|
1233
|
+
};
|
|
838
1234
|
}) | ({
|
|
839
1235
|
__TYPE__: "ExternalLink";
|
|
840
1236
|
} & {
|
|
@@ -845,6 +1241,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
845
1241
|
preview?: {
|
|
846
1242
|
title?: string;
|
|
847
1243
|
} | null | undefined;
|
|
1244
|
+
title?: {
|
|
1245
|
+
type: "Text";
|
|
1246
|
+
value: string;
|
|
1247
|
+
__TYPE__: "FieldContent";
|
|
1248
|
+
};
|
|
848
1249
|
}) | null | undefined;
|
|
849
1250
|
};
|
|
850
1251
|
} & {
|
|
@@ -892,6 +1293,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
892
1293
|
kind: string;
|
|
893
1294
|
} & {
|
|
894
1295
|
date?: string | null | undefined;
|
|
1296
|
+
title?: {
|
|
1297
|
+
type: "Text";
|
|
1298
|
+
value: string;
|
|
1299
|
+
__TYPE__: "FieldContent";
|
|
1300
|
+
};
|
|
895
1301
|
}) | ({
|
|
896
1302
|
id: string;
|
|
897
1303
|
url: string;
|
|
@@ -900,14 +1306,30 @@ export declare const BlockLegacy: t.Type<({
|
|
|
900
1306
|
size: string;
|
|
901
1307
|
} & {
|
|
902
1308
|
date?: string | null | undefined;
|
|
1309
|
+
title?: {
|
|
1310
|
+
type: "Text";
|
|
1311
|
+
value: string;
|
|
1312
|
+
__TYPE__: "FieldContent";
|
|
1313
|
+
};
|
|
903
1314
|
} & {
|
|
904
1315
|
__TYPE__: "FileLink";
|
|
905
1316
|
} & {
|
|
906
1317
|
size?: string;
|
|
1318
|
+
title?: {
|
|
1319
|
+
type: "Text";
|
|
1320
|
+
value: string;
|
|
1321
|
+
__TYPE__: "FieldContent";
|
|
1322
|
+
};
|
|
907
1323
|
}) | ({
|
|
908
1324
|
__TYPE__: "DocumentLink";
|
|
909
1325
|
} & {
|
|
910
1326
|
id: string;
|
|
1327
|
+
} & {
|
|
1328
|
+
title?: {
|
|
1329
|
+
type: "Text";
|
|
1330
|
+
value: string;
|
|
1331
|
+
__TYPE__: "FieldContent";
|
|
1332
|
+
};
|
|
911
1333
|
}) | ({
|
|
912
1334
|
__TYPE__: "ExternalLink";
|
|
913
1335
|
} & {
|
|
@@ -918,6 +1340,11 @@ export declare const BlockLegacy: t.Type<({
|
|
|
918
1340
|
preview?: {
|
|
919
1341
|
title?: string;
|
|
920
1342
|
} | null | undefined;
|
|
1343
|
+
title?: {
|
|
1344
|
+
type: "Text";
|
|
1345
|
+
value: string;
|
|
1346
|
+
__TYPE__: "FieldContent";
|
|
1347
|
+
};
|
|
921
1348
|
});
|
|
922
1349
|
start: number;
|
|
923
1350
|
end: number;
|
|
@@ -974,6 +1401,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
974
1401
|
kind: string;
|
|
975
1402
|
} & {
|
|
976
1403
|
date?: string | null | undefined;
|
|
1404
|
+
title?: {
|
|
1405
|
+
type: "Text";
|
|
1406
|
+
value: string;
|
|
1407
|
+
__TYPE__: "FieldContent";
|
|
1408
|
+
};
|
|
977
1409
|
}) | ({
|
|
978
1410
|
id: string;
|
|
979
1411
|
url: string;
|
|
@@ -982,14 +1414,30 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
982
1414
|
size: string;
|
|
983
1415
|
} & {
|
|
984
1416
|
date?: string | null | undefined;
|
|
1417
|
+
title?: {
|
|
1418
|
+
type: "Text";
|
|
1419
|
+
value: string;
|
|
1420
|
+
__TYPE__: "FieldContent";
|
|
1421
|
+
};
|
|
985
1422
|
} & {
|
|
986
1423
|
__TYPE__: "FileLink";
|
|
987
1424
|
} & {
|
|
988
1425
|
size?: string;
|
|
1426
|
+
title?: {
|
|
1427
|
+
type: "Text";
|
|
1428
|
+
value: string;
|
|
1429
|
+
__TYPE__: "FieldContent";
|
|
1430
|
+
};
|
|
989
1431
|
}) | ({
|
|
990
1432
|
__TYPE__: "DocumentLink";
|
|
991
1433
|
} & {
|
|
992
1434
|
id: string;
|
|
1435
|
+
} & {
|
|
1436
|
+
title?: {
|
|
1437
|
+
type: "Text";
|
|
1438
|
+
value: string;
|
|
1439
|
+
__TYPE__: "FieldContent";
|
|
1440
|
+
};
|
|
993
1441
|
}) | ({
|
|
994
1442
|
__TYPE__: "ExternalLink";
|
|
995
1443
|
} & {
|
|
@@ -1000,6 +1448,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1000
1448
|
preview?: {
|
|
1001
1449
|
title?: string;
|
|
1002
1450
|
} | null | undefined;
|
|
1451
|
+
title?: {
|
|
1452
|
+
type: "Text";
|
|
1453
|
+
value: string;
|
|
1454
|
+
__TYPE__: "FieldContent";
|
|
1455
|
+
};
|
|
1003
1456
|
}), ({
|
|
1004
1457
|
__TYPE__: "ImageLink";
|
|
1005
1458
|
} & {
|
|
@@ -1012,6 +1465,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1012
1465
|
kind: string;
|
|
1013
1466
|
} & {
|
|
1014
1467
|
date?: string | null | undefined;
|
|
1468
|
+
title?: {
|
|
1469
|
+
type: "Text";
|
|
1470
|
+
value: string;
|
|
1471
|
+
__TYPE__: "FieldContent";
|
|
1472
|
+
};
|
|
1015
1473
|
}) | ({
|
|
1016
1474
|
id: string;
|
|
1017
1475
|
url: string;
|
|
@@ -1020,14 +1478,30 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1020
1478
|
size: string;
|
|
1021
1479
|
} & {
|
|
1022
1480
|
date?: string | null | undefined;
|
|
1481
|
+
title?: {
|
|
1482
|
+
type: "Text";
|
|
1483
|
+
value: string;
|
|
1484
|
+
__TYPE__: "FieldContent";
|
|
1485
|
+
};
|
|
1023
1486
|
} & {
|
|
1024
1487
|
__TYPE__: "FileLink";
|
|
1025
1488
|
} & {
|
|
1026
1489
|
size?: string;
|
|
1490
|
+
title?: {
|
|
1491
|
+
type: "Text";
|
|
1492
|
+
value: string;
|
|
1493
|
+
__TYPE__: "FieldContent";
|
|
1494
|
+
};
|
|
1027
1495
|
}) | ({
|
|
1028
1496
|
__TYPE__: "DocumentLink";
|
|
1029
1497
|
} & {
|
|
1030
1498
|
id: string;
|
|
1499
|
+
} & {
|
|
1500
|
+
title?: {
|
|
1501
|
+
type: "Text";
|
|
1502
|
+
value: string;
|
|
1503
|
+
__TYPE__: "FieldContent";
|
|
1504
|
+
};
|
|
1031
1505
|
}) | ({
|
|
1032
1506
|
__TYPE__: "ExternalLink";
|
|
1033
1507
|
} & {
|
|
@@ -1038,6 +1512,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1038
1512
|
preview?: {
|
|
1039
1513
|
title?: string;
|
|
1040
1514
|
} | null | undefined;
|
|
1515
|
+
title?: {
|
|
1516
|
+
type: "Text";
|
|
1517
|
+
value: string;
|
|
1518
|
+
__TYPE__: "FieldContent";
|
|
1519
|
+
};
|
|
1041
1520
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1042
1521
|
}>]>;
|
|
1043
1522
|
}>, t.PartialC<{
|
|
@@ -1085,6 +1564,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1085
1564
|
kind: string;
|
|
1086
1565
|
} & {
|
|
1087
1566
|
date?: string | null | undefined;
|
|
1567
|
+
title?: {
|
|
1568
|
+
type: "Text";
|
|
1569
|
+
value: string;
|
|
1570
|
+
__TYPE__: "FieldContent";
|
|
1571
|
+
};
|
|
1088
1572
|
}) | ({
|
|
1089
1573
|
id: string;
|
|
1090
1574
|
url: string;
|
|
@@ -1093,14 +1577,30 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1093
1577
|
size: string;
|
|
1094
1578
|
} & {
|
|
1095
1579
|
date?: string | null | undefined;
|
|
1580
|
+
title?: {
|
|
1581
|
+
type: "Text";
|
|
1582
|
+
value: string;
|
|
1583
|
+
__TYPE__: "FieldContent";
|
|
1584
|
+
};
|
|
1096
1585
|
} & {
|
|
1097
1586
|
__TYPE__: "FileLink";
|
|
1098
1587
|
} & {
|
|
1099
1588
|
size?: string;
|
|
1589
|
+
title?: {
|
|
1590
|
+
type: "Text";
|
|
1591
|
+
value: string;
|
|
1592
|
+
__TYPE__: "FieldContent";
|
|
1593
|
+
};
|
|
1100
1594
|
}) | ({
|
|
1101
1595
|
__TYPE__: "DocumentLink";
|
|
1102
1596
|
} & {
|
|
1103
1597
|
id: string;
|
|
1598
|
+
} & {
|
|
1599
|
+
title?: {
|
|
1600
|
+
type: "Text";
|
|
1601
|
+
value: string;
|
|
1602
|
+
__TYPE__: "FieldContent";
|
|
1603
|
+
};
|
|
1104
1604
|
}) | ({
|
|
1105
1605
|
__TYPE__: "ExternalLink";
|
|
1106
1606
|
} & {
|
|
@@ -1111,6 +1611,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1111
1611
|
preview?: {
|
|
1112
1612
|
title?: string;
|
|
1113
1613
|
} | null | undefined;
|
|
1614
|
+
title?: {
|
|
1615
|
+
type: "Text";
|
|
1616
|
+
value: string;
|
|
1617
|
+
__TYPE__: "FieldContent";
|
|
1618
|
+
};
|
|
1114
1619
|
});
|
|
1115
1620
|
start: number;
|
|
1116
1621
|
end: number;
|
|
@@ -1137,6 +1642,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1137
1642
|
kind: string;
|
|
1138
1643
|
} & {
|
|
1139
1644
|
date?: string | null | undefined;
|
|
1645
|
+
title?: {
|
|
1646
|
+
type: "Text";
|
|
1647
|
+
value: string;
|
|
1648
|
+
__TYPE__: "FieldContent";
|
|
1649
|
+
};
|
|
1140
1650
|
}) | ({
|
|
1141
1651
|
id: string;
|
|
1142
1652
|
url: string;
|
|
@@ -1145,14 +1655,30 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1145
1655
|
size: string;
|
|
1146
1656
|
} & {
|
|
1147
1657
|
date?: string | null | undefined;
|
|
1658
|
+
title?: {
|
|
1659
|
+
type: "Text";
|
|
1660
|
+
value: string;
|
|
1661
|
+
__TYPE__: "FieldContent";
|
|
1662
|
+
};
|
|
1148
1663
|
} & {
|
|
1149
1664
|
__TYPE__: "FileLink";
|
|
1150
1665
|
} & {
|
|
1151
1666
|
size?: string;
|
|
1667
|
+
title?: {
|
|
1668
|
+
type: "Text";
|
|
1669
|
+
value: string;
|
|
1670
|
+
__TYPE__: "FieldContent";
|
|
1671
|
+
};
|
|
1152
1672
|
}) | ({
|
|
1153
1673
|
__TYPE__: "DocumentLink";
|
|
1154
1674
|
} & {
|
|
1155
1675
|
id: string;
|
|
1676
|
+
} & {
|
|
1677
|
+
title?: {
|
|
1678
|
+
type: "Text";
|
|
1679
|
+
value: string;
|
|
1680
|
+
__TYPE__: "FieldContent";
|
|
1681
|
+
};
|
|
1156
1682
|
}) | ({
|
|
1157
1683
|
__TYPE__: "ExternalLink";
|
|
1158
1684
|
} & {
|
|
@@ -1163,6 +1689,11 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1163
1689
|
preview?: {
|
|
1164
1690
|
title?: string;
|
|
1165
1691
|
} | null | undefined;
|
|
1692
|
+
title?: {
|
|
1693
|
+
type: "Text";
|
|
1694
|
+
value: string;
|
|
1695
|
+
__TYPE__: "FieldContent";
|
|
1696
|
+
};
|
|
1166
1697
|
});
|
|
1167
1698
|
start: number;
|
|
1168
1699
|
end: number;
|