@prismicio/types-internal 1.4.1 → 1.5.1-alpha.1

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.
Files changed (48) hide show
  1. package/lib/content/CustomType.d.ts +2972 -0
  2. package/lib/content/CustomType.js +15 -0
  3. package/lib/content/fields/UIDContent.d.ts +7 -0
  4. package/lib/content/fields/UIDContent.js +11 -0
  5. package/lib/content/fields/index.d.ts +2990 -0
  6. package/lib/content/fields/index.js +19 -0
  7. package/lib/content/fields/nestable/EmbedContent.d.ts +1 -0
  8. package/lib/content/fields/nestable/EmbedContent.js +2 -1
  9. package/lib/content/fields/nestable/ImageContent.d.ts +25 -0
  10. package/lib/content/fields/nestable/ImageContent.js +2 -1
  11. package/lib/content/fields/nestable/LinkContent.d.ts +7 -0
  12. package/lib/content/fields/nestable/LinkContent.js +8 -1
  13. package/lib/content/fields/nestable/NestableContent.d.ts +17 -0
  14. package/lib/content/fields/nestable/NestableContent.js +13 -1
  15. package/lib/content/fields/nestable/RichTextContent.d.ts +249 -0
  16. package/lib/content/fields/nestable/RichTextContent.js +6 -1
  17. package/lib/content/fields/slices/CompositeSliceContent.d.ts +743 -0
  18. package/lib/content/fields/slices/CompositeSliceContent.js +14 -0
  19. package/lib/content/fields/slices/RepeatableContent.d.ts +371 -0
  20. package/lib/content/fields/slices/RepeatableContent.js +16 -0
  21. package/lib/content/fields/slices/SharedSliceContent.js +2 -2
  22. package/lib/content/fields/slices/SimpleSliceContent.d.ts +741 -0
  23. package/lib/content/fields/slices/SimpleSliceContent.js +8 -0
  24. package/lib/content/fields/slices/SlicesContent.d.ts +4453 -0
  25. package/lib/content/fields/slices/SlicesContent.js +24 -0
  26. package/lib/content/fields/slices/index.d.ts +3 -0
  27. package/lib/content/fields/slices/index.js +3 -0
  28. package/lib/content/index.d.ts +1 -0
  29. package/lib/content/index.js +1 -0
  30. package/lib/customtypes/index.d.ts +1 -1
  31. package/lib/customtypes/index.js +1 -1
  32. package/package.json +2 -1
  33. package/src/content/CustomType.ts +21 -0
  34. package/src/content/fields/UIDContent.ts +11 -0
  35. package/src/content/fields/index.ts +24 -0
  36. package/src/content/fields/nestable/EmbedContent.ts +3 -2
  37. package/src/content/fields/nestable/ImageContent.ts +4 -0
  38. package/src/content/fields/nestable/LinkContent.ts +8 -0
  39. package/src/content/fields/nestable/NestableContent.ts +26 -7
  40. package/src/content/fields/nestable/RichTextContent.ts +18 -0
  41. package/src/content/fields/slices/CompositeSliceContent.ts +14 -0
  42. package/src/content/fields/slices/RepeatableContent.ts +15 -0
  43. package/src/content/fields/slices/SharedSliceContent.ts +2 -2
  44. package/src/content/fields/slices/SimpleSliceContent.ts +7 -0
  45. package/src/content/fields/slices/SlicesContent.ts +28 -0
  46. package/src/content/fields/slices/index.ts +3 -0
  47. package/src/content/index.ts +1 -0
  48. package/src/customtypes/index.ts +1 -1
@@ -1,3 +1,2993 @@
1
+ import * as t from "io-ts";
1
2
  export * from "./GroupContent";
2
3
  export * from "./nestable";
3
4
  export * from "./slices";
