@prismicio/types-internal 1.4.0 → 1.5.0

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