@prismicio/types-internal 2.7.0-alpha.3 → 2.7.0-alpha.4
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/content/Document.d.ts +2118 -798
- package/lib/content/fields/WidgetContent.d.ts +2118 -798
- package/lib/content/fields/nestable/LinkContent.d.ts +248 -85
- package/lib/content/fields/nestable/LinkContent.js +96 -42
- package/lib/content/fields/nestable/NestableContent.d.ts +353 -133
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +654 -234
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +320 -120
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +161 -61
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +706 -266
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +353 -133
- package/lib/content/fields/slices/Slice/index.d.ts +1285 -485
- package/lib/content/fields/slices/SliceItem.d.ts +1285 -485
- package/lib/content/fields/slices/SlicesContent.d.ts +1766 -666
- package/lib/customtypes/CustomType.d.ts +18 -320
- package/lib/customtypes/Section.d.ts +18 -320
- package/lib/customtypes/diff/SharedSlice.d.ts +8 -160
- package/lib/customtypes/diff/Variation.d.ts +8 -160
- package/lib/customtypes/widgets/Group.d.ts +18 -315
- package/lib/customtypes/widgets/Group.js +5 -43
- package/lib/customtypes/widgets/Widget.d.ts +33 -412
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/Link.js +1 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +4 -42
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +16 -168
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +10 -164
- package/lib/customtypes/widgets/slices/Slices.d.ts +34 -366
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +121 -50
- package/src/customtypes/widgets/Group.ts +6 -52
- package/src/customtypes/widgets/nestable/Link.ts +1 -0
|
@@ -115,35 +115,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
115
115
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
116
116
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
117
117
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
118
|
-
}>>, t.
|
|
118
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
119
|
+
kind: t.LiteralC<"image">;
|
|
120
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
119
121
|
id: t.StringC;
|
|
120
122
|
url: t.StringC;
|
|
121
123
|
height: t.StringC;
|
|
122
124
|
width: t.StringC;
|
|
123
125
|
size: t.StringC;
|
|
124
126
|
name: t.StringC;
|
|
125
|
-
kind: t.StringC;
|
|
126
127
|
}>, t.PartialC<{
|
|
127
128
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
128
|
-
|
|
129
|
+
text: t.StringC;
|
|
130
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
131
|
+
text: t.StringC;
|
|
132
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
133
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
134
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
135
|
+
kind: t.LiteralC<"file">;
|
|
136
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
129
137
|
id: t.StringC;
|
|
130
138
|
url: t.StringC;
|
|
131
139
|
name: t.StringC;
|
|
132
|
-
kind: t.StringC;
|
|
133
140
|
size: t.StringC;
|
|
134
141
|
}>, t.PartialC<{
|
|
135
142
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
143
|
+
text: t.StringC;
|
|
144
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
145
|
+
text: t.StringC;
|
|
146
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
141
147
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
142
|
-
}>>, t.ExactC<t.TypeC<{
|
|
148
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
143
149
|
id: t.Type<string, string, unknown>;
|
|
144
|
-
}
|
|
150
|
+
}>, t.PartialC<{
|
|
151
|
+
kind: t.LiteralC<"document">;
|
|
152
|
+
text: t.StringC;
|
|
153
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
154
|
+
kind: t.LiteralC<"document">;
|
|
155
|
+
text: t.StringC;
|
|
156
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
145
157
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
146
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
158
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
147
159
|
url: t.StringC;
|
|
148
160
|
}>, t.PartialC<{
|
|
149
161
|
kind: t.LiteralC<"web">;
|
|
@@ -153,7 +165,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
153
165
|
}, {
|
|
154
166
|
title?: string;
|
|
155
167
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
156
|
-
|
|
168
|
+
text: t.StringC;
|
|
169
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
170
|
+
kind: t.LiteralC<"web">;
|
|
171
|
+
text: t.StringC;
|
|
172
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
173
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
174
|
+
}>>, t.ExactC<t.TypeC<{
|
|
175
|
+
text: t.StringC;
|
|
176
|
+
}>>]>]>;
|
|
157
177
|
}>>, t.ExactC<t.TypeC<{
|
|
158
178
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
159
179
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -183,35 +203,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
183
203
|
}>]>>, t.PartialC<{
|
|
184
204
|
linkTo: t.UnionC<[t.Type<({
|
|
185
205
|
__TYPE__: "ImageLink";
|
|
186
|
-
} & {
|
|
206
|
+
} & ({
|
|
207
|
+
kind: "image";
|
|
208
|
+
} & (({
|
|
187
209
|
id: string;
|
|
188
210
|
url: string;
|
|
189
211
|
height: string;
|
|
190
212
|
width: string;
|
|
191
213
|
size: string;
|
|
192
214
|
name: string;
|
|
193
|
-
kind: string;
|
|
194
215
|
} & {
|
|
195
216
|
date?: string | null | undefined;
|
|
196
|
-
|
|
217
|
+
text?: string;
|
|
218
|
+
}) | {
|
|
219
|
+
text: string;
|
|
220
|
+
}))) | ({
|
|
221
|
+
__TYPE__: "FileLink";
|
|
222
|
+
} & ({
|
|
223
|
+
kind: "file";
|
|
224
|
+
} & (({
|
|
197
225
|
id: string;
|
|
198
226
|
url: string;
|
|
199
227
|
name: string;
|
|
200
|
-
kind: string;
|
|
201
228
|
size: string;
|
|
202
229
|
} & {
|
|
203
230
|
date?: string | null | undefined;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}) | ({
|
|
231
|
+
text?: string;
|
|
232
|
+
}) | {
|
|
233
|
+
text: string;
|
|
234
|
+
}))) | ({
|
|
209
235
|
__TYPE__: "DocumentLink";
|
|
210
|
-
} & {
|
|
236
|
+
} & (({
|
|
211
237
|
id: string;
|
|
212
|
-
}) | ({
|
|
213
|
-
__TYPE__: "ExternalLink";
|
|
214
238
|
} & {
|
|
239
|
+
kind?: "document";
|
|
240
|
+
text?: string;
|
|
241
|
+
}) | {
|
|
242
|
+
kind: "document";
|
|
243
|
+
text: string;
|
|
244
|
+
})) | ({
|
|
245
|
+
__TYPE__: "ExternalLink";
|
|
246
|
+
} & (({
|
|
215
247
|
url: string;
|
|
216
248
|
} & {
|
|
217
249
|
kind?: "web";
|
|
@@ -219,37 +251,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
219
251
|
preview?: {
|
|
220
252
|
title?: string;
|
|
221
253
|
} | null | undefined;
|
|
254
|
+
text?: string;
|
|
255
|
+
}) | {
|
|
256
|
+
kind: "web";
|
|
257
|
+
text: string;
|
|
258
|
+
})) | ({
|
|
259
|
+
__TYPE__: "AnyLink";
|
|
260
|
+
} & {
|
|
261
|
+
text: string;
|
|
222
262
|
}), ({
|
|
223
263
|
__TYPE__: "ImageLink";
|
|
224
|
-
} & {
|
|
264
|
+
} & ({
|
|
265
|
+
kind: "image";
|
|
266
|
+
} & (({
|
|
225
267
|
id: string;
|
|
226
268
|
url: string;
|
|
227
269
|
height: string;
|
|
228
270
|
width: string;
|
|
229
271
|
size: string;
|
|
230
272
|
name: string;
|
|
231
|
-
kind: string;
|
|
232
273
|
} & {
|
|
233
274
|
date?: string | null | undefined;
|
|
234
|
-
|
|
275
|
+
text?: string;
|
|
276
|
+
}) | {
|
|
277
|
+
text: string;
|
|
278
|
+
}))) | ({
|
|
279
|
+
__TYPE__: "FileLink";
|
|
280
|
+
} & ({
|
|
281
|
+
kind: "file";
|
|
282
|
+
} & (({
|
|
235
283
|
id: string;
|
|
236
284
|
url: string;
|
|
237
285
|
name: string;
|
|
238
|
-
kind: string;
|
|
239
286
|
size: string;
|
|
240
287
|
} & {
|
|
241
288
|
date?: string | null | undefined;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}) | ({
|
|
289
|
+
text?: string;
|
|
290
|
+
}) | {
|
|
291
|
+
text: string;
|
|
292
|
+
}))) | ({
|
|
247
293
|
__TYPE__: "DocumentLink";
|
|
248
|
-
} & {
|
|
294
|
+
} & (({
|
|
249
295
|
id: string;
|
|
250
|
-
}) | ({
|
|
251
|
-
__TYPE__: "ExternalLink";
|
|
252
296
|
} & {
|
|
297
|
+
kind?: "document";
|
|
298
|
+
text?: string;
|
|
299
|
+
}) | {
|
|
300
|
+
kind: "document";
|
|
301
|
+
text: string;
|
|
302
|
+
})) | ({
|
|
303
|
+
__TYPE__: "ExternalLink";
|
|
304
|
+
} & (({
|
|
253
305
|
url: string;
|
|
254
306
|
} & {
|
|
255
307
|
kind?: "web";
|
|
@@ -257,6 +309,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
257
309
|
preview?: {
|
|
258
310
|
title?: string;
|
|
259
311
|
} | null | undefined;
|
|
312
|
+
text?: string;
|
|
313
|
+
}) | {
|
|
314
|
+
kind: "web";
|
|
315
|
+
text: string;
|
|
316
|
+
})) | ({
|
|
317
|
+
__TYPE__: "AnyLink";
|
|
318
|
+
} & {
|
|
319
|
+
text: string;
|
|
260
320
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
261
321
|
}>]>;
|
|
262
322
|
}>, t.PartialC<{
|
|
@@ -294,35 +354,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
294
354
|
spans: t.Type<({
|
|
295
355
|
data: ({
|
|
296
356
|
__TYPE__: "ImageLink";
|
|
297
|
-
} & {
|
|
357
|
+
} & ({
|
|
358
|
+
kind: "image";
|
|
359
|
+
} & (({
|
|
298
360
|
id: string;
|
|
299
361
|
url: string;
|
|
300
362
|
height: string;
|
|
301
363
|
width: string;
|
|
302
364
|
size: string;
|
|
303
365
|
name: string;
|
|
304
|
-
kind: string;
|
|
305
366
|
} & {
|
|
306
367
|
date?: string | null | undefined;
|
|
307
|
-
|
|
368
|
+
text?: string;
|
|
369
|
+
}) | {
|
|
370
|
+
text: string;
|
|
371
|
+
}))) | ({
|
|
372
|
+
__TYPE__: "FileLink";
|
|
373
|
+
} & ({
|
|
374
|
+
kind: "file";
|
|
375
|
+
} & (({
|
|
308
376
|
id: string;
|
|
309
377
|
url: string;
|
|
310
378
|
name: string;
|
|
311
|
-
kind: string;
|
|
312
379
|
size: string;
|
|
313
380
|
} & {
|
|
314
381
|
date?: string | null | undefined;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
}) | ({
|
|
382
|
+
text?: string;
|
|
383
|
+
}) | {
|
|
384
|
+
text: string;
|
|
385
|
+
}))) | ({
|
|
320
386
|
__TYPE__: "DocumentLink";
|
|
321
|
-
} & {
|
|
387
|
+
} & (({
|
|
322
388
|
id: string;
|
|
323
|
-
}) | ({
|
|
324
|
-
__TYPE__: "ExternalLink";
|
|
325
389
|
} & {
|
|
390
|
+
kind?: "document";
|
|
391
|
+
text?: string;
|
|
392
|
+
}) | {
|
|
393
|
+
kind: "document";
|
|
394
|
+
text: string;
|
|
395
|
+
})) | ({
|
|
396
|
+
__TYPE__: "ExternalLink";
|
|
397
|
+
} & (({
|
|
326
398
|
url: string;
|
|
327
399
|
} & {
|
|
328
400
|
kind?: "web";
|
|
@@ -330,6 +402,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
330
402
|
preview?: {
|
|
331
403
|
title?: string;
|
|
332
404
|
} | null | undefined;
|
|
405
|
+
text?: string;
|
|
406
|
+
}) | {
|
|
407
|
+
kind: "web";
|
|
408
|
+
text: string;
|
|
409
|
+
})) | ({
|
|
410
|
+
__TYPE__: "AnyLink";
|
|
411
|
+
} & {
|
|
412
|
+
text: string;
|
|
333
413
|
});
|
|
334
414
|
start: number;
|
|
335
415
|
end: number;
|
|
@@ -346,35 +426,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
346
426
|
})[], ({
|
|
347
427
|
data: ({
|
|
348
428
|
__TYPE__: "ImageLink";
|
|
349
|
-
} & {
|
|
429
|
+
} & ({
|
|
430
|
+
kind: "image";
|
|
431
|
+
} & (({
|
|
350
432
|
id: string;
|
|
351
433
|
url: string;
|
|
352
434
|
height: string;
|
|
353
435
|
width: string;
|
|
354
436
|
size: string;
|
|
355
437
|
name: string;
|
|
356
|
-
kind: string;
|
|
357
438
|
} & {
|
|
358
439
|
date?: string | null | undefined;
|
|
359
|
-
|
|
440
|
+
text?: string;
|
|
441
|
+
}) | {
|
|
442
|
+
text: string;
|
|
443
|
+
}))) | ({
|
|
444
|
+
__TYPE__: "FileLink";
|
|
445
|
+
} & ({
|
|
446
|
+
kind: "file";
|
|
447
|
+
} & (({
|
|
360
448
|
id: string;
|
|
361
449
|
url: string;
|
|
362
450
|
name: string;
|
|
363
|
-
kind: string;
|
|
364
451
|
size: string;
|
|
365
452
|
} & {
|
|
366
453
|
date?: string | null | undefined;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}) | ({
|
|
454
|
+
text?: string;
|
|
455
|
+
}) | {
|
|
456
|
+
text: string;
|
|
457
|
+
}))) | ({
|
|
372
458
|
__TYPE__: "DocumentLink";
|
|
373
|
-
} & {
|
|
459
|
+
} & (({
|
|
374
460
|
id: string;
|
|
375
|
-
}) | ({
|
|
376
|
-
__TYPE__: "ExternalLink";
|
|
377
461
|
} & {
|
|
462
|
+
kind?: "document";
|
|
463
|
+
text?: string;
|
|
464
|
+
}) | {
|
|
465
|
+
kind: "document";
|
|
466
|
+
text: string;
|
|
467
|
+
})) | ({
|
|
468
|
+
__TYPE__: "ExternalLink";
|
|
469
|
+
} & (({
|
|
378
470
|
url: string;
|
|
379
471
|
} & {
|
|
380
472
|
kind?: "web";
|
|
@@ -382,6 +474,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
382
474
|
preview?: {
|
|
383
475
|
title?: string;
|
|
384
476
|
} | null | undefined;
|
|
477
|
+
text?: string;
|
|
478
|
+
}) | {
|
|
479
|
+
kind: "web";
|
|
480
|
+
text: string;
|
|
481
|
+
})) | ({
|
|
482
|
+
__TYPE__: "AnyLink";
|
|
483
|
+
} & {
|
|
484
|
+
text: string;
|
|
385
485
|
});
|
|
386
486
|
start: number;
|
|
387
487
|
end: number;
|
|
@@ -528,35 +628,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
528
628
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
529
629
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
530
630
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
531
|
-
}>>, t.
|
|
631
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
632
|
+
kind: t.LiteralC<"image">;
|
|
633
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
532
634
|
id: t.StringC;
|
|
533
635
|
url: t.StringC;
|
|
534
636
|
height: t.StringC;
|
|
535
637
|
width: t.StringC;
|
|
536
638
|
size: t.StringC;
|
|
537
639
|
name: t.StringC;
|
|
538
|
-
kind: t.StringC;
|
|
539
640
|
}>, t.PartialC<{
|
|
540
641
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
541
|
-
|
|
642
|
+
text: t.StringC;
|
|
643
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
644
|
+
text: t.StringC;
|
|
645
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
646
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
647
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
648
|
+
kind: t.LiteralC<"file">;
|
|
649
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
542
650
|
id: t.StringC;
|
|
543
651
|
url: t.StringC;
|
|
544
652
|
name: t.StringC;
|
|
545
|
-
kind: t.StringC;
|
|
546
653
|
size: t.StringC;
|
|
547
654
|
}>, t.PartialC<{
|
|
548
655
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
656
|
+
text: t.StringC;
|
|
657
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
658
|
+
text: t.StringC;
|
|
659
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
554
660
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
555
|
-
}>>, t.ExactC<t.TypeC<{
|
|
661
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
556
662
|
id: t.Type<string, string, unknown>;
|
|
557
|
-
}
|
|
663
|
+
}>, t.PartialC<{
|
|
664
|
+
kind: t.LiteralC<"document">;
|
|
665
|
+
text: t.StringC;
|
|
666
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
667
|
+
kind: t.LiteralC<"document">;
|
|
668
|
+
text: t.StringC;
|
|
669
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
558
670
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
559
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
671
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
560
672
|
url: t.StringC;
|
|
561
673
|
}>, t.PartialC<{
|
|
562
674
|
kind: t.LiteralC<"web">;
|
|
@@ -566,7 +678,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
566
678
|
}, {
|
|
567
679
|
title?: string;
|
|
568
680
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
569
|
-
|
|
681
|
+
text: t.StringC;
|
|
682
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
683
|
+
kind: t.LiteralC<"web">;
|
|
684
|
+
text: t.StringC;
|
|
685
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
686
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
687
|
+
}>>, t.ExactC<t.TypeC<{
|
|
688
|
+
text: t.StringC;
|
|
689
|
+
}>>]>]>;
|
|
570
690
|
}>>, t.ExactC<t.TypeC<{
|
|
571
691
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
572
692
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -596,35 +716,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
596
716
|
}>]>>, t.PartialC<{
|
|
597
717
|
linkTo: t.UnionC<[t.Type<({
|
|
598
718
|
__TYPE__: "ImageLink";
|
|
599
|
-
} & {
|
|
719
|
+
} & ({
|
|
720
|
+
kind: "image";
|
|
721
|
+
} & (({
|
|
600
722
|
id: string;
|
|
601
723
|
url: string;
|
|
602
724
|
height: string;
|
|
603
725
|
width: string;
|
|
604
726
|
size: string;
|
|
605
727
|
name: string;
|
|
606
|
-
kind: string;
|
|
607
728
|
} & {
|
|
608
729
|
date?: string | null | undefined;
|
|
609
|
-
|
|
730
|
+
text?: string;
|
|
731
|
+
}) | {
|
|
732
|
+
text: string;
|
|
733
|
+
}))) | ({
|
|
734
|
+
__TYPE__: "FileLink";
|
|
735
|
+
} & ({
|
|
736
|
+
kind: "file";
|
|
737
|
+
} & (({
|
|
610
738
|
id: string;
|
|
611
739
|
url: string;
|
|
612
740
|
name: string;
|
|
613
|
-
kind: string;
|
|
614
741
|
size: string;
|
|
615
742
|
} & {
|
|
616
743
|
date?: string | null | undefined;
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
}) | ({
|
|
744
|
+
text?: string;
|
|
745
|
+
}) | {
|
|
746
|
+
text: string;
|
|
747
|
+
}))) | ({
|
|
622
748
|
__TYPE__: "DocumentLink";
|
|
623
|
-
} & {
|
|
749
|
+
} & (({
|
|
624
750
|
id: string;
|
|
625
|
-
}) | ({
|
|
626
|
-
__TYPE__: "ExternalLink";
|
|
627
751
|
} & {
|
|
752
|
+
kind?: "document";
|
|
753
|
+
text?: string;
|
|
754
|
+
}) | {
|
|
755
|
+
kind: "document";
|
|
756
|
+
text: string;
|
|
757
|
+
})) | ({
|
|
758
|
+
__TYPE__: "ExternalLink";
|
|
759
|
+
} & (({
|
|
628
760
|
url: string;
|
|
629
761
|
} & {
|
|
630
762
|
kind?: "web";
|
|
@@ -632,37 +764,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
632
764
|
preview?: {
|
|
633
765
|
title?: string;
|
|
634
766
|
} | null | undefined;
|
|
767
|
+
text?: string;
|
|
768
|
+
}) | {
|
|
769
|
+
kind: "web";
|
|
770
|
+
text: string;
|
|
771
|
+
})) | ({
|
|
772
|
+
__TYPE__: "AnyLink";
|
|
773
|
+
} & {
|
|
774
|
+
text: string;
|
|
635
775
|
}), ({
|
|
636
776
|
__TYPE__: "ImageLink";
|
|
637
|
-
} & {
|
|
777
|
+
} & ({
|
|
778
|
+
kind: "image";
|
|
779
|
+
} & (({
|
|
638
780
|
id: string;
|
|
639
781
|
url: string;
|
|
640
782
|
height: string;
|
|
641
783
|
width: string;
|
|
642
784
|
size: string;
|
|
643
785
|
name: string;
|
|
644
|
-
kind: string;
|
|
645
786
|
} & {
|
|
646
787
|
date?: string | null | undefined;
|
|
647
|
-
|
|
788
|
+
text?: string;
|
|
789
|
+
}) | {
|
|
790
|
+
text: string;
|
|
791
|
+
}))) | ({
|
|
792
|
+
__TYPE__: "FileLink";
|
|
793
|
+
} & ({
|
|
794
|
+
kind: "file";
|
|
795
|
+
} & (({
|
|
648
796
|
id: string;
|
|
649
797
|
url: string;
|
|
650
798
|
name: string;
|
|
651
|
-
kind: string;
|
|
652
799
|
size: string;
|
|
653
800
|
} & {
|
|
654
801
|
date?: string | null | undefined;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}) | ({
|
|
802
|
+
text?: string;
|
|
803
|
+
}) | {
|
|
804
|
+
text: string;
|
|
805
|
+
}))) | ({
|
|
660
806
|
__TYPE__: "DocumentLink";
|
|
661
|
-
} & {
|
|
807
|
+
} & (({
|
|
662
808
|
id: string;
|
|
663
|
-
}) | ({
|
|
664
|
-
__TYPE__: "ExternalLink";
|
|
665
809
|
} & {
|
|
810
|
+
kind?: "document";
|
|
811
|
+
text?: string;
|
|
812
|
+
}) | {
|
|
813
|
+
kind: "document";
|
|
814
|
+
text: string;
|
|
815
|
+
})) | ({
|
|
816
|
+
__TYPE__: "ExternalLink";
|
|
817
|
+
} & (({
|
|
666
818
|
url: string;
|
|
667
819
|
} & {
|
|
668
820
|
kind?: "web";
|
|
@@ -670,6 +822,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
670
822
|
preview?: {
|
|
671
823
|
title?: string;
|
|
672
824
|
} | null | undefined;
|
|
825
|
+
text?: string;
|
|
826
|
+
}) | {
|
|
827
|
+
kind: "web";
|
|
828
|
+
text: string;
|
|
829
|
+
})) | ({
|
|
830
|
+
__TYPE__: "AnyLink";
|
|
831
|
+
} & {
|
|
832
|
+
text: string;
|
|
673
833
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
674
834
|
}>]>;
|
|
675
835
|
}>, t.PartialC<{
|
|
@@ -707,35 +867,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
707
867
|
spans: t.Type<({
|
|
708
868
|
data: ({
|
|
709
869
|
__TYPE__: "ImageLink";
|
|
710
|
-
} & {
|
|
870
|
+
} & ({
|
|
871
|
+
kind: "image";
|
|
872
|
+
} & (({
|
|
711
873
|
id: string;
|
|
712
874
|
url: string;
|
|
713
875
|
height: string;
|
|
714
876
|
width: string;
|
|
715
877
|
size: string;
|
|
716
878
|
name: string;
|
|
717
|
-
kind: string;
|
|
718
879
|
} & {
|
|
719
880
|
date?: string | null | undefined;
|
|
720
|
-
|
|
881
|
+
text?: string;
|
|
882
|
+
}) | {
|
|
883
|
+
text: string;
|
|
884
|
+
}))) | ({
|
|
885
|
+
__TYPE__: "FileLink";
|
|
886
|
+
} & ({
|
|
887
|
+
kind: "file";
|
|
888
|
+
} & (({
|
|
721
889
|
id: string;
|
|
722
890
|
url: string;
|
|
723
891
|
name: string;
|
|
724
|
-
kind: string;
|
|
725
892
|
size: string;
|
|
726
893
|
} & {
|
|
727
894
|
date?: string | null | undefined;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}) | ({
|
|
895
|
+
text?: string;
|
|
896
|
+
}) | {
|
|
897
|
+
text: string;
|
|
898
|
+
}))) | ({
|
|
733
899
|
__TYPE__: "DocumentLink";
|
|
734
|
-
} & {
|
|
900
|
+
} & (({
|
|
735
901
|
id: string;
|
|
736
|
-
}) | ({
|
|
737
|
-
__TYPE__: "ExternalLink";
|
|
738
902
|
} & {
|
|
903
|
+
kind?: "document";
|
|
904
|
+
text?: string;
|
|
905
|
+
}) | {
|
|
906
|
+
kind: "document";
|
|
907
|
+
text: string;
|
|
908
|
+
})) | ({
|
|
909
|
+
__TYPE__: "ExternalLink";
|
|
910
|
+
} & (({
|
|
739
911
|
url: string;
|
|
740
912
|
} & {
|
|
741
913
|
kind?: "web";
|
|
@@ -743,6 +915,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
743
915
|
preview?: {
|
|
744
916
|
title?: string;
|
|
745
917
|
} | null | undefined;
|
|
918
|
+
text?: string;
|
|
919
|
+
}) | {
|
|
920
|
+
kind: "web";
|
|
921
|
+
text: string;
|
|
922
|
+
})) | ({
|
|
923
|
+
__TYPE__: "AnyLink";
|
|
924
|
+
} & {
|
|
925
|
+
text: string;
|
|
746
926
|
});
|
|
747
927
|
start: number;
|
|
748
928
|
end: number;
|
|
@@ -759,35 +939,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
759
939
|
})[], ({
|
|
760
940
|
data: ({
|
|
761
941
|
__TYPE__: "ImageLink";
|
|
762
|
-
} & {
|
|
942
|
+
} & ({
|
|
943
|
+
kind: "image";
|
|
944
|
+
} & (({
|
|
763
945
|
id: string;
|
|
764
946
|
url: string;
|
|
765
947
|
height: string;
|
|
766
948
|
width: string;
|
|
767
949
|
size: string;
|
|
768
950
|
name: string;
|
|
769
|
-
kind: string;
|
|
770
951
|
} & {
|
|
771
952
|
date?: string | null | undefined;
|
|
772
|
-
|
|
953
|
+
text?: string;
|
|
954
|
+
}) | {
|
|
955
|
+
text: string;
|
|
956
|
+
}))) | ({
|
|
957
|
+
__TYPE__: "FileLink";
|
|
958
|
+
} & ({
|
|
959
|
+
kind: "file";
|
|
960
|
+
} & (({
|
|
773
961
|
id: string;
|
|
774
962
|
url: string;
|
|
775
963
|
name: string;
|
|
776
|
-
kind: string;
|
|
777
964
|
size: string;
|
|
778
965
|
} & {
|
|
779
966
|
date?: string | null | undefined;
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
}) | ({
|
|
967
|
+
text?: string;
|
|
968
|
+
}) | {
|
|
969
|
+
text: string;
|
|
970
|
+
}))) | ({
|
|
785
971
|
__TYPE__: "DocumentLink";
|
|
786
|
-
} & {
|
|
972
|
+
} & (({
|
|
787
973
|
id: string;
|
|
788
|
-
}) | ({
|
|
789
|
-
__TYPE__: "ExternalLink";
|
|
790
974
|
} & {
|
|
975
|
+
kind?: "document";
|
|
976
|
+
text?: string;
|
|
977
|
+
}) | {
|
|
978
|
+
kind: "document";
|
|
979
|
+
text: string;
|
|
980
|
+
})) | ({
|
|
981
|
+
__TYPE__: "ExternalLink";
|
|
982
|
+
} & (({
|
|
791
983
|
url: string;
|
|
792
984
|
} & {
|
|
793
985
|
kind?: "web";
|
|
@@ -795,6 +987,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
795
987
|
preview?: {
|
|
796
988
|
title?: string;
|
|
797
989
|
} | null | undefined;
|
|
990
|
+
text?: string;
|
|
991
|
+
}) | {
|
|
992
|
+
kind: "web";
|
|
993
|
+
text: string;
|
|
994
|
+
})) | ({
|
|
995
|
+
__TYPE__: "AnyLink";
|
|
996
|
+
} & {
|
|
997
|
+
text: string;
|
|
798
998
|
});
|
|
799
999
|
start: number;
|
|
800
1000
|
end: number;
|
|
@@ -933,35 +1133,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
933
1133
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
934
1134
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
935
1135
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
936
|
-
}>>, t.
|
|
1136
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1137
|
+
kind: t.LiteralC<"image">;
|
|
1138
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
937
1139
|
id: t.StringC;
|
|
938
1140
|
url: t.StringC;
|
|
939
1141
|
height: t.StringC;
|
|
940
1142
|
width: t.StringC;
|
|
941
1143
|
size: t.StringC;
|
|
942
1144
|
name: t.StringC;
|
|
943
|
-
kind: t.StringC;
|
|
944
1145
|
}>, t.PartialC<{
|
|
945
1146
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
946
|
-
|
|
1147
|
+
text: t.StringC;
|
|
1148
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1149
|
+
text: t.StringC;
|
|
1150
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1151
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1152
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1153
|
+
kind: t.LiteralC<"file">;
|
|
1154
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
947
1155
|
id: t.StringC;
|
|
948
1156
|
url: t.StringC;
|
|
949
1157
|
name: t.StringC;
|
|
950
|
-
kind: t.StringC;
|
|
951
1158
|
size: t.StringC;
|
|
952
1159
|
}>, t.PartialC<{
|
|
953
1160
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1161
|
+
text: t.StringC;
|
|
1162
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1163
|
+
text: t.StringC;
|
|
1164
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
959
1165
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
960
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1166
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
961
1167
|
id: t.Type<string, string, unknown>;
|
|
962
|
-
}
|
|
1168
|
+
}>, t.PartialC<{
|
|
1169
|
+
kind: t.LiteralC<"document">;
|
|
1170
|
+
text: t.StringC;
|
|
1171
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1172
|
+
kind: t.LiteralC<"document">;
|
|
1173
|
+
text: t.StringC;
|
|
1174
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
963
1175
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
964
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1176
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
965
1177
|
url: t.StringC;
|
|
966
1178
|
}>, t.PartialC<{
|
|
967
1179
|
kind: t.LiteralC<"web">;
|
|
@@ -971,7 +1183,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
971
1183
|
}, {
|
|
972
1184
|
title?: string;
|
|
973
1185
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
974
|
-
|
|
1186
|
+
text: t.StringC;
|
|
1187
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1188
|
+
kind: t.LiteralC<"web">;
|
|
1189
|
+
text: t.StringC;
|
|
1190
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1191
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1192
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1193
|
+
text: t.StringC;
|
|
1194
|
+
}>>]>]>;
|
|
975
1195
|
}>>, t.ExactC<t.TypeC<{
|
|
976
1196
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
977
1197
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1001,35 +1221,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1001
1221
|
}>]>>, t.PartialC<{
|
|
1002
1222
|
linkTo: t.UnionC<[t.Type<({
|
|
1003
1223
|
__TYPE__: "ImageLink";
|
|
1004
|
-
} & {
|
|
1224
|
+
} & ({
|
|
1225
|
+
kind: "image";
|
|
1226
|
+
} & (({
|
|
1005
1227
|
id: string;
|
|
1006
1228
|
url: string;
|
|
1007
1229
|
height: string;
|
|
1008
1230
|
width: string;
|
|
1009
1231
|
size: string;
|
|
1010
1232
|
name: string;
|
|
1011
|
-
kind: string;
|
|
1012
1233
|
} & {
|
|
1013
1234
|
date?: string | null | undefined;
|
|
1014
|
-
|
|
1235
|
+
text?: string;
|
|
1236
|
+
}) | {
|
|
1237
|
+
text: string;
|
|
1238
|
+
}))) | ({
|
|
1239
|
+
__TYPE__: "FileLink";
|
|
1240
|
+
} & ({
|
|
1241
|
+
kind: "file";
|
|
1242
|
+
} & (({
|
|
1015
1243
|
id: string;
|
|
1016
1244
|
url: string;
|
|
1017
1245
|
name: string;
|
|
1018
|
-
kind: string;
|
|
1019
1246
|
size: string;
|
|
1020
1247
|
} & {
|
|
1021
1248
|
date?: string | null | undefined;
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
}) | ({
|
|
1249
|
+
text?: string;
|
|
1250
|
+
}) | {
|
|
1251
|
+
text: string;
|
|
1252
|
+
}))) | ({
|
|
1027
1253
|
__TYPE__: "DocumentLink";
|
|
1028
|
-
} & {
|
|
1254
|
+
} & (({
|
|
1029
1255
|
id: string;
|
|
1030
|
-
}) | ({
|
|
1031
|
-
__TYPE__: "ExternalLink";
|
|
1032
1256
|
} & {
|
|
1257
|
+
kind?: "document";
|
|
1258
|
+
text?: string;
|
|
1259
|
+
}) | {
|
|
1260
|
+
kind: "document";
|
|
1261
|
+
text: string;
|
|
1262
|
+
})) | ({
|
|
1263
|
+
__TYPE__: "ExternalLink";
|
|
1264
|
+
} & (({
|
|
1033
1265
|
url: string;
|
|
1034
1266
|
} & {
|
|
1035
1267
|
kind?: "web";
|
|
@@ -1037,37 +1269,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1037
1269
|
preview?: {
|
|
1038
1270
|
title?: string;
|
|
1039
1271
|
} | null | undefined;
|
|
1272
|
+
text?: string;
|
|
1273
|
+
}) | {
|
|
1274
|
+
kind: "web";
|
|
1275
|
+
text: string;
|
|
1276
|
+
})) | ({
|
|
1277
|
+
__TYPE__: "AnyLink";
|
|
1278
|
+
} & {
|
|
1279
|
+
text: string;
|
|
1040
1280
|
}), ({
|
|
1041
1281
|
__TYPE__: "ImageLink";
|
|
1042
|
-
} & {
|
|
1282
|
+
} & ({
|
|
1283
|
+
kind: "image";
|
|
1284
|
+
} & (({
|
|
1043
1285
|
id: string;
|
|
1044
1286
|
url: string;
|
|
1045
1287
|
height: string;
|
|
1046
1288
|
width: string;
|
|
1047
1289
|
size: string;
|
|
1048
1290
|
name: string;
|
|
1049
|
-
kind: string;
|
|
1050
1291
|
} & {
|
|
1051
1292
|
date?: string | null | undefined;
|
|
1052
|
-
|
|
1293
|
+
text?: string;
|
|
1294
|
+
}) | {
|
|
1295
|
+
text: string;
|
|
1296
|
+
}))) | ({
|
|
1297
|
+
__TYPE__: "FileLink";
|
|
1298
|
+
} & ({
|
|
1299
|
+
kind: "file";
|
|
1300
|
+
} & (({
|
|
1053
1301
|
id: string;
|
|
1054
1302
|
url: string;
|
|
1055
1303
|
name: string;
|
|
1056
|
-
kind: string;
|
|
1057
1304
|
size: string;
|
|
1058
1305
|
} & {
|
|
1059
1306
|
date?: string | null | undefined;
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}) | ({
|
|
1307
|
+
text?: string;
|
|
1308
|
+
}) | {
|
|
1309
|
+
text: string;
|
|
1310
|
+
}))) | ({
|
|
1065
1311
|
__TYPE__: "DocumentLink";
|
|
1066
|
-
} & {
|
|
1312
|
+
} & (({
|
|
1067
1313
|
id: string;
|
|
1068
|
-
}) | ({
|
|
1069
|
-
__TYPE__: "ExternalLink";
|
|
1070
1314
|
} & {
|
|
1315
|
+
kind?: "document";
|
|
1316
|
+
text?: string;
|
|
1317
|
+
}) | {
|
|
1318
|
+
kind: "document";
|
|
1319
|
+
text: string;
|
|
1320
|
+
})) | ({
|
|
1321
|
+
__TYPE__: "ExternalLink";
|
|
1322
|
+
} & (({
|
|
1071
1323
|
url: string;
|
|
1072
1324
|
} & {
|
|
1073
1325
|
kind?: "web";
|
|
@@ -1075,6 +1327,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1075
1327
|
preview?: {
|
|
1076
1328
|
title?: string;
|
|
1077
1329
|
} | null | undefined;
|
|
1330
|
+
text?: string;
|
|
1331
|
+
}) | {
|
|
1332
|
+
kind: "web";
|
|
1333
|
+
text: string;
|
|
1334
|
+
})) | ({
|
|
1335
|
+
__TYPE__: "AnyLink";
|
|
1336
|
+
} & {
|
|
1337
|
+
text: string;
|
|
1078
1338
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1079
1339
|
}>]>;
|
|
1080
1340
|
}>, t.PartialC<{
|
|
@@ -1112,35 +1372,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1112
1372
|
spans: t.Type<({
|
|
1113
1373
|
data: ({
|
|
1114
1374
|
__TYPE__: "ImageLink";
|
|
1115
|
-
} & {
|
|
1375
|
+
} & ({
|
|
1376
|
+
kind: "image";
|
|
1377
|
+
} & (({
|
|
1116
1378
|
id: string;
|
|
1117
1379
|
url: string;
|
|
1118
1380
|
height: string;
|
|
1119
1381
|
width: string;
|
|
1120
1382
|
size: string;
|
|
1121
1383
|
name: string;
|
|
1122
|
-
kind: string;
|
|
1123
1384
|
} & {
|
|
1124
1385
|
date?: string | null | undefined;
|
|
1125
|
-
|
|
1386
|
+
text?: string;
|
|
1387
|
+
}) | {
|
|
1388
|
+
text: string;
|
|
1389
|
+
}))) | ({
|
|
1390
|
+
__TYPE__: "FileLink";
|
|
1391
|
+
} & ({
|
|
1392
|
+
kind: "file";
|
|
1393
|
+
} & (({
|
|
1126
1394
|
id: string;
|
|
1127
1395
|
url: string;
|
|
1128
1396
|
name: string;
|
|
1129
|
-
kind: string;
|
|
1130
1397
|
size: string;
|
|
1131
1398
|
} & {
|
|
1132
1399
|
date?: string | null | undefined;
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}) | ({
|
|
1400
|
+
text?: string;
|
|
1401
|
+
}) | {
|
|
1402
|
+
text: string;
|
|
1403
|
+
}))) | ({
|
|
1138
1404
|
__TYPE__: "DocumentLink";
|
|
1139
|
-
} & {
|
|
1405
|
+
} & (({
|
|
1140
1406
|
id: string;
|
|
1141
|
-
}) | ({
|
|
1142
|
-
__TYPE__: "ExternalLink";
|
|
1143
1407
|
} & {
|
|
1408
|
+
kind?: "document";
|
|
1409
|
+
text?: string;
|
|
1410
|
+
}) | {
|
|
1411
|
+
kind: "document";
|
|
1412
|
+
text: string;
|
|
1413
|
+
})) | ({
|
|
1414
|
+
__TYPE__: "ExternalLink";
|
|
1415
|
+
} & (({
|
|
1144
1416
|
url: string;
|
|
1145
1417
|
} & {
|
|
1146
1418
|
kind?: "web";
|
|
@@ -1148,6 +1420,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1148
1420
|
preview?: {
|
|
1149
1421
|
title?: string;
|
|
1150
1422
|
} | null | undefined;
|
|
1423
|
+
text?: string;
|
|
1424
|
+
}) | {
|
|
1425
|
+
kind: "web";
|
|
1426
|
+
text: string;
|
|
1427
|
+
})) | ({
|
|
1428
|
+
__TYPE__: "AnyLink";
|
|
1429
|
+
} & {
|
|
1430
|
+
text: string;
|
|
1151
1431
|
});
|
|
1152
1432
|
start: number;
|
|
1153
1433
|
end: number;
|
|
@@ -1164,35 +1444,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1164
1444
|
})[], ({
|
|
1165
1445
|
data: ({
|
|
1166
1446
|
__TYPE__: "ImageLink";
|
|
1167
|
-
} & {
|
|
1447
|
+
} & ({
|
|
1448
|
+
kind: "image";
|
|
1449
|
+
} & (({
|
|
1168
1450
|
id: string;
|
|
1169
1451
|
url: string;
|
|
1170
1452
|
height: string;
|
|
1171
1453
|
width: string;
|
|
1172
1454
|
size: string;
|
|
1173
1455
|
name: string;
|
|
1174
|
-
kind: string;
|
|
1175
1456
|
} & {
|
|
1176
1457
|
date?: string | null | undefined;
|
|
1177
|
-
|
|
1458
|
+
text?: string;
|
|
1459
|
+
}) | {
|
|
1460
|
+
text: string;
|
|
1461
|
+
}))) | ({
|
|
1462
|
+
__TYPE__: "FileLink";
|
|
1463
|
+
} & ({
|
|
1464
|
+
kind: "file";
|
|
1465
|
+
} & (({
|
|
1178
1466
|
id: string;
|
|
1179
1467
|
url: string;
|
|
1180
1468
|
name: string;
|
|
1181
|
-
kind: string;
|
|
1182
1469
|
size: string;
|
|
1183
1470
|
} & {
|
|
1184
1471
|
date?: string | null | undefined;
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
}) | ({
|
|
1472
|
+
text?: string;
|
|
1473
|
+
}) | {
|
|
1474
|
+
text: string;
|
|
1475
|
+
}))) | ({
|
|
1190
1476
|
__TYPE__: "DocumentLink";
|
|
1191
|
-
} & {
|
|
1477
|
+
} & (({
|
|
1192
1478
|
id: string;
|
|
1193
|
-
}) | ({
|
|
1194
|
-
__TYPE__: "ExternalLink";
|
|
1195
1479
|
} & {
|
|
1480
|
+
kind?: "document";
|
|
1481
|
+
text?: string;
|
|
1482
|
+
}) | {
|
|
1483
|
+
kind: "document";
|
|
1484
|
+
text: string;
|
|
1485
|
+
})) | ({
|
|
1486
|
+
__TYPE__: "ExternalLink";
|
|
1487
|
+
} & (({
|
|
1196
1488
|
url: string;
|
|
1197
1489
|
} & {
|
|
1198
1490
|
kind?: "web";
|
|
@@ -1200,6 +1492,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1200
1492
|
preview?: {
|
|
1201
1493
|
title?: string;
|
|
1202
1494
|
} | null | undefined;
|
|
1495
|
+
text?: string;
|
|
1496
|
+
}) | {
|
|
1497
|
+
kind: "web";
|
|
1498
|
+
text: string;
|
|
1499
|
+
})) | ({
|
|
1500
|
+
__TYPE__: "AnyLink";
|
|
1501
|
+
} & {
|
|
1502
|
+
text: string;
|
|
1203
1503
|
});
|
|
1204
1504
|
start: number;
|
|
1205
1505
|
end: number;
|
|
@@ -1340,35 +1640,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1340
1640
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1341
1641
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1342
1642
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1343
|
-
}>>, t.
|
|
1643
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1644
|
+
kind: t.LiteralC<"image">;
|
|
1645
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1344
1646
|
id: t.StringC;
|
|
1345
1647
|
url: t.StringC;
|
|
1346
1648
|
height: t.StringC;
|
|
1347
1649
|
width: t.StringC;
|
|
1348
1650
|
size: t.StringC;
|
|
1349
1651
|
name: t.StringC;
|
|
1350
|
-
kind: t.StringC;
|
|
1351
1652
|
}>, t.PartialC<{
|
|
1352
1653
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1353
|
-
|
|
1654
|
+
text: t.StringC;
|
|
1655
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1656
|
+
text: t.StringC;
|
|
1657
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1658
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1659
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1660
|
+
kind: t.LiteralC<"file">;
|
|
1661
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1354
1662
|
id: t.StringC;
|
|
1355
1663
|
url: t.StringC;
|
|
1356
1664
|
name: t.StringC;
|
|
1357
|
-
kind: t.StringC;
|
|
1358
1665
|
size: t.StringC;
|
|
1359
1666
|
}>, t.PartialC<{
|
|
1360
1667
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1668
|
+
text: t.StringC;
|
|
1669
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1670
|
+
text: t.StringC;
|
|
1671
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1366
1672
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1367
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1673
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1368
1674
|
id: t.Type<string, string, unknown>;
|
|
1369
|
-
}
|
|
1675
|
+
}>, t.PartialC<{
|
|
1676
|
+
kind: t.LiteralC<"document">;
|
|
1677
|
+
text: t.StringC;
|
|
1678
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1679
|
+
kind: t.LiteralC<"document">;
|
|
1680
|
+
text: t.StringC;
|
|
1681
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1370
1682
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1371
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1683
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1372
1684
|
url: t.StringC;
|
|
1373
1685
|
}>, t.PartialC<{
|
|
1374
1686
|
kind: t.LiteralC<"web">;
|
|
@@ -1378,7 +1690,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1378
1690
|
}, {
|
|
1379
1691
|
title?: string;
|
|
1380
1692
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1381
|
-
|
|
1693
|
+
text: t.StringC;
|
|
1694
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1695
|
+
kind: t.LiteralC<"web">;
|
|
1696
|
+
text: t.StringC;
|
|
1697
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1698
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1699
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1700
|
+
text: t.StringC;
|
|
1701
|
+
}>>]>]>;
|
|
1382
1702
|
}>>, t.ExactC<t.TypeC<{
|
|
1383
1703
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1384
1704
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1408,35 +1728,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1408
1728
|
}>]>>, t.PartialC<{
|
|
1409
1729
|
linkTo: t.UnionC<[t.Type<({
|
|
1410
1730
|
__TYPE__: "ImageLink";
|
|
1411
|
-
} & {
|
|
1731
|
+
} & ({
|
|
1732
|
+
kind: "image";
|
|
1733
|
+
} & (({
|
|
1412
1734
|
id: string;
|
|
1413
1735
|
url: string;
|
|
1414
1736
|
height: string;
|
|
1415
1737
|
width: string;
|
|
1416
1738
|
size: string;
|
|
1417
1739
|
name: string;
|
|
1418
|
-
kind: string;
|
|
1419
1740
|
} & {
|
|
1420
1741
|
date?: string | null | undefined;
|
|
1421
|
-
|
|
1742
|
+
text?: string;
|
|
1743
|
+
}) | {
|
|
1744
|
+
text: string;
|
|
1745
|
+
}))) | ({
|
|
1746
|
+
__TYPE__: "FileLink";
|
|
1747
|
+
} & ({
|
|
1748
|
+
kind: "file";
|
|
1749
|
+
} & (({
|
|
1422
1750
|
id: string;
|
|
1423
1751
|
url: string;
|
|
1424
1752
|
name: string;
|
|
1425
|
-
kind: string;
|
|
1426
1753
|
size: string;
|
|
1427
1754
|
} & {
|
|
1428
1755
|
date?: string | null | undefined;
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
}) | ({
|
|
1756
|
+
text?: string;
|
|
1757
|
+
}) | {
|
|
1758
|
+
text: string;
|
|
1759
|
+
}))) | ({
|
|
1434
1760
|
__TYPE__: "DocumentLink";
|
|
1435
|
-
} & {
|
|
1761
|
+
} & (({
|
|
1436
1762
|
id: string;
|
|
1437
|
-
}) | ({
|
|
1438
|
-
__TYPE__: "ExternalLink";
|
|
1439
1763
|
} & {
|
|
1764
|
+
kind?: "document";
|
|
1765
|
+
text?: string;
|
|
1766
|
+
}) | {
|
|
1767
|
+
kind: "document";
|
|
1768
|
+
text: string;
|
|
1769
|
+
})) | ({
|
|
1770
|
+
__TYPE__: "ExternalLink";
|
|
1771
|
+
} & (({
|
|
1440
1772
|
url: string;
|
|
1441
1773
|
} & {
|
|
1442
1774
|
kind?: "web";
|
|
@@ -1444,37 +1776,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1444
1776
|
preview?: {
|
|
1445
1777
|
title?: string;
|
|
1446
1778
|
} | null | undefined;
|
|
1779
|
+
text?: string;
|
|
1780
|
+
}) | {
|
|
1781
|
+
kind: "web";
|
|
1782
|
+
text: string;
|
|
1783
|
+
})) | ({
|
|
1784
|
+
__TYPE__: "AnyLink";
|
|
1785
|
+
} & {
|
|
1786
|
+
text: string;
|
|
1447
1787
|
}), ({
|
|
1448
1788
|
__TYPE__: "ImageLink";
|
|
1449
|
-
} & {
|
|
1789
|
+
} & ({
|
|
1790
|
+
kind: "image";
|
|
1791
|
+
} & (({
|
|
1450
1792
|
id: string;
|
|
1451
1793
|
url: string;
|
|
1452
1794
|
height: string;
|
|
1453
1795
|
width: string;
|
|
1454
1796
|
size: string;
|
|
1455
1797
|
name: string;
|
|
1456
|
-
kind: string;
|
|
1457
1798
|
} & {
|
|
1458
1799
|
date?: string | null | undefined;
|
|
1459
|
-
|
|
1800
|
+
text?: string;
|
|
1801
|
+
}) | {
|
|
1802
|
+
text: string;
|
|
1803
|
+
}))) | ({
|
|
1804
|
+
__TYPE__: "FileLink";
|
|
1805
|
+
} & ({
|
|
1806
|
+
kind: "file";
|
|
1807
|
+
} & (({
|
|
1460
1808
|
id: string;
|
|
1461
1809
|
url: string;
|
|
1462
1810
|
name: string;
|
|
1463
|
-
kind: string;
|
|
1464
1811
|
size: string;
|
|
1465
1812
|
} & {
|
|
1466
1813
|
date?: string | null | undefined;
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
}) | ({
|
|
1814
|
+
text?: string;
|
|
1815
|
+
}) | {
|
|
1816
|
+
text: string;
|
|
1817
|
+
}))) | ({
|
|
1472
1818
|
__TYPE__: "DocumentLink";
|
|
1473
|
-
} & {
|
|
1819
|
+
} & (({
|
|
1474
1820
|
id: string;
|
|
1475
|
-
}) | ({
|
|
1476
|
-
__TYPE__: "ExternalLink";
|
|
1477
1821
|
} & {
|
|
1822
|
+
kind?: "document";
|
|
1823
|
+
text?: string;
|
|
1824
|
+
}) | {
|
|
1825
|
+
kind: "document";
|
|
1826
|
+
text: string;
|
|
1827
|
+
})) | ({
|
|
1828
|
+
__TYPE__: "ExternalLink";
|
|
1829
|
+
} & (({
|
|
1478
1830
|
url: string;
|
|
1479
1831
|
} & {
|
|
1480
1832
|
kind?: "web";
|
|
@@ -1482,6 +1834,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1482
1834
|
preview?: {
|
|
1483
1835
|
title?: string;
|
|
1484
1836
|
} | null | undefined;
|
|
1837
|
+
text?: string;
|
|
1838
|
+
}) | {
|
|
1839
|
+
kind: "web";
|
|
1840
|
+
text: string;
|
|
1841
|
+
})) | ({
|
|
1842
|
+
__TYPE__: "AnyLink";
|
|
1843
|
+
} & {
|
|
1844
|
+
text: string;
|
|
1485
1845
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1486
1846
|
}>]>;
|
|
1487
1847
|
}>, t.PartialC<{
|
|
@@ -1519,35 +1879,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1519
1879
|
spans: t.Type<({
|
|
1520
1880
|
data: ({
|
|
1521
1881
|
__TYPE__: "ImageLink";
|
|
1522
|
-
} & {
|
|
1882
|
+
} & ({
|
|
1883
|
+
kind: "image";
|
|
1884
|
+
} & (({
|
|
1523
1885
|
id: string;
|
|
1524
1886
|
url: string;
|
|
1525
1887
|
height: string;
|
|
1526
1888
|
width: string;
|
|
1527
1889
|
size: string;
|
|
1528
1890
|
name: string;
|
|
1529
|
-
kind: string;
|
|
1530
1891
|
} & {
|
|
1531
1892
|
date?: string | null | undefined;
|
|
1532
|
-
|
|
1893
|
+
text?: string;
|
|
1894
|
+
}) | {
|
|
1895
|
+
text: string;
|
|
1896
|
+
}))) | ({
|
|
1897
|
+
__TYPE__: "FileLink";
|
|
1898
|
+
} & ({
|
|
1899
|
+
kind: "file";
|
|
1900
|
+
} & (({
|
|
1533
1901
|
id: string;
|
|
1534
1902
|
url: string;
|
|
1535
1903
|
name: string;
|
|
1536
|
-
kind: string;
|
|
1537
1904
|
size: string;
|
|
1538
1905
|
} & {
|
|
1539
1906
|
date?: string | null | undefined;
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
}) | ({
|
|
1907
|
+
text?: string;
|
|
1908
|
+
}) | {
|
|
1909
|
+
text: string;
|
|
1910
|
+
}))) | ({
|
|
1545
1911
|
__TYPE__: "DocumentLink";
|
|
1546
|
-
} & {
|
|
1912
|
+
} & (({
|
|
1547
1913
|
id: string;
|
|
1548
|
-
}) | ({
|
|
1549
|
-
__TYPE__: "ExternalLink";
|
|
1550
1914
|
} & {
|
|
1915
|
+
kind?: "document";
|
|
1916
|
+
text?: string;
|
|
1917
|
+
}) | {
|
|
1918
|
+
kind: "document";
|
|
1919
|
+
text: string;
|
|
1920
|
+
})) | ({
|
|
1921
|
+
__TYPE__: "ExternalLink";
|
|
1922
|
+
} & (({
|
|
1551
1923
|
url: string;
|
|
1552
1924
|
} & {
|
|
1553
1925
|
kind?: "web";
|
|
@@ -1555,6 +1927,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1555
1927
|
preview?: {
|
|
1556
1928
|
title?: string;
|
|
1557
1929
|
} | null | undefined;
|
|
1930
|
+
text?: string;
|
|
1931
|
+
}) | {
|
|
1932
|
+
kind: "web";
|
|
1933
|
+
text: string;
|
|
1934
|
+
})) | ({
|
|
1935
|
+
__TYPE__: "AnyLink";
|
|
1936
|
+
} & {
|
|
1937
|
+
text: string;
|
|
1558
1938
|
});
|
|
1559
1939
|
start: number;
|
|
1560
1940
|
end: number;
|
|
@@ -1571,35 +1951,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1571
1951
|
})[], ({
|
|
1572
1952
|
data: ({
|
|
1573
1953
|
__TYPE__: "ImageLink";
|
|
1574
|
-
} & {
|
|
1954
|
+
} & ({
|
|
1955
|
+
kind: "image";
|
|
1956
|
+
} & (({
|
|
1575
1957
|
id: string;
|
|
1576
1958
|
url: string;
|
|
1577
1959
|
height: string;
|
|
1578
1960
|
width: string;
|
|
1579
1961
|
size: string;
|
|
1580
1962
|
name: string;
|
|
1581
|
-
kind: string;
|
|
1582
1963
|
} & {
|
|
1583
1964
|
date?: string | null | undefined;
|
|
1584
|
-
|
|
1965
|
+
text?: string;
|
|
1966
|
+
}) | {
|
|
1967
|
+
text: string;
|
|
1968
|
+
}))) | ({
|
|
1969
|
+
__TYPE__: "FileLink";
|
|
1970
|
+
} & ({
|
|
1971
|
+
kind: "file";
|
|
1972
|
+
} & (({
|
|
1585
1973
|
id: string;
|
|
1586
1974
|
url: string;
|
|
1587
1975
|
name: string;
|
|
1588
|
-
kind: string;
|
|
1589
1976
|
size: string;
|
|
1590
1977
|
} & {
|
|
1591
1978
|
date?: string | null | undefined;
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
}) | ({
|
|
1979
|
+
text?: string;
|
|
1980
|
+
}) | {
|
|
1981
|
+
text: string;
|
|
1982
|
+
}))) | ({
|
|
1597
1983
|
__TYPE__: "DocumentLink";
|
|
1598
|
-
} & {
|
|
1984
|
+
} & (({
|
|
1599
1985
|
id: string;
|
|
1600
|
-
}) | ({
|
|
1601
|
-
__TYPE__: "ExternalLink";
|
|
1602
1986
|
} & {
|
|
1987
|
+
kind?: "document";
|
|
1988
|
+
text?: string;
|
|
1989
|
+
}) | {
|
|
1990
|
+
kind: "document";
|
|
1991
|
+
text: string;
|
|
1992
|
+
})) | ({
|
|
1993
|
+
__TYPE__: "ExternalLink";
|
|
1994
|
+
} & (({
|
|
1603
1995
|
url: string;
|
|
1604
1996
|
} & {
|
|
1605
1997
|
kind?: "web";
|
|
@@ -1607,6 +1999,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1607
1999
|
preview?: {
|
|
1608
2000
|
title?: string;
|
|
1609
2001
|
} | null | undefined;
|
|
2002
|
+
text?: string;
|
|
2003
|
+
}) | {
|
|
2004
|
+
kind: "web";
|
|
2005
|
+
text: string;
|
|
2006
|
+
})) | ({
|
|
2007
|
+
__TYPE__: "AnyLink";
|
|
2008
|
+
} & {
|
|
2009
|
+
text: string;
|
|
1610
2010
|
});
|
|
1611
2011
|
start: number;
|
|
1612
2012
|
end: number;
|
|
@@ -1745,35 +2145,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1745
2145
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1746
2146
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1747
2147
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1748
|
-
}>>, t.
|
|
2148
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2149
|
+
kind: t.LiteralC<"image">;
|
|
2150
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1749
2151
|
id: t.StringC;
|
|
1750
2152
|
url: t.StringC;
|
|
1751
2153
|
height: t.StringC;
|
|
1752
2154
|
width: t.StringC;
|
|
1753
2155
|
size: t.StringC;
|
|
1754
2156
|
name: t.StringC;
|
|
1755
|
-
kind: t.StringC;
|
|
1756
2157
|
}>, t.PartialC<{
|
|
1757
2158
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1758
|
-
|
|
2159
|
+
text: t.StringC;
|
|
2160
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2161
|
+
text: t.StringC;
|
|
2162
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2163
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2164
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2165
|
+
kind: t.LiteralC<"file">;
|
|
2166
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1759
2167
|
id: t.StringC;
|
|
1760
2168
|
url: t.StringC;
|
|
1761
2169
|
name: t.StringC;
|
|
1762
|
-
kind: t.StringC;
|
|
1763
2170
|
size: t.StringC;
|
|
1764
2171
|
}>, t.PartialC<{
|
|
1765
2172
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2173
|
+
text: t.StringC;
|
|
2174
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2175
|
+
text: t.StringC;
|
|
2176
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1771
2177
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1772
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2178
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1773
2179
|
id: t.Type<string, string, unknown>;
|
|
1774
|
-
}
|
|
2180
|
+
}>, t.PartialC<{
|
|
2181
|
+
kind: t.LiteralC<"document">;
|
|
2182
|
+
text: t.StringC;
|
|
2183
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2184
|
+
kind: t.LiteralC<"document">;
|
|
2185
|
+
text: t.StringC;
|
|
2186
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1775
2187
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1776
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2188
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1777
2189
|
url: t.StringC;
|
|
1778
2190
|
}>, t.PartialC<{
|
|
1779
2191
|
kind: t.LiteralC<"web">;
|
|
@@ -1783,7 +2195,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1783
2195
|
}, {
|
|
1784
2196
|
title?: string;
|
|
1785
2197
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1786
|
-
|
|
2198
|
+
text: t.StringC;
|
|
2199
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2200
|
+
kind: t.LiteralC<"web">;
|
|
2201
|
+
text: t.StringC;
|
|
2202
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2203
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2204
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2205
|
+
text: t.StringC;
|
|
2206
|
+
}>>]>]>;
|
|
1787
2207
|
}>>, t.ExactC<t.TypeC<{
|
|
1788
2208
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
1789
2209
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -1813,35 +2233,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1813
2233
|
}>]>>, t.PartialC<{
|
|
1814
2234
|
linkTo: t.UnionC<[t.Type<({
|
|
1815
2235
|
__TYPE__: "ImageLink";
|
|
1816
|
-
} & {
|
|
2236
|
+
} & ({
|
|
2237
|
+
kind: "image";
|
|
2238
|
+
} & (({
|
|
1817
2239
|
id: string;
|
|
1818
2240
|
url: string;
|
|
1819
2241
|
height: string;
|
|
1820
2242
|
width: string;
|
|
1821
2243
|
size: string;
|
|
1822
2244
|
name: string;
|
|
1823
|
-
kind: string;
|
|
1824
2245
|
} & {
|
|
1825
2246
|
date?: string | null | undefined;
|
|
1826
|
-
|
|
2247
|
+
text?: string;
|
|
2248
|
+
}) | {
|
|
2249
|
+
text: string;
|
|
2250
|
+
}))) | ({
|
|
2251
|
+
__TYPE__: "FileLink";
|
|
2252
|
+
} & ({
|
|
2253
|
+
kind: "file";
|
|
2254
|
+
} & (({
|
|
1827
2255
|
id: string;
|
|
1828
2256
|
url: string;
|
|
1829
2257
|
name: string;
|
|
1830
|
-
kind: string;
|
|
1831
2258
|
size: string;
|
|
1832
2259
|
} & {
|
|
1833
2260
|
date?: string | null | undefined;
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
}) | ({
|
|
2261
|
+
text?: string;
|
|
2262
|
+
}) | {
|
|
2263
|
+
text: string;
|
|
2264
|
+
}))) | ({
|
|
1839
2265
|
__TYPE__: "DocumentLink";
|
|
1840
|
-
} & {
|
|
2266
|
+
} & (({
|
|
1841
2267
|
id: string;
|
|
1842
|
-
}) | ({
|
|
1843
|
-
__TYPE__: "ExternalLink";
|
|
1844
2268
|
} & {
|
|
2269
|
+
kind?: "document";
|
|
2270
|
+
text?: string;
|
|
2271
|
+
}) | {
|
|
2272
|
+
kind: "document";
|
|
2273
|
+
text: string;
|
|
2274
|
+
})) | ({
|
|
2275
|
+
__TYPE__: "ExternalLink";
|
|
2276
|
+
} & (({
|
|
1845
2277
|
url: string;
|
|
1846
2278
|
} & {
|
|
1847
2279
|
kind?: "web";
|
|
@@ -1849,37 +2281,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1849
2281
|
preview?: {
|
|
1850
2282
|
title?: string;
|
|
1851
2283
|
} | null | undefined;
|
|
2284
|
+
text?: string;
|
|
2285
|
+
}) | {
|
|
2286
|
+
kind: "web";
|
|
2287
|
+
text: string;
|
|
2288
|
+
})) | ({
|
|
2289
|
+
__TYPE__: "AnyLink";
|
|
2290
|
+
} & {
|
|
2291
|
+
text: string;
|
|
1852
2292
|
}), ({
|
|
1853
2293
|
__TYPE__: "ImageLink";
|
|
1854
|
-
} & {
|
|
2294
|
+
} & ({
|
|
2295
|
+
kind: "image";
|
|
2296
|
+
} & (({
|
|
1855
2297
|
id: string;
|
|
1856
2298
|
url: string;
|
|
1857
2299
|
height: string;
|
|
1858
2300
|
width: string;
|
|
1859
2301
|
size: string;
|
|
1860
2302
|
name: string;
|
|
1861
|
-
kind: string;
|
|
1862
2303
|
} & {
|
|
1863
2304
|
date?: string | null | undefined;
|
|
1864
|
-
|
|
2305
|
+
text?: string;
|
|
2306
|
+
}) | {
|
|
2307
|
+
text: string;
|
|
2308
|
+
}))) | ({
|
|
2309
|
+
__TYPE__: "FileLink";
|
|
2310
|
+
} & ({
|
|
2311
|
+
kind: "file";
|
|
2312
|
+
} & (({
|
|
1865
2313
|
id: string;
|
|
1866
2314
|
url: string;
|
|
1867
2315
|
name: string;
|
|
1868
|
-
kind: string;
|
|
1869
2316
|
size: string;
|
|
1870
2317
|
} & {
|
|
1871
2318
|
date?: string | null | undefined;
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
}) | ({
|
|
2319
|
+
text?: string;
|
|
2320
|
+
}) | {
|
|
2321
|
+
text: string;
|
|
2322
|
+
}))) | ({
|
|
1877
2323
|
__TYPE__: "DocumentLink";
|
|
1878
|
-
} & {
|
|
2324
|
+
} & (({
|
|
1879
2325
|
id: string;
|
|
1880
|
-
}) | ({
|
|
1881
|
-
__TYPE__: "ExternalLink";
|
|
1882
2326
|
} & {
|
|
2327
|
+
kind?: "document";
|
|
2328
|
+
text?: string;
|
|
2329
|
+
}) | {
|
|
2330
|
+
kind: "document";
|
|
2331
|
+
text: string;
|
|
2332
|
+
})) | ({
|
|
2333
|
+
__TYPE__: "ExternalLink";
|
|
2334
|
+
} & (({
|
|
1883
2335
|
url: string;
|
|
1884
2336
|
} & {
|
|
1885
2337
|
kind?: "web";
|
|
@@ -1887,6 +2339,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1887
2339
|
preview?: {
|
|
1888
2340
|
title?: string;
|
|
1889
2341
|
} | null | undefined;
|
|
2342
|
+
text?: string;
|
|
2343
|
+
}) | {
|
|
2344
|
+
kind: "web";
|
|
2345
|
+
text: string;
|
|
2346
|
+
})) | ({
|
|
2347
|
+
__TYPE__: "AnyLink";
|
|
2348
|
+
} & {
|
|
2349
|
+
text: string;
|
|
1890
2350
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1891
2351
|
}>]>;
|
|
1892
2352
|
}>, t.PartialC<{
|
|
@@ -1924,35 +2384,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1924
2384
|
spans: t.Type<({
|
|
1925
2385
|
data: ({
|
|
1926
2386
|
__TYPE__: "ImageLink";
|
|
1927
|
-
} & {
|
|
2387
|
+
} & ({
|
|
2388
|
+
kind: "image";
|
|
2389
|
+
} & (({
|
|
1928
2390
|
id: string;
|
|
1929
2391
|
url: string;
|
|
1930
2392
|
height: string;
|
|
1931
2393
|
width: string;
|
|
1932
2394
|
size: string;
|
|
1933
2395
|
name: string;
|
|
1934
|
-
kind: string;
|
|
1935
2396
|
} & {
|
|
1936
2397
|
date?: string | null | undefined;
|
|
1937
|
-
|
|
2398
|
+
text?: string;
|
|
2399
|
+
}) | {
|
|
2400
|
+
text: string;
|
|
2401
|
+
}))) | ({
|
|
2402
|
+
__TYPE__: "FileLink";
|
|
2403
|
+
} & ({
|
|
2404
|
+
kind: "file";
|
|
2405
|
+
} & (({
|
|
1938
2406
|
id: string;
|
|
1939
2407
|
url: string;
|
|
1940
2408
|
name: string;
|
|
1941
|
-
kind: string;
|
|
1942
2409
|
size: string;
|
|
1943
2410
|
} & {
|
|
1944
2411
|
date?: string | null | undefined;
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
}) | ({
|
|
2412
|
+
text?: string;
|
|
2413
|
+
}) | {
|
|
2414
|
+
text: string;
|
|
2415
|
+
}))) | ({
|
|
1950
2416
|
__TYPE__: "DocumentLink";
|
|
1951
|
-
} & {
|
|
2417
|
+
} & (({
|
|
1952
2418
|
id: string;
|
|
1953
|
-
}) | ({
|
|
1954
|
-
__TYPE__: "ExternalLink";
|
|
1955
2419
|
} & {
|
|
2420
|
+
kind?: "document";
|
|
2421
|
+
text?: string;
|
|
2422
|
+
}) | {
|
|
2423
|
+
kind: "document";
|
|
2424
|
+
text: string;
|
|
2425
|
+
})) | ({
|
|
2426
|
+
__TYPE__: "ExternalLink";
|
|
2427
|
+
} & (({
|
|
1956
2428
|
url: string;
|
|
1957
2429
|
} & {
|
|
1958
2430
|
kind?: "web";
|
|
@@ -1960,6 +2432,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1960
2432
|
preview?: {
|
|
1961
2433
|
title?: string;
|
|
1962
2434
|
} | null | undefined;
|
|
2435
|
+
text?: string;
|
|
2436
|
+
}) | {
|
|
2437
|
+
kind: "web";
|
|
2438
|
+
text: string;
|
|
2439
|
+
})) | ({
|
|
2440
|
+
__TYPE__: "AnyLink";
|
|
2441
|
+
} & {
|
|
2442
|
+
text: string;
|
|
1963
2443
|
});
|
|
1964
2444
|
start: number;
|
|
1965
2445
|
end: number;
|
|
@@ -1976,35 +2456,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1976
2456
|
})[], ({
|
|
1977
2457
|
data: ({
|
|
1978
2458
|
__TYPE__: "ImageLink";
|
|
1979
|
-
} & {
|
|
2459
|
+
} & ({
|
|
2460
|
+
kind: "image";
|
|
2461
|
+
} & (({
|
|
1980
2462
|
id: string;
|
|
1981
2463
|
url: string;
|
|
1982
2464
|
height: string;
|
|
1983
2465
|
width: string;
|
|
1984
2466
|
size: string;
|
|
1985
2467
|
name: string;
|
|
1986
|
-
kind: string;
|
|
1987
2468
|
} & {
|
|
1988
2469
|
date?: string | null | undefined;
|
|
1989
|
-
|
|
2470
|
+
text?: string;
|
|
2471
|
+
}) | {
|
|
2472
|
+
text: string;
|
|
2473
|
+
}))) | ({
|
|
2474
|
+
__TYPE__: "FileLink";
|
|
2475
|
+
} & ({
|
|
2476
|
+
kind: "file";
|
|
2477
|
+
} & (({
|
|
1990
2478
|
id: string;
|
|
1991
2479
|
url: string;
|
|
1992
2480
|
name: string;
|
|
1993
|
-
kind: string;
|
|
1994
2481
|
size: string;
|
|
1995
2482
|
} & {
|
|
1996
2483
|
date?: string | null | undefined;
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
}) | ({
|
|
2484
|
+
text?: string;
|
|
2485
|
+
}) | {
|
|
2486
|
+
text: string;
|
|
2487
|
+
}))) | ({
|
|
2002
2488
|
__TYPE__: "DocumentLink";
|
|
2003
|
-
} & {
|
|
2489
|
+
} & (({
|
|
2004
2490
|
id: string;
|
|
2005
|
-
}) | ({
|
|
2006
|
-
__TYPE__: "ExternalLink";
|
|
2007
2491
|
} & {
|
|
2492
|
+
kind?: "document";
|
|
2493
|
+
text?: string;
|
|
2494
|
+
}) | {
|
|
2495
|
+
kind: "document";
|
|
2496
|
+
text: string;
|
|
2497
|
+
})) | ({
|
|
2498
|
+
__TYPE__: "ExternalLink";
|
|
2499
|
+
} & (({
|
|
2008
2500
|
url: string;
|
|
2009
2501
|
} & {
|
|
2010
2502
|
kind?: "web";
|
|
@@ -2012,6 +2504,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2012
2504
|
preview?: {
|
|
2013
2505
|
title?: string;
|
|
2014
2506
|
} | null | undefined;
|
|
2507
|
+
text?: string;
|
|
2508
|
+
}) | {
|
|
2509
|
+
kind: "web";
|
|
2510
|
+
text: string;
|
|
2511
|
+
})) | ({
|
|
2512
|
+
__TYPE__: "AnyLink";
|
|
2513
|
+
} & {
|
|
2514
|
+
text: string;
|
|
2015
2515
|
});
|
|
2016
2516
|
start: number;
|
|
2017
2517
|
end: number;
|
|
@@ -2149,35 +2649,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2149
2649
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2150
2650
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2151
2651
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2152
|
-
}>>, t.
|
|
2652
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2653
|
+
kind: t.LiteralC<"image">;
|
|
2654
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2153
2655
|
id: t.StringC;
|
|
2154
2656
|
url: t.StringC;
|
|
2155
2657
|
height: t.StringC;
|
|
2156
2658
|
width: t.StringC;
|
|
2157
2659
|
size: t.StringC;
|
|
2158
2660
|
name: t.StringC;
|
|
2159
|
-
kind: t.StringC;
|
|
2160
2661
|
}>, t.PartialC<{
|
|
2161
2662
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2162
|
-
|
|
2663
|
+
text: t.StringC;
|
|
2664
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2665
|
+
text: t.StringC;
|
|
2666
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2667
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2668
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2669
|
+
kind: t.LiteralC<"file">;
|
|
2670
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2163
2671
|
id: t.StringC;
|
|
2164
2672
|
url: t.StringC;
|
|
2165
2673
|
name: t.StringC;
|
|
2166
|
-
kind: t.StringC;
|
|
2167
2674
|
size: t.StringC;
|
|
2168
2675
|
}>, t.PartialC<{
|
|
2169
2676
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2677
|
+
text: t.StringC;
|
|
2678
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2679
|
+
text: t.StringC;
|
|
2680
|
+
}>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2175
2681
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2176
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2682
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2177
2683
|
id: t.Type<string, string, unknown>;
|
|
2178
|
-
}
|
|
2684
|
+
}>, t.PartialC<{
|
|
2685
|
+
kind: t.LiteralC<"document">;
|
|
2686
|
+
text: t.StringC;
|
|
2687
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2688
|
+
kind: t.LiteralC<"document">;
|
|
2689
|
+
text: t.StringC;
|
|
2690
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2179
2691
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2180
|
-
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2692
|
+
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2181
2693
|
url: t.StringC;
|
|
2182
2694
|
}>, t.PartialC<{
|
|
2183
2695
|
kind: t.LiteralC<"web">;
|
|
@@ -2187,7 +2699,15 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2187
2699
|
}, {
|
|
2188
2700
|
title?: string;
|
|
2189
2701
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2190
|
-
|
|
2702
|
+
text: t.StringC;
|
|
2703
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2704
|
+
kind: t.LiteralC<"web">;
|
|
2705
|
+
text: t.StringC;
|
|
2706
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2707
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2708
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2709
|
+
text: t.StringC;
|
|
2710
|
+
}>>]>]>;
|
|
2191
2711
|
}>>, t.ExactC<t.TypeC<{
|
|
2192
2712
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2193
2713
|
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -2217,35 +2737,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2217
2737
|
}>]>>, t.PartialC<{
|
|
2218
2738
|
linkTo: t.UnionC<[t.Type<({
|
|
2219
2739
|
__TYPE__: "ImageLink";
|
|
2220
|
-
} & {
|
|
2740
|
+
} & ({
|
|
2741
|
+
kind: "image";
|
|
2742
|
+
} & (({
|
|
2221
2743
|
id: string;
|
|
2222
2744
|
url: string;
|
|
2223
2745
|
height: string;
|
|
2224
2746
|
width: string;
|
|
2225
2747
|
size: string;
|
|
2226
2748
|
name: string;
|
|
2227
|
-
kind: string;
|
|
2228
2749
|
} & {
|
|
2229
2750
|
date?: string | null | undefined;
|
|
2230
|
-
|
|
2751
|
+
text?: string;
|
|
2752
|
+
}) | {
|
|
2753
|
+
text: string;
|
|
2754
|
+
}))) | ({
|
|
2755
|
+
__TYPE__: "FileLink";
|
|
2756
|
+
} & ({
|
|
2757
|
+
kind: "file";
|
|
2758
|
+
} & (({
|
|
2231
2759
|
id: string;
|
|
2232
2760
|
url: string;
|
|
2233
2761
|
name: string;
|
|
2234
|
-
kind: string;
|
|
2235
2762
|
size: string;
|
|
2236
2763
|
} & {
|
|
2237
2764
|
date?: string | null | undefined;
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
}) | ({
|
|
2765
|
+
text?: string;
|
|
2766
|
+
}) | {
|
|
2767
|
+
text: string;
|
|
2768
|
+
}))) | ({
|
|
2243
2769
|
__TYPE__: "DocumentLink";
|
|
2244
|
-
} & {
|
|
2770
|
+
} & (({
|
|
2245
2771
|
id: string;
|
|
2246
|
-
}) | ({
|
|
2247
|
-
__TYPE__: "ExternalLink";
|
|
2248
2772
|
} & {
|
|
2773
|
+
kind?: "document";
|
|
2774
|
+
text?: string;
|
|
2775
|
+
}) | {
|
|
2776
|
+
kind: "document";
|
|
2777
|
+
text: string;
|
|
2778
|
+
})) | ({
|
|
2779
|
+
__TYPE__: "ExternalLink";
|
|
2780
|
+
} & (({
|
|
2249
2781
|
url: string;
|
|
2250
2782
|
} & {
|
|
2251
2783
|
kind?: "web";
|
|
@@ -2253,37 +2785,57 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2253
2785
|
preview?: {
|
|
2254
2786
|
title?: string;
|
|
2255
2787
|
} | null | undefined;
|
|
2788
|
+
text?: string;
|
|
2789
|
+
}) | {
|
|
2790
|
+
kind: "web";
|
|
2791
|
+
text: string;
|
|
2792
|
+
})) | ({
|
|
2793
|
+
__TYPE__: "AnyLink";
|
|
2794
|
+
} & {
|
|
2795
|
+
text: string;
|
|
2256
2796
|
}), ({
|
|
2257
2797
|
__TYPE__: "ImageLink";
|
|
2258
|
-
} & {
|
|
2798
|
+
} & ({
|
|
2799
|
+
kind: "image";
|
|
2800
|
+
} & (({
|
|
2259
2801
|
id: string;
|
|
2260
2802
|
url: string;
|
|
2261
2803
|
height: string;
|
|
2262
2804
|
width: string;
|
|
2263
2805
|
size: string;
|
|
2264
2806
|
name: string;
|
|
2265
|
-
kind: string;
|
|
2266
2807
|
} & {
|
|
2267
2808
|
date?: string | null | undefined;
|
|
2268
|
-
|
|
2809
|
+
text?: string;
|
|
2810
|
+
}) | {
|
|
2811
|
+
text: string;
|
|
2812
|
+
}))) | ({
|
|
2813
|
+
__TYPE__: "FileLink";
|
|
2814
|
+
} & ({
|
|
2815
|
+
kind: "file";
|
|
2816
|
+
} & (({
|
|
2269
2817
|
id: string;
|
|
2270
2818
|
url: string;
|
|
2271
2819
|
name: string;
|
|
2272
|
-
kind: string;
|
|
2273
2820
|
size: string;
|
|
2274
2821
|
} & {
|
|
2275
2822
|
date?: string | null | undefined;
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
}) | ({
|
|
2823
|
+
text?: string;
|
|
2824
|
+
}) | {
|
|
2825
|
+
text: string;
|
|
2826
|
+
}))) | ({
|
|
2281
2827
|
__TYPE__: "DocumentLink";
|
|
2282
|
-
} & {
|
|
2828
|
+
} & (({
|
|
2283
2829
|
id: string;
|
|
2284
|
-
}) | ({
|
|
2285
|
-
__TYPE__: "ExternalLink";
|
|
2286
2830
|
} & {
|
|
2831
|
+
kind?: "document";
|
|
2832
|
+
text?: string;
|
|
2833
|
+
}) | {
|
|
2834
|
+
kind: "document";
|
|
2835
|
+
text: string;
|
|
2836
|
+
})) | ({
|
|
2837
|
+
__TYPE__: "ExternalLink";
|
|
2838
|
+
} & (({
|
|
2287
2839
|
url: string;
|
|
2288
2840
|
} & {
|
|
2289
2841
|
kind?: "web";
|
|
@@ -2291,6 +2843,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2291
2843
|
preview?: {
|
|
2292
2844
|
title?: string;
|
|
2293
2845
|
} | null | undefined;
|
|
2846
|
+
text?: string;
|
|
2847
|
+
}) | {
|
|
2848
|
+
kind: "web";
|
|
2849
|
+
text: string;
|
|
2850
|
+
})) | ({
|
|
2851
|
+
__TYPE__: "AnyLink";
|
|
2852
|
+
} & {
|
|
2853
|
+
text: string;
|
|
2294
2854
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2295
2855
|
}>]>;
|
|
2296
2856
|
}>, t.PartialC<{
|
|
@@ -2328,35 +2888,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2328
2888
|
spans: t.Type<({
|
|
2329
2889
|
data: ({
|
|
2330
2890
|
__TYPE__: "ImageLink";
|
|
2331
|
-
} & {
|
|
2891
|
+
} & ({
|
|
2892
|
+
kind: "image";
|
|
2893
|
+
} & (({
|
|
2332
2894
|
id: string;
|
|
2333
2895
|
url: string;
|
|
2334
2896
|
height: string;
|
|
2335
2897
|
width: string;
|
|
2336
2898
|
size: string;
|
|
2337
2899
|
name: string;
|
|
2338
|
-
kind: string;
|
|
2339
2900
|
} & {
|
|
2340
2901
|
date?: string | null | undefined;
|
|
2341
|
-
|
|
2902
|
+
text?: string;
|
|
2903
|
+
}) | {
|
|
2904
|
+
text: string;
|
|
2905
|
+
}))) | ({
|
|
2906
|
+
__TYPE__: "FileLink";
|
|
2907
|
+
} & ({
|
|
2908
|
+
kind: "file";
|
|
2909
|
+
} & (({
|
|
2342
2910
|
id: string;
|
|
2343
2911
|
url: string;
|
|
2344
2912
|
name: string;
|
|
2345
|
-
kind: string;
|
|
2346
2913
|
size: string;
|
|
2347
2914
|
} & {
|
|
2348
2915
|
date?: string | null | undefined;
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
}) | ({
|
|
2916
|
+
text?: string;
|
|
2917
|
+
}) | {
|
|
2918
|
+
text: string;
|
|
2919
|
+
}))) | ({
|
|
2354
2920
|
__TYPE__: "DocumentLink";
|
|
2355
|
-
} & {
|
|
2921
|
+
} & (({
|
|
2356
2922
|
id: string;
|
|
2357
|
-
}) | ({
|
|
2358
|
-
__TYPE__: "ExternalLink";
|
|
2359
2923
|
} & {
|
|
2924
|
+
kind?: "document";
|
|
2925
|
+
text?: string;
|
|
2926
|
+
}) | {
|
|
2927
|
+
kind: "document";
|
|
2928
|
+
text: string;
|
|
2929
|
+
})) | ({
|
|
2930
|
+
__TYPE__: "ExternalLink";
|
|
2931
|
+
} & (({
|
|
2360
2932
|
url: string;
|
|
2361
2933
|
} & {
|
|
2362
2934
|
kind?: "web";
|
|
@@ -2364,6 +2936,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2364
2936
|
preview?: {
|
|
2365
2937
|
title?: string;
|
|
2366
2938
|
} | null | undefined;
|
|
2939
|
+
text?: string;
|
|
2940
|
+
}) | {
|
|
2941
|
+
kind: "web";
|
|
2942
|
+
text: string;
|
|
2943
|
+
})) | ({
|
|
2944
|
+
__TYPE__: "AnyLink";
|
|
2945
|
+
} & {
|
|
2946
|
+
text: string;
|
|
2367
2947
|
});
|
|
2368
2948
|
start: number;
|
|
2369
2949
|
end: number;
|
|
@@ -2380,35 +2960,47 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2380
2960
|
})[], ({
|
|
2381
2961
|
data: ({
|
|
2382
2962
|
__TYPE__: "ImageLink";
|
|
2383
|
-
} & {
|
|
2963
|
+
} & ({
|
|
2964
|
+
kind: "image";
|
|
2965
|
+
} & (({
|
|
2384
2966
|
id: string;
|
|
2385
2967
|
url: string;
|
|
2386
2968
|
height: string;
|
|
2387
2969
|
width: string;
|
|
2388
2970
|
size: string;
|
|
2389
2971
|
name: string;
|
|
2390
|
-
kind: string;
|
|
2391
2972
|
} & {
|
|
2392
2973
|
date?: string | null | undefined;
|
|
2393
|
-
|
|
2974
|
+
text?: string;
|
|
2975
|
+
}) | {
|
|
2976
|
+
text: string;
|
|
2977
|
+
}))) | ({
|
|
2978
|
+
__TYPE__: "FileLink";
|
|
2979
|
+
} & ({
|
|
2980
|
+
kind: "file";
|
|
2981
|
+
} & (({
|
|
2394
2982
|
id: string;
|
|
2395
2983
|
url: string;
|
|
2396
2984
|
name: string;
|
|
2397
|
-
kind: string;
|
|
2398
2985
|
size: string;
|
|
2399
2986
|
} & {
|
|
2400
2987
|
date?: string | null | undefined;
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
}) | ({
|
|
2988
|
+
text?: string;
|
|
2989
|
+
}) | {
|
|
2990
|
+
text: string;
|
|
2991
|
+
}))) | ({
|
|
2406
2992
|
__TYPE__: "DocumentLink";
|
|
2407
|
-
} & {
|
|
2993
|
+
} & (({
|
|
2408
2994
|
id: string;
|
|
2409
|
-
}) | ({
|
|
2410
|
-
__TYPE__: "ExternalLink";
|
|
2411
2995
|
} & {
|
|
2996
|
+
kind?: "document";
|
|
2997
|
+
text?: string;
|
|
2998
|
+
}) | {
|
|
2999
|
+
kind: "document";
|
|
3000
|
+
text: string;
|
|
3001
|
+
})) | ({
|
|
3002
|
+
__TYPE__: "ExternalLink";
|
|
3003
|
+
} & (({
|
|
2412
3004
|
url: string;
|
|
2413
3005
|
} & {
|
|
2414
3006
|
kind?: "web";
|
|
@@ -2416,6 +3008,14 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2416
3008
|
preview?: {
|
|
2417
3009
|
title?: string;
|
|
2418
3010
|
} | null | undefined;
|
|
3011
|
+
text?: string;
|
|
3012
|
+
}) | {
|
|
3013
|
+
kind: "web";
|
|
3014
|
+
text: string;
|
|
3015
|
+
})) | ({
|
|
3016
|
+
__TYPE__: "AnyLink";
|
|
3017
|
+
} & {
|
|
3018
|
+
text: string;
|
|
2419
3019
|
});
|
|
2420
3020
|
start: number;
|
|
2421
3021
|
end: number;
|
|
@@ -2556,35 +3156,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2556
3156
|
__TYPE__: "LinkContent";
|
|
2557
3157
|
value: ({
|
|
2558
3158
|
__TYPE__: "ImageLink";
|
|
2559
|
-
} & {
|
|
3159
|
+
} & ({
|
|
3160
|
+
kind: "image";
|
|
3161
|
+
} & (({
|
|
2560
3162
|
id: string;
|
|
2561
3163
|
url: string;
|
|
2562
3164
|
height: string;
|
|
2563
3165
|
width: string;
|
|
2564
3166
|
size: string;
|
|
2565
3167
|
name: string;
|
|
2566
|
-
kind: string;
|
|
2567
3168
|
} & {
|
|
2568
3169
|
date?: string | null | undefined;
|
|
2569
|
-
|
|
3170
|
+
text?: string;
|
|
3171
|
+
}) | {
|
|
3172
|
+
text: string;
|
|
3173
|
+
}))) | ({
|
|
3174
|
+
__TYPE__: "FileLink";
|
|
3175
|
+
} & ({
|
|
3176
|
+
kind: "file";
|
|
3177
|
+
} & (({
|
|
2570
3178
|
id: string;
|
|
2571
3179
|
url: string;
|
|
2572
3180
|
name: string;
|
|
2573
|
-
kind: string;
|
|
2574
3181
|
size: string;
|
|
2575
3182
|
} & {
|
|
2576
3183
|
date?: string | null | undefined;
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
}) | ({
|
|
3184
|
+
text?: string;
|
|
3185
|
+
}) | {
|
|
3186
|
+
text: string;
|
|
3187
|
+
}))) | ({
|
|
2582
3188
|
__TYPE__: "DocumentLink";
|
|
2583
|
-
} & {
|
|
3189
|
+
} & (({
|
|
2584
3190
|
id: string;
|
|
2585
|
-
}) | ({
|
|
2586
|
-
__TYPE__: "ExternalLink";
|
|
2587
3191
|
} & {
|
|
3192
|
+
kind?: "document";
|
|
3193
|
+
text?: string;
|
|
3194
|
+
}) | {
|
|
3195
|
+
kind: "document";
|
|
3196
|
+
text: string;
|
|
3197
|
+
})) | ({
|
|
3198
|
+
__TYPE__: "ExternalLink";
|
|
3199
|
+
} & (({
|
|
2588
3200
|
url: string;
|
|
2589
3201
|
} & {
|
|
2590
3202
|
kind?: "web";
|
|
@@ -2592,6 +3204,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2592
3204
|
preview?: {
|
|
2593
3205
|
title?: string;
|
|
2594
3206
|
} | null | undefined;
|
|
3207
|
+
text?: string;
|
|
3208
|
+
}) | {
|
|
3209
|
+
kind: "web";
|
|
3210
|
+
text: string;
|
|
3211
|
+
})) | ({
|
|
3212
|
+
__TYPE__: "AnyLink";
|
|
3213
|
+
} & {
|
|
3214
|
+
text: string;
|
|
2595
3215
|
});
|
|
2596
3216
|
} | {
|
|
2597
3217
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2622,35 +3242,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2622
3242
|
} & {
|
|
2623
3243
|
linkTo?: ({
|
|
2624
3244
|
__TYPE__: "ImageLink";
|
|
2625
|
-
} & {
|
|
3245
|
+
} & ({
|
|
3246
|
+
kind: "image";
|
|
3247
|
+
} & (({
|
|
2626
3248
|
id: string;
|
|
2627
3249
|
url: string;
|
|
2628
3250
|
height: string;
|
|
2629
3251
|
width: string;
|
|
2630
3252
|
size: string;
|
|
2631
3253
|
name: string;
|
|
2632
|
-
kind: string;
|
|
2633
3254
|
} & {
|
|
2634
3255
|
date?: string | null | undefined;
|
|
2635
|
-
|
|
3256
|
+
text?: string;
|
|
3257
|
+
}) | {
|
|
3258
|
+
text: string;
|
|
3259
|
+
}))) | ({
|
|
3260
|
+
__TYPE__: "FileLink";
|
|
3261
|
+
} & ({
|
|
3262
|
+
kind: "file";
|
|
3263
|
+
} & (({
|
|
2636
3264
|
id: string;
|
|
2637
3265
|
url: string;
|
|
2638
3266
|
name: string;
|
|
2639
|
-
kind: string;
|
|
2640
3267
|
size: string;
|
|
2641
3268
|
} & {
|
|
2642
3269
|
date?: string | null | undefined;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
}) | ({
|
|
3270
|
+
text?: string;
|
|
3271
|
+
}) | {
|
|
3272
|
+
text: string;
|
|
3273
|
+
}))) | ({
|
|
2648
3274
|
__TYPE__: "DocumentLink";
|
|
2649
|
-
} & {
|
|
3275
|
+
} & (({
|
|
2650
3276
|
id: string;
|
|
2651
|
-
}) | ({
|
|
2652
|
-
__TYPE__: "ExternalLink";
|
|
2653
3277
|
} & {
|
|
3278
|
+
kind?: "document";
|
|
3279
|
+
text?: string;
|
|
3280
|
+
}) | {
|
|
3281
|
+
kind: "document";
|
|
3282
|
+
text: string;
|
|
3283
|
+
})) | ({
|
|
3284
|
+
__TYPE__: "ExternalLink";
|
|
3285
|
+
} & (({
|
|
2654
3286
|
url: string;
|
|
2655
3287
|
} & {
|
|
2656
3288
|
kind?: "web";
|
|
@@ -2658,6 +3290,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2658
3290
|
preview?: {
|
|
2659
3291
|
title?: string;
|
|
2660
3292
|
} | null | undefined;
|
|
3293
|
+
text?: string;
|
|
3294
|
+
}) | {
|
|
3295
|
+
kind: "web";
|
|
3296
|
+
text: string;
|
|
3297
|
+
})) | ({
|
|
3298
|
+
__TYPE__: "AnyLink";
|
|
3299
|
+
} & {
|
|
3300
|
+
text: string;
|
|
2661
3301
|
}) | null | undefined;
|
|
2662
3302
|
};
|
|
2663
3303
|
} & {
|
|
@@ -2695,35 +3335,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2695
3335
|
spans?: ({
|
|
2696
3336
|
data: ({
|
|
2697
3337
|
__TYPE__: "ImageLink";
|
|
2698
|
-
} & {
|
|
3338
|
+
} & ({
|
|
3339
|
+
kind: "image";
|
|
3340
|
+
} & (({
|
|
2699
3341
|
id: string;
|
|
2700
3342
|
url: string;
|
|
2701
3343
|
height: string;
|
|
2702
3344
|
width: string;
|
|
2703
3345
|
size: string;
|
|
2704
3346
|
name: string;
|
|
2705
|
-
kind: string;
|
|
2706
3347
|
} & {
|
|
2707
3348
|
date?: string | null | undefined;
|
|
2708
|
-
|
|
3349
|
+
text?: string;
|
|
3350
|
+
}) | {
|
|
3351
|
+
text: string;
|
|
3352
|
+
}))) | ({
|
|
3353
|
+
__TYPE__: "FileLink";
|
|
3354
|
+
} & ({
|
|
3355
|
+
kind: "file";
|
|
3356
|
+
} & (({
|
|
2709
3357
|
id: string;
|
|
2710
3358
|
url: string;
|
|
2711
3359
|
name: string;
|
|
2712
|
-
kind: string;
|
|
2713
3360
|
size: string;
|
|
2714
3361
|
} & {
|
|
2715
3362
|
date?: string | null | undefined;
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
}) | ({
|
|
3363
|
+
text?: string;
|
|
3364
|
+
}) | {
|
|
3365
|
+
text: string;
|
|
3366
|
+
}))) | ({
|
|
2721
3367
|
__TYPE__: "DocumentLink";
|
|
2722
|
-
} & {
|
|
3368
|
+
} & (({
|
|
2723
3369
|
id: string;
|
|
2724
|
-
}) | ({
|
|
2725
|
-
__TYPE__: "ExternalLink";
|
|
2726
3370
|
} & {
|
|
3371
|
+
kind?: "document";
|
|
3372
|
+
text?: string;
|
|
3373
|
+
}) | {
|
|
3374
|
+
kind: "document";
|
|
3375
|
+
text: string;
|
|
3376
|
+
})) | ({
|
|
3377
|
+
__TYPE__: "ExternalLink";
|
|
3378
|
+
} & (({
|
|
2727
3379
|
url: string;
|
|
2728
3380
|
} & {
|
|
2729
3381
|
kind?: "web";
|
|
@@ -2731,6 +3383,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2731
3383
|
preview?: {
|
|
2732
3384
|
title?: string;
|
|
2733
3385
|
} | null | undefined;
|
|
3386
|
+
text?: string;
|
|
3387
|
+
}) | {
|
|
3388
|
+
kind: "web";
|
|
3389
|
+
text: string;
|
|
3390
|
+
})) | ({
|
|
3391
|
+
__TYPE__: "AnyLink";
|
|
3392
|
+
} & {
|
|
3393
|
+
text: string;
|
|
2734
3394
|
});
|
|
2735
3395
|
start: number;
|
|
2736
3396
|
end: number;
|
|
@@ -2877,35 +3537,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2877
3537
|
__TYPE__: "LinkContent";
|
|
2878
3538
|
value: ({
|
|
2879
3539
|
__TYPE__: "ImageLink";
|
|
2880
|
-
} & {
|
|
3540
|
+
} & ({
|
|
3541
|
+
kind: "image";
|
|
3542
|
+
} & (({
|
|
2881
3543
|
id: string;
|
|
2882
3544
|
url: string;
|
|
2883
3545
|
height: string;
|
|
2884
3546
|
width: string;
|
|
2885
3547
|
size: string;
|
|
2886
3548
|
name: string;
|
|
2887
|
-
kind: string;
|
|
2888
3549
|
} & {
|
|
2889
3550
|
date?: string | null | undefined;
|
|
2890
|
-
|
|
3551
|
+
text?: string;
|
|
3552
|
+
}) | {
|
|
3553
|
+
text: string;
|
|
3554
|
+
}))) | ({
|
|
3555
|
+
__TYPE__: "FileLink";
|
|
3556
|
+
} & ({
|
|
3557
|
+
kind: "file";
|
|
3558
|
+
} & (({
|
|
2891
3559
|
id: string;
|
|
2892
3560
|
url: string;
|
|
2893
3561
|
name: string;
|
|
2894
|
-
kind: string;
|
|
2895
3562
|
size: string;
|
|
2896
3563
|
} & {
|
|
2897
3564
|
date?: string | null | undefined;
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
}) | ({
|
|
3565
|
+
text?: string;
|
|
3566
|
+
}) | {
|
|
3567
|
+
text: string;
|
|
3568
|
+
}))) | ({
|
|
2903
3569
|
__TYPE__: "DocumentLink";
|
|
2904
|
-
} & {
|
|
3570
|
+
} & (({
|
|
2905
3571
|
id: string;
|
|
2906
|
-
}) | ({
|
|
2907
|
-
__TYPE__: "ExternalLink";
|
|
2908
3572
|
} & {
|
|
3573
|
+
kind?: "document";
|
|
3574
|
+
text?: string;
|
|
3575
|
+
}) | {
|
|
3576
|
+
kind: "document";
|
|
3577
|
+
text: string;
|
|
3578
|
+
})) | ({
|
|
3579
|
+
__TYPE__: "ExternalLink";
|
|
3580
|
+
} & (({
|
|
2909
3581
|
url: string;
|
|
2910
3582
|
} & {
|
|
2911
3583
|
kind?: "web";
|
|
@@ -2913,6 +3585,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2913
3585
|
preview?: {
|
|
2914
3586
|
title?: string;
|
|
2915
3587
|
} | null | undefined;
|
|
3588
|
+
text?: string;
|
|
3589
|
+
}) | {
|
|
3590
|
+
kind: "web";
|
|
3591
|
+
text: string;
|
|
3592
|
+
})) | ({
|
|
3593
|
+
__TYPE__: "AnyLink";
|
|
3594
|
+
} & {
|
|
3595
|
+
text: string;
|
|
2916
3596
|
});
|
|
2917
3597
|
} | {
|
|
2918
3598
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2943,35 +3623,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2943
3623
|
} & {
|
|
2944
3624
|
linkTo?: ({
|
|
2945
3625
|
__TYPE__: "ImageLink";
|
|
2946
|
-
} & {
|
|
3626
|
+
} & ({
|
|
3627
|
+
kind: "image";
|
|
3628
|
+
} & (({
|
|
2947
3629
|
id: string;
|
|
2948
3630
|
url: string;
|
|
2949
3631
|
height: string;
|
|
2950
3632
|
width: string;
|
|
2951
3633
|
size: string;
|
|
2952
3634
|
name: string;
|
|
2953
|
-
kind: string;
|
|
2954
3635
|
} & {
|
|
2955
3636
|
date?: string | null | undefined;
|
|
2956
|
-
|
|
3637
|
+
text?: string;
|
|
3638
|
+
}) | {
|
|
3639
|
+
text: string;
|
|
3640
|
+
}))) | ({
|
|
3641
|
+
__TYPE__: "FileLink";
|
|
3642
|
+
} & ({
|
|
3643
|
+
kind: "file";
|
|
3644
|
+
} & (({
|
|
2957
3645
|
id: string;
|
|
2958
3646
|
url: string;
|
|
2959
3647
|
name: string;
|
|
2960
|
-
kind: string;
|
|
2961
3648
|
size: string;
|
|
2962
3649
|
} & {
|
|
2963
3650
|
date?: string | null | undefined;
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
}) | ({
|
|
3651
|
+
text?: string;
|
|
3652
|
+
}) | {
|
|
3653
|
+
text: string;
|
|
3654
|
+
}))) | ({
|
|
2969
3655
|
__TYPE__: "DocumentLink";
|
|
2970
|
-
} & {
|
|
3656
|
+
} & (({
|
|
2971
3657
|
id: string;
|
|
2972
|
-
}) | ({
|
|
2973
|
-
__TYPE__: "ExternalLink";
|
|
2974
3658
|
} & {
|
|
3659
|
+
kind?: "document";
|
|
3660
|
+
text?: string;
|
|
3661
|
+
}) | {
|
|
3662
|
+
kind: "document";
|
|
3663
|
+
text: string;
|
|
3664
|
+
})) | ({
|
|
3665
|
+
__TYPE__: "ExternalLink";
|
|
3666
|
+
} & (({
|
|
2975
3667
|
url: string;
|
|
2976
3668
|
} & {
|
|
2977
3669
|
kind?: "web";
|
|
@@ -2979,6 +3671,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2979
3671
|
preview?: {
|
|
2980
3672
|
title?: string;
|
|
2981
3673
|
} | null | undefined;
|
|
3674
|
+
text?: string;
|
|
3675
|
+
}) | {
|
|
3676
|
+
kind: "web";
|
|
3677
|
+
text: string;
|
|
3678
|
+
})) | ({
|
|
3679
|
+
__TYPE__: "AnyLink";
|
|
3680
|
+
} & {
|
|
3681
|
+
text: string;
|
|
2982
3682
|
}) | null | undefined;
|
|
2983
3683
|
};
|
|
2984
3684
|
} & {
|
|
@@ -3016,35 +3716,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3016
3716
|
spans?: ({
|
|
3017
3717
|
data: ({
|
|
3018
3718
|
__TYPE__: "ImageLink";
|
|
3019
|
-
} & {
|
|
3719
|
+
} & ({
|
|
3720
|
+
kind: "image";
|
|
3721
|
+
} & (({
|
|
3020
3722
|
id: string;
|
|
3021
3723
|
url: string;
|
|
3022
3724
|
height: string;
|
|
3023
3725
|
width: string;
|
|
3024
3726
|
size: string;
|
|
3025
3727
|
name: string;
|
|
3026
|
-
kind: string;
|
|
3027
3728
|
} & {
|
|
3028
3729
|
date?: string | null | undefined;
|
|
3029
|
-
|
|
3730
|
+
text?: string;
|
|
3731
|
+
}) | {
|
|
3732
|
+
text: string;
|
|
3733
|
+
}))) | ({
|
|
3734
|
+
__TYPE__: "FileLink";
|
|
3735
|
+
} & ({
|
|
3736
|
+
kind: "file";
|
|
3737
|
+
} & (({
|
|
3030
3738
|
id: string;
|
|
3031
3739
|
url: string;
|
|
3032
3740
|
name: string;
|
|
3033
|
-
kind: string;
|
|
3034
3741
|
size: string;
|
|
3035
3742
|
} & {
|
|
3036
3743
|
date?: string | null | undefined;
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
}) | ({
|
|
3744
|
+
text?: string;
|
|
3745
|
+
}) | {
|
|
3746
|
+
text: string;
|
|
3747
|
+
}))) | ({
|
|
3042
3748
|
__TYPE__: "DocumentLink";
|
|
3043
|
-
} & {
|
|
3749
|
+
} & (({
|
|
3044
3750
|
id: string;
|
|
3045
|
-
}) | ({
|
|
3046
|
-
__TYPE__: "ExternalLink";
|
|
3047
3751
|
} & {
|
|
3752
|
+
kind?: "document";
|
|
3753
|
+
text?: string;
|
|
3754
|
+
}) | {
|
|
3755
|
+
kind: "document";
|
|
3756
|
+
text: string;
|
|
3757
|
+
})) | ({
|
|
3758
|
+
__TYPE__: "ExternalLink";
|
|
3759
|
+
} & (({
|
|
3048
3760
|
url: string;
|
|
3049
3761
|
} & {
|
|
3050
3762
|
kind?: "web";
|
|
@@ -3052,6 +3764,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3052
3764
|
preview?: {
|
|
3053
3765
|
title?: string;
|
|
3054
3766
|
} | null | undefined;
|
|
3767
|
+
text?: string;
|
|
3768
|
+
}) | {
|
|
3769
|
+
kind: "web";
|
|
3770
|
+
text: string;
|
|
3771
|
+
})) | ({
|
|
3772
|
+
__TYPE__: "AnyLink";
|
|
3773
|
+
} & {
|
|
3774
|
+
text: string;
|
|
3055
3775
|
});
|
|
3056
3776
|
start: number;
|
|
3057
3777
|
end: number;
|
|
@@ -3192,35 +3912,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3192
3912
|
__TYPE__: "LinkContent";
|
|
3193
3913
|
value: ({
|
|
3194
3914
|
__TYPE__: "ImageLink";
|
|
3195
|
-
} & {
|
|
3915
|
+
} & ({
|
|
3916
|
+
kind: "image";
|
|
3917
|
+
} & (({
|
|
3196
3918
|
id: string;
|
|
3197
3919
|
url: string;
|
|
3198
3920
|
height: string;
|
|
3199
3921
|
width: string;
|
|
3200
3922
|
size: string;
|
|
3201
3923
|
name: string;
|
|
3202
|
-
kind: string;
|
|
3203
3924
|
} & {
|
|
3204
3925
|
date?: string | null | undefined;
|
|
3205
|
-
|
|
3926
|
+
text?: string;
|
|
3927
|
+
}) | {
|
|
3928
|
+
text: string;
|
|
3929
|
+
}))) | ({
|
|
3930
|
+
__TYPE__: "FileLink";
|
|
3931
|
+
} & ({
|
|
3932
|
+
kind: "file";
|
|
3933
|
+
} & (({
|
|
3206
3934
|
id: string;
|
|
3207
3935
|
url: string;
|
|
3208
3936
|
name: string;
|
|
3209
|
-
kind: string;
|
|
3210
3937
|
size: string;
|
|
3211
3938
|
} & {
|
|
3212
3939
|
date?: string | null | undefined;
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
}) | ({
|
|
3940
|
+
text?: string;
|
|
3941
|
+
}) | {
|
|
3942
|
+
text: string;
|
|
3943
|
+
}))) | ({
|
|
3218
3944
|
__TYPE__: "DocumentLink";
|
|
3219
|
-
} & {
|
|
3945
|
+
} & (({
|
|
3220
3946
|
id: string;
|
|
3221
|
-
}) | ({
|
|
3222
|
-
__TYPE__: "ExternalLink";
|
|
3223
3947
|
} & {
|
|
3948
|
+
kind?: "document";
|
|
3949
|
+
text?: string;
|
|
3950
|
+
}) | {
|
|
3951
|
+
kind: "document";
|
|
3952
|
+
text: string;
|
|
3953
|
+
})) | ({
|
|
3954
|
+
__TYPE__: "ExternalLink";
|
|
3955
|
+
} & (({
|
|
3224
3956
|
url: string;
|
|
3225
3957
|
} & {
|
|
3226
3958
|
kind?: "web";
|
|
@@ -3228,6 +3960,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3228
3960
|
preview?: {
|
|
3229
3961
|
title?: string;
|
|
3230
3962
|
} | null | undefined;
|
|
3963
|
+
text?: string;
|
|
3964
|
+
}) | {
|
|
3965
|
+
kind: "web";
|
|
3966
|
+
text: string;
|
|
3967
|
+
})) | ({
|
|
3968
|
+
__TYPE__: "AnyLink";
|
|
3969
|
+
} & {
|
|
3970
|
+
text: string;
|
|
3231
3971
|
});
|
|
3232
3972
|
} | {
|
|
3233
3973
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3258,35 +3998,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3258
3998
|
} & {
|
|
3259
3999
|
linkTo?: ({
|
|
3260
4000
|
__TYPE__: "ImageLink";
|
|
3261
|
-
} & {
|
|
4001
|
+
} & ({
|
|
4002
|
+
kind: "image";
|
|
4003
|
+
} & (({
|
|
3262
4004
|
id: string;
|
|
3263
4005
|
url: string;
|
|
3264
4006
|
height: string;
|
|
3265
4007
|
width: string;
|
|
3266
4008
|
size: string;
|
|
3267
4009
|
name: string;
|
|
3268
|
-
kind: string;
|
|
3269
4010
|
} & {
|
|
3270
4011
|
date?: string | null | undefined;
|
|
3271
|
-
|
|
4012
|
+
text?: string;
|
|
4013
|
+
}) | {
|
|
4014
|
+
text: string;
|
|
4015
|
+
}))) | ({
|
|
4016
|
+
__TYPE__: "FileLink";
|
|
4017
|
+
} & ({
|
|
4018
|
+
kind: "file";
|
|
4019
|
+
} & (({
|
|
3272
4020
|
id: string;
|
|
3273
4021
|
url: string;
|
|
3274
4022
|
name: string;
|
|
3275
|
-
kind: string;
|
|
3276
4023
|
size: string;
|
|
3277
4024
|
} & {
|
|
3278
4025
|
date?: string | null | undefined;
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
}) | ({
|
|
4026
|
+
text?: string;
|
|
4027
|
+
}) | {
|
|
4028
|
+
text: string;
|
|
4029
|
+
}))) | ({
|
|
3284
4030
|
__TYPE__: "DocumentLink";
|
|
3285
|
-
} & {
|
|
4031
|
+
} & (({
|
|
3286
4032
|
id: string;
|
|
3287
|
-
}) | ({
|
|
3288
|
-
__TYPE__: "ExternalLink";
|
|
3289
4033
|
} & {
|
|
4034
|
+
kind?: "document";
|
|
4035
|
+
text?: string;
|
|
4036
|
+
}) | {
|
|
4037
|
+
kind: "document";
|
|
4038
|
+
text: string;
|
|
4039
|
+
})) | ({
|
|
4040
|
+
__TYPE__: "ExternalLink";
|
|
4041
|
+
} & (({
|
|
3290
4042
|
url: string;
|
|
3291
4043
|
} & {
|
|
3292
4044
|
kind?: "web";
|
|
@@ -3294,6 +4046,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3294
4046
|
preview?: {
|
|
3295
4047
|
title?: string;
|
|
3296
4048
|
} | null | undefined;
|
|
4049
|
+
text?: string;
|
|
4050
|
+
}) | {
|
|
4051
|
+
kind: "web";
|
|
4052
|
+
text: string;
|
|
4053
|
+
})) | ({
|
|
4054
|
+
__TYPE__: "AnyLink";
|
|
4055
|
+
} & {
|
|
4056
|
+
text: string;
|
|
3297
4057
|
}) | null | undefined;
|
|
3298
4058
|
};
|
|
3299
4059
|
} & {
|
|
@@ -3331,35 +4091,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3331
4091
|
spans?: ({
|
|
3332
4092
|
data: ({
|
|
3333
4093
|
__TYPE__: "ImageLink";
|
|
3334
|
-
} & {
|
|
4094
|
+
} & ({
|
|
4095
|
+
kind: "image";
|
|
4096
|
+
} & (({
|
|
3335
4097
|
id: string;
|
|
3336
4098
|
url: string;
|
|
3337
4099
|
height: string;
|
|
3338
4100
|
width: string;
|
|
3339
4101
|
size: string;
|
|
3340
4102
|
name: string;
|
|
3341
|
-
kind: string;
|
|
3342
4103
|
} & {
|
|
3343
4104
|
date?: string | null | undefined;
|
|
3344
|
-
|
|
4105
|
+
text?: string;
|
|
4106
|
+
}) | {
|
|
4107
|
+
text: string;
|
|
4108
|
+
}))) | ({
|
|
4109
|
+
__TYPE__: "FileLink";
|
|
4110
|
+
} & ({
|
|
4111
|
+
kind: "file";
|
|
4112
|
+
} & (({
|
|
3345
4113
|
id: string;
|
|
3346
4114
|
url: string;
|
|
3347
4115
|
name: string;
|
|
3348
|
-
kind: string;
|
|
3349
4116
|
size: string;
|
|
3350
4117
|
} & {
|
|
3351
4118
|
date?: string | null | undefined;
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
}) | ({
|
|
4119
|
+
text?: string;
|
|
4120
|
+
}) | {
|
|
4121
|
+
text: string;
|
|
4122
|
+
}))) | ({
|
|
3357
4123
|
__TYPE__: "DocumentLink";
|
|
3358
|
-
} & {
|
|
4124
|
+
} & (({
|
|
3359
4125
|
id: string;
|
|
3360
|
-
}) | ({
|
|
3361
|
-
__TYPE__: "ExternalLink";
|
|
3362
4126
|
} & {
|
|
4127
|
+
kind?: "document";
|
|
4128
|
+
text?: string;
|
|
4129
|
+
}) | {
|
|
4130
|
+
kind: "document";
|
|
4131
|
+
text: string;
|
|
4132
|
+
})) | ({
|
|
4133
|
+
__TYPE__: "ExternalLink";
|
|
4134
|
+
} & (({
|
|
3363
4135
|
url: string;
|
|
3364
4136
|
} & {
|
|
3365
4137
|
kind?: "web";
|
|
@@ -3367,6 +4139,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3367
4139
|
preview?: {
|
|
3368
4140
|
title?: string;
|
|
3369
4141
|
} | null | undefined;
|
|
4142
|
+
text?: string;
|
|
4143
|
+
}) | {
|
|
4144
|
+
kind: "web";
|
|
4145
|
+
text: string;
|
|
4146
|
+
})) | ({
|
|
4147
|
+
__TYPE__: "AnyLink";
|
|
4148
|
+
} & {
|
|
4149
|
+
text: string;
|
|
3370
4150
|
});
|
|
3371
4151
|
start: number;
|
|
3372
4152
|
end: number;
|
|
@@ -3508,35 +4288,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3508
4288
|
__TYPE__: "LinkContent";
|
|
3509
4289
|
value: ({
|
|
3510
4290
|
__TYPE__: "ImageLink";
|
|
3511
|
-
} & {
|
|
4291
|
+
} & ({
|
|
4292
|
+
kind: "image";
|
|
4293
|
+
} & (({
|
|
3512
4294
|
id: string;
|
|
3513
4295
|
url: string;
|
|
3514
4296
|
height: string;
|
|
3515
4297
|
width: string;
|
|
3516
4298
|
size: string;
|
|
3517
4299
|
name: string;
|
|
3518
|
-
kind: string;
|
|
3519
4300
|
} & {
|
|
3520
4301
|
date?: string | null | undefined;
|
|
3521
|
-
|
|
4302
|
+
text?: string;
|
|
4303
|
+
}) | {
|
|
4304
|
+
text: string;
|
|
4305
|
+
}))) | ({
|
|
4306
|
+
__TYPE__: "FileLink";
|
|
4307
|
+
} & ({
|
|
4308
|
+
kind: "file";
|
|
4309
|
+
} & (({
|
|
3522
4310
|
id: string;
|
|
3523
4311
|
url: string;
|
|
3524
4312
|
name: string;
|
|
3525
|
-
kind: string;
|
|
3526
4313
|
size: string;
|
|
3527
4314
|
} & {
|
|
3528
4315
|
date?: string | null | undefined;
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
}) | ({
|
|
4316
|
+
text?: string;
|
|
4317
|
+
}) | {
|
|
4318
|
+
text: string;
|
|
4319
|
+
}))) | ({
|
|
3534
4320
|
__TYPE__: "DocumentLink";
|
|
3535
|
-
} & {
|
|
4321
|
+
} & (({
|
|
3536
4322
|
id: string;
|
|
3537
|
-
}) | ({
|
|
3538
|
-
__TYPE__: "ExternalLink";
|
|
3539
4323
|
} & {
|
|
4324
|
+
kind?: "document";
|
|
4325
|
+
text?: string;
|
|
4326
|
+
}) | {
|
|
4327
|
+
kind: "document";
|
|
4328
|
+
text: string;
|
|
4329
|
+
})) | ({
|
|
4330
|
+
__TYPE__: "ExternalLink";
|
|
4331
|
+
} & (({
|
|
3540
4332
|
url: string;
|
|
3541
4333
|
} & {
|
|
3542
4334
|
kind?: "web";
|
|
@@ -3544,6 +4336,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3544
4336
|
preview?: {
|
|
3545
4337
|
title?: string;
|
|
3546
4338
|
} | null | undefined;
|
|
4339
|
+
text?: string;
|
|
4340
|
+
}) | {
|
|
4341
|
+
kind: "web";
|
|
4342
|
+
text: string;
|
|
4343
|
+
})) | ({
|
|
4344
|
+
__TYPE__: "AnyLink";
|
|
4345
|
+
} & {
|
|
4346
|
+
text: string;
|
|
3547
4347
|
});
|
|
3548
4348
|
} | {
|
|
3549
4349
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3574,35 +4374,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3574
4374
|
} & {
|
|
3575
4375
|
linkTo?: ({
|
|
3576
4376
|
__TYPE__: "ImageLink";
|
|
3577
|
-
} & {
|
|
4377
|
+
} & ({
|
|
4378
|
+
kind: "image";
|
|
4379
|
+
} & (({
|
|
3578
4380
|
id: string;
|
|
3579
4381
|
url: string;
|
|
3580
4382
|
height: string;
|
|
3581
4383
|
width: string;
|
|
3582
4384
|
size: string;
|
|
3583
4385
|
name: string;
|
|
3584
|
-
kind: string;
|
|
3585
4386
|
} & {
|
|
3586
4387
|
date?: string | null | undefined;
|
|
3587
|
-
|
|
4388
|
+
text?: string;
|
|
4389
|
+
}) | {
|
|
4390
|
+
text: string;
|
|
4391
|
+
}))) | ({
|
|
4392
|
+
__TYPE__: "FileLink";
|
|
4393
|
+
} & ({
|
|
4394
|
+
kind: "file";
|
|
4395
|
+
} & (({
|
|
3588
4396
|
id: string;
|
|
3589
4397
|
url: string;
|
|
3590
4398
|
name: string;
|
|
3591
|
-
kind: string;
|
|
3592
4399
|
size: string;
|
|
3593
4400
|
} & {
|
|
3594
4401
|
date?: string | null | undefined;
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
}) | ({
|
|
4402
|
+
text?: string;
|
|
4403
|
+
}) | {
|
|
4404
|
+
text: string;
|
|
4405
|
+
}))) | ({
|
|
3600
4406
|
__TYPE__: "DocumentLink";
|
|
3601
|
-
} & {
|
|
4407
|
+
} & (({
|
|
3602
4408
|
id: string;
|
|
3603
|
-
}) | ({
|
|
3604
|
-
__TYPE__: "ExternalLink";
|
|
3605
4409
|
} & {
|
|
4410
|
+
kind?: "document";
|
|
4411
|
+
text?: string;
|
|
4412
|
+
}) | {
|
|
4413
|
+
kind: "document";
|
|
4414
|
+
text: string;
|
|
4415
|
+
})) | ({
|
|
4416
|
+
__TYPE__: "ExternalLink";
|
|
4417
|
+
} & (({
|
|
3606
4418
|
url: string;
|
|
3607
4419
|
} & {
|
|
3608
4420
|
kind?: "web";
|
|
@@ -3610,6 +4422,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3610
4422
|
preview?: {
|
|
3611
4423
|
title?: string;
|
|
3612
4424
|
} | null | undefined;
|
|
4425
|
+
text?: string;
|
|
4426
|
+
}) | {
|
|
4427
|
+
kind: "web";
|
|
4428
|
+
text: string;
|
|
4429
|
+
})) | ({
|
|
4430
|
+
__TYPE__: "AnyLink";
|
|
4431
|
+
} & {
|
|
4432
|
+
text: string;
|
|
3613
4433
|
}) | null | undefined;
|
|
3614
4434
|
};
|
|
3615
4435
|
} & {
|
|
@@ -3647,35 +4467,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3647
4467
|
spans?: ({
|
|
3648
4468
|
data: ({
|
|
3649
4469
|
__TYPE__: "ImageLink";
|
|
3650
|
-
} & {
|
|
4470
|
+
} & ({
|
|
4471
|
+
kind: "image";
|
|
4472
|
+
} & (({
|
|
3651
4473
|
id: string;
|
|
3652
4474
|
url: string;
|
|
3653
4475
|
height: string;
|
|
3654
4476
|
width: string;
|
|
3655
4477
|
size: string;
|
|
3656
4478
|
name: string;
|
|
3657
|
-
kind: string;
|
|
3658
4479
|
} & {
|
|
3659
4480
|
date?: string | null | undefined;
|
|
3660
|
-
|
|
4481
|
+
text?: string;
|
|
4482
|
+
}) | {
|
|
4483
|
+
text: string;
|
|
4484
|
+
}))) | ({
|
|
4485
|
+
__TYPE__: "FileLink";
|
|
4486
|
+
} & ({
|
|
4487
|
+
kind: "file";
|
|
4488
|
+
} & (({
|
|
3661
4489
|
id: string;
|
|
3662
4490
|
url: string;
|
|
3663
4491
|
name: string;
|
|
3664
|
-
kind: string;
|
|
3665
4492
|
size: string;
|
|
3666
4493
|
} & {
|
|
3667
4494
|
date?: string | null | undefined;
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
}) | ({
|
|
4495
|
+
text?: string;
|
|
4496
|
+
}) | {
|
|
4497
|
+
text: string;
|
|
4498
|
+
}))) | ({
|
|
3673
4499
|
__TYPE__: "DocumentLink";
|
|
3674
|
-
} & {
|
|
4500
|
+
} & (({
|
|
3675
4501
|
id: string;
|
|
3676
|
-
}) | ({
|
|
3677
|
-
__TYPE__: "ExternalLink";
|
|
3678
4502
|
} & {
|
|
4503
|
+
kind?: "document";
|
|
4504
|
+
text?: string;
|
|
4505
|
+
}) | {
|
|
4506
|
+
kind: "document";
|
|
4507
|
+
text: string;
|
|
4508
|
+
})) | ({
|
|
4509
|
+
__TYPE__: "ExternalLink";
|
|
4510
|
+
} & (({
|
|
3679
4511
|
url: string;
|
|
3680
4512
|
} & {
|
|
3681
4513
|
kind?: "web";
|
|
@@ -3683,6 +4515,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3683
4515
|
preview?: {
|
|
3684
4516
|
title?: string;
|
|
3685
4517
|
} | null | undefined;
|
|
4518
|
+
text?: string;
|
|
4519
|
+
}) | {
|
|
4520
|
+
kind: "web";
|
|
4521
|
+
text: string;
|
|
4522
|
+
})) | ({
|
|
4523
|
+
__TYPE__: "AnyLink";
|
|
4524
|
+
} & {
|
|
4525
|
+
text: string;
|
|
3686
4526
|
});
|
|
3687
4527
|
start: number;
|
|
3688
4528
|
end: number;
|
|
@@ -3826,35 +4666,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3826
4666
|
__TYPE__: "LinkContent";
|
|
3827
4667
|
value: ({
|
|
3828
4668
|
__TYPE__: "ImageLink";
|
|
3829
|
-
} & {
|
|
4669
|
+
} & ({
|
|
4670
|
+
kind: "image";
|
|
4671
|
+
} & (({
|
|
3830
4672
|
id: string;
|
|
3831
4673
|
url: string;
|
|
3832
4674
|
height: string;
|
|
3833
4675
|
width: string;
|
|
3834
4676
|
size: string;
|
|
3835
4677
|
name: string;
|
|
3836
|
-
kind: string;
|
|
3837
4678
|
} & {
|
|
3838
4679
|
date?: string | null | undefined;
|
|
3839
|
-
|
|
4680
|
+
text?: string;
|
|
4681
|
+
}) | {
|
|
4682
|
+
text: string;
|
|
4683
|
+
}))) | ({
|
|
4684
|
+
__TYPE__: "FileLink";
|
|
4685
|
+
} & ({
|
|
4686
|
+
kind: "file";
|
|
4687
|
+
} & (({
|
|
3840
4688
|
id: string;
|
|
3841
4689
|
url: string;
|
|
3842
4690
|
name: string;
|
|
3843
|
-
kind: string;
|
|
3844
4691
|
size: string;
|
|
3845
4692
|
} & {
|
|
3846
4693
|
date?: string | null | undefined;
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
}) | ({
|
|
4694
|
+
text?: string;
|
|
4695
|
+
}) | {
|
|
4696
|
+
text: string;
|
|
4697
|
+
}))) | ({
|
|
3852
4698
|
__TYPE__: "DocumentLink";
|
|
3853
|
-
} & {
|
|
4699
|
+
} & (({
|
|
3854
4700
|
id: string;
|
|
3855
|
-
}) | ({
|
|
3856
|
-
__TYPE__: "ExternalLink";
|
|
3857
4701
|
} & {
|
|
4702
|
+
kind?: "document";
|
|
4703
|
+
text?: string;
|
|
4704
|
+
}) | {
|
|
4705
|
+
kind: "document";
|
|
4706
|
+
text: string;
|
|
4707
|
+
})) | ({
|
|
4708
|
+
__TYPE__: "ExternalLink";
|
|
4709
|
+
} & (({
|
|
3858
4710
|
url: string;
|
|
3859
4711
|
} & {
|
|
3860
4712
|
kind?: "web";
|
|
@@ -3862,6 +4714,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3862
4714
|
preview?: {
|
|
3863
4715
|
title?: string;
|
|
3864
4716
|
} | null | undefined;
|
|
4717
|
+
text?: string;
|
|
4718
|
+
}) | {
|
|
4719
|
+
kind: "web";
|
|
4720
|
+
text: string;
|
|
4721
|
+
})) | ({
|
|
4722
|
+
__TYPE__: "AnyLink";
|
|
4723
|
+
} & {
|
|
4724
|
+
text: string;
|
|
3865
4725
|
});
|
|
3866
4726
|
} | {
|
|
3867
4727
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3892,35 +4752,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3892
4752
|
} & {
|
|
3893
4753
|
linkTo?: ({
|
|
3894
4754
|
__TYPE__: "ImageLink";
|
|
3895
|
-
} & {
|
|
4755
|
+
} & ({
|
|
4756
|
+
kind: "image";
|
|
4757
|
+
} & (({
|
|
3896
4758
|
id: string;
|
|
3897
4759
|
url: string;
|
|
3898
4760
|
height: string;
|
|
3899
4761
|
width: string;
|
|
3900
4762
|
size: string;
|
|
3901
4763
|
name: string;
|
|
3902
|
-
kind: string;
|
|
3903
4764
|
} & {
|
|
3904
4765
|
date?: string | null | undefined;
|
|
3905
|
-
|
|
4766
|
+
text?: string;
|
|
4767
|
+
}) | {
|
|
4768
|
+
text: string;
|
|
4769
|
+
}))) | ({
|
|
4770
|
+
__TYPE__: "FileLink";
|
|
4771
|
+
} & ({
|
|
4772
|
+
kind: "file";
|
|
4773
|
+
} & (({
|
|
3906
4774
|
id: string;
|
|
3907
4775
|
url: string;
|
|
3908
4776
|
name: string;
|
|
3909
|
-
kind: string;
|
|
3910
4777
|
size: string;
|
|
3911
4778
|
} & {
|
|
3912
4779
|
date?: string | null | undefined;
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
}) | ({
|
|
4780
|
+
text?: string;
|
|
4781
|
+
}) | {
|
|
4782
|
+
text: string;
|
|
4783
|
+
}))) | ({
|
|
3918
4784
|
__TYPE__: "DocumentLink";
|
|
3919
|
-
} & {
|
|
4785
|
+
} & (({
|
|
3920
4786
|
id: string;
|
|
3921
|
-
}) | ({
|
|
3922
|
-
__TYPE__: "ExternalLink";
|
|
3923
4787
|
} & {
|
|
4788
|
+
kind?: "document";
|
|
4789
|
+
text?: string;
|
|
4790
|
+
}) | {
|
|
4791
|
+
kind: "document";
|
|
4792
|
+
text: string;
|
|
4793
|
+
})) | ({
|
|
4794
|
+
__TYPE__: "ExternalLink";
|
|
4795
|
+
} & (({
|
|
3924
4796
|
url: string;
|
|
3925
4797
|
} & {
|
|
3926
4798
|
kind?: "web";
|
|
@@ -3928,6 +4800,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3928
4800
|
preview?: {
|
|
3929
4801
|
title?: string;
|
|
3930
4802
|
} | null | undefined;
|
|
4803
|
+
text?: string;
|
|
4804
|
+
}) | {
|
|
4805
|
+
kind: "web";
|
|
4806
|
+
text: string;
|
|
4807
|
+
})) | ({
|
|
4808
|
+
__TYPE__: "AnyLink";
|
|
4809
|
+
} & {
|
|
4810
|
+
text: string;
|
|
3931
4811
|
}) | null | undefined;
|
|
3932
4812
|
};
|
|
3933
4813
|
} & {
|
|
@@ -3965,35 +4845,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3965
4845
|
spans?: ({
|
|
3966
4846
|
data: ({
|
|
3967
4847
|
__TYPE__: "ImageLink";
|
|
3968
|
-
} & {
|
|
4848
|
+
} & ({
|
|
4849
|
+
kind: "image";
|
|
4850
|
+
} & (({
|
|
3969
4851
|
id: string;
|
|
3970
4852
|
url: string;
|
|
3971
4853
|
height: string;
|
|
3972
4854
|
width: string;
|
|
3973
4855
|
size: string;
|
|
3974
4856
|
name: string;
|
|
3975
|
-
kind: string;
|
|
3976
4857
|
} & {
|
|
3977
4858
|
date?: string | null | undefined;
|
|
3978
|
-
|
|
4859
|
+
text?: string;
|
|
4860
|
+
}) | {
|
|
4861
|
+
text: string;
|
|
4862
|
+
}))) | ({
|
|
4863
|
+
__TYPE__: "FileLink";
|
|
4864
|
+
} & ({
|
|
4865
|
+
kind: "file";
|
|
4866
|
+
} & (({
|
|
3979
4867
|
id: string;
|
|
3980
4868
|
url: string;
|
|
3981
4869
|
name: string;
|
|
3982
|
-
kind: string;
|
|
3983
4870
|
size: string;
|
|
3984
4871
|
} & {
|
|
3985
4872
|
date?: string | null | undefined;
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
}) | ({
|
|
4873
|
+
text?: string;
|
|
4874
|
+
}) | {
|
|
4875
|
+
text: string;
|
|
4876
|
+
}))) | ({
|
|
3991
4877
|
__TYPE__: "DocumentLink";
|
|
3992
|
-
} & {
|
|
4878
|
+
} & (({
|
|
3993
4879
|
id: string;
|
|
3994
|
-
}) | ({
|
|
3995
|
-
__TYPE__: "ExternalLink";
|
|
3996
4880
|
} & {
|
|
4881
|
+
kind?: "document";
|
|
4882
|
+
text?: string;
|
|
4883
|
+
}) | {
|
|
4884
|
+
kind: "document";
|
|
4885
|
+
text: string;
|
|
4886
|
+
})) | ({
|
|
4887
|
+
__TYPE__: "ExternalLink";
|
|
4888
|
+
} & (({
|
|
3997
4889
|
url: string;
|
|
3998
4890
|
} & {
|
|
3999
4891
|
kind?: "web";
|
|
@@ -4001,6 +4893,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4001
4893
|
preview?: {
|
|
4002
4894
|
title?: string;
|
|
4003
4895
|
} | null | undefined;
|
|
4896
|
+
text?: string;
|
|
4897
|
+
}) | {
|
|
4898
|
+
kind: "web";
|
|
4899
|
+
text: string;
|
|
4900
|
+
})) | ({
|
|
4901
|
+
__TYPE__: "AnyLink";
|
|
4902
|
+
} & {
|
|
4903
|
+
text: string;
|
|
4004
4904
|
});
|
|
4005
4905
|
start: number;
|
|
4006
4906
|
end: number;
|
|
@@ -4142,35 +5042,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4142
5042
|
__TYPE__: "LinkContent";
|
|
4143
5043
|
value: ({
|
|
4144
5044
|
__TYPE__: "ImageLink";
|
|
4145
|
-
} & {
|
|
5045
|
+
} & ({
|
|
5046
|
+
kind: "image";
|
|
5047
|
+
} & (({
|
|
4146
5048
|
id: string;
|
|
4147
5049
|
url: string;
|
|
4148
5050
|
height: string;
|
|
4149
5051
|
width: string;
|
|
4150
5052
|
size: string;
|
|
4151
5053
|
name: string;
|
|
4152
|
-
kind: string;
|
|
4153
5054
|
} & {
|
|
4154
5055
|
date?: string | null | undefined;
|
|
4155
|
-
|
|
5056
|
+
text?: string;
|
|
5057
|
+
}) | {
|
|
5058
|
+
text: string;
|
|
5059
|
+
}))) | ({
|
|
5060
|
+
__TYPE__: "FileLink";
|
|
5061
|
+
} & ({
|
|
5062
|
+
kind: "file";
|
|
5063
|
+
} & (({
|
|
4156
5064
|
id: string;
|
|
4157
5065
|
url: string;
|
|
4158
5066
|
name: string;
|
|
4159
|
-
kind: string;
|
|
4160
5067
|
size: string;
|
|
4161
5068
|
} & {
|
|
4162
5069
|
date?: string | null | undefined;
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
}) | ({
|
|
5070
|
+
text?: string;
|
|
5071
|
+
}) | {
|
|
5072
|
+
text: string;
|
|
5073
|
+
}))) | ({
|
|
4168
5074
|
__TYPE__: "DocumentLink";
|
|
4169
|
-
} & {
|
|
5075
|
+
} & (({
|
|
4170
5076
|
id: string;
|
|
4171
|
-
}) | ({
|
|
4172
|
-
__TYPE__: "ExternalLink";
|
|
4173
5077
|
} & {
|
|
5078
|
+
kind?: "document";
|
|
5079
|
+
text?: string;
|
|
5080
|
+
}) | {
|
|
5081
|
+
kind: "document";
|
|
5082
|
+
text: string;
|
|
5083
|
+
})) | ({
|
|
5084
|
+
__TYPE__: "ExternalLink";
|
|
5085
|
+
} & (({
|
|
4174
5086
|
url: string;
|
|
4175
5087
|
} & {
|
|
4176
5088
|
kind?: "web";
|
|
@@ -4178,6 +5090,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4178
5090
|
preview?: {
|
|
4179
5091
|
title?: string;
|
|
4180
5092
|
} | null | undefined;
|
|
5093
|
+
text?: string;
|
|
5094
|
+
}) | {
|
|
5095
|
+
kind: "web";
|
|
5096
|
+
text: string;
|
|
5097
|
+
})) | ({
|
|
5098
|
+
__TYPE__: "AnyLink";
|
|
5099
|
+
} & {
|
|
5100
|
+
text: string;
|
|
4181
5101
|
});
|
|
4182
5102
|
} | {
|
|
4183
5103
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4208,35 +5128,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4208
5128
|
} & {
|
|
4209
5129
|
linkTo?: ({
|
|
4210
5130
|
__TYPE__: "ImageLink";
|
|
4211
|
-
} & {
|
|
5131
|
+
} & ({
|
|
5132
|
+
kind: "image";
|
|
5133
|
+
} & (({
|
|
4212
5134
|
id: string;
|
|
4213
5135
|
url: string;
|
|
4214
5136
|
height: string;
|
|
4215
5137
|
width: string;
|
|
4216
5138
|
size: string;
|
|
4217
5139
|
name: string;
|
|
4218
|
-
kind: string;
|
|
4219
5140
|
} & {
|
|
4220
5141
|
date?: string | null | undefined;
|
|
4221
|
-
|
|
5142
|
+
text?: string;
|
|
5143
|
+
}) | {
|
|
5144
|
+
text: string;
|
|
5145
|
+
}))) | ({
|
|
5146
|
+
__TYPE__: "FileLink";
|
|
5147
|
+
} & ({
|
|
5148
|
+
kind: "file";
|
|
5149
|
+
} & (({
|
|
4222
5150
|
id: string;
|
|
4223
5151
|
url: string;
|
|
4224
5152
|
name: string;
|
|
4225
|
-
kind: string;
|
|
4226
5153
|
size: string;
|
|
4227
5154
|
} & {
|
|
4228
5155
|
date?: string | null | undefined;
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
}) | ({
|
|
5156
|
+
text?: string;
|
|
5157
|
+
}) | {
|
|
5158
|
+
text: string;
|
|
5159
|
+
}))) | ({
|
|
4234
5160
|
__TYPE__: "DocumentLink";
|
|
4235
|
-
} & {
|
|
5161
|
+
} & (({
|
|
4236
5162
|
id: string;
|
|
4237
|
-
}) | ({
|
|
4238
|
-
__TYPE__: "ExternalLink";
|
|
4239
5163
|
} & {
|
|
5164
|
+
kind?: "document";
|
|
5165
|
+
text?: string;
|
|
5166
|
+
}) | {
|
|
5167
|
+
kind: "document";
|
|
5168
|
+
text: string;
|
|
5169
|
+
})) | ({
|
|
5170
|
+
__TYPE__: "ExternalLink";
|
|
5171
|
+
} & (({
|
|
4240
5172
|
url: string;
|
|
4241
5173
|
} & {
|
|
4242
5174
|
kind?: "web";
|
|
@@ -4244,6 +5176,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4244
5176
|
preview?: {
|
|
4245
5177
|
title?: string;
|
|
4246
5178
|
} | null | undefined;
|
|
5179
|
+
text?: string;
|
|
5180
|
+
}) | {
|
|
5181
|
+
kind: "web";
|
|
5182
|
+
text: string;
|
|
5183
|
+
})) | ({
|
|
5184
|
+
__TYPE__: "AnyLink";
|
|
5185
|
+
} & {
|
|
5186
|
+
text: string;
|
|
4247
5187
|
}) | null | undefined;
|
|
4248
5188
|
};
|
|
4249
5189
|
} & {
|
|
@@ -4281,35 +5221,47 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4281
5221
|
spans?: ({
|
|
4282
5222
|
data: ({
|
|
4283
5223
|
__TYPE__: "ImageLink";
|
|
4284
|
-
} & {
|
|
5224
|
+
} & ({
|
|
5225
|
+
kind: "image";
|
|
5226
|
+
} & (({
|
|
4285
5227
|
id: string;
|
|
4286
5228
|
url: string;
|
|
4287
5229
|
height: string;
|
|
4288
5230
|
width: string;
|
|
4289
5231
|
size: string;
|
|
4290
5232
|
name: string;
|
|
4291
|
-
kind: string;
|
|
4292
5233
|
} & {
|
|
4293
5234
|
date?: string | null | undefined;
|
|
4294
|
-
|
|
5235
|
+
text?: string;
|
|
5236
|
+
}) | {
|
|
5237
|
+
text: string;
|
|
5238
|
+
}))) | ({
|
|
5239
|
+
__TYPE__: "FileLink";
|
|
5240
|
+
} & ({
|
|
5241
|
+
kind: "file";
|
|
5242
|
+
} & (({
|
|
4295
5243
|
id: string;
|
|
4296
5244
|
url: string;
|
|
4297
5245
|
name: string;
|
|
4298
|
-
kind: string;
|
|
4299
5246
|
size: string;
|
|
4300
5247
|
} & {
|
|
4301
5248
|
date?: string | null | undefined;
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
}) | ({
|
|
5249
|
+
text?: string;
|
|
5250
|
+
}) | {
|
|
5251
|
+
text: string;
|
|
5252
|
+
}))) | ({
|
|
4307
5253
|
__TYPE__: "DocumentLink";
|
|
4308
|
-
} & {
|
|
5254
|
+
} & (({
|
|
4309
5255
|
id: string;
|
|
4310
|
-
}) | ({
|
|
4311
|
-
__TYPE__: "ExternalLink";
|
|
4312
5256
|
} & {
|
|
5257
|
+
kind?: "document";
|
|
5258
|
+
text?: string;
|
|
5259
|
+
}) | {
|
|
5260
|
+
kind: "document";
|
|
5261
|
+
text: string;
|
|
5262
|
+
})) | ({
|
|
5263
|
+
__TYPE__: "ExternalLink";
|
|
5264
|
+
} & (({
|
|
4313
5265
|
url: string;
|
|
4314
5266
|
} & {
|
|
4315
5267
|
kind?: "web";
|
|
@@ -4317,6 +5269,14 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4317
5269
|
preview?: {
|
|
4318
5270
|
title?: string;
|
|
4319
5271
|
} | null | undefined;
|
|
5272
|
+
text?: string;
|
|
5273
|
+
}) | {
|
|
5274
|
+
kind: "web";
|
|
5275
|
+
text: string;
|
|
5276
|
+
})) | ({
|
|
5277
|
+
__TYPE__: "AnyLink";
|
|
5278
|
+
} & {
|
|
5279
|
+
text: string;
|
|
4320
5280
|
});
|
|
4321
5281
|
start: number;
|
|
4322
5282
|
end: number;
|
|
@@ -4462,35 +5422,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4462
5422
|
__TYPE__: "LinkContent";
|
|
4463
5423
|
value: ({
|
|
4464
5424
|
__TYPE__: "ImageLink";
|
|
4465
|
-
} & {
|
|
5425
|
+
} & ({
|
|
5426
|
+
kind: "image";
|
|
5427
|
+
} & (({
|
|
4466
5428
|
id: string;
|
|
4467
5429
|
url: string;
|
|
4468
5430
|
height: string;
|
|
4469
5431
|
width: string;
|
|
4470
5432
|
size: string;
|
|
4471
5433
|
name: string;
|
|
4472
|
-
kind: string;
|
|
4473
5434
|
} & {
|
|
4474
5435
|
date?: string | null | undefined;
|
|
4475
|
-
|
|
5436
|
+
text?: string;
|
|
5437
|
+
}) | {
|
|
5438
|
+
text: string;
|
|
5439
|
+
}))) | ({
|
|
5440
|
+
__TYPE__: "FileLink";
|
|
5441
|
+
} & ({
|
|
5442
|
+
kind: "file";
|
|
5443
|
+
} & (({
|
|
4476
5444
|
id: string;
|
|
4477
5445
|
url: string;
|
|
4478
5446
|
name: string;
|
|
4479
|
-
kind: string;
|
|
4480
5447
|
size: string;
|
|
4481
5448
|
} & {
|
|
4482
5449
|
date?: string | null | undefined;
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
}) | ({
|
|
5450
|
+
text?: string;
|
|
5451
|
+
}) | {
|
|
5452
|
+
text: string;
|
|
5453
|
+
}))) | ({
|
|
4488
5454
|
__TYPE__: "DocumentLink";
|
|
4489
|
-
} & {
|
|
5455
|
+
} & (({
|
|
4490
5456
|
id: string;
|
|
4491
|
-
}) | ({
|
|
4492
|
-
__TYPE__: "ExternalLink";
|
|
4493
5457
|
} & {
|
|
5458
|
+
kind?: "document";
|
|
5459
|
+
text?: string;
|
|
5460
|
+
}) | {
|
|
5461
|
+
kind: "document";
|
|
5462
|
+
text: string;
|
|
5463
|
+
})) | ({
|
|
5464
|
+
__TYPE__: "ExternalLink";
|
|
5465
|
+
} & (({
|
|
4494
5466
|
url: string;
|
|
4495
5467
|
} & {
|
|
4496
5468
|
kind?: "web";
|
|
@@ -4498,6 +5470,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4498
5470
|
preview?: {
|
|
4499
5471
|
title?: string;
|
|
4500
5472
|
} | null | undefined;
|
|
5473
|
+
text?: string;
|
|
5474
|
+
}) | {
|
|
5475
|
+
kind: "web";
|
|
5476
|
+
text: string;
|
|
5477
|
+
})) | ({
|
|
5478
|
+
__TYPE__: "AnyLink";
|
|
5479
|
+
} & {
|
|
5480
|
+
text: string;
|
|
4501
5481
|
});
|
|
4502
5482
|
}> | import("fp-ts/lib/Either").Right<{
|
|
4503
5483
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4528,35 +5508,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4528
5508
|
} & {
|
|
4529
5509
|
linkTo?: ({
|
|
4530
5510
|
__TYPE__: "ImageLink";
|
|
4531
|
-
} & {
|
|
5511
|
+
} & ({
|
|
5512
|
+
kind: "image";
|
|
5513
|
+
} & (({
|
|
4532
5514
|
id: string;
|
|
4533
5515
|
url: string;
|
|
4534
5516
|
height: string;
|
|
4535
5517
|
width: string;
|
|
4536
5518
|
size: string;
|
|
4537
5519
|
name: string;
|
|
4538
|
-
kind: string;
|
|
4539
5520
|
} & {
|
|
4540
5521
|
date?: string | null | undefined;
|
|
4541
|
-
|
|
5522
|
+
text?: string;
|
|
5523
|
+
}) | {
|
|
5524
|
+
text: string;
|
|
5525
|
+
}))) | ({
|
|
5526
|
+
__TYPE__: "FileLink";
|
|
5527
|
+
} & ({
|
|
5528
|
+
kind: "file";
|
|
5529
|
+
} & (({
|
|
4542
5530
|
id: string;
|
|
4543
5531
|
url: string;
|
|
4544
5532
|
name: string;
|
|
4545
|
-
kind: string;
|
|
4546
5533
|
size: string;
|
|
4547
5534
|
} & {
|
|
4548
5535
|
date?: string | null | undefined;
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
}) | ({
|
|
5536
|
+
text?: string;
|
|
5537
|
+
}) | {
|
|
5538
|
+
text: string;
|
|
5539
|
+
}))) | ({
|
|
4554
5540
|
__TYPE__: "DocumentLink";
|
|
4555
|
-
} & {
|
|
5541
|
+
} & (({
|
|
4556
5542
|
id: string;
|
|
4557
|
-
}) | ({
|
|
4558
|
-
__TYPE__: "ExternalLink";
|
|
4559
5543
|
} & {
|
|
5544
|
+
kind?: "document";
|
|
5545
|
+
text?: string;
|
|
5546
|
+
}) | {
|
|
5547
|
+
kind: "document";
|
|
5548
|
+
text: string;
|
|
5549
|
+
})) | ({
|
|
5550
|
+
__TYPE__: "ExternalLink";
|
|
5551
|
+
} & (({
|
|
4560
5552
|
url: string;
|
|
4561
5553
|
} & {
|
|
4562
5554
|
kind?: "web";
|
|
@@ -4564,6 +5556,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4564
5556
|
preview?: {
|
|
4565
5557
|
title?: string;
|
|
4566
5558
|
} | null | undefined;
|
|
5559
|
+
text?: string;
|
|
5560
|
+
}) | {
|
|
5561
|
+
kind: "web";
|
|
5562
|
+
text: string;
|
|
5563
|
+
})) | ({
|
|
5564
|
+
__TYPE__: "AnyLink";
|
|
5565
|
+
} & {
|
|
5566
|
+
text: string;
|
|
4567
5567
|
}) | null | undefined;
|
|
4568
5568
|
};
|
|
4569
5569
|
} & {
|
|
@@ -4601,35 +5601,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4601
5601
|
spans?: ({
|
|
4602
5602
|
data: ({
|
|
4603
5603
|
__TYPE__: "ImageLink";
|
|
4604
|
-
} & {
|
|
5604
|
+
} & ({
|
|
5605
|
+
kind: "image";
|
|
5606
|
+
} & (({
|
|
4605
5607
|
id: string;
|
|
4606
5608
|
url: string;
|
|
4607
5609
|
height: string;
|
|
4608
5610
|
width: string;
|
|
4609
5611
|
size: string;
|
|
4610
5612
|
name: string;
|
|
4611
|
-
kind: string;
|
|
4612
5613
|
} & {
|
|
4613
5614
|
date?: string | null | undefined;
|
|
4614
|
-
|
|
5615
|
+
text?: string;
|
|
5616
|
+
}) | {
|
|
5617
|
+
text: string;
|
|
5618
|
+
}))) | ({
|
|
5619
|
+
__TYPE__: "FileLink";
|
|
5620
|
+
} & ({
|
|
5621
|
+
kind: "file";
|
|
5622
|
+
} & (({
|
|
4615
5623
|
id: string;
|
|
4616
5624
|
url: string;
|
|
4617
5625
|
name: string;
|
|
4618
|
-
kind: string;
|
|
4619
5626
|
size: string;
|
|
4620
5627
|
} & {
|
|
4621
5628
|
date?: string | null | undefined;
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
}) | ({
|
|
5629
|
+
text?: string;
|
|
5630
|
+
}) | {
|
|
5631
|
+
text: string;
|
|
5632
|
+
}))) | ({
|
|
4627
5633
|
__TYPE__: "DocumentLink";
|
|
4628
|
-
} & {
|
|
5634
|
+
} & (({
|
|
4629
5635
|
id: string;
|
|
4630
|
-
}) | ({
|
|
4631
|
-
__TYPE__: "ExternalLink";
|
|
4632
5636
|
} & {
|
|
5637
|
+
kind?: "document";
|
|
5638
|
+
text?: string;
|
|
5639
|
+
}) | {
|
|
5640
|
+
kind: "document";
|
|
5641
|
+
text: string;
|
|
5642
|
+
})) | ({
|
|
5643
|
+
__TYPE__: "ExternalLink";
|
|
5644
|
+
} & (({
|
|
4633
5645
|
url: string;
|
|
4634
5646
|
} & {
|
|
4635
5647
|
kind?: "web";
|
|
@@ -4637,6 +5649,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4637
5649
|
preview?: {
|
|
4638
5650
|
title?: string;
|
|
4639
5651
|
} | null | undefined;
|
|
5652
|
+
text?: string;
|
|
5653
|
+
}) | {
|
|
5654
|
+
kind: "web";
|
|
5655
|
+
text: string;
|
|
5656
|
+
})) | ({
|
|
5657
|
+
__TYPE__: "AnyLink";
|
|
5658
|
+
} & {
|
|
5659
|
+
text: string;
|
|
4640
5660
|
});
|
|
4641
5661
|
start: number;
|
|
4642
5662
|
end: number;
|
|
@@ -4783,35 +5803,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4783
5803
|
__TYPE__: "LinkContent";
|
|
4784
5804
|
value: ({
|
|
4785
5805
|
__TYPE__: "ImageLink";
|
|
4786
|
-
} & {
|
|
5806
|
+
} & ({
|
|
5807
|
+
kind: "image";
|
|
5808
|
+
} & (({
|
|
4787
5809
|
id: string;
|
|
4788
5810
|
url: string;
|
|
4789
5811
|
height: string;
|
|
4790
5812
|
width: string;
|
|
4791
5813
|
size: string;
|
|
4792
5814
|
name: string;
|
|
4793
|
-
kind: string;
|
|
4794
5815
|
} & {
|
|
4795
5816
|
date?: string | null | undefined;
|
|
4796
|
-
|
|
5817
|
+
text?: string;
|
|
5818
|
+
}) | {
|
|
5819
|
+
text: string;
|
|
5820
|
+
}))) | ({
|
|
5821
|
+
__TYPE__: "FileLink";
|
|
5822
|
+
} & ({
|
|
5823
|
+
kind: "file";
|
|
5824
|
+
} & (({
|
|
4797
5825
|
id: string;
|
|
4798
5826
|
url: string;
|
|
4799
5827
|
name: string;
|
|
4800
|
-
kind: string;
|
|
4801
5828
|
size: string;
|
|
4802
5829
|
} & {
|
|
4803
5830
|
date?: string | null | undefined;
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
}) | ({
|
|
5831
|
+
text?: string;
|
|
5832
|
+
}) | {
|
|
5833
|
+
text: string;
|
|
5834
|
+
}))) | ({
|
|
4809
5835
|
__TYPE__: "DocumentLink";
|
|
4810
|
-
} & {
|
|
5836
|
+
} & (({
|
|
4811
5837
|
id: string;
|
|
4812
|
-
}) | ({
|
|
4813
|
-
__TYPE__: "ExternalLink";
|
|
4814
5838
|
} & {
|
|
5839
|
+
kind?: "document";
|
|
5840
|
+
text?: string;
|
|
5841
|
+
}) | {
|
|
5842
|
+
kind: "document";
|
|
5843
|
+
text: string;
|
|
5844
|
+
})) | ({
|
|
5845
|
+
__TYPE__: "ExternalLink";
|
|
5846
|
+
} & (({
|
|
4815
5847
|
url: string;
|
|
4816
5848
|
} & {
|
|
4817
5849
|
kind?: "web";
|
|
@@ -4819,6 +5851,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4819
5851
|
preview?: {
|
|
4820
5852
|
title?: string;
|
|
4821
5853
|
} | null | undefined;
|
|
5854
|
+
text?: string;
|
|
5855
|
+
}) | {
|
|
5856
|
+
kind: "web";
|
|
5857
|
+
text: string;
|
|
5858
|
+
})) | ({
|
|
5859
|
+
__TYPE__: "AnyLink";
|
|
5860
|
+
} & {
|
|
5861
|
+
text: string;
|
|
4822
5862
|
});
|
|
4823
5863
|
} | {
|
|
4824
5864
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4849,35 +5889,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4849
5889
|
} & {
|
|
4850
5890
|
linkTo?: ({
|
|
4851
5891
|
__TYPE__: "ImageLink";
|
|
4852
|
-
} & {
|
|
5892
|
+
} & ({
|
|
5893
|
+
kind: "image";
|
|
5894
|
+
} & (({
|
|
4853
5895
|
id: string;
|
|
4854
5896
|
url: string;
|
|
4855
5897
|
height: string;
|
|
4856
5898
|
width: string;
|
|
4857
5899
|
size: string;
|
|
4858
5900
|
name: string;
|
|
4859
|
-
kind: string;
|
|
4860
5901
|
} & {
|
|
4861
5902
|
date?: string | null | undefined;
|
|
4862
|
-
|
|
5903
|
+
text?: string;
|
|
5904
|
+
}) | {
|
|
5905
|
+
text: string;
|
|
5906
|
+
}))) | ({
|
|
5907
|
+
__TYPE__: "FileLink";
|
|
5908
|
+
} & ({
|
|
5909
|
+
kind: "file";
|
|
5910
|
+
} & (({
|
|
4863
5911
|
id: string;
|
|
4864
5912
|
url: string;
|
|
4865
5913
|
name: string;
|
|
4866
|
-
kind: string;
|
|
4867
5914
|
size: string;
|
|
4868
5915
|
} & {
|
|
4869
5916
|
date?: string | null | undefined;
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
}) | ({
|
|
5917
|
+
text?: string;
|
|
5918
|
+
}) | {
|
|
5919
|
+
text: string;
|
|
5920
|
+
}))) | ({
|
|
4875
5921
|
__TYPE__: "DocumentLink";
|
|
4876
|
-
} & {
|
|
5922
|
+
} & (({
|
|
4877
5923
|
id: string;
|
|
4878
|
-
}) | ({
|
|
4879
|
-
__TYPE__: "ExternalLink";
|
|
4880
5924
|
} & {
|
|
5925
|
+
kind?: "document";
|
|
5926
|
+
text?: string;
|
|
5927
|
+
}) | {
|
|
5928
|
+
kind: "document";
|
|
5929
|
+
text: string;
|
|
5930
|
+
})) | ({
|
|
5931
|
+
__TYPE__: "ExternalLink";
|
|
5932
|
+
} & (({
|
|
4881
5933
|
url: string;
|
|
4882
5934
|
} & {
|
|
4883
5935
|
kind?: "web";
|
|
@@ -4885,6 +5937,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4885
5937
|
preview?: {
|
|
4886
5938
|
title?: string;
|
|
4887
5939
|
} | null | undefined;
|
|
5940
|
+
text?: string;
|
|
5941
|
+
}) | {
|
|
5942
|
+
kind: "web";
|
|
5943
|
+
text: string;
|
|
5944
|
+
})) | ({
|
|
5945
|
+
__TYPE__: "AnyLink";
|
|
5946
|
+
} & {
|
|
5947
|
+
text: string;
|
|
4888
5948
|
}) | null | undefined;
|
|
4889
5949
|
};
|
|
4890
5950
|
} & {
|
|
@@ -4922,35 +5982,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4922
5982
|
spans?: ({
|
|
4923
5983
|
data: ({
|
|
4924
5984
|
__TYPE__: "ImageLink";
|
|
4925
|
-
} & {
|
|
5985
|
+
} & ({
|
|
5986
|
+
kind: "image";
|
|
5987
|
+
} & (({
|
|
4926
5988
|
id: string;
|
|
4927
5989
|
url: string;
|
|
4928
5990
|
height: string;
|
|
4929
5991
|
width: string;
|
|
4930
5992
|
size: string;
|
|
4931
5993
|
name: string;
|
|
4932
|
-
kind: string;
|
|
4933
5994
|
} & {
|
|
4934
5995
|
date?: string | null | undefined;
|
|
4935
|
-
|
|
5996
|
+
text?: string;
|
|
5997
|
+
}) | {
|
|
5998
|
+
text: string;
|
|
5999
|
+
}))) | ({
|
|
6000
|
+
__TYPE__: "FileLink";
|
|
6001
|
+
} & ({
|
|
6002
|
+
kind: "file";
|
|
6003
|
+
} & (({
|
|
4936
6004
|
id: string;
|
|
4937
6005
|
url: string;
|
|
4938
6006
|
name: string;
|
|
4939
|
-
kind: string;
|
|
4940
6007
|
size: string;
|
|
4941
6008
|
} & {
|
|
4942
6009
|
date?: string | null | undefined;
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
}) | ({
|
|
6010
|
+
text?: string;
|
|
6011
|
+
}) | {
|
|
6012
|
+
text: string;
|
|
6013
|
+
}))) | ({
|
|
4948
6014
|
__TYPE__: "DocumentLink";
|
|
4949
|
-
} & {
|
|
6015
|
+
} & (({
|
|
4950
6016
|
id: string;
|
|
4951
|
-
}) | ({
|
|
4952
|
-
__TYPE__: "ExternalLink";
|
|
4953
6017
|
} & {
|
|
6018
|
+
kind?: "document";
|
|
6019
|
+
text?: string;
|
|
6020
|
+
}) | {
|
|
6021
|
+
kind: "document";
|
|
6022
|
+
text: string;
|
|
6023
|
+
})) | ({
|
|
6024
|
+
__TYPE__: "ExternalLink";
|
|
6025
|
+
} & (({
|
|
4954
6026
|
url: string;
|
|
4955
6027
|
} & {
|
|
4956
6028
|
kind?: "web";
|
|
@@ -4958,6 +6030,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4958
6030
|
preview?: {
|
|
4959
6031
|
title?: string;
|
|
4960
6032
|
} | null | undefined;
|
|
6033
|
+
text?: string;
|
|
6034
|
+
}) | {
|
|
6035
|
+
kind: "web";
|
|
6036
|
+
text: string;
|
|
6037
|
+
})) | ({
|
|
6038
|
+
__TYPE__: "AnyLink";
|
|
6039
|
+
} & {
|
|
6040
|
+
text: string;
|
|
4961
6041
|
});
|
|
4962
6042
|
start: number;
|
|
4963
6043
|
end: number;
|
|
@@ -5098,35 +6178,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5098
6178
|
__TYPE__: "LinkContent";
|
|
5099
6179
|
value: ({
|
|
5100
6180
|
__TYPE__: "ImageLink";
|
|
5101
|
-
} & {
|
|
6181
|
+
} & ({
|
|
6182
|
+
kind: "image";
|
|
6183
|
+
} & (({
|
|
5102
6184
|
id: string;
|
|
5103
6185
|
url: string;
|
|
5104
6186
|
height: string;
|
|
5105
6187
|
width: string;
|
|
5106
6188
|
size: string;
|
|
5107
6189
|
name: string;
|
|
5108
|
-
kind: string;
|
|
5109
6190
|
} & {
|
|
5110
6191
|
date?: string | null | undefined;
|
|
5111
|
-
|
|
6192
|
+
text?: string;
|
|
6193
|
+
}) | {
|
|
6194
|
+
text: string;
|
|
6195
|
+
}))) | ({
|
|
6196
|
+
__TYPE__: "FileLink";
|
|
6197
|
+
} & ({
|
|
6198
|
+
kind: "file";
|
|
6199
|
+
} & (({
|
|
5112
6200
|
id: string;
|
|
5113
6201
|
url: string;
|
|
5114
6202
|
name: string;
|
|
5115
|
-
kind: string;
|
|
5116
6203
|
size: string;
|
|
5117
6204
|
} & {
|
|
5118
6205
|
date?: string | null | undefined;
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
}) | ({
|
|
6206
|
+
text?: string;
|
|
6207
|
+
}) | {
|
|
6208
|
+
text: string;
|
|
6209
|
+
}))) | ({
|
|
5124
6210
|
__TYPE__: "DocumentLink";
|
|
5125
|
-
} & {
|
|
6211
|
+
} & (({
|
|
5126
6212
|
id: string;
|
|
5127
|
-
}) | ({
|
|
5128
|
-
__TYPE__: "ExternalLink";
|
|
5129
6213
|
} & {
|
|
6214
|
+
kind?: "document";
|
|
6215
|
+
text?: string;
|
|
6216
|
+
}) | {
|
|
6217
|
+
kind: "document";
|
|
6218
|
+
text: string;
|
|
6219
|
+
})) | ({
|
|
6220
|
+
__TYPE__: "ExternalLink";
|
|
6221
|
+
} & (({
|
|
5130
6222
|
url: string;
|
|
5131
6223
|
} & {
|
|
5132
6224
|
kind?: "web";
|
|
@@ -5134,6 +6226,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5134
6226
|
preview?: {
|
|
5135
6227
|
title?: string;
|
|
5136
6228
|
} | null | undefined;
|
|
6229
|
+
text?: string;
|
|
6230
|
+
}) | {
|
|
6231
|
+
kind: "web";
|
|
6232
|
+
text: string;
|
|
6233
|
+
})) | ({
|
|
6234
|
+
__TYPE__: "AnyLink";
|
|
6235
|
+
} & {
|
|
6236
|
+
text: string;
|
|
5137
6237
|
});
|
|
5138
6238
|
} | {
|
|
5139
6239
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5164,35 +6264,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5164
6264
|
} & {
|
|
5165
6265
|
linkTo?: ({
|
|
5166
6266
|
__TYPE__: "ImageLink";
|
|
5167
|
-
} & {
|
|
6267
|
+
} & ({
|
|
6268
|
+
kind: "image";
|
|
6269
|
+
} & (({
|
|
5168
6270
|
id: string;
|
|
5169
6271
|
url: string;
|
|
5170
6272
|
height: string;
|
|
5171
6273
|
width: string;
|
|
5172
6274
|
size: string;
|
|
5173
6275
|
name: string;
|
|
5174
|
-
kind: string;
|
|
5175
6276
|
} & {
|
|
5176
6277
|
date?: string | null | undefined;
|
|
5177
|
-
|
|
6278
|
+
text?: string;
|
|
6279
|
+
}) | {
|
|
6280
|
+
text: string;
|
|
6281
|
+
}))) | ({
|
|
6282
|
+
__TYPE__: "FileLink";
|
|
6283
|
+
} & ({
|
|
6284
|
+
kind: "file";
|
|
6285
|
+
} & (({
|
|
5178
6286
|
id: string;
|
|
5179
6287
|
url: string;
|
|
5180
6288
|
name: string;
|
|
5181
|
-
kind: string;
|
|
5182
6289
|
size: string;
|
|
5183
6290
|
} & {
|
|
5184
6291
|
date?: string | null | undefined;
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
}) | ({
|
|
6292
|
+
text?: string;
|
|
6293
|
+
}) | {
|
|
6294
|
+
text: string;
|
|
6295
|
+
}))) | ({
|
|
5190
6296
|
__TYPE__: "DocumentLink";
|
|
5191
|
-
} & {
|
|
6297
|
+
} & (({
|
|
5192
6298
|
id: string;
|
|
5193
|
-
}) | ({
|
|
5194
|
-
__TYPE__: "ExternalLink";
|
|
5195
6299
|
} & {
|
|
6300
|
+
kind?: "document";
|
|
6301
|
+
text?: string;
|
|
6302
|
+
}) | {
|
|
6303
|
+
kind: "document";
|
|
6304
|
+
text: string;
|
|
6305
|
+
})) | ({
|
|
6306
|
+
__TYPE__: "ExternalLink";
|
|
6307
|
+
} & (({
|
|
5196
6308
|
url: string;
|
|
5197
6309
|
} & {
|
|
5198
6310
|
kind?: "web";
|
|
@@ -5200,6 +6312,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5200
6312
|
preview?: {
|
|
5201
6313
|
title?: string;
|
|
5202
6314
|
} | null | undefined;
|
|
6315
|
+
text?: string;
|
|
6316
|
+
}) | {
|
|
6317
|
+
kind: "web";
|
|
6318
|
+
text: string;
|
|
6319
|
+
})) | ({
|
|
6320
|
+
__TYPE__: "AnyLink";
|
|
6321
|
+
} & {
|
|
6322
|
+
text: string;
|
|
5203
6323
|
}) | null | undefined;
|
|
5204
6324
|
};
|
|
5205
6325
|
} & {
|
|
@@ -5237,35 +6357,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5237
6357
|
spans?: ({
|
|
5238
6358
|
data: ({
|
|
5239
6359
|
__TYPE__: "ImageLink";
|
|
5240
|
-
} & {
|
|
6360
|
+
} & ({
|
|
6361
|
+
kind: "image";
|
|
6362
|
+
} & (({
|
|
5241
6363
|
id: string;
|
|
5242
6364
|
url: string;
|
|
5243
6365
|
height: string;
|
|
5244
6366
|
width: string;
|
|
5245
6367
|
size: string;
|
|
5246
6368
|
name: string;
|
|
5247
|
-
kind: string;
|
|
5248
6369
|
} & {
|
|
5249
6370
|
date?: string | null | undefined;
|
|
5250
|
-
|
|
6371
|
+
text?: string;
|
|
6372
|
+
}) | {
|
|
6373
|
+
text: string;
|
|
6374
|
+
}))) | ({
|
|
6375
|
+
__TYPE__: "FileLink";
|
|
6376
|
+
} & ({
|
|
6377
|
+
kind: "file";
|
|
6378
|
+
} & (({
|
|
5251
6379
|
id: string;
|
|
5252
6380
|
url: string;
|
|
5253
6381
|
name: string;
|
|
5254
|
-
kind: string;
|
|
5255
6382
|
size: string;
|
|
5256
6383
|
} & {
|
|
5257
6384
|
date?: string | null | undefined;
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
}) | ({
|
|
6385
|
+
text?: string;
|
|
6386
|
+
}) | {
|
|
6387
|
+
text: string;
|
|
6388
|
+
}))) | ({
|
|
5263
6389
|
__TYPE__: "DocumentLink";
|
|
5264
|
-
} & {
|
|
6390
|
+
} & (({
|
|
5265
6391
|
id: string;
|
|
5266
|
-
}) | ({
|
|
5267
|
-
__TYPE__: "ExternalLink";
|
|
5268
6392
|
} & {
|
|
6393
|
+
kind?: "document";
|
|
6394
|
+
text?: string;
|
|
6395
|
+
}) | {
|
|
6396
|
+
kind: "document";
|
|
6397
|
+
text: string;
|
|
6398
|
+
})) | ({
|
|
6399
|
+
__TYPE__: "ExternalLink";
|
|
6400
|
+
} & (({
|
|
5269
6401
|
url: string;
|
|
5270
6402
|
} & {
|
|
5271
6403
|
kind?: "web";
|
|
@@ -5273,6 +6405,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5273
6405
|
preview?: {
|
|
5274
6406
|
title?: string;
|
|
5275
6407
|
} | null | undefined;
|
|
6408
|
+
text?: string;
|
|
6409
|
+
}) | {
|
|
6410
|
+
kind: "web";
|
|
6411
|
+
text: string;
|
|
6412
|
+
})) | ({
|
|
6413
|
+
__TYPE__: "AnyLink";
|
|
6414
|
+
} & {
|
|
6415
|
+
text: string;
|
|
5276
6416
|
});
|
|
5277
6417
|
start: number;
|
|
5278
6418
|
end: number;
|
|
@@ -5414,35 +6554,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5414
6554
|
__TYPE__: "LinkContent";
|
|
5415
6555
|
value: ({
|
|
5416
6556
|
__TYPE__: "ImageLink";
|
|
5417
|
-
} & {
|
|
6557
|
+
} & ({
|
|
6558
|
+
kind: "image";
|
|
6559
|
+
} & (({
|
|
5418
6560
|
id: string;
|
|
5419
6561
|
url: string;
|
|
5420
6562
|
height: string;
|
|
5421
6563
|
width: string;
|
|
5422
6564
|
size: string;
|
|
5423
6565
|
name: string;
|
|
5424
|
-
kind: string;
|
|
5425
6566
|
} & {
|
|
5426
6567
|
date?: string | null | undefined;
|
|
5427
|
-
|
|
6568
|
+
text?: string;
|
|
6569
|
+
}) | {
|
|
6570
|
+
text: string;
|
|
6571
|
+
}))) | ({
|
|
6572
|
+
__TYPE__: "FileLink";
|
|
6573
|
+
} & ({
|
|
6574
|
+
kind: "file";
|
|
6575
|
+
} & (({
|
|
5428
6576
|
id: string;
|
|
5429
6577
|
url: string;
|
|
5430
6578
|
name: string;
|
|
5431
|
-
kind: string;
|
|
5432
6579
|
size: string;
|
|
5433
6580
|
} & {
|
|
5434
6581
|
date?: string | null | undefined;
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
}) | ({
|
|
6582
|
+
text?: string;
|
|
6583
|
+
}) | {
|
|
6584
|
+
text: string;
|
|
6585
|
+
}))) | ({
|
|
5440
6586
|
__TYPE__: "DocumentLink";
|
|
5441
|
-
} & {
|
|
6587
|
+
} & (({
|
|
5442
6588
|
id: string;
|
|
5443
|
-
}) | ({
|
|
5444
|
-
__TYPE__: "ExternalLink";
|
|
5445
6589
|
} & {
|
|
6590
|
+
kind?: "document";
|
|
6591
|
+
text?: string;
|
|
6592
|
+
}) | {
|
|
6593
|
+
kind: "document";
|
|
6594
|
+
text: string;
|
|
6595
|
+
})) | ({
|
|
6596
|
+
__TYPE__: "ExternalLink";
|
|
6597
|
+
} & (({
|
|
5446
6598
|
url: string;
|
|
5447
6599
|
} & {
|
|
5448
6600
|
kind?: "web";
|
|
@@ -5450,6 +6602,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5450
6602
|
preview?: {
|
|
5451
6603
|
title?: string;
|
|
5452
6604
|
} | null | undefined;
|
|
6605
|
+
text?: string;
|
|
6606
|
+
}) | {
|
|
6607
|
+
kind: "web";
|
|
6608
|
+
text: string;
|
|
6609
|
+
})) | ({
|
|
6610
|
+
__TYPE__: "AnyLink";
|
|
6611
|
+
} & {
|
|
6612
|
+
text: string;
|
|
5453
6613
|
});
|
|
5454
6614
|
} | {
|
|
5455
6615
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5480,35 +6640,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5480
6640
|
} & {
|
|
5481
6641
|
linkTo?: ({
|
|
5482
6642
|
__TYPE__: "ImageLink";
|
|
5483
|
-
} & {
|
|
6643
|
+
} & ({
|
|
6644
|
+
kind: "image";
|
|
6645
|
+
} & (({
|
|
5484
6646
|
id: string;
|
|
5485
6647
|
url: string;
|
|
5486
6648
|
height: string;
|
|
5487
6649
|
width: string;
|
|
5488
6650
|
size: string;
|
|
5489
6651
|
name: string;
|
|
5490
|
-
kind: string;
|
|
5491
6652
|
} & {
|
|
5492
6653
|
date?: string | null | undefined;
|
|
5493
|
-
|
|
6654
|
+
text?: string;
|
|
6655
|
+
}) | {
|
|
6656
|
+
text: string;
|
|
6657
|
+
}))) | ({
|
|
6658
|
+
__TYPE__: "FileLink";
|
|
6659
|
+
} & ({
|
|
6660
|
+
kind: "file";
|
|
6661
|
+
} & (({
|
|
5494
6662
|
id: string;
|
|
5495
6663
|
url: string;
|
|
5496
6664
|
name: string;
|
|
5497
|
-
kind: string;
|
|
5498
6665
|
size: string;
|
|
5499
6666
|
} & {
|
|
5500
6667
|
date?: string | null | undefined;
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
}) | ({
|
|
6668
|
+
text?: string;
|
|
6669
|
+
}) | {
|
|
6670
|
+
text: string;
|
|
6671
|
+
}))) | ({
|
|
5506
6672
|
__TYPE__: "DocumentLink";
|
|
5507
|
-
} & {
|
|
6673
|
+
} & (({
|
|
5508
6674
|
id: string;
|
|
5509
|
-
}) | ({
|
|
5510
|
-
__TYPE__: "ExternalLink";
|
|
5511
6675
|
} & {
|
|
6676
|
+
kind?: "document";
|
|
6677
|
+
text?: string;
|
|
6678
|
+
}) | {
|
|
6679
|
+
kind: "document";
|
|
6680
|
+
text: string;
|
|
6681
|
+
})) | ({
|
|
6682
|
+
__TYPE__: "ExternalLink";
|
|
6683
|
+
} & (({
|
|
5512
6684
|
url: string;
|
|
5513
6685
|
} & {
|
|
5514
6686
|
kind?: "web";
|
|
@@ -5516,6 +6688,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5516
6688
|
preview?: {
|
|
5517
6689
|
title?: string;
|
|
5518
6690
|
} | null | undefined;
|
|
6691
|
+
text?: string;
|
|
6692
|
+
}) | {
|
|
6693
|
+
kind: "web";
|
|
6694
|
+
text: string;
|
|
6695
|
+
})) | ({
|
|
6696
|
+
__TYPE__: "AnyLink";
|
|
6697
|
+
} & {
|
|
6698
|
+
text: string;
|
|
5519
6699
|
}) | null | undefined;
|
|
5520
6700
|
};
|
|
5521
6701
|
} & {
|
|
@@ -5553,35 +6733,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5553
6733
|
spans?: ({
|
|
5554
6734
|
data: ({
|
|
5555
6735
|
__TYPE__: "ImageLink";
|
|
5556
|
-
} & {
|
|
6736
|
+
} & ({
|
|
6737
|
+
kind: "image";
|
|
6738
|
+
} & (({
|
|
5557
6739
|
id: string;
|
|
5558
6740
|
url: string;
|
|
5559
6741
|
height: string;
|
|
5560
6742
|
width: string;
|
|
5561
6743
|
size: string;
|
|
5562
6744
|
name: string;
|
|
5563
|
-
kind: string;
|
|
5564
6745
|
} & {
|
|
5565
6746
|
date?: string | null | undefined;
|
|
5566
|
-
|
|
6747
|
+
text?: string;
|
|
6748
|
+
}) | {
|
|
6749
|
+
text: string;
|
|
6750
|
+
}))) | ({
|
|
6751
|
+
__TYPE__: "FileLink";
|
|
6752
|
+
} & ({
|
|
6753
|
+
kind: "file";
|
|
6754
|
+
} & (({
|
|
5567
6755
|
id: string;
|
|
5568
6756
|
url: string;
|
|
5569
6757
|
name: string;
|
|
5570
|
-
kind: string;
|
|
5571
6758
|
size: string;
|
|
5572
6759
|
} & {
|
|
5573
6760
|
date?: string | null | undefined;
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
}) | ({
|
|
6761
|
+
text?: string;
|
|
6762
|
+
}) | {
|
|
6763
|
+
text: string;
|
|
6764
|
+
}))) | ({
|
|
5579
6765
|
__TYPE__: "DocumentLink";
|
|
5580
|
-
} & {
|
|
6766
|
+
} & (({
|
|
5581
6767
|
id: string;
|
|
5582
|
-
}) | ({
|
|
5583
|
-
__TYPE__: "ExternalLink";
|
|
5584
6768
|
} & {
|
|
6769
|
+
kind?: "document";
|
|
6770
|
+
text?: string;
|
|
6771
|
+
}) | {
|
|
6772
|
+
kind: "document";
|
|
6773
|
+
text: string;
|
|
6774
|
+
})) | ({
|
|
6775
|
+
__TYPE__: "ExternalLink";
|
|
6776
|
+
} & (({
|
|
5585
6777
|
url: string;
|
|
5586
6778
|
} & {
|
|
5587
6779
|
kind?: "web";
|
|
@@ -5589,6 +6781,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5589
6781
|
preview?: {
|
|
5590
6782
|
title?: string;
|
|
5591
6783
|
} | null | undefined;
|
|
6784
|
+
text?: string;
|
|
6785
|
+
}) | {
|
|
6786
|
+
kind: "web";
|
|
6787
|
+
text: string;
|
|
6788
|
+
})) | ({
|
|
6789
|
+
__TYPE__: "AnyLink";
|
|
6790
|
+
} & {
|
|
6791
|
+
text: string;
|
|
5592
6792
|
});
|
|
5593
6793
|
start: number;
|
|
5594
6794
|
end: number;
|
|
@@ -5732,35 +6932,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5732
6932
|
__TYPE__: "LinkContent";
|
|
5733
6933
|
value: ({
|
|
5734
6934
|
__TYPE__: "ImageLink";
|
|
5735
|
-
} & {
|
|
6935
|
+
} & ({
|
|
6936
|
+
kind: "image";
|
|
6937
|
+
} & (({
|
|
5736
6938
|
id: string;
|
|
5737
6939
|
url: string;
|
|
5738
6940
|
height: string;
|
|
5739
6941
|
width: string;
|
|
5740
6942
|
size: string;
|
|
5741
6943
|
name: string;
|
|
5742
|
-
kind: string;
|
|
5743
6944
|
} & {
|
|
5744
6945
|
date?: string | null | undefined;
|
|
5745
|
-
|
|
6946
|
+
text?: string;
|
|
6947
|
+
}) | {
|
|
6948
|
+
text: string;
|
|
6949
|
+
}))) | ({
|
|
6950
|
+
__TYPE__: "FileLink";
|
|
6951
|
+
} & ({
|
|
6952
|
+
kind: "file";
|
|
6953
|
+
} & (({
|
|
5746
6954
|
id: string;
|
|
5747
6955
|
url: string;
|
|
5748
6956
|
name: string;
|
|
5749
|
-
kind: string;
|
|
5750
6957
|
size: string;
|
|
5751
6958
|
} & {
|
|
5752
6959
|
date?: string | null | undefined;
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
}) | ({
|
|
6960
|
+
text?: string;
|
|
6961
|
+
}) | {
|
|
6962
|
+
text: string;
|
|
6963
|
+
}))) | ({
|
|
5758
6964
|
__TYPE__: "DocumentLink";
|
|
5759
|
-
} & {
|
|
6965
|
+
} & (({
|
|
5760
6966
|
id: string;
|
|
5761
|
-
}) | ({
|
|
5762
|
-
__TYPE__: "ExternalLink";
|
|
5763
6967
|
} & {
|
|
6968
|
+
kind?: "document";
|
|
6969
|
+
text?: string;
|
|
6970
|
+
}) | {
|
|
6971
|
+
kind: "document";
|
|
6972
|
+
text: string;
|
|
6973
|
+
})) | ({
|
|
6974
|
+
__TYPE__: "ExternalLink";
|
|
6975
|
+
} & (({
|
|
5764
6976
|
url: string;
|
|
5765
6977
|
} & {
|
|
5766
6978
|
kind?: "web";
|
|
@@ -5768,6 +6980,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5768
6980
|
preview?: {
|
|
5769
6981
|
title?: string;
|
|
5770
6982
|
} | null | undefined;
|
|
6983
|
+
text?: string;
|
|
6984
|
+
}) | {
|
|
6985
|
+
kind: "web";
|
|
6986
|
+
text: string;
|
|
6987
|
+
})) | ({
|
|
6988
|
+
__TYPE__: "AnyLink";
|
|
6989
|
+
} & {
|
|
6990
|
+
text: string;
|
|
5771
6991
|
});
|
|
5772
6992
|
} | {
|
|
5773
6993
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5798,35 +7018,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5798
7018
|
} & {
|
|
5799
7019
|
linkTo?: ({
|
|
5800
7020
|
__TYPE__: "ImageLink";
|
|
5801
|
-
} & {
|
|
7021
|
+
} & ({
|
|
7022
|
+
kind: "image";
|
|
7023
|
+
} & (({
|
|
5802
7024
|
id: string;
|
|
5803
7025
|
url: string;
|
|
5804
7026
|
height: string;
|
|
5805
7027
|
width: string;
|
|
5806
7028
|
size: string;
|
|
5807
7029
|
name: string;
|
|
5808
|
-
kind: string;
|
|
5809
7030
|
} & {
|
|
5810
7031
|
date?: string | null | undefined;
|
|
5811
|
-
|
|
7032
|
+
text?: string;
|
|
7033
|
+
}) | {
|
|
7034
|
+
text: string;
|
|
7035
|
+
}))) | ({
|
|
7036
|
+
__TYPE__: "FileLink";
|
|
7037
|
+
} & ({
|
|
7038
|
+
kind: "file";
|
|
7039
|
+
} & (({
|
|
5812
7040
|
id: string;
|
|
5813
7041
|
url: string;
|
|
5814
7042
|
name: string;
|
|
5815
|
-
kind: string;
|
|
5816
7043
|
size: string;
|
|
5817
7044
|
} & {
|
|
5818
7045
|
date?: string | null | undefined;
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
}) | ({
|
|
7046
|
+
text?: string;
|
|
7047
|
+
}) | {
|
|
7048
|
+
text: string;
|
|
7049
|
+
}))) | ({
|
|
5824
7050
|
__TYPE__: "DocumentLink";
|
|
5825
|
-
} & {
|
|
7051
|
+
} & (({
|
|
5826
7052
|
id: string;
|
|
5827
|
-
}) | ({
|
|
5828
|
-
__TYPE__: "ExternalLink";
|
|
5829
7053
|
} & {
|
|
7054
|
+
kind?: "document";
|
|
7055
|
+
text?: string;
|
|
7056
|
+
}) | {
|
|
7057
|
+
kind: "document";
|
|
7058
|
+
text: string;
|
|
7059
|
+
})) | ({
|
|
7060
|
+
__TYPE__: "ExternalLink";
|
|
7061
|
+
} & (({
|
|
5830
7062
|
url: string;
|
|
5831
7063
|
} & {
|
|
5832
7064
|
kind?: "web";
|
|
@@ -5834,6 +7066,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5834
7066
|
preview?: {
|
|
5835
7067
|
title?: string;
|
|
5836
7068
|
} | null | undefined;
|
|
7069
|
+
text?: string;
|
|
7070
|
+
}) | {
|
|
7071
|
+
kind: "web";
|
|
7072
|
+
text: string;
|
|
7073
|
+
})) | ({
|
|
7074
|
+
__TYPE__: "AnyLink";
|
|
7075
|
+
} & {
|
|
7076
|
+
text: string;
|
|
5837
7077
|
}) | null | undefined;
|
|
5838
7078
|
};
|
|
5839
7079
|
} & {
|
|
@@ -5871,35 +7111,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5871
7111
|
spans?: ({
|
|
5872
7112
|
data: ({
|
|
5873
7113
|
__TYPE__: "ImageLink";
|
|
5874
|
-
} & {
|
|
7114
|
+
} & ({
|
|
7115
|
+
kind: "image";
|
|
7116
|
+
} & (({
|
|
5875
7117
|
id: string;
|
|
5876
7118
|
url: string;
|
|
5877
7119
|
height: string;
|
|
5878
7120
|
width: string;
|
|
5879
7121
|
size: string;
|
|
5880
7122
|
name: string;
|
|
5881
|
-
kind: string;
|
|
5882
7123
|
} & {
|
|
5883
7124
|
date?: string | null | undefined;
|
|
5884
|
-
|
|
7125
|
+
text?: string;
|
|
7126
|
+
}) | {
|
|
7127
|
+
text: string;
|
|
7128
|
+
}))) | ({
|
|
7129
|
+
__TYPE__: "FileLink";
|
|
7130
|
+
} & ({
|
|
7131
|
+
kind: "file";
|
|
7132
|
+
} & (({
|
|
5885
7133
|
id: string;
|
|
5886
7134
|
url: string;
|
|
5887
7135
|
name: string;
|
|
5888
|
-
kind: string;
|
|
5889
7136
|
size: string;
|
|
5890
7137
|
} & {
|
|
5891
7138
|
date?: string | null | undefined;
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
}) | ({
|
|
7139
|
+
text?: string;
|
|
7140
|
+
}) | {
|
|
7141
|
+
text: string;
|
|
7142
|
+
}))) | ({
|
|
5897
7143
|
__TYPE__: "DocumentLink";
|
|
5898
|
-
} & {
|
|
7144
|
+
} & (({
|
|
5899
7145
|
id: string;
|
|
5900
|
-
}) | ({
|
|
5901
|
-
__TYPE__: "ExternalLink";
|
|
5902
7146
|
} & {
|
|
7147
|
+
kind?: "document";
|
|
7148
|
+
text?: string;
|
|
7149
|
+
}) | {
|
|
7150
|
+
kind: "document";
|
|
7151
|
+
text: string;
|
|
7152
|
+
})) | ({
|
|
7153
|
+
__TYPE__: "ExternalLink";
|
|
7154
|
+
} & (({
|
|
5903
7155
|
url: string;
|
|
5904
7156
|
} & {
|
|
5905
7157
|
kind?: "web";
|
|
@@ -5907,6 +7159,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5907
7159
|
preview?: {
|
|
5908
7160
|
title?: string;
|
|
5909
7161
|
} | null | undefined;
|
|
7162
|
+
text?: string;
|
|
7163
|
+
}) | {
|
|
7164
|
+
kind: "web";
|
|
7165
|
+
text: string;
|
|
7166
|
+
})) | ({
|
|
7167
|
+
__TYPE__: "AnyLink";
|
|
7168
|
+
} & {
|
|
7169
|
+
text: string;
|
|
5910
7170
|
});
|
|
5911
7171
|
start: number;
|
|
5912
7172
|
end: number;
|
|
@@ -6048,35 +7308,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6048
7308
|
__TYPE__: "LinkContent";
|
|
6049
7309
|
value: ({
|
|
6050
7310
|
__TYPE__: "ImageLink";
|
|
6051
|
-
} & {
|
|
7311
|
+
} & ({
|
|
7312
|
+
kind: "image";
|
|
7313
|
+
} & (({
|
|
6052
7314
|
id: string;
|
|
6053
7315
|
url: string;
|
|
6054
7316
|
height: string;
|
|
6055
7317
|
width: string;
|
|
6056
7318
|
size: string;
|
|
6057
7319
|
name: string;
|
|
6058
|
-
kind: string;
|
|
6059
7320
|
} & {
|
|
6060
7321
|
date?: string | null | undefined;
|
|
6061
|
-
|
|
7322
|
+
text?: string;
|
|
7323
|
+
}) | {
|
|
7324
|
+
text: string;
|
|
7325
|
+
}))) | ({
|
|
7326
|
+
__TYPE__: "FileLink";
|
|
7327
|
+
} & ({
|
|
7328
|
+
kind: "file";
|
|
7329
|
+
} & (({
|
|
6062
7330
|
id: string;
|
|
6063
7331
|
url: string;
|
|
6064
7332
|
name: string;
|
|
6065
|
-
kind: string;
|
|
6066
7333
|
size: string;
|
|
6067
7334
|
} & {
|
|
6068
7335
|
date?: string | null | undefined;
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
}) | ({
|
|
7336
|
+
text?: string;
|
|
7337
|
+
}) | {
|
|
7338
|
+
text: string;
|
|
7339
|
+
}))) | ({
|
|
6074
7340
|
__TYPE__: "DocumentLink";
|
|
6075
|
-
} & {
|
|
7341
|
+
} & (({
|
|
6076
7342
|
id: string;
|
|
6077
|
-
}) | ({
|
|
6078
|
-
__TYPE__: "ExternalLink";
|
|
6079
7343
|
} & {
|
|
7344
|
+
kind?: "document";
|
|
7345
|
+
text?: string;
|
|
7346
|
+
}) | {
|
|
7347
|
+
kind: "document";
|
|
7348
|
+
text: string;
|
|
7349
|
+
})) | ({
|
|
7350
|
+
__TYPE__: "ExternalLink";
|
|
7351
|
+
} & (({
|
|
6080
7352
|
url: string;
|
|
6081
7353
|
} & {
|
|
6082
7354
|
kind?: "web";
|
|
@@ -6084,6 +7356,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6084
7356
|
preview?: {
|
|
6085
7357
|
title?: string;
|
|
6086
7358
|
} | null | undefined;
|
|
7359
|
+
text?: string;
|
|
7360
|
+
}) | {
|
|
7361
|
+
kind: "web";
|
|
7362
|
+
text: string;
|
|
7363
|
+
})) | ({
|
|
7364
|
+
__TYPE__: "AnyLink";
|
|
7365
|
+
} & {
|
|
7366
|
+
text: string;
|
|
6087
7367
|
});
|
|
6088
7368
|
} | {
|
|
6089
7369
|
__TYPE__: "StructuredTextContent";
|
|
@@ -6114,35 +7394,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6114
7394
|
} & {
|
|
6115
7395
|
linkTo?: ({
|
|
6116
7396
|
__TYPE__: "ImageLink";
|
|
6117
|
-
} & {
|
|
7397
|
+
} & ({
|
|
7398
|
+
kind: "image";
|
|
7399
|
+
} & (({
|
|
6118
7400
|
id: string;
|
|
6119
7401
|
url: string;
|
|
6120
7402
|
height: string;
|
|
6121
7403
|
width: string;
|
|
6122
7404
|
size: string;
|
|
6123
7405
|
name: string;
|
|
6124
|
-
kind: string;
|
|
6125
7406
|
} & {
|
|
6126
7407
|
date?: string | null | undefined;
|
|
6127
|
-
|
|
7408
|
+
text?: string;
|
|
7409
|
+
}) | {
|
|
7410
|
+
text: string;
|
|
7411
|
+
}))) | ({
|
|
7412
|
+
__TYPE__: "FileLink";
|
|
7413
|
+
} & ({
|
|
7414
|
+
kind: "file";
|
|
7415
|
+
} & (({
|
|
6128
7416
|
id: string;
|
|
6129
7417
|
url: string;
|
|
6130
7418
|
name: string;
|
|
6131
|
-
kind: string;
|
|
6132
7419
|
size: string;
|
|
6133
7420
|
} & {
|
|
6134
7421
|
date?: string | null | undefined;
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
}) | ({
|
|
7422
|
+
text?: string;
|
|
7423
|
+
}) | {
|
|
7424
|
+
text: string;
|
|
7425
|
+
}))) | ({
|
|
6140
7426
|
__TYPE__: "DocumentLink";
|
|
6141
|
-
} & {
|
|
7427
|
+
} & (({
|
|
6142
7428
|
id: string;
|
|
6143
|
-
}) | ({
|
|
6144
|
-
__TYPE__: "ExternalLink";
|
|
6145
7429
|
} & {
|
|
7430
|
+
kind?: "document";
|
|
7431
|
+
text?: string;
|
|
7432
|
+
}) | {
|
|
7433
|
+
kind: "document";
|
|
7434
|
+
text: string;
|
|
7435
|
+
})) | ({
|
|
7436
|
+
__TYPE__: "ExternalLink";
|
|
7437
|
+
} & (({
|
|
6146
7438
|
url: string;
|
|
6147
7439
|
} & {
|
|
6148
7440
|
kind?: "web";
|
|
@@ -6150,6 +7442,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6150
7442
|
preview?: {
|
|
6151
7443
|
title?: string;
|
|
6152
7444
|
} | null | undefined;
|
|
7445
|
+
text?: string;
|
|
7446
|
+
}) | {
|
|
7447
|
+
kind: "web";
|
|
7448
|
+
text: string;
|
|
7449
|
+
})) | ({
|
|
7450
|
+
__TYPE__: "AnyLink";
|
|
7451
|
+
} & {
|
|
7452
|
+
text: string;
|
|
6153
7453
|
}) | null | undefined;
|
|
6154
7454
|
};
|
|
6155
7455
|
} & {
|
|
@@ -6187,35 +7487,47 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6187
7487
|
spans?: ({
|
|
6188
7488
|
data: ({
|
|
6189
7489
|
__TYPE__: "ImageLink";
|
|
6190
|
-
} & {
|
|
7490
|
+
} & ({
|
|
7491
|
+
kind: "image";
|
|
7492
|
+
} & (({
|
|
6191
7493
|
id: string;
|
|
6192
7494
|
url: string;
|
|
6193
7495
|
height: string;
|
|
6194
7496
|
width: string;
|
|
6195
7497
|
size: string;
|
|
6196
7498
|
name: string;
|
|
6197
|
-
kind: string;
|
|
6198
7499
|
} & {
|
|
6199
7500
|
date?: string | null | undefined;
|
|
6200
|
-
|
|
7501
|
+
text?: string;
|
|
7502
|
+
}) | {
|
|
7503
|
+
text: string;
|
|
7504
|
+
}))) | ({
|
|
7505
|
+
__TYPE__: "FileLink";
|
|
7506
|
+
} & ({
|
|
7507
|
+
kind: "file";
|
|
7508
|
+
} & (({
|
|
6201
7509
|
id: string;
|
|
6202
7510
|
url: string;
|
|
6203
7511
|
name: string;
|
|
6204
|
-
kind: string;
|
|
6205
7512
|
size: string;
|
|
6206
7513
|
} & {
|
|
6207
7514
|
date?: string | null | undefined;
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
}) | ({
|
|
7515
|
+
text?: string;
|
|
7516
|
+
}) | {
|
|
7517
|
+
text: string;
|
|
7518
|
+
}))) | ({
|
|
6213
7519
|
__TYPE__: "DocumentLink";
|
|
6214
|
-
} & {
|
|
7520
|
+
} & (({
|
|
6215
7521
|
id: string;
|
|
6216
|
-
}) | ({
|
|
6217
|
-
__TYPE__: "ExternalLink";
|
|
6218
7522
|
} & {
|
|
7523
|
+
kind?: "document";
|
|
7524
|
+
text?: string;
|
|
7525
|
+
}) | {
|
|
7526
|
+
kind: "document";
|
|
7527
|
+
text: string;
|
|
7528
|
+
})) | ({
|
|
7529
|
+
__TYPE__: "ExternalLink";
|
|
7530
|
+
} & (({
|
|
6219
7531
|
url: string;
|
|
6220
7532
|
} & {
|
|
6221
7533
|
kind?: "web";
|
|
@@ -6223,6 +7535,14 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6223
7535
|
preview?: {
|
|
6224
7536
|
title?: string;
|
|
6225
7537
|
} | null | undefined;
|
|
7538
|
+
text?: string;
|
|
7539
|
+
}) | {
|
|
7540
|
+
kind: "web";
|
|
7541
|
+
text: string;
|
|
7542
|
+
})) | ({
|
|
7543
|
+
__TYPE__: "AnyLink";
|
|
7544
|
+
} & {
|
|
7545
|
+
text: string;
|
|
6226
7546
|
});
|
|
6227
7547
|
start: number;
|
|
6228
7548
|
end: number;
|