5
+ export * from "./UIDContent";
6
+ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
7
+ __TYPE__: t.LiteralC<"GroupContentType">;
8
+ value: t.ArrayC<t.ExactC<t.TypeC<{
9
+ __TYPE__: t.LiteralC<"GroupItemContent">;
10
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
11
+ __TYPE__: t.LiteralC<"BooleanContent">;
12
+ value: t.BooleanC;
13
+ }>>, t.IntersectionC<[t.Type<{
14
+ embed_url: string;
15
+ type: string;
16
+ } & {
17
+ version?: string | number | null;
18
+ title?: string | null | undefined;
19
+ author_name?: string | null | undefined;
20
+ author_url?: string | null | undefined;
21
+ provider_name?: string | null | undefined;
22
+ provider_url?: string | null | undefined;
23
+ cache_age?: string | number | null;
24
+ thumbnail_url?: string | null | undefined;
25
+ thumbnail_width?: number | null | undefined;
26
+ thumbnail_height?: number | null | undefined;
27
+ html?: string | null | undefined;
28
+ }, {
29
+ embed_url: string;
30
+ type: string;
31
+ } & {
32
+ version?: string | number | null;
33
+ title?: string | null | undefined;
34
+ author_name?: string | null | undefined;
35
+ author_url?: string | null | undefined;
36
+ provider_name?: string | null | undefined;
37
+ provider_url?: string | null | undefined;
38
+ cache_age?: string | number | null;
39
+ thumbnail_url?: string | null | undefined;
40
+ thumbnail_width?: number | null | undefined;
41
+ thumbnail_height?: number | null | undefined;
42
+ html?: string | null | undefined;
43
+ } & {
44
+ __TYPE__: "EmbedContent";
45
+ }, unknown>, t.ExactC<t.TypeC<{
46
+ __TYPE__: t.LiteralC<"EmbedContent">;
47
+ all: t.UnknownC;
48
+ }>>]>, t.ExactC<t.TypeC<{
49
+ type: t.KeyofC<{
50
+ Text: null;
51
+ Date: null;
52
+ Timestamp: null;
53
+ Color: null;
54
+ Number: null;
55
+ Range: null;
56
+ Select: null;
57
+ }>;
58
+ value: t.Type<string, string, unknown>;
59
+ __TYPE__: t.LiteralC<"FieldContent">;
60
+ }>>, t.IntersectionC<[t.Type<{
61
+ position: {
62
+ lat: number;
63
+ lng: number;
64
+ };
65
+ }, {
66
+ position: {
67
+ lat: number;
68
+ lng: number;
69
+ };
70
+ } & {
71
+ __TYPE__: "GeoPointContent";
72
+ }, unknown>, t.ExactC<t.TypeC<{
73
+ __TYPE__: t.LiteralC<"GeoPointContent">;
74
+ }>>]>, t.IntersectionC<[t.Type<{
75
+ origin: {
76
+ id: string;
77
+ url: string;
78
+ width: number;
79
+ height: number;
80
+ };
81
+ width: number;
82
+ height: number;
83
+ edit: {
84
+ zoom: number;
85
+ crop: {
86
+ x: number;
87
+ y: number;
88
+ };
89
+ background: string;
90
+ };
91
+ } & {
92
+ url?: string;
93
+ credits?: string | null;
94
+ alt?: string | null;
95
+ provider?: string | null | undefined;
96
+ } & {
97
+ thumbnails?: {
98
+ [x: string]: {
99
+ origin: {
100
+ id: string;
101
+ url: string;
102
+ width: number;
103
+ height: number;
104
+ };
105
+ width: number;
106
+ height: number;
107
+ edit: {
108
+ zoom: number;
109
+ crop: {
110
+ x: number;
111
+ y: number;
112
+ };
113
+ background: string;
114
+ };
115
+ } & {
116
+ url?: string;
117
+ credits?: string | null;
118
+ alt?: string | null;
119
+ provider?: string | null | undefined;
120
+ };
121
+ };
122
+ }, {
123
+ origin: {
124
+ id: string;
125
+ url: string;
126
+ width: number;
127
+ height: number;
128
+ };
129
+ width: number;
130
+ height: number;
131
+ edit: {
132
+ zoom: number;
133
+ crop: {
134
+ x: number;
135
+ y: number;
136
+ };
137
+ background: string;
138
+ };
139
+ } & {
140
+ url?: string;
141
+ credits?: string | null;
142
+ alt?: string | null;
143
+ provider?: string | null | undefined;
144
+ } & {
145
+ thumbnails?: {
146
+ [x: string]: {
147
+ origin: {
148
+ id: string;
149
+ url: string;
150
+ width: number;
151
+ height: number;
152
+ };
153
+ width: number;
154
+ height: number;
155
+ edit: {
156
+ zoom: number;
157
+ crop: {
158
+ x: number;
159
+ y: number;
160
+ };
161
+ background: string;
162
+ };
163
+ } & {
164
+ url?: string;
165
+ credits?: string | null;
166
+ alt?: string | null;
167
+ provider?: string | null | undefined;
168
+ };
169
+ };
170
+ } & {
171
+ __TYPE__: "ImageContent";
172
+ }, unknown>, t.ExactC<t.TypeC<{
173
+ __TYPE__: t.LiteralC<"ImageContent">;
174
+ }>>]>, t.ExactC<t.TypeC<{
175
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
176
+ value: t.StringC;
177
+ }>>, t.ExactC<t.TypeC<{
178
+ __TYPE__: t.LiteralC<"LinkContent">;
179
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
180
+ __TYPE__: t.LiteralC<"ImageLink">;
181
+ }>>, t.Type<{
182
+ id: string;
183
+ url: string;
184
+ height: string;
185
+ width: string;
186
+ size: string;
187
+ name: string;
188
+ kind: string;
189
+ } & {
190
+ date?: string | null | undefined;
191
+ }, {
192
+ id: string;
193
+ url: string;
194
+ height: string;
195
+ width: string;
196
+ size: string;
197
+ name: string;
198
+ kind: string;
199
+ } & {
200
+ date?: string | null | undefined;
201
+ } & {
202
+ __TYPE__: "ImageLink";
203
+ }, unknown>]>, t.IntersectionC<[t.Type<{
204
+ id: string;
205
+ url: string;
206
+ name: string;
207
+ kind: string;
208
+ } & {
209
+ date?: string | null | undefined;
210
+ size?: string;
211
+ }, {
212
+ readonly size: string;
213
+ readonly __TYPE__: "FileLink";
214
+ readonly id: string;
215
+ readonly url: string;
216
+ readonly name: string;
217
+ readonly kind: string;
218
+ readonly date?: string | null | undefined;
219
+ }, unknown>, t.ExactC<t.TypeC<{
220
+ __TYPE__: t.LiteralC<"FileLink">;
221
+ size: t.StringC;
222
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
223
+ __TYPE__: t.LiteralC<"DocumentLink">;
224
+ }>>, t.Type<{
225
+ id: string;
226
+ }, {
227
+ id: string;
228
+ } & {
229
+ __TYPE__: "DocumentLink";
230
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
231
+ __TYPE__: t.LiteralC<"ExternalLink">;
232
+ }>>, t.Type<{
233
+ url: string;
234
+ } & {
235
+ kind?: "web";
236
+ target?: string | null | undefined;
237
+ preview?: {
238
+ title?: string;
239
+ } | null | undefined;
240
+ }, {
241
+ url: string;
242
+ } & {
243
+ kind?: "web";
244
+ target?: string | null | undefined;
245
+ preview?: {
246
+ title?: string;
247
+ } | null | undefined;
248
+ } & {
249
+ __TYPE__: "ExternalLink";
250
+ }, unknown>]>]>;
251
+ }>>, t.ExactC<t.TypeC<{
252
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
253
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
254
+ type: t.LiteralC<"image">;
255
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
256
+ origin: t.ExactC<t.TypeC<{
257
+ id: t.StringC;
258
+ url: t.StringC;
259
+ width: t.NumberC;
260
+ height: t.NumberC;
261
+ }>>;
262
+ width: t.NumberC;
263
+ height: t.NumberC;
264
+ edit: t.TypeC<{
265
+ zoom: t.NumberC;
266
+ crop: t.TypeC<{
267
+ x: t.NumberC;
268
+ y: t.NumberC;
269
+ }>;
270
+ background: t.StringC;
271
+ }>;
272
+ }>, t.PartialC<{
273
+ url: t.StringC;
274
+ credits: t.Type<string | null, string | null, unknown>;
275
+ alt: t.Type<string | null, string | null, unknown>;
276
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
277
+ }>]>>, t.PartialC<{
278
+ linkTo: t.UnionC<[t.Type<{
279
+ id: string;
280
+ } | ({
281
+ url: string;
282
+ } & {
283
+ kind?: "web";
284
+ target?: string | null | undefined;
285
+ preview?: {
286
+ title?: string;
287
+ } | null | undefined;
288
+ }) | ({
289
+ id: string;
290
+ url: string;
291
+ name: string;
292
+ kind: string;
293
+ } & {
294
+ date?: string | null | undefined;
295
+ size?: string;
296
+ }) | ({
297
+ id: string;
298
+ url: string;
299
+ height: string;
300
+ width: string;
301
+ size: string;
302
+ name: string;
303
+ kind: string;
304
+ } & {
305
+ date?: string | null | undefined;
306
+ }), ({
307
+ id: string;
308
+ } & {
309
+ __TYPE__: "DocumentLink";
310
+ }) | ({
311
+ url: string;
312
+ } & {
313
+ kind?: "web";
314
+ target?: string | null | undefined;
315
+ preview?: {
316
+ title?: string;
317
+ } | null | undefined;
318
+ } & {
319
+ __TYPE__: "ExternalLink";
320
+ }) | {
321
+ readonly size: string;
322
+ readonly __TYPE__: "FileLink";
323
+ readonly id: string;
324
+ readonly url: string;
325
+ readonly name: string;
326
+ readonly kind: string;
327
+ readonly date?: string | null | undefined;
328
+ } | ({
329
+ id: string;
330
+ url: string;
331
+ height: string;
332
+ width: string;
333
+ size: string;
334
+ name: string;
335
+ kind: string;
336
+ } & {
337
+ date?: string | null | undefined;
338
+ } & {
339
+ __TYPE__: "ImageLink";
340
+ }), unknown>, t.NullC, t.UndefinedC]>;
341
+ }>]>;
342
+ }>, t.PartialC<{
343
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
344
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
345
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
346
+ type: t.LiteralC<"embed">;
347
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
348
+ }>, t.PartialC<{
349
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
350
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
351
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
352
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
353
+ content: t.IntersectionC<[t.TypeC<{
354
+ text: t.StringC;
355
+ }>, t.PartialC<{
356
+ spans: t.Type<({
357
+ data?: unknown;
358
+ } & {
359
+ start: number;
360
+ end: number;
361
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
362
+ })[], ({
363
+ data?: unknown;
364
+ } & {
365
+ start: number;
366
+ end: number;
367
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
368
+ })[], unknown>;
369
+ }>]>;
370
+ }>, t.PartialC<{
371
+ label: t.StringC;
372
+ direction: t.StringC;
373
+ }>]>>]>>;
374
+ }>>, t.ExactC<t.TypeC<{
375
+ __TYPE__: t.LiteralC<"SeparatorContent">;
376
+ }>>]>]>>;
377
+ }>>>;
378
+ }>>, t.UnionC<[t.ExactC<t.TypeC<{
379
+ __TYPE__: t.LiteralC<"BooleanContent">;
380
+ value: t.BooleanC;
381
+ }>>, t.IntersectionC<[t.Type<{
382
+ embed_url: string;
383
+ type: string;
384
+ } & {
385
+ version?: string | number | null;
386
+ title?: string | null | undefined;
387
+ author_name?: string | null | undefined;
388
+ author_url?: string | null | undefined;
389
+ provider_name?: string | null | undefined;
390
+ provider_url?: string | null | undefined;
391
+ cache_age?: string | number | null;
392
+ thumbnail_url?: string | null | undefined;
393
+ thumbnail_width?: number | null | undefined;
394
+ thumbnail_height?: number | null | undefined;
395
+ html?: string | null | undefined;
396
+ }, {
397
+ embed_url: string;
398
+ type: string;
399
+ } & {
400
+ version?: string | number | null;
401
+ title?: string | null | undefined;
402
+ author_name?: string | null | undefined;
403
+ author_url?: string | null | undefined;
404
+ provider_name?: string | null | undefined;
405
+ provider_url?: string | null | undefined;
406
+ cache_age?: string | number | null;
407
+ thumbnail_url?: string | null | undefined;
408
+ thumbnail_width?: number | null | undefined;
409
+ thumbnail_height?: number | null | undefined;
410
+ html?: string | null | undefined;
411
+ } & {
412
+ __TYPE__: "EmbedContent";
413
+ }, unknown>, t.ExactC<t.TypeC<{
414
+ __TYPE__: t.LiteralC<"EmbedContent">;
415
+ all: t.UnknownC;
416
+ }>>]>, t.ExactC<t.TypeC<{
417
+ type: t.KeyofC<{
418
+ Text: null;
419
+ Date: null;
420
+ Timestamp: null;
421
+ Color: null;
422
+ Number: null;
423
+ Range: null;
424
+ Select: null;
425
+ }>;
426
+ value: t.Type<string, string, unknown>;
427
+ __TYPE__: t.LiteralC<"FieldContent">;
428
+ }>>, t.IntersectionC<[t.Type<{
429
+ position: {
430
+ lat: number;
431
+ lng: number;
432
+ };
433
+ }, {
434
+ position: {
435
+ lat: number;
436
+ lng: number;
437
+ };
438
+ } & {
439
+ __TYPE__: "GeoPointContent";
440
+ }, unknown>, t.ExactC<t.TypeC<{
441
+ __TYPE__: t.LiteralC<"GeoPointContent">;
442
+ }>>]>, t.IntersectionC<[t.Type<{
443
+ origin: {
444
+ id: string;
445
+ url: string;
446
+ width: number;
447
+ height: number;
448
+ };
449
+ width: number;
450
+ height: number;
451
+ edit: {
452
+ zoom: number;
453
+ crop: {
454
+ x: number;
455
+ y: number;
456
+ };
457
+ background: string;
458
+ };
459
+ } & {
460
+ url?: string;
461
+ credits?: string | null;
462
+ alt?: string | null;
463
+ provider?: string | null | undefined;
464
+ } & {
465
+ thumbnails?: {
466
+ [x: string]: {
467
+ origin: {
468
+ id: string;
469
+ url: string;
470
+ width: number;
471
+ height: number;
472
+ };
473
+ width: number;
474
+ height: number;
475
+ edit: {
476
+ zoom: number;
477
+ crop: {
478
+ x: number;
479
+ y: number;
480
+ };
481
+ background: string;
482
+ };
483
+ } & {
484
+ url?: string;
485
+ credits?: string | null;
486
+ alt?: string | null;
487
+ provider?: string | null | undefined;
488
+ };
489
+ };
490
+ }, {
491
+ origin: {
492
+ id: string;
493
+ url: string;
494
+ width: number;
495
+ height: number;
496
+ };
497
+ width: number;
498
+ height: number;
499
+ edit: {
500
+ zoom: number;
501
+ crop: {
502
+ x: number;
503
+ y: number;
504
+ };
505
+ background: string;
506
+ };
507
+ } & {
508
+ url?: string;
509
+ credits?: string | null;
510
+ alt?: string | null;
511
+ provider?: string | null | undefined;
512
+ } & {
513
+ thumbnails?: {
514
+ [x: string]: {
515
+ origin: {
516
+ id: string;
517
+ url: string;
518
+ width: number;
519
+ height: number;
520
+ };
521
+ width: number;
522
+ height: number;
523
+ edit: {
524
+ zoom: number;
525
+ crop: {
526
+ x: number;
527
+ y: number;
528
+ };
529
+ background: string;
530
+ };
531
+ } & {
532
+ url?: string;
533
+ credits?: string | null;
534
+ alt?: string | null;
535
+ provider?: string | null | undefined;
536
+ };
537
+ };
538
+ } & {
539
+ __TYPE__: "ImageContent";
540
+ }, unknown>, t.ExactC<t.TypeC<{
541
+ __TYPE__: t.LiteralC<"ImageContent">;
542
+ }>>]>, t.ExactC<t.TypeC<{
543
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
544
+ value: t.StringC;
545
+ }>>, t.ExactC<t.TypeC<{
546
+ __TYPE__: t.LiteralC<"LinkContent">;
547
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
548
+ __TYPE__: t.LiteralC<"ImageLink">;
549
+ }>>, t.Type<{
550
+ id: string;
551
+ url: string;
552
+ height: string;
553
+ width: string;
554
+ size: string;
555
+ name: string;
556
+ kind: string;
557
+ } & {
558
+ date?: string | null | undefined;
559
+ }, {
560
+ id: string;
561
+ url: string;
562
+ height: string;
563
+ width: string;
564
+ size: string;
565
+ name: string;
566
+ kind: string;
567
+ } & {
568
+ date?: string | null | undefined;
569
+ } & {
570
+ __TYPE__: "ImageLink";
571
+ }, unknown>]>, t.IntersectionC<[t.Type<{
572
+ id: string;
573
+ url: string;
574
+ name: string;
575
+ kind: string;
576
+ } & {
577
+ date?: string | null | undefined;
578
+ size?: string;
579
+ }, {
580
+ readonly size: string;
581
+ readonly __TYPE__: "FileLink";
582
+ readonly id: string;
583
+ readonly url: string;
584
+ readonly name: string;
585
+ readonly kind: string;
586
+ readonly date?: string | null | undefined;
587
+ }, unknown>, t.ExactC<t.TypeC<{
588
+ __TYPE__: t.LiteralC<"FileLink">;
589
+ size: t.StringC;
590
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
591
+ __TYPE__: t.LiteralC<"DocumentLink">;
592
+ }>>, t.Type<{
593
+ id: string;
594
+ }, {
595
+ id: string;
596
+ } & {
597
+ __TYPE__: "DocumentLink";
598
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
599
+ __TYPE__: t.LiteralC<"ExternalLink">;
600
+ }>>, t.Type<{
601
+ url: string;
602
+ } & {
603
+ kind?: "web";
604
+ target?: string | null | undefined;
605
+ preview?: {
606
+ title?: string;
607
+ } | null | undefined;
608
+ }, {
609
+ url: string;
610
+ } & {
611
+ kind?: "web";
612
+ target?: string | null | undefined;
613
+ preview?: {
614
+ title?: string;
615
+ } | null | undefined;
616
+ } & {
617
+ __TYPE__: "ExternalLink";
618
+ }, unknown>]>]>;
619
+ }>>, t.ExactC<t.TypeC<{
620
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
621
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
622
+ type: t.LiteralC<"image">;
623
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
624
+ origin: t.ExactC<t.TypeC<{
625
+ id: t.StringC;
626
+ url: t.StringC;
627
+ width: t.NumberC;
628
+ height: t.NumberC;
629
+ }>>;
630
+ width: t.NumberC;
631
+ height: t.NumberC;
632
+ edit: t.TypeC<{
633
+ zoom: t.NumberC;
634
+ crop: t.TypeC<{
635
+ x: t.NumberC;
636
+ y: t.NumberC;
637
+ }>;
638
+ background: t.StringC;
639
+ }>;
640
+ }>, t.PartialC<{
641
+ url: t.StringC;
642
+ credits: t.Type<string | null, string | null, unknown>;
643
+ alt: t.Type<string | null, string | null, unknown>;
644
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
645
+ }>]>>, t.PartialC<{
646
+ linkTo: t.UnionC<[t.Type<{
647
+ id: string;
648
+ } | ({
649
+ url: string;
650
+ } & {
651
+ kind?: "web";
652
+ target?: string | null | undefined;
653
+ preview?: {
654
+ title?: string;
655
+ } | null | undefined;
656
+ }) | ({
657
+ id: string;
658
+ url: string;
659
+ name: string;
660
+ kind: string;
661
+ } & {
662
+ date?: string | null | undefined;
663
+ size?: string;
664
+ }) | ({
665
+ id: string;
666
+ url: string;
667
+ height: string;
668
+ width: string;
669
+ size: string;
670
+ name: string;
671
+ kind: string;
672
+ } & {
673
+ date?: string | null | undefined;
674
+ }), ({
675
+ id: string;
676
+ } & {
677
+ __TYPE__: "DocumentLink";
678
+ }) | ({
679
+ url: string;
680
+ } & {
681
+ kind?: "web";
682
+ target?: string | null | undefined;
683
+ preview?: {
684
+ title?: string;
685
+ } | null | undefined;
686
+ } & {
687
+ __TYPE__: "ExternalLink";
688
+ }) | {
689
+ readonly size: string;
690
+ readonly __TYPE__: "FileLink";
691
+ readonly id: string;
692
+ readonly url: string;
693
+ readonly name: string;
694
+ readonly kind: string;
695
+ readonly date?: string | null | undefined;
696
+ } | ({
697
+ id: string;
698
+ url: string;
699
+ height: string;
700
+ width: string;
701
+ size: string;
702
+ name: string;
703
+ kind: string;
704
+ } & {
705
+ date?: string | null | undefined;
706
+ } & {
707
+ __TYPE__: "ImageLink";
708
+ }), unknown>, t.NullC, t.UndefinedC]>;
709
+ }>]>;
710
+ }>, t.PartialC<{
711
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
712
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
713
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
714
+ type: t.LiteralC<"embed">;
715
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
716
+ }>, t.PartialC<{
717
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
718
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
719
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
720
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
721
+ content: t.IntersectionC<[t.TypeC<{
722
+ text: t.StringC;
723
+ }>, t.PartialC<{
724
+ spans: t.Type<({
725
+ data?: unknown;
726
+ } & {
727
+ start: number;
728
+ end: number;
729
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
730
+ })[], ({
731
+ data?: unknown;
732
+ } & {
733
+ start: number;
734
+ end: number;
735
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
736
+ })[], unknown>;
737
+ }>]>;
738
+ }>, t.PartialC<{
739
+ label: t.StringC;
740
+ direction: t.StringC;
741
+ }>]>>]>>;
742
+ }>>, t.ExactC<t.TypeC<{
743
+ __TYPE__: t.LiteralC<"SeparatorContent">;
744
+ }>>]>, t.TypeC<{
745
+ __TYPE__: t.LiteralC<"UIDContent">;
746
+ value: t.StringC;
747
+ }>, t.TypeC<{
748
+ __TYPE__: t.LiteralC<"SliceContentType">;
749
+ value: t.ArrayC<t.TypeC<{
750
+ key: t.StringC;
751
+ name: t.StringC;
752
+ maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
753
+ widget: t.UnionC<[t.ExactC<t.TypeC<{
754
+ __TYPE__: t.LiteralC<"CompositeSliceContent">;
755
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
756
+ __TYPE__: t.LiteralC<"BooleanContent">;
757
+ value: t.BooleanC;
758
+ }>>, t.IntersectionC<[t.Type<{
759
+ embed_url: string;
760
+ type: string;
761
+ } & {
762
+ version?: string | number | null;
763
+ title?: string | null | undefined;
764
+ author_name?: string | null | undefined;
765
+ author_url?: string | null | undefined;
766
+ provider_name?: string | null | undefined;
767
+ provider_url?: string | null | undefined;
768
+ cache_age?: string | number | null;
769
+ thumbnail_url?: string | null | undefined;
770
+ thumbnail_width?: number | null | undefined;
771
+ thumbnail_height?: number | null | undefined;
772
+ html?: string | null | undefined;
773
+ }, {
774
+ embed_url: string;
775
+ type: string;
776
+ } & {
777
+ version?: string | number | null;
778
+ title?: string | null | undefined;
779
+ author_name?: string | null | undefined;
780
+ author_url?: string | null | undefined;
781
+ provider_name?: string | null | undefined;
782
+ provider_url?: string | null | undefined;
783
+ cache_age?: string | number | null;
784
+ thumbnail_url?: string | null | undefined;
785
+ thumbnail_width?: number | null | undefined;
786
+ thumbnail_height?: number | null | undefined;
787
+ html?: string | null | undefined;
788
+ } & {
789
+ __TYPE__: "EmbedContent";
790
+ }, unknown>, t.ExactC<t.TypeC<{
791
+ __TYPE__: t.LiteralC<"EmbedContent">;
792
+ all: t.UnknownC;
793
+ }>>]>, t.ExactC<t.TypeC<{
794
+ type: t.KeyofC<{
795
+ Text: null;
796
+ Date: null;
797
+ Timestamp: null;
798
+ Color: null;
799
+ Number: null;
800
+ Range: null;
801
+ Select: null;
802
+ }>;
803
+ value: t.Type<string, string, unknown>;
804
+ __TYPE__: t.LiteralC<"FieldContent">;
805
+ }>>, t.IntersectionC<[t.Type<{
806
+ position: {
807
+ lat: number;
808
+ lng: number;
809
+ };
810
+ }, {
811
+ position: {
812
+ lat: number;
813
+ lng: number;
814
+ };
815
+ } & {
816
+ __TYPE__: "GeoPointContent";
817
+ }, unknown>, t.ExactC<t.TypeC<{
818
+ __TYPE__: t.LiteralC<"GeoPointContent">;
819
+ }>>]>, t.IntersectionC<[t.Type<{
820
+ origin: {
821
+ id: string;
822
+ url: string;
823
+ width: number;
824
+ height: number;
825
+ };
826
+ width: number;
827
+ height: number;
828
+ edit: {
829
+ zoom: number;
830
+ crop: {
831
+ x: number;
832
+ y: number;
833
+ };
834
+ background: string;
835
+ };
836
+ } & {
837
+ url?: string;
838
+ credits?: string | null;
839
+ alt?: string | null;
840
+ provider?: string | null | undefined;
841
+ } & {
842
+ thumbnails?: {
843
+ [x: string]: {
844
+ origin: {
845
+ id: string;
846
+ url: string;
847
+ width: number;
848
+ height: number;
849
+ };
850
+ width: number;
851
+ height: number;
852
+ edit: {
853
+ zoom: number;
854
+ crop: {
855
+ x: number;
856
+ y: number;
857
+ };
858
+ background: string;
859
+ };
860
+ } & {
861
+ url?: string;
862
+ credits?: string | null;
863
+ alt?: string | null;
864
+ provider?: string | null | undefined;
865
+ };
866
+ };
867
+ }, {
868
+ origin: {
869
+ id: string;
870
+ url: string;
871
+ width: number;
872
+ height: number;
873
+ };
874
+ width: number;
875
+ height: number;
876
+ edit: {
877
+ zoom: number;
878
+ crop: {
879
+ x: number;
880
+ y: number;
881
+ };
882
+ background: string;
883
+ };
884
+ } & {
885
+ url?: string;
886
+ credits?: string | null;
887
+ alt?: string | null;
888
+ provider?: string | null | undefined;
889
+ } & {
890
+ thumbnails?: {
891
+ [x: string]: {
892
+ origin: {
893
+ id: string;
894
+ url: string;
895
+ width: number;
896
+ height: number;
897
+ };
898
+ width: number;
899
+ height: number;
900
+ edit: {
901
+ zoom: number;
902
+ crop: {
903
+ x: number;
904
+ y: number;
905
+ };
906
+ background: string;
907
+ };
908
+ } & {
909
+ url?: string;
910
+ credits?: string | null;
911
+ alt?: string | null;
912
+ provider?: string | null | undefined;
913
+ };
914
+ };
915
+ } & {
916
+ __TYPE__: "ImageContent";
917
+ }, unknown>, t.ExactC<t.TypeC<{
918
+ __TYPE__: t.LiteralC<"ImageContent">;
919
+ }>>]>, t.ExactC<t.TypeC<{
920
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
921
+ value: t.StringC;
922
+ }>>, t.ExactC<t.TypeC<{
923
+ __TYPE__: t.LiteralC<"LinkContent">;
924
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
925
+ __TYPE__: t.LiteralC<"ImageLink">;
926
+ }>>, t.Type<{
927
+ id: string;
928
+ url: string;
929
+ height: string;
930
+ width: string;
931
+ size: string;
932
+ name: string;
933
+ kind: string;
934
+ } & {
935
+ date?: string | null | undefined;
936
+ }, {
937
+ id: string;
938
+ url: string;
939
+ height: string;
940
+ width: string;
941
+ size: string;
942
+ name: string;
943
+ kind: string;
944
+ } & {
945
+ date?: string | null | undefined;
946
+ } & {
947
+ __TYPE__: "ImageLink";
948
+ }, unknown>]>, t.IntersectionC<[t.Type<{
949
+ id: string;
950
+ url: string;
951
+ name: string;
952
+ kind: string;
953
+ } & {
954
+ date?: string | null | undefined;
955
+ size?: string;
956
+ }, {
957
+ readonly size: string;
958
+ readonly __TYPE__: "FileLink";
959
+ readonly id: string;
960
+ readonly url: string;
961
+ readonly name: string;
962
+ readonly kind: string;
963
+ readonly date?: string | null | undefined;
964
+ }, unknown>, t.ExactC<t.TypeC<{
965
+ __TYPE__: t.LiteralC<"FileLink">;
966
+ size: t.StringC;
967
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
968
+ __TYPE__: t.LiteralC<"DocumentLink">;
969
+ }>>, t.Type<{
970
+ id: string;
971
+ }, {
972
+ id: string;
973
+ } & {
974
+ __TYPE__: "DocumentLink";
975
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
976
+ __TYPE__: t.LiteralC<"ExternalLink">;
977
+ }>>, t.Type<{
978
+ url: string;
979
+ } & {
980
+ kind?: "web";
981
+ target?: string | null | undefined;
982
+ preview?: {
983
+ title?: string;
984
+ } | null | undefined;
985
+ }, {
986
+ url: string;
987
+ } & {
988
+ kind?: "web";
989
+ target?: string | null | undefined;
990
+ preview?: {
991
+ title?: string;
992
+ } | null | undefined;
993
+ } & {
994
+ __TYPE__: "ExternalLink";
995
+ }, unknown>]>]>;
996
+ }>>, t.ExactC<t.TypeC<{
997
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
998
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
999
+ type: t.LiteralC<"image">;
1000
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1001
+ origin: t.ExactC<t.TypeC<{
1002
+ id: t.StringC;
1003
+ url: t.StringC;
1004
+ width: t.NumberC;
1005
+ height: t.NumberC;
1006
+ }>>;
1007
+ width: t.NumberC;
1008
+ height: t.NumberC;
1009
+ edit: t.TypeC<{
1010
+ zoom: t.NumberC;
1011
+ crop: t.TypeC<{
1012
+ x: t.NumberC;
1013
+ y: t.NumberC;
1014
+ }>;
1015
+ background: t.StringC;
1016
+ }>;
1017
+ }>, t.PartialC<{
1018
+ url: t.StringC;
1019
+ credits: t.Type<string | null, string | null, unknown>;
1020
+ alt: t.Type<string | null, string | null, unknown>;
1021
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1022
+ }>]>>, t.PartialC<{
1023
+ linkTo: t.UnionC<[t.Type<{
1024
+ id: string;
1025
+ } | ({
1026
+ url: string;
1027
+ } & {
1028
+ kind?: "web";
1029
+ target?: string | null | undefined;
1030
+ preview?: {
1031
+ title?: string;
1032
+ } | null | undefined;
1033
+ }) | ({
1034
+ id: string;
1035
+ url: string;
1036
+ name: string;
1037
+ kind: string;
1038
+ } & {
1039
+ date?: string | null | undefined;
1040
+ size?: string;
1041
+ }) | ({
1042
+ id: string;
1043
+ url: string;
1044
+ height: string;
1045
+ width: string;
1046
+ size: string;
1047
+ name: string;
1048
+ kind: string;
1049
+ } & {
1050
+ date?: string | null | undefined;
1051
+ }), ({
1052
+ id: string;
1053
+ } & {
1054
+ __TYPE__: "DocumentLink";
1055
+ }) | ({
1056
+ url: string;
1057
+ } & {
1058
+ kind?: "web";
1059
+ target?: string | null | undefined;
1060
+ preview?: {
1061
+ title?: string;
1062
+ } | null | undefined;
1063
+ } & {
1064
+ __TYPE__: "ExternalLink";
1065
+ }) | {
1066
+ readonly size: string;
1067
+ readonly __TYPE__: "FileLink";
1068
+ readonly id: string;
1069
+ readonly url: string;
1070
+ readonly name: string;
1071
+ readonly kind: string;
1072
+ readonly date?: string | null | undefined;
1073
+ } | ({
1074
+ id: string;
1075
+ url: string;
1076
+ height: string;
1077
+ width: string;
1078
+ size: string;
1079
+ name: string;
1080
+ kind: string;
1081
+ } & {
1082
+ date?: string | null | undefined;
1083
+ } & {
1084
+ __TYPE__: "ImageLink";
1085
+ }), unknown>, t.NullC, t.UndefinedC]>;
1086
+ }>]>;
1087
+ }>, t.PartialC<{
1088
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1089
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1090
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1091
+ type: t.LiteralC<"embed">;
1092
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1093
+ }>, t.PartialC<{
1094
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1095
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1096
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1097
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1098
+ content: t.IntersectionC<[t.TypeC<{
1099
+ text: t.StringC;
1100
+ }>, t.PartialC<{
1101
+ spans: t.Type<({
1102
+ data?: unknown;
1103
+ } & {
1104
+ start: number;
1105
+ end: number;
1106
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1107
+ })[], ({
1108
+ data?: unknown;
1109
+ } & {
1110
+ start: number;
1111
+ end: number;
1112
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1113
+ })[], unknown>;
1114
+ }>]>;
1115
+ }>, t.PartialC<{
1116
+ label: t.StringC;
1117
+ direction: t.StringC;
1118
+ }>]>>]>>;
1119
+ }>>, t.ExactC<t.TypeC<{
1120
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1121
+ }>>]>>;
1122
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
1123
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1124
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1125
+ __TYPE__: t.LiteralC<"BooleanContent">;
1126
+ value: t.BooleanC;
1127
+ }>>, t.IntersectionC<[t.Type<{
1128
+ embed_url: string;
1129
+ type: string;
1130
+ } & {
1131
+ version?: string | number | null;
1132
+ title?: string | null | undefined;
1133
+ author_name?: string | null | undefined;
1134
+ author_url?: string | null | undefined;
1135
+ provider_name?: string | null | undefined;
1136
+ provider_url?: string | null | undefined;
1137
+ cache_age?: string | number | null;
1138
+ thumbnail_url?: string | null | undefined;
1139
+ thumbnail_width?: number | null | undefined;
1140
+ thumbnail_height?: number | null | undefined;
1141
+ html?: string | null | undefined;
1142
+ }, {
1143
+ embed_url: string;
1144
+ type: string;
1145
+ } & {
1146
+ version?: string | number | null;
1147
+ title?: string | null | undefined;
1148
+ author_name?: string | null | undefined;
1149
+ author_url?: string | null | undefined;
1150
+ provider_name?: string | null | undefined;
1151
+ provider_url?: string | null | undefined;
1152
+ cache_age?: string | number | null;
1153
+ thumbnail_url?: string | null | undefined;
1154
+ thumbnail_width?: number | null | undefined;
1155
+ thumbnail_height?: number | null | undefined;
1156
+ html?: string | null | undefined;
1157
+ } & {
1158
+ __TYPE__: "EmbedContent";
1159
+ }, unknown>, t.ExactC<t.TypeC<{
1160
+ __TYPE__: t.LiteralC<"EmbedContent">;
1161
+ all: t.UnknownC;
1162
+ }>>]>, t.ExactC<t.TypeC<{
1163
+ type: t.KeyofC<{
1164
+ Text: null;
1165
+ Date: null;
1166
+ Timestamp: null;
1167
+ Color: null;
1168
+ Number: null;
1169
+ Range: null;
1170
+ Select: null;
1171
+ }>;
1172
+ value: t.Type<string, string, unknown>;
1173
+ __TYPE__: t.LiteralC<"FieldContent">;
1174
+ }>>, t.IntersectionC<[t.Type<{
1175
+ position: {
1176
+ lat: number;
1177
+ lng: number;
1178
+ };
1179
+ }, {
1180
+ position: {
1181
+ lat: number;
1182
+ lng: number;
1183
+ };
1184
+ } & {
1185
+ __TYPE__: "GeoPointContent";
1186
+ }, unknown>, t.ExactC<t.TypeC<{
1187
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1188
+ }>>]>, t.IntersectionC<[t.Type<{
1189
+ origin: {
1190
+ id: string;
1191
+ url: string;
1192
+ width: number;
1193
+ height: number;
1194
+ };
1195
+ width: number;
1196
+ height: number;
1197
+ edit: {
1198
+ zoom: number;
1199
+ crop: {
1200
+ x: number;
1201
+ y: number;
1202
+ };
1203
+ background: string;
1204
+ };
1205
+ } & {
1206
+ url?: string;
1207
+ credits?: string | null;
1208
+ alt?: string | null;
1209
+ provider?: string | null | undefined;
1210
+ } & {
1211
+ thumbnails?: {
1212
+ [x: string]: {
1213
+ origin: {
1214
+ id: string;
1215
+ url: string;
1216
+ width: number;
1217
+ height: number;
1218
+ };
1219
+ width: number;
1220
+ height: number;
1221
+ edit: {
1222
+ zoom: number;
1223
+ crop: {
1224
+ x: number;
1225
+ y: number;
1226
+ };
1227
+ background: string;
1228
+ };
1229
+ } & {
1230
+ url?: string;
1231
+ credits?: string | null;
1232
+ alt?: string | null;
1233
+ provider?: string | null | undefined;
1234
+ };
1235
+ };
1236
+ }, {
1237
+ origin: {
1238
+ id: string;
1239
+ url: string;
1240
+ width: number;
1241
+ height: number;
1242
+ };
1243
+ width: number;
1244
+ height: number;
1245
+ edit: {
1246
+ zoom: number;
1247
+ crop: {
1248
+ x: number;
1249
+ y: number;
1250
+ };
1251
+ background: string;
1252
+ };
1253
+ } & {
1254
+ url?: string;
1255
+ credits?: string | null;
1256
+ alt?: string | null;
1257
+ provider?: string | null | undefined;
1258
+ } & {
1259
+ thumbnails?: {
1260
+ [x: string]: {
1261
+ origin: {
1262
+ id: string;
1263
+ url: string;
1264
+ width: number;
1265
+ height: number;
1266
+ };
1267
+ width: number;
1268
+ height: number;
1269
+ edit: {
1270
+ zoom: number;
1271
+ crop: {
1272
+ x: number;
1273
+ y: number;
1274
+ };
1275
+ background: string;
1276
+ };
1277
+ } & {
1278
+ url?: string;
1279
+ credits?: string | null;
1280
+ alt?: string | null;
1281
+ provider?: string | null | undefined;
1282
+ };
1283
+ };
1284
+ } & {
1285
+ __TYPE__: "ImageContent";
1286
+ }, unknown>, t.ExactC<t.TypeC<{
1287
+ __TYPE__: t.LiteralC<"ImageContent">;
1288
+ }>>]>, t.ExactC<t.TypeC<{
1289
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1290
+ value: t.StringC;
1291
+ }>>, t.ExactC<t.TypeC<{
1292
+ __TYPE__: t.LiteralC<"LinkContent">;
1293
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1294
+ __TYPE__: t.LiteralC<"ImageLink">;
1295
+ }>>, t.Type<{
1296
+ id: string;
1297
+ url: string;
1298
+ height: string;
1299
+ width: string;
1300
+ size: string;
1301
+ name: string;
1302
+ kind: string;
1303
+ } & {
1304
+ date?: string | null | undefined;
1305
+ }, {
1306
+ id: string;
1307
+ url: string;
1308
+ height: string;
1309
+ width: string;
1310
+ size: string;
1311
+ name: string;
1312
+ kind: string;
1313
+ } & {
1314
+ date?: string | null | undefined;
1315
+ } & {
1316
+ __TYPE__: "ImageLink";
1317
+ }, unknown>]>, t.IntersectionC<[t.Type<{
1318
+ id: string;
1319
+ url: string;
1320
+ name: string;
1321
+ kind: string;
1322
+ } & {
1323
+ date?: string | null | undefined;
1324
+ size?: string;
1325
+ }, {
1326
+ readonly size: string;
1327
+ readonly __TYPE__: "FileLink";
1328
+ readonly id: string;
1329
+ readonly url: string;
1330
+ readonly name: string;
1331
+ readonly kind: string;
1332
+ readonly date?: string | null | undefined;
1333
+ }, unknown>, t.ExactC<t.TypeC<{
1334
+ __TYPE__: t.LiteralC<"FileLink">;
1335
+ size: t.StringC;
1336
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1337
+ __TYPE__: t.LiteralC<"DocumentLink">;
1338
+ }>>, t.Type<{
1339
+ id: string;
1340
+ }, {
1341
+ id: string;
1342
+ } & {
1343
+ __TYPE__: "DocumentLink";
1344
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1345
+ __TYPE__: t.LiteralC<"ExternalLink">;
1346
+ }>>, t.Type<{
1347
+ url: string;
1348
+ } & {
1349
+ kind?: "web";
1350
+ target?: string | null | undefined;
1351
+ preview?: {
1352
+ title?: string;
1353
+ } | null | undefined;
1354
+ }, {
1355
+ url: string;
1356
+ } & {
1357
+ kind?: "web";
1358
+ target?: string | null | undefined;
1359
+ preview?: {
1360
+ title?: string;
1361
+ } | null | undefined;
1362
+ } & {
1363
+ __TYPE__: "ExternalLink";
1364
+ }, unknown>]>]>;
1365
+ }>>, t.ExactC<t.TypeC<{
1366
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1367
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1368
+ type: t.LiteralC<"image">;
1369
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1370
+ origin: t.ExactC<t.TypeC<{
1371
+ id: t.StringC;
1372
+ url: t.StringC;
1373
+ width: t.NumberC;
1374
+ height: t.NumberC;
1375
+ }>>;
1376
+ width: t.NumberC;
1377
+ height: t.NumberC;
1378
+ edit: t.TypeC<{
1379
+ zoom: t.NumberC;
1380
+ crop: t.TypeC<{
1381
+ x: t.NumberC;
1382
+ y: t.NumberC;
1383
+ }>;
1384
+ background: t.StringC;
1385
+ }>;
1386
+ }>, t.PartialC<{
1387
+ url: t.StringC;
1388
+ credits: t.Type<string | null, string | null, unknown>;
1389
+ alt: t.Type<string | null, string | null, unknown>;
1390
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1391
+ }>]>>, t.PartialC<{
1392
+ linkTo: t.UnionC<[t.Type<{
1393
+ id: string;
1394
+ } | ({
1395
+ url: string;
1396
+ } & {
1397
+ kind?: "web";
1398
+ target?: string | null | undefined;
1399
+ preview?: {
1400
+ title?: string;
1401
+ } | null | undefined;
1402
+ }) | ({
1403
+ id: string;
1404
+ url: string;
1405
+ name: string;
1406
+ kind: string;
1407
+ } & {
1408
+ date?: string | null | undefined;
1409
+ size?: string;
1410
+ }) | ({
1411
+ id: string;
1412
+ url: string;
1413
+ height: string;
1414
+ width: string;
1415
+ size: string;
1416
+ name: string;
1417
+ kind: string;
1418
+ } & {
1419
+ date?: string | null | undefined;
1420
+ }), ({
1421
+ id: string;
1422
+ } & {
1423
+ __TYPE__: "DocumentLink";
1424
+ }) | ({
1425
+ url: string;
1426
+ } & {
1427
+ kind?: "web";
1428
+ target?: string | null | undefined;
1429
+ preview?: {
1430
+ title?: string;
1431
+ } | null | undefined;
1432
+ } & {
1433
+ __TYPE__: "ExternalLink";
1434
+ }) | {
1435
+ readonly size: string;
1436
+ readonly __TYPE__: "FileLink";
1437
+ readonly id: string;
1438
+ readonly url: string;
1439
+ readonly name: string;
1440
+ readonly kind: string;
1441
+ readonly date?: string | null | undefined;
1442
+ } | ({
1443
+ id: string;
1444
+ url: string;
1445
+ height: string;
1446
+ width: string;
1447
+ size: string;
1448
+ name: string;
1449
+ kind: string;
1450
+ } & {
1451
+ date?: string | null | undefined;
1452
+ } & {
1453
+ __TYPE__: "ImageLink";
1454
+ }), unknown>, t.NullC, t.UndefinedC]>;
1455
+ }>]>;
1456
+ }>, t.PartialC<{
1457
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1458
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1459
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1460
+ type: t.LiteralC<"embed">;
1461
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1462
+ }>, t.PartialC<{
1463
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1464
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1465
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1466
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1467
+ content: t.IntersectionC<[t.TypeC<{
1468
+ text: t.StringC;
1469
+ }>, t.PartialC<{
1470
+ spans: t.Type<({
1471
+ data?: unknown;
1472
+ } & {
1473
+ start: number;
1474
+ end: number;
1475
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1476
+ })[], ({
1477
+ data?: unknown;
1478
+ } & {
1479
+ start: number;
1480
+ end: number;
1481
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1482
+ })[], unknown>;
1483
+ }>]>;
1484
+ }>, t.PartialC<{
1485
+ label: t.StringC;
1486
+ direction: t.StringC;
1487
+ }>]>>]>>;
1488
+ }>>, t.ExactC<t.TypeC<{
1489
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1490
+ }>>]>]>>;
1491
+ }>>>;
1492
+ }>>, t.ExactC<t.TypeC<{
1493
+ __TYPE__: t.LiteralC<"SharedSliceContent">;
1494
+ variation: t.StringC;
1495
+ primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1496
+ __TYPE__: t.LiteralC<"BooleanContent">;
1497
+ value: t.BooleanC;
1498
+ }>>, t.IntersectionC<[t.Type<{
1499
+ embed_url: string;
1500
+ type: string;
1501
+ } & {
1502
+ version?: string | number | null;
1503
+ title?: string | null | undefined;
1504
+ author_name?: string | null | undefined;
1505
+ author_url?: string | null | undefined;
1506
+ provider_name?: string | null | undefined;
1507
+ provider_url?: string | null | undefined;
1508
+ cache_age?: string | number | null;
1509
+ thumbnail_url?: string | null | undefined;
1510
+ thumbnail_width?: number | null | undefined;
1511
+ thumbnail_height?: number | null | undefined;
1512
+ html?: string | null | undefined;
1513
+ }, {
1514
+ embed_url: string;
1515
+ type: string;
1516
+ } & {
1517
+ version?: string | number | null;
1518
+ title?: string | null | undefined;
1519
+ author_name?: string | null | undefined;
1520
+ author_url?: string | null | undefined;
1521
+ provider_name?: string | null | undefined;
1522
+ provider_url?: string | null | undefined;
1523
+ cache_age?: string | number | null;
1524
+ thumbnail_url?: string | null | undefined;
1525
+ thumbnail_width?: number | null | undefined;
1526
+ thumbnail_height?: number | null | undefined;
1527
+ html?: string | null | undefined;
1528
+ } & {
1529
+ __TYPE__: "EmbedContent";
1530
+ }, unknown>, t.ExactC<t.TypeC<{
1531
+ __TYPE__: t.LiteralC<"EmbedContent">;
1532
+ all: t.UnknownC;
1533
+ }>>]>, t.ExactC<t.TypeC<{
1534
+ type: t.KeyofC<{
1535
+ Text: null;
1536
+ Date: null;
1537
+ Timestamp: null;
1538
+ Color: null;
1539
+ Number: null;
1540
+ Range: null;
1541
+ Select: null;
1542
+ }>;
1543
+ value: t.Type<string, string, unknown>;
1544
+ __TYPE__: t.LiteralC<"FieldContent">;
1545
+ }>>, t.IntersectionC<[t.Type<{
1546
+ position: {
1547
+ lat: number;
1548
+ lng: number;
1549
+ };
1550
+ }, {
1551
+ position: {
1552
+ lat: number;
1553
+ lng: number;
1554
+ };
1555
+ } & {
1556
+ __TYPE__: "GeoPointContent";
1557
+ }, unknown>, t.ExactC<t.TypeC<{
1558
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1559
+ }>>]>, t.IntersectionC<[t.Type<{
1560
+ origin: {
1561
+ id: string;
1562
+ url: string;
1563
+ width: number;
1564
+ height: number;
1565
+ };
1566
+ width: number;
1567
+ height: number;
1568
+ edit: {
1569
+ zoom: number;
1570
+ crop: {
1571
+ x: number;
1572
+ y: number;
1573
+ };
1574
+ background: string;
1575
+ };
1576
+ } & {
1577
+ url?: string;
1578
+ credits?: string | null;
1579
+ alt?: string | null;
1580
+ provider?: string | null | undefined;
1581
+ } & {
1582
+ thumbnails?: {
1583
+ [x: string]: {
1584
+ origin: {
1585
+ id: string;
1586
+ url: string;
1587
+ width: number;
1588
+ height: number;
1589
+ };
1590
+ width: number;
1591
+ height: number;
1592
+ edit: {
1593
+ zoom: number;
1594
+ crop: {
1595
+ x: number;
1596
+ y: number;
1597
+ };
1598
+ background: string;
1599
+ };
1600
+ } & {
1601
+ url?: string;
1602
+ credits?: string | null;
1603
+ alt?: string | null;
1604
+ provider?: string | null | undefined;
1605
+ };
1606
+ };
1607
+ }, {
1608
+ origin: {
1609
+ id: string;
1610
+ url: string;
1611
+ width: number;
1612
+ height: number;
1613
+ };
1614
+ width: number;
1615
+ height: number;
1616
+ edit: {
1617
+ zoom: number;
1618
+ crop: {
1619
+ x: number;
1620
+ y: number;
1621
+ };
1622
+ background: string;
1623
+ };
1624
+ } & {
1625
+ url?: string;
1626
+ credits?: string | null;
1627
+ alt?: string | null;
1628
+ provider?: string | null | undefined;
1629
+ } & {
1630
+ thumbnails?: {
1631
+ [x: string]: {
1632
+ origin: {
1633
+ id: string;
1634
+ url: string;
1635
+ width: number;
1636
+ height: number;
1637
+ };
1638
+ width: number;
1639
+ height: number;
1640
+ edit: {
1641
+ zoom: number;
1642
+ crop: {
1643
+ x: number;
1644
+ y: number;
1645
+ };
1646
+ background: string;
1647
+ };
1648
+ } & {
1649
+ url?: string;
1650
+ credits?: string | null;
1651
+ alt?: string | null;
1652
+ provider?: string | null | undefined;
1653
+ };
1654
+ };
1655
+ } & {
1656
+ __TYPE__: "ImageContent";
1657
+ }, unknown>, t.ExactC<t.TypeC<{
1658
+ __TYPE__: t.LiteralC<"ImageContent">;
1659
+ }>>]>, t.ExactC<t.TypeC<{
1660
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
1661
+ value: t.StringC;
1662
+ }>>, t.ExactC<t.TypeC<{
1663
+ __TYPE__: t.LiteralC<"LinkContent">;
1664
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1665
+ __TYPE__: t.LiteralC<"ImageLink">;
1666
+ }>>, t.Type<{
1667
+ id: string;
1668
+ url: string;
1669
+ height: string;
1670
+ width: string;
1671
+ size: string;
1672
+ name: string;
1673
+ kind: string;
1674
+ } & {
1675
+ date?: string | null | undefined;
1676
+ }, {
1677
+ id: string;
1678
+ url: string;
1679
+ height: string;
1680
+ width: string;
1681
+ size: string;
1682
+ name: string;
1683
+ kind: string;
1684
+ } & {
1685
+ date?: string | null | undefined;
1686
+ } & {
1687
+ __TYPE__: "ImageLink";
1688
+ }, unknown>]>, t.IntersectionC<[t.Type<{
1689
+ id: string;
1690
+ url: string;
1691
+ name: string;
1692
+ kind: string;
1693
+ } & {
1694
+ date?: string | null | undefined;
1695
+ size?: string;
1696
+ }, {
1697
+ readonly size: string;
1698
+ readonly __TYPE__: "FileLink";
1699
+ readonly id: string;
1700
+ readonly url: string;
1701
+ readonly name: string;
1702
+ readonly kind: string;
1703
+ readonly date?: string | null | undefined;
1704
+ }, unknown>, t.ExactC<t.TypeC<{
1705
+ __TYPE__: t.LiteralC<"FileLink">;
1706
+ size: t.StringC;
1707
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1708
+ __TYPE__: t.LiteralC<"DocumentLink">;
1709
+ }>>, t.Type<{
1710
+ id: string;
1711
+ }, {
1712
+ id: string;
1713
+ } & {
1714
+ __TYPE__: "DocumentLink";
1715
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1716
+ __TYPE__: t.LiteralC<"ExternalLink">;
1717
+ }>>, t.Type<{
1718
+ url: string;
1719
+ } & {
1720
+ kind?: "web";
1721
+ target?: string | null | undefined;
1722
+ preview?: {
1723
+ title?: string;
1724
+ } | null | undefined;
1725
+ }, {
1726
+ url: string;
1727
+ } & {
1728
+ kind?: "web";
1729
+ target?: string | null | undefined;
1730
+ preview?: {
1731
+ title?: string;
1732
+ } | null | undefined;
1733
+ } & {
1734
+ __TYPE__: "ExternalLink";
1735
+ }, unknown>]>]>;
1736
+ }>>, t.ExactC<t.TypeC<{
1737
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
1738
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1739
+ type: t.LiteralC<"image">;
1740
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1741
+ origin: t.ExactC<t.TypeC<{
1742
+ id: t.StringC;
1743
+ url: t.StringC;
1744
+ width: t.NumberC;
1745
+ height: t.NumberC;
1746
+ }>>;
1747
+ width: t.NumberC;
1748
+ height: t.NumberC;
1749
+ edit: t.TypeC<{
1750
+ zoom: t.NumberC;
1751
+ crop: t.TypeC<{
1752
+ x: t.NumberC;
1753
+ y: t.NumberC;
1754
+ }>;
1755
+ background: t.StringC;
1756
+ }>;
1757
+ }>, t.PartialC<{
1758
+ url: t.StringC;
1759
+ credits: t.Type<string | null, string | null, unknown>;
1760
+ alt: t.Type<string | null, string | null, unknown>;
1761
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1762
+ }>]>>, t.PartialC<{
1763
+ linkTo: t.UnionC<[t.Type<{
1764
+ id: string;
1765
+ } | ({
1766
+ url: string;
1767
+ } & {
1768
+ kind?: "web";
1769
+ target?: string | null | undefined;
1770
+ preview?: {
1771
+ title?: string;
1772
+ } | null | undefined;
1773
+ }) | ({
1774
+ id: string;
1775
+ url: string;
1776
+ name: string;
1777
+ kind: string;
1778
+ } & {
1779
+ date?: string | null | undefined;
1780
+ size?: string;
1781
+ }) | ({
1782
+ id: string;
1783
+ url: string;
1784
+ height: string;
1785
+ width: string;
1786
+ size: string;
1787
+ name: string;
1788
+ kind: string;
1789
+ } & {
1790
+ date?: string | null | undefined;
1791
+ }), ({
1792
+ id: string;
1793
+ } & {
1794
+ __TYPE__: "DocumentLink";
1795
+ }) | ({
1796
+ url: string;
1797
+ } & {
1798
+ kind?: "web";
1799
+ target?: string | null | undefined;
1800
+ preview?: {
1801
+ title?: string;
1802
+ } | null | undefined;
1803
+ } & {
1804
+ __TYPE__: "ExternalLink";
1805
+ }) | {
1806
+ readonly size: string;
1807
+ readonly __TYPE__: "FileLink";
1808
+ readonly id: string;
1809
+ readonly url: string;
1810
+ readonly name: string;
1811
+ readonly kind: string;
1812
+ readonly date?: string | null | undefined;
1813
+ } | ({
1814
+ id: string;
1815
+ url: string;
1816
+ height: string;
1817
+ width: string;
1818
+ size: string;
1819
+ name: string;
1820
+ kind: string;
1821
+ } & {
1822
+ date?: string | null | undefined;
1823
+ } & {
1824
+ __TYPE__: "ImageLink";
1825
+ }), unknown>, t.NullC, t.UndefinedC]>;
1826
+ }>]>;
1827
+ }>, t.PartialC<{
1828
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1829
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1830
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1831
+ type: t.LiteralC<"embed">;
1832
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
1833
+ }>, t.PartialC<{
1834
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1835
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1836
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1837
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1838
+ content: t.IntersectionC<[t.TypeC<{
1839
+ text: t.StringC;
1840
+ }>, t.PartialC<{
1841
+ spans: t.Type<({
1842
+ data?: unknown;
1843
+ } & {
1844
+ start: number;
1845
+ end: number;
1846
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1847
+ })[], ({
1848
+ data?: unknown;
1849
+ } & {
1850
+ start: number;
1851
+ end: number;
1852
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1853
+ })[], unknown>;
1854
+ }>]>;
1855
+ }>, t.PartialC<{
1856
+ label: t.StringC;
1857
+ direction: t.StringC;
1858
+ }>]>>]>>;
1859
+ }>>, t.ExactC<t.TypeC<{
1860
+ __TYPE__: t.LiteralC<"SeparatorContent">;
1861
+ }>>]>>;
1862
+ items: t.ArrayC<t.ExactC<t.TypeC<{
1863
+ __TYPE__: t.LiteralC<"GroupItemContent">;
1864
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1865
+ __TYPE__: t.LiteralC<"BooleanContent">;
1866
+ value: t.BooleanC;
1867
+ }>>, t.IntersectionC<[t.Type<{
1868
+ embed_url: string;
1869
+ type: string;
1870
+ } & {
1871
+ version?: string | number | null;
1872
+ title?: string | null | undefined;
1873
+ author_name?: string | null | undefined;
1874
+ author_url?: string | null | undefined;
1875
+ provider_name?: string | null | undefined;
1876
+ provider_url?: string | null | undefined;
1877
+ cache_age?: string | number | null;
1878
+ thumbnail_url?: string | null | undefined;
1879
+ thumbnail_width?: number | null | undefined;
1880
+ thumbnail_height?: number | null | undefined;
1881
+ html?: string | null | undefined;
1882
+ }, {
1883
+ embed_url: string;
1884
+ type: string;
1885
+ } & {
1886
+ version?: string | number | null;
1887
+ title?: string | null | undefined;
1888
+ author_name?: string | null | undefined;
1889
+ author_url?: string | null | undefined;
1890
+ provider_name?: string | null | undefined;
1891
+ provider_url?: string | null | undefined;
1892
+ cache_age?: string | number | null;
1893
+ thumbnail_url?: string | null | undefined;
1894
+ thumbnail_width?: number | null | undefined;
1895
+ thumbnail_height?: number | null | undefined;
1896
+ html?: string | null | undefined;
1897
+ } & {
1898
+ __TYPE__: "EmbedContent";
1899
+ }, unknown>, t.ExactC<t.TypeC<{
1900
+ __TYPE__: t.LiteralC<"EmbedContent">;
1901
+ all: t.UnknownC;
1902
+ }>>]>, t.ExactC<t.TypeC<{
1903
+ type: t.KeyofC<{
1904
+ Text: null;
1905
+ Date: null;
1906
+ Timestamp: null;
1907
+ Color: null;
1908
+ Number: null;
1909
+ Range: null;
1910
+ Select: null;
1911
+ }>;
1912
+ value: t.Type<string, string, unknown>;
1913
+ __TYPE__: t.LiteralC<"FieldContent">;
1914
+ }>>, t.IntersectionC<[t.Type<{
1915
+ position: {
1916
+ lat: number;
1917
+ lng: number;
1918
+ };
1919
+ }, {
1920
+ position: {
1921
+ lat: number;
1922
+ lng: number;
1923
+ };
1924
+ } & {
1925
+ __TYPE__: "GeoPointContent";
1926
+ }, unknown>, t.ExactC<t.TypeC<{
1927
+ __TYPE__: t.LiteralC<"GeoPointContent">;
1928
+ }>>]>, t.IntersectionC<[t.Type<{
1929
+ origin: {
1930
+ id: string;
1931
+ url: string;
1932
+ width: number;
1933
+ height: number;
1934
+ };
1935
+ width: number;
1936
+ height: number;
1937
+ edit: {
1938
+ zoom: number;
1939
+ crop: {
1940
+ x: number;
1941
+ y: number;
1942
+ };
1943
+ background: string;
1944
+ };
1945
+ } & {
1946
+ url?: string;
1947
+ credits?: string | null;
1948
+ alt?: string | null;
1949
+ provider?: string | null | undefined;
1950
+ } & {
1951
+ thumbnails?: {
1952
+ [x: string]: {
1953
+ origin: {
1954
+ id: string;
1955
+ url: string;
1956
+ width: number;
1957
+ height: number;
1958
+ };
1959
+ width: number;
1960
+ height: number;
1961
+ edit: {
1962
+ zoom: number;
1963
+ crop: {
1964
+ x: number;
1965
+ y: number;
1966
+ };
1967
+ background: string;
1968
+ };
1969
+ } & {
1970
+ url?: string;
1971
+ credits?: string | null;
1972
+ alt?: string | null;
1973
+ provider?: string | null | undefined;
1974
+ };
1975
+ };
1976
+ }, {
1977
+ origin: {
1978
+ id: string;
1979
+ url: string;
1980
+ width: number;
1981
+ height: number;
1982
+ };
1983
+ width: number;
1984
+ height: number;
1985
+ edit: {
1986
+ zoom: number;
1987
+ crop: {
1988
+ x: number;
1989
+ y: number;
1990
+ };
1991
+ background: string;
1992
+ };
1993
+ } & {
1994
+ url?: string;
1995
+ credits?: string | null;
1996
+ alt?: string | null;
1997
+ provider?: string | null | undefined;
1998
+ } & {
1999
+ thumbnails?: {
2000
+ [x: string]: {
2001
+ origin: {
2002
+ id: string;
2003
+ url: string;
2004
+ width: number;
2005
+ height: number;
2006
+ };
2007
+ width: number;
2008
+ height: number;
2009
+ edit: {
2010
+ zoom: number;
2011
+ crop: {
2012
+ x: number;
2013
+ y: number;
2014
+ };
2015
+ background: string;
2016
+ };
2017
+ } & {
2018
+ url?: string;
2019
+ credits?: string | null;
2020
+ alt?: string | null;
2021
+ provider?: string | null | undefined;
2022
+ };
2023
+ };
2024
+ } & {
2025
+ __TYPE__: "ImageContent";
2026
+ }, unknown>, t.ExactC<t.TypeC<{
2027
+ __TYPE__: t.LiteralC<"ImageContent">;
2028
+ }>>]>, t.ExactC<t.TypeC<{
2029
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2030
+ value: t.StringC;
2031
+ }>>, t.ExactC<t.TypeC<{
2032
+ __TYPE__: t.LiteralC<"LinkContent">;
2033
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2034
+ __TYPE__: t.LiteralC<"ImageLink">;
2035
+ }>>, t.Type<{
2036
+ id: string;
2037
+ url: string;
2038
+ height: string;
2039
+ width: string;
2040
+ size: string;
2041
+ name: string;
2042
+ kind: string;
2043
+ } & {
2044
+ date?: string | null | undefined;
2045
+ }, {
2046
+ id: string;
2047
+ url: string;
2048
+ height: string;
2049
+ width: string;
2050
+ size: string;
2051
+ name: string;
2052
+ kind: string;
2053
+ } & {
2054
+ date?: string | null | undefined;
2055
+ } & {
2056
+ __TYPE__: "ImageLink";
2057
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2058
+ id: string;
2059
+ url: string;
2060
+ name: string;
2061
+ kind: string;
2062
+ } & {
2063
+ date?: string | null | undefined;
2064
+ size?: string;
2065
+ }, {
2066
+ readonly size: string;
2067
+ readonly __TYPE__: "FileLink";
2068
+ readonly id: string;
2069
+ readonly url: string;
2070
+ readonly name: string;
2071
+ readonly kind: string;
2072
+ readonly date?: string | null | undefined;
2073
+ }, unknown>, t.ExactC<t.TypeC<{
2074
+ __TYPE__: t.LiteralC<"FileLink">;
2075
+ size: t.StringC;
2076
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2077
+ __TYPE__: t.LiteralC<"DocumentLink">;
2078
+ }>>, t.Type<{
2079
+ id: string;
2080
+ }, {
2081
+ id: string;
2082
+ } & {
2083
+ __TYPE__: "DocumentLink";
2084
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2085
+ __TYPE__: t.LiteralC<"ExternalLink">;
2086
+ }>>, t.Type<{
2087
+ url: string;
2088
+ } & {
2089
+ kind?: "web";
2090
+ target?: string | null | undefined;
2091
+ preview?: {
2092
+ title?: string;
2093
+ } | null | undefined;
2094
+ }, {
2095
+ url: string;
2096
+ } & {
2097
+ kind?: "web";
2098
+ target?: string | null | undefined;
2099
+ preview?: {
2100
+ title?: string;
2101
+ } | null | undefined;
2102
+ } & {
2103
+ __TYPE__: "ExternalLink";
2104
+ }, unknown>]>]>;
2105
+ }>>, t.ExactC<t.TypeC<{
2106
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2107
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2108
+ type: t.LiteralC<"image">;
2109
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2110
+ origin: t.ExactC<t.TypeC<{
2111
+ id: t.StringC;
2112
+ url: t.StringC;
2113
+ width: t.NumberC;
2114
+ height: t.NumberC;
2115
+ }>>;
2116
+ width: t.NumberC;
2117
+ height: t.NumberC;
2118
+ edit: t.TypeC<{
2119
+ zoom: t.NumberC;
2120
+ crop: t.TypeC<{
2121
+ x: t.NumberC;
2122
+ y: t.NumberC;
2123
+ }>;
2124
+ background: t.StringC;
2125
+ }>;
2126
+ }>, t.PartialC<{
2127
+ url: t.StringC;
2128
+ credits: t.Type<string | null, string | null, unknown>;
2129
+ alt: t.Type<string | null, string | null, unknown>;
2130
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2131
+ }>]>>, t.PartialC<{
2132
+ linkTo: t.UnionC<[t.Type<{
2133
+ id: string;
2134
+ } | ({
2135
+ url: string;
2136
+ } & {
2137
+ kind?: "web";
2138
+ target?: string | null | undefined;
2139
+ preview?: {
2140
+ title?: string;
2141
+ } | null | undefined;
2142
+ }) | ({
2143
+ id: string;
2144
+ url: string;
2145
+ name: string;
2146
+ kind: string;
2147
+ } & {
2148
+ date?: string | null | undefined;
2149
+ size?: string;
2150
+ }) | ({
2151
+ id: string;
2152
+ url: string;
2153
+ height: string;
2154
+ width: string;
2155
+ size: string;
2156
+ name: string;
2157
+ kind: string;
2158
+ } & {
2159
+ date?: string | null | undefined;
2160
+ }), ({
2161
+ id: string;
2162
+ } & {
2163
+ __TYPE__: "DocumentLink";
2164
+ }) | ({
2165
+ url: string;
2166
+ } & {
2167
+ kind?: "web";
2168
+ target?: string | null | undefined;
2169
+ preview?: {
2170
+ title?: string;
2171
+ } | null | undefined;
2172
+ } & {
2173
+ __TYPE__: "ExternalLink";
2174
+ }) | {
2175
+ readonly size: string;
2176
+ readonly __TYPE__: "FileLink";
2177
+ readonly id: string;
2178
+ readonly url: string;
2179
+ readonly name: string;
2180
+ readonly kind: string;
2181
+ readonly date?: string | null | undefined;
2182
+ } | ({
2183
+ id: string;
2184
+ url: string;
2185
+ height: string;
2186
+ width: string;
2187
+ size: string;
2188
+ name: string;
2189
+ kind: string;
2190
+ } & {
2191
+ date?: string | null | undefined;
2192
+ } & {
2193
+ __TYPE__: "ImageLink";
2194
+ }), unknown>, t.NullC, t.UndefinedC]>;
2195
+ }>]>;
2196
+ }>, t.PartialC<{
2197
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2198
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2199
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2200
+ type: t.LiteralC<"embed">;
2201
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2202
+ }>, t.PartialC<{
2203
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2204
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2205
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2206
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2207
+ content: t.IntersectionC<[t.TypeC<{
2208
+ text: t.StringC;
2209
+ }>, t.PartialC<{
2210
+ spans: t.Type<({
2211
+ data?: unknown;
2212
+ } & {
2213
+ start: number;
2214
+ end: number;
2215
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2216
+ })[], ({
2217
+ data?: unknown;
2218
+ } & {
2219
+ start: number;
2220
+ end: number;
2221
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2222
+ })[], unknown>;
2223
+ }>]>;
2224
+ }>, t.PartialC<{
2225
+ label: t.StringC;
2226
+ direction: t.StringC;
2227
+ }>]>>]>>;
2228
+ }>>, t.ExactC<t.TypeC<{
2229
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2230
+ }>>]>]>>;
2231
+ }>>>;
2232
+ }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
2233
+ __TYPE__: t.LiteralC<"BooleanContent">;
2234
+ value: t.BooleanC;
2235
+ }>>, t.IntersectionC<[t.Type<{
2236
+ embed_url: string;
2237
+ type: string;
2238
+ } & {
2239
+ version?: string | number | null;
2240
+ title?: string | null | undefined;
2241
+ author_name?: string | null | undefined;
2242
+ author_url?: string | null | undefined;
2243
+ provider_name?: string | null | undefined;
2244
+ provider_url?: string | null | undefined;
2245
+ cache_age?: string | number | null;
2246
+ thumbnail_url?: string | null | undefined;
2247
+ thumbnail_width?: number | null | undefined;
2248
+ thumbnail_height?: number | null | undefined;
2249
+ html?: string | null | undefined;
2250
+ }, {
2251
+ embed_url: string;
2252
+ type: string;
2253
+ } & {
2254
+ version?: string | number | null;
2255
+ title?: string | null | undefined;
2256
+ author_name?: string | null | undefined;
2257
+ author_url?: string | null | undefined;
2258
+ provider_name?: string | null | undefined;
2259
+ provider_url?: string | null | undefined;
2260
+ cache_age?: string | number | null;
2261
+ thumbnail_url?: string | null | undefined;
2262
+ thumbnail_width?: number | null | undefined;
2263
+ thumbnail_height?: number | null | undefined;
2264
+ html?: string | null | undefined;
2265
+ } & {
2266
+ __TYPE__: "EmbedContent";
2267
+ }, unknown>, t.ExactC<t.TypeC<{
2268
+ __TYPE__: t.LiteralC<"EmbedContent">;
2269
+ all: t.UnknownC;
2270
+ }>>]>, t.ExactC<t.TypeC<{
2271
+ type: t.KeyofC<{
2272
+ Text: null;
2273
+ Date: null;
2274
+ Timestamp: null;
2275
+ Color: null;
2276
+ Number: null;
2277
+ Range: null;
2278
+ Select: null;
2279
+ }>;
2280
+ value: t.Type<string, string, unknown>;
2281
+ __TYPE__: t.LiteralC<"FieldContent">;
2282
+ }>>, t.IntersectionC<[t.Type<{
2283
+ position: {
2284
+ lat: number;
2285
+ lng: number;
2286
+ };
2287
+ }, {
2288
+ position: {
2289
+ lat: number;
2290
+ lng: number;
2291
+ };
2292
+ } & {
2293
+ __TYPE__: "GeoPointContent";
2294
+ }, unknown>, t.ExactC<t.TypeC<{
2295
+ __TYPE__: t.LiteralC<"GeoPointContent">;
2296
+ }>>]>, t.IntersectionC<[t.Type<{
2297
+ origin: {
2298
+ id: string;
2299
+ url: string;
2300
+ width: number;
2301
+ height: number;
2302
+ };
2303
+ width: number;
2304
+ height: number;
2305
+ edit: {
2306
+ zoom: number;
2307
+ crop: {
2308
+ x: number;
2309
+ y: number;
2310
+ };
2311
+ background: string;
2312
+ };
2313
+ } & {
2314
+ url?: string;
2315
+ credits?: string | null;
2316
+ alt?: string | null;
2317
+ provider?: string | null | undefined;
2318
+ } & {
2319
+ thumbnails?: {
2320
+ [x: string]: {
2321
+ origin: {
2322
+ id: string;
2323
+ url: string;
2324
+ width: number;
2325
+ height: number;
2326
+ };
2327
+ width: number;
2328
+ height: number;
2329
+ edit: {
2330
+ zoom: number;
2331
+ crop: {
2332
+ x: number;
2333
+ y: number;
2334
+ };
2335
+ background: string;
2336
+ };
2337
+ } & {
2338
+ url?: string;
2339
+ credits?: string | null;
2340
+ alt?: string | null;
2341
+ provider?: string | null | undefined;
2342
+ };
2343
+ };
2344
+ }, {
2345
+ origin: {
2346
+ id: string;
2347
+ url: string;
2348
+ width: number;
2349
+ height: number;
2350
+ };
2351
+ width: number;
2352
+ height: number;
2353
+ edit: {
2354
+ zoom: number;
2355
+ crop: {
2356
+ x: number;
2357
+ y: number;
2358
+ };
2359
+ background: string;
2360
+ };
2361
+ } & {
2362
+ url?: string;
2363
+ credits?: string | null;
2364
+ alt?: string | null;
2365
+ provider?: string | null | undefined;
2366
+ } & {
2367
+ thumbnails?: {
2368
+ [x: string]: {
2369
+ origin: {
2370
+ id: string;
2371
+ url: string;
2372
+ width: number;
2373
+ height: number;
2374
+ };
2375
+ width: number;
2376
+ height: number;
2377
+ edit: {
2378
+ zoom: number;
2379
+ crop: {
2380
+ x: number;
2381
+ y: number;
2382
+ };
2383
+ background: string;
2384
+ };
2385
+ } & {
2386
+ url?: string;
2387
+ credits?: string | null;
2388
+ alt?: string | null;
2389
+ provider?: string | null | undefined;
2390
+ };
2391
+ };
2392
+ } & {
2393
+ __TYPE__: "ImageContent";
2394
+ }, unknown>, t.ExactC<t.TypeC<{
2395
+ __TYPE__: t.LiteralC<"ImageContent">;
2396
+ }>>]>, t.ExactC<t.TypeC<{
2397
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2398
+ value: t.StringC;
2399
+ }>>, t.ExactC<t.TypeC<{
2400
+ __TYPE__: t.LiteralC<"LinkContent">;
2401
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2402
+ __TYPE__: t.LiteralC<"ImageLink">;
2403
+ }>>, t.Type<{
2404
+ id: string;
2405
+ url: string;
2406
+ height: string;
2407
+ width: string;
2408
+ size: string;
2409
+ name: string;
2410
+ kind: string;
2411
+ } & {
2412
+ date?: string | null | undefined;
2413
+ }, {
2414
+ id: string;
2415
+ url: string;
2416
+ height: string;
2417
+ width: string;
2418
+ size: string;
2419
+ name: string;
2420
+ kind: string;
2421
+ } & {
2422
+ date?: string | null | undefined;
2423
+ } & {
2424
+ __TYPE__: "ImageLink";
2425
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2426
+ id: string;
2427
+ url: string;
2428
+ name: string;
2429
+ kind: string;
2430
+ } & {
2431
+ date?: string | null | undefined;
2432
+ size?: string;
2433
+ }, {
2434
+ readonly size: string;
2435
+ readonly __TYPE__: "FileLink";
2436
+ readonly id: string;
2437
+ readonly url: string;
2438
+ readonly name: string;
2439
+ readonly kind: string;
2440
+ readonly date?: string | null | undefined;
2441
+ }, unknown>, t.ExactC<t.TypeC<{
2442
+ __TYPE__: t.LiteralC<"FileLink">;
2443
+ size: t.StringC;
2444
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2445
+ __TYPE__: t.LiteralC<"DocumentLink">;
2446
+ }>>, t.Type<{
2447
+ id: string;
2448
+ }, {
2449
+ id: string;
2450
+ } & {
2451
+ __TYPE__: "DocumentLink";
2452
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2453
+ __TYPE__: t.LiteralC<"ExternalLink">;
2454
+ }>>, t.Type<{
2455
+ url: string;
2456
+ } & {
2457
+ kind?: "web";
2458
+ target?: string | null | undefined;
2459
+ preview?: {
2460
+ title?: string;
2461
+ } | null | undefined;
2462
+ }, {
2463
+ url: string;
2464
+ } & {
2465
+ kind?: "web";
2466
+ target?: string | null | undefined;
2467
+ preview?: {
2468
+ title?: string;
2469
+ } | null | undefined;
2470
+ } & {
2471
+ __TYPE__: "ExternalLink";
2472
+ }, unknown>]>]>;
2473
+ }>>, t.ExactC<t.TypeC<{
2474
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2475
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2476
+ type: t.LiteralC<"image">;
2477
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2478
+ origin: t.ExactC<t.TypeC<{
2479
+ id: t.StringC;
2480
+ url: t.StringC;
2481
+ width: t.NumberC;
2482
+ height: t.NumberC;
2483
+ }>>;
2484
+ width: t.NumberC;
2485
+ height: t.NumberC;
2486
+ edit: t.TypeC<{
2487
+ zoom: t.NumberC;
2488
+ crop: t.TypeC<{
2489
+ x: t.NumberC;
2490
+ y: t.NumberC;
2491
+ }>;
2492
+ background: t.StringC;
2493
+ }>;
2494
+ }>, t.PartialC<{
2495
+ url: t.StringC;
2496
+ credits: t.Type<string | null, string | null, unknown>;
2497
+ alt: t.Type<string | null, string | null, unknown>;
2498
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2499
+ }>]>>, t.PartialC<{
2500
+ linkTo: t.UnionC<[t.Type<{
2501
+ id: string;
2502
+ } | ({
2503
+ url: string;
2504
+ } & {
2505
+ kind?: "web";
2506
+ target?: string | null | undefined;
2507
+ preview?: {
2508
+ title?: string;
2509
+ } | null | undefined;
2510
+ }) | ({
2511
+ id: string;
2512
+ url: string;
2513
+ name: string;
2514
+ kind: string;
2515
+ } & {
2516
+ date?: string | null | undefined;
2517
+ size?: string;
2518
+ }) | ({
2519
+ id: string;
2520
+ url: string;
2521
+ height: string;
2522
+ width: string;
2523
+ size: string;
2524
+ name: string;
2525
+ kind: string;
2526
+ } & {
2527
+ date?: string | null | undefined;
2528
+ }), ({
2529
+ id: string;
2530
+ } & {
2531
+ __TYPE__: "DocumentLink";
2532
+ }) | ({
2533
+ url: string;
2534
+ } & {
2535
+ kind?: "web";
2536
+ target?: string | null | undefined;
2537
+ preview?: {
2538
+ title?: string;
2539
+ } | null | undefined;
2540
+ } & {
2541
+ __TYPE__: "ExternalLink";
2542
+ }) | {
2543
+ readonly size: string;
2544
+ readonly __TYPE__: "FileLink";
2545
+ readonly id: string;
2546
+ readonly url: string;
2547
+ readonly name: string;
2548
+ readonly kind: string;
2549
+ readonly date?: string | null | undefined;
2550
+ } | ({
2551
+ id: string;
2552
+ url: string;
2553
+ height: string;
2554
+ width: string;
2555
+ size: string;
2556
+ name: string;
2557
+ kind: string;
2558
+ } & {
2559
+ date?: string | null | undefined;
2560
+ } & {
2561
+ __TYPE__: "ImageLink";
2562
+ }), unknown>, t.NullC, t.UndefinedC]>;
2563
+ }>]>;
2564
+ }>, t.PartialC<{
2565
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2566
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2567
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2568
+ type: t.LiteralC<"embed">;
2569
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2570
+ }>, t.PartialC<{
2571
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2572
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2573
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2574
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2575
+ content: t.IntersectionC<[t.TypeC<{
2576
+ text: t.StringC;
2577
+ }>, t.PartialC<{
2578
+ spans: t.Type<({
2579
+ data?: unknown;
2580
+ } & {
2581
+ start: number;
2582
+ end: number;
2583
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2584
+ })[], ({
2585
+ data?: unknown;
2586
+ } & {
2587
+ start: number;
2588
+ end: number;
2589
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2590
+ })[], unknown>;
2591
+ }>]>;
2592
+ }>, t.PartialC<{
2593
+ label: t.StringC;
2594
+ direction: t.StringC;
2595
+ }>]>>]>>;
2596
+ }>>, t.ExactC<t.TypeC<{
2597
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2598
+ }>>]>, t.ExactC<t.TypeC<{
2599
+ __TYPE__: t.LiteralC<"GroupContentType">;
2600
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2601
+ __TYPE__: t.LiteralC<"GroupItemContent">;
2602
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2603
+ __TYPE__: t.LiteralC<"BooleanContent">;
2604
+ value: t.BooleanC;
2605
+ }>>, t.IntersectionC<[t.Type<{
2606
+ embed_url: string;
2607
+ type: string;
2608
+ } & {
2609
+ version?: string | number | null;
2610
+ title?: string | null | undefined;
2611
+ author_name?: string | null | undefined;
2612
+ author_url?: string | null | undefined;
2613
+ provider_name?: string | null | undefined;
2614
+ provider_url?: string | null | undefined;
2615
+ cache_age?: string | number | null;
2616
+ thumbnail_url?: string | null | undefined;
2617
+ thumbnail_width?: number | null | undefined;
2618
+ thumbnail_height?: number | null | undefined;
2619
+ html?: string | null | undefined;
2620
+ }, {
2621
+ embed_url: string;
2622
+ type: string;
2623
+ } & {
2624
+ version?: string | number | null;
2625
+ title?: string | null | undefined;
2626
+ author_name?: string | null | undefined;
2627
+ author_url?: string | null | undefined;
2628
+ provider_name?: string | null | undefined;
2629
+ provider_url?: string | null | undefined;
2630
+ cache_age?: string | number | null;
2631
+ thumbnail_url?: string | null | undefined;
2632
+ thumbnail_width?: number | null | undefined;
2633
+ thumbnail_height?: number | null | undefined;
2634
+ html?: string | null | undefined;
2635
+ } & {
2636
+ __TYPE__: "EmbedContent";
2637
+ }, unknown>, t.ExactC<t.TypeC<{
2638
+ __TYPE__: t.LiteralC<"EmbedContent">;
2639
+ all: t.UnknownC;
2640
+ }>>]>, t.ExactC<t.TypeC<{
2641
+ type: t.KeyofC<{
2642
+ Text: null;
2643
+ Date: null;
2644
+ Timestamp: null;
2645
+ Color: null;
2646
+ Number: null;
2647
+ Range: null;
2648
+ Select: null;
2649
+ }>;
2650
+ value: t.Type<string, string, unknown>;
2651
+ __TYPE__: t.LiteralC<"FieldContent">;
2652
+ }>>, t.IntersectionC<[t.Type<{
2653
+ position: {
2654
+ lat: number;
2655
+ lng: number;
2656
+ };
2657
+ }, {
2658
+ position: {
2659
+ lat: number;
2660
+ lng: number;
2661
+ };
2662
+ } & {
2663
+ __TYPE__: "GeoPointContent";
2664
+ }, unknown>, t.ExactC<t.TypeC<{
2665
+ __TYPE__: t.LiteralC<"GeoPointContent">;
2666
+ }>>]>, t.IntersectionC<[t.Type<{
2667
+ origin: {
2668
+ id: string;
2669
+ url: string;
2670
+ width: number;
2671
+ height: number;
2672
+ };
2673
+ width: number;
2674
+ height: number;
2675
+ edit: {
2676
+ zoom: number;
2677
+ crop: {
2678
+ x: number;
2679
+ y: number;
2680
+ };
2681
+ background: string;
2682
+ };
2683
+ } & {
2684
+ url?: string;
2685
+ credits?: string | null;
2686
+ alt?: string | null;
2687
+ provider?: string | null | undefined;
2688
+ } & {
2689
+ thumbnails?: {
2690
+ [x: string]: {
2691
+ origin: {
2692
+ id: string;
2693
+ url: string;
2694
+ width: number;
2695
+ height: number;
2696
+ };
2697
+ width: number;
2698
+ height: number;
2699
+ edit: {
2700
+ zoom: number;
2701
+ crop: {
2702
+ x: number;
2703
+ y: number;
2704
+ };
2705
+ background: string;
2706
+ };
2707
+ } & {
2708
+ url?: string;
2709
+ credits?: string | null;
2710
+ alt?: string | null;
2711
+ provider?: string | null | undefined;
2712
+ };
2713
+ };
2714
+ }, {
2715
+ origin: {
2716
+ id: string;
2717
+ url: string;
2718
+ width: number;
2719
+ height: number;
2720
+ };
2721
+ width: number;
2722
+ height: number;
2723
+ edit: {
2724
+ zoom: number;
2725
+ crop: {
2726
+ x: number;
2727
+ y: number;
2728
+ };
2729
+ background: string;
2730
+ };
2731
+ } & {
2732
+ url?: string;
2733
+ credits?: string | null;
2734
+ alt?: string | null;
2735
+ provider?: string | null | undefined;
2736
+ } & {
2737
+ thumbnails?: {
2738
+ [x: string]: {
2739
+ origin: {
2740
+ id: string;
2741
+ url: string;
2742
+ width: number;
2743
+ height: number;
2744
+ };
2745
+ width: number;
2746
+ height: number;
2747
+ edit: {
2748
+ zoom: number;
2749
+ crop: {
2750
+ x: number;
2751
+ y: number;
2752
+ };
2753
+ background: string;
2754
+ };
2755
+ } & {
2756
+ url?: string;
2757
+ credits?: string | null;
2758
+ alt?: string | null;
2759
+ provider?: string | null | undefined;
2760
+ };
2761
+ };
2762
+ } & {
2763
+ __TYPE__: "ImageContent";
2764
+ }, unknown>, t.ExactC<t.TypeC<{
2765
+ __TYPE__: t.LiteralC<"ImageContent">;
2766
+ }>>]>, t.ExactC<t.TypeC<{
2767
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
2768
+ value: t.StringC;
2769
+ }>>, t.ExactC<t.TypeC<{
2770
+ __TYPE__: t.LiteralC<"LinkContent">;
2771
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2772
+ __TYPE__: t.LiteralC<"ImageLink">;
2773
+ }>>, t.Type<{
2774
+ id: string;
2775
+ url: string;
2776
+ height: string;
2777
+ width: string;
2778
+ size: string;
2779
+ name: string;
2780
+ kind: string;
2781
+ } & {
2782
+ date?: string | null | undefined;
2783
+ }, {
2784
+ id: string;
2785
+ url: string;
2786
+ height: string;
2787
+ width: string;
2788
+ size: string;
2789
+ name: string;
2790
+ kind: string;
2791
+ } & {
2792
+ date?: string | null | undefined;
2793
+ } & {
2794
+ __TYPE__: "ImageLink";
2795
+ }, unknown>]>, t.IntersectionC<[t.Type<{
2796
+ id: string;
2797
+ url: string;
2798
+ name: string;
2799
+ kind: string;
2800
+ } & {
2801
+ date?: string | null | undefined;
2802
+ size?: string;
2803
+ }, {
2804
+ readonly size: string;
2805
+ readonly __TYPE__: "FileLink";
2806
+ readonly id: string;
2807
+ readonly url: string;
2808
+ readonly name: string;
2809
+ readonly kind: string;
2810
+ readonly date?: string | null | undefined;
2811
+ }, unknown>, t.ExactC<t.TypeC<{
2812
+ __TYPE__: t.LiteralC<"FileLink">;
2813
+ size: t.StringC;
2814
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2815
+ __TYPE__: t.LiteralC<"DocumentLink">;
2816
+ }>>, t.Type<{
2817
+ id: string;
2818
+ }, {
2819
+ id: string;
2820
+ } & {
2821
+ __TYPE__: "DocumentLink";
2822
+ }, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2823
+ __TYPE__: t.LiteralC<"ExternalLink">;
2824
+ }>>, t.Type<{
2825
+ url: string;
2826
+ } & {
2827
+ kind?: "web";
2828
+ target?: string | null | undefined;
2829
+ preview?: {
2830
+ title?: string;
2831
+ } | null | undefined;
2832
+ }, {
2833
+ url: string;
2834
+ } & {
2835
+ kind?: "web";
2836
+ target?: string | null | undefined;
2837
+ preview?: {
2838
+ title?: string;
2839
+ } | null | undefined;
2840
+ } & {
2841
+ __TYPE__: "ExternalLink";
2842
+ }, unknown>]>]>;
2843
+ }>>, t.ExactC<t.TypeC<{
2844
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2845
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2846
+ type: t.LiteralC<"image">;
2847
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2848
+ origin: t.ExactC<t.TypeC<{
2849
+ id: t.StringC;
2850
+ url: t.StringC;
2851
+ width: t.NumberC;
2852
+ height: t.NumberC;
2853
+ }>>;
2854
+ width: t.NumberC;
2855
+ height: t.NumberC;
2856
+ edit: t.TypeC<{
2857
+ zoom: t.NumberC;
2858
+ crop: t.TypeC<{
2859
+ x: t.NumberC;
2860
+ y: t.NumberC;
2861
+ }>;
2862
+ background: t.StringC;
2863
+ }>;
2864
+ }>, t.PartialC<{
2865
+ url: t.StringC;
2866
+ credits: t.Type<string | null, string | null, unknown>;
2867
+ alt: t.Type<string | null, string | null, unknown>;
2868
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2869
+ }>]>>, t.PartialC<{
2870
+ linkTo: t.UnionC<[t.Type<{
2871
+ id: string;
2872
+ } | ({
2873
+ url: string;
2874
+ } & {
2875
+ kind?: "web";
2876
+ target?: string | null | undefined;
2877
+ preview?: {
2878
+ title?: string;
2879
+ } | null | undefined;
2880
+ }) | ({
2881
+ id: string;
2882
+ url: string;
2883
+ name: string;
2884
+ kind: string;
2885
+ } & {
2886
+ date?: string | null | undefined;
2887
+ size?: string;
2888
+ }) | ({
2889
+ id: string;
2890
+ url: string;
2891
+ height: string;
2892
+ width: string;
2893
+ size: string;
2894
+ name: string;
2895
+ kind: string;
2896
+ } & {
2897
+ date?: string | null | undefined;
2898
+ }), ({
2899
+ id: string;
2900
+ } & {
2901
+ __TYPE__: "DocumentLink";
2902
+ }) | ({
2903
+ url: string;
2904
+ } & {
2905
+ kind?: "web";
2906
+ target?: string | null | undefined;
2907
+ preview?: {
2908
+ title?: string;
2909
+ } | null | undefined;
2910
+ } & {
2911
+ __TYPE__: "ExternalLink";
2912
+ }) | {
2913
+ readonly size: string;
2914
+ readonly __TYPE__: "FileLink";
2915
+ readonly id: string;
2916
+ readonly url: string;
2917
+ readonly name: string;
2918
+ readonly kind: string;
2919
+ readonly date?: string | null | undefined;
2920
+ } | ({
2921
+ id: string;
2922
+ url: string;
2923
+ height: string;
2924
+ width: string;
2925
+ size: string;
2926
+ name: string;
2927
+ kind: string;
2928
+ } & {
2929
+ date?: string | null | undefined;
2930
+ } & {
2931
+ __TYPE__: "ImageLink";
2932
+ }), unknown>, t.NullC, t.UndefinedC]>;
2933
+ }>]>;
2934
+ }>, t.PartialC<{
2935
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2936
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2937
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2938
+ type: t.LiteralC<"embed">;
2939
+ data: t.Type<import("../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
2940
+ }>, t.PartialC<{
2941
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2942
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2943
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2944
+ type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2945
+ content: t.IntersectionC<[t.TypeC<{
2946
+ text: t.StringC;
2947
+ }>, t.PartialC<{
2948
+ spans: t.Type<({
2949
+ data?: unknown;
2950
+ } & {
2951
+ start: number;
2952
+ end: number;
2953
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2954
+ })[], ({
2955
+ data?: unknown;
2956
+ } & {
2957
+ start: number;
2958
+ end: number;
2959
+ type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2960
+ })[], unknown>;
2961
+ }>]>;
2962
+ }>, t.PartialC<{
2963
+ label: t.StringC;
2964
+ direction: t.StringC;
2965
+ }>]>>]>>;
2966
+ }>>, t.ExactC<t.TypeC<{
2967
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2968
+ }>>]>]>>;
2969
+ }>>>;
2970
+ }>>]>]>;
2971
+ }>>;
2972
+ }>]>;
2973
+ export declare type WidgetContent = t.TypeOf<typeof WidgetContent>;
2974
+ export declare const WidgetTypes: {
2975
+ readonly UID: "UIDContent";
2976
+ readonly Group: "GroupContentType";
2977
+ readonly slices: "SliceContentType";
2978
+ readonly Links: {
2979
+ readonly DocumentLink: "DocumentLink";
2980
+ readonly FileLink: "FileLink";
2981
+ readonly ExternalLink: "ExternalLink";
2982
+ readonly ImageLink: "ImageLink";
2983
+ readonly LinkContent: "LinkContent";
2984
+ };
2985
+ readonly RichText: "StructuredTextContent";
2986
+ readonly Boolean: "BooleanContent";
2987
+ readonly Embed: "EmbedContent";
2988
+ readonly Field: "FieldContent";
2989
+ readonly GeoPoint: "GeoPointContent";
2990
+ readonly Image: "ImageContent";
2991
+ readonly IntegrationFields: "IntegrationFieldsContent";
2992
+ readonly Separator: "SeparatorContent";
2993
+ };