@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.
- package/lib/content/CustomType.d.ts +2964 -0
- package/lib/content/CustomType.js +15 -0
- package/lib/content/fields/UIDContent.d.ts +6 -0
- package/lib/content/fields/UIDContent.js +10 -0
- package/lib/content/fields/index.d.ts +1 -0
- package/lib/content/fields/index.js +1 -0
- package/lib/content/fields/slices/CompositeSliceContent.d.ts +739 -0
- package/lib/content/fields/slices/CompositeSliceContent.js +12 -0
- package/lib/content/fields/slices/SharedSliceContent.d.ts +343 -346
- package/lib/content/fields/slices/SharedSliceContent.js +1 -2
- package/lib/content/fields/slices/SimpleSliceContent.d.ts +741 -0
- package/lib/content/fields/slices/SimpleSliceContent.js +8 -0
- package/lib/content/fields/slices/SlicesContent.d.ts +4440 -0
- package/lib/content/fields/slices/SlicesContent.js +23 -0
- package/lib/content/fields/slices/index.d.ts +3 -0
- package/lib/content/fields/slices/index.js +3 -0
- package/lib/content/index.d.ts +1 -0
- package/lib/content/index.js +1 -0
- package/lib/customtypes/diff/Changes.d.ts +17 -0
- package/lib/customtypes/diff/Changes.js +9 -0
- package/lib/customtypes/diff/SharedSlice.d.ts +679 -0
- package/lib/customtypes/diff/SharedSlice.js +55 -0
- package/lib/customtypes/diff/Variation.d.ts +662 -0
- package/lib/customtypes/diff/Variation.js +75 -0
- package/lib/customtypes/diff/index.d.ts +3 -0
- package/lib/customtypes/diff/index.js +6 -0
- package/lib/customtypes/index.d.ts +1 -1
- package/lib/customtypes/index.js +1 -1
- package/package.json +2 -1
- package/src/content/CustomType.ts +20 -0
- package/src/content/fields/UIDContent.ts +10 -0
- package/src/content/fields/index.ts +1 -0
- package/src/content/fields/slices/CompositeSliceContent.ts +12 -0
- package/src/content/fields/slices/SharedSliceContent.ts +1 -2
- package/src/content/fields/slices/SimpleSliceContent.ts +7 -0
- package/src/content/fields/slices/SlicesContent.ts +26 -0
- package/src/content/fields/slices/index.ts +3 -0
- package/src/content/index.ts +1 -0
- package/src/customtypes/{comparators → diff}/Changes.ts +0 -0
- package/src/customtypes/{comparators → diff}/SharedSlice.ts +0 -0
- package/src/customtypes/{comparators → diff}/Variation.ts +0 -0
- package/src/customtypes/{comparators → diff}/index.ts +0 -0
- package/src/customtypes/index.ts +1 -1
|
@@ -369,376 +369,373 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
369
369
|
}>>, t.ExactC<t.TypeC<{
|
|
370
370
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
371
371
|
}>>]>>;
|
|
372
|
-
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
373
|
-
__TYPE__: t.LiteralC<"
|
|
374
|
-
value: t.
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
id: string;
|
|
441
|
-
url: string;
|
|
442
|
-
width: number;
|
|
443
|
-
height: number;
|
|
444
|
-
};
|
|
372
|
+
items: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
|
|
373
|
+
__TYPE__: t.LiteralC<"BooleanContent">;
|
|
374
|
+
value: t.BooleanC;
|
|
375
|
+
}>>, t.IntersectionC<[t.Type<{
|
|
376
|
+
embed_url: string;
|
|
377
|
+
type: string;
|
|
378
|
+
} & {
|
|
379
|
+
version?: string | number | null;
|
|
380
|
+
title?: string | null | undefined;
|
|
381
|
+
author_name?: string | null | undefined;
|
|
382
|
+
author_url?: string | null | undefined;
|
|
383
|
+
provider_name?: string | null | undefined;
|
|
384
|
+
provider_url?: string | null | undefined;
|
|
385
|
+
cache_age?: string | number | null;
|
|
386
|
+
thumbnail_url?: string | null | undefined;
|
|
387
|
+
thumbnail_width?: number | null | undefined;
|
|
388
|
+
thumbnail_height?: number | null | undefined;
|
|
389
|
+
html?: string | null | undefined;
|
|
390
|
+
}, {
|
|
391
|
+
embed_url: string;
|
|
392
|
+
type: string;
|
|
393
|
+
} & {
|
|
394
|
+
version?: string | number | null;
|
|
395
|
+
title?: string | null | undefined;
|
|
396
|
+
author_name?: string | null | undefined;
|
|
397
|
+
author_url?: string | null | undefined;
|
|
398
|
+
provider_name?: string | null | undefined;
|
|
399
|
+
provider_url?: string | null | undefined;
|
|
400
|
+
cache_age?: string | number | null;
|
|
401
|
+
thumbnail_url?: string | null | undefined;
|
|
402
|
+
thumbnail_width?: number | null | undefined;
|
|
403
|
+
thumbnail_height?: number | null | undefined;
|
|
404
|
+
html?: string | null | undefined;
|
|
405
|
+
} & {
|
|
406
|
+
__TYPE__: "EmbedContent";
|
|
407
|
+
}, unknown>, t.ExactC<t.TypeC<{
|
|
408
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
409
|
+
all: t.UnknownC;
|
|
410
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
411
|
+
type: t.KeyofC<{
|
|
412
|
+
Text: null;
|
|
413
|
+
Date: null;
|
|
414
|
+
Timestamp: null;
|
|
415
|
+
Color: null;
|
|
416
|
+
Number: null;
|
|
417
|
+
Range: null;
|
|
418
|
+
Select: null;
|
|
419
|
+
}>;
|
|
420
|
+
value: t.Type<string, string, unknown>;
|
|
421
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
422
|
+
}>>, t.IntersectionC<[t.Type<{
|
|
423
|
+
position: {
|
|
424
|
+
lat: number;
|
|
425
|
+
lng: number;
|
|
426
|
+
};
|
|
427
|
+
}, {
|
|
428
|
+
position: {
|
|
429
|
+
lat: number;
|
|
430
|
+
lng: number;
|
|
431
|
+
};
|
|
432
|
+
} & {
|
|
433
|
+
__TYPE__: "GeoPointContent";
|
|
434
|
+
}, unknown>, t.ExactC<t.TypeC<{
|
|
435
|
+
__TYPE__: t.LiteralC<"GeoPointContent">;
|
|
436
|
+
}>>]>, t.IntersectionC<[t.Type<{
|
|
437
|
+
origin: {
|
|
438
|
+
id: string;
|
|
439
|
+
url: string;
|
|
445
440
|
width: number;
|
|
446
441
|
height: number;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
442
|
+
};
|
|
443
|
+
width: number;
|
|
444
|
+
height: number;
|
|
445
|
+
edit: {
|
|
446
|
+
zoom: number;
|
|
447
|
+
crop: {
|
|
448
|
+
x: number;
|
|
449
|
+
y: number;
|
|
454
450
|
};
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
};
|
|
451
|
+
background: string;
|
|
452
|
+
};
|
|
453
|
+
} & {
|
|
454
|
+
url?: string;
|
|
455
|
+
credits?: string | null;
|
|
456
|
+
alt?: string | null;
|
|
457
|
+
provider?: string | null | undefined;
|
|
458
|
+
} & {
|
|
459
|
+
thumbnails?: {
|
|
460
|
+
[x: string]: {
|
|
461
|
+
origin: {
|
|
462
|
+
id: string;
|
|
463
|
+
url: string;
|
|
469
464
|
width: number;
|
|
470
465
|
height: number;
|
|
471
|
-
edit: {
|
|
472
|
-
zoom: number;
|
|
473
|
-
crop: {
|
|
474
|
-
x: number;
|
|
475
|
-
y: number;
|
|
476
|
-
};
|
|
477
|
-
background: string;
|
|
478
|
-
};
|
|
479
|
-
} & {
|
|
480
|
-
url?: string;
|
|
481
|
-
credits?: string | null;
|
|
482
|
-
alt?: string | null;
|
|
483
|
-
provider?: string | null | undefined;
|
|
484
466
|
};
|
|
485
|
-
};
|
|
486
|
-
}, {
|
|
487
|
-
origin: {
|
|
488
|
-
id: string;
|
|
489
|
-
url: string;
|
|
490
467
|
width: number;
|
|
491
468
|
height: number;
|
|
469
|
+
edit: {
|
|
470
|
+
zoom: number;
|
|
471
|
+
crop: {
|
|
472
|
+
x: number;
|
|
473
|
+
y: number;
|
|
474
|
+
};
|
|
475
|
+
background: string;
|
|
476
|
+
};
|
|
477
|
+
} & {
|
|
478
|
+
url?: string;
|
|
479
|
+
credits?: string | null;
|
|
480
|
+
alt?: string | null;
|
|
481
|
+
provider?: string | null | undefined;
|
|
492
482
|
};
|
|
483
|
+
};
|
|
484
|
+
}, {
|
|
485
|
+
origin: {
|
|
486
|
+
id: string;
|
|
487
|
+
url: string;
|
|
493
488
|
width: number;
|
|
494
489
|
height: number;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
490
|
+
};
|
|
491
|
+
width: number;
|
|
492
|
+
height: number;
|
|
493
|
+
edit: {
|
|
494
|
+
zoom: number;
|
|
495
|
+
crop: {
|
|
496
|
+
x: number;
|
|
497
|
+
y: number;
|
|
502
498
|
};
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
};
|
|
499
|
+
background: string;
|
|
500
|
+
};
|
|
501
|
+
} & {
|
|
502
|
+
url?: string;
|
|
503
|
+
credits?: string | null;
|
|
504
|
+
alt?: string | null;
|
|
505
|
+
provider?: string | null | undefined;
|
|
506
|
+
} & {
|
|
507
|
+
thumbnails?: {
|
|
508
|
+
[x: string]: {
|
|
509
|
+
origin: {
|
|
510
|
+
id: string;
|
|
511
|
+
url: string;
|
|
517
512
|
width: number;
|
|
518
513
|
height: number;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
514
|
+
};
|
|
515
|
+
width: number;
|
|
516
|
+
height: number;
|
|
517
|
+
edit: {
|
|
518
|
+
zoom: number;
|
|
519
|
+
crop: {
|
|
520
|
+
x: number;
|
|
521
|
+
y: number;
|
|
526
522
|
};
|
|
527
|
-
|
|
528
|
-
url?: string;
|
|
529
|
-
credits?: string | null;
|
|
530
|
-
alt?: string | null;
|
|
531
|
-
provider?: string | null | undefined;
|
|
523
|
+
background: string;
|
|
532
524
|
};
|
|
525
|
+
} & {
|
|
526
|
+
url?: string;
|
|
527
|
+
credits?: string | null;
|
|
528
|
+
alt?: string | null;
|
|
529
|
+
provider?: string | null | undefined;
|
|
533
530
|
};
|
|
531
|
+
};
|
|
532
|
+
} & {
|
|
533
|
+
__TYPE__: "ImageContent";
|
|
534
|
+
}, unknown>, t.ExactC<t.TypeC<{
|
|
535
|
+
__TYPE__: t.LiteralC<"ImageContent">;
|
|
536
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
537
|
+
__TYPE__: t.LiteralC<"IntegrationFieldsContent">;
|
|
538
|
+
value: t.StringC;
|
|
539
|
+
}>>, t.ExactC<t.TypeC<{
|
|
540
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
541
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
542
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
543
|
+
}>>, t.Type<{
|
|
544
|
+
id: string;
|
|
545
|
+
url: string;
|
|
546
|
+
height: string;
|
|
547
|
+
width: string;
|
|
548
|
+
size: string;
|
|
549
|
+
name: string;
|
|
550
|
+
kind: string;
|
|
534
551
|
} & {
|
|
535
|
-
|
|
552
|
+
date?: string | null | undefined;
|
|
553
|
+
}, {
|
|
554
|
+
id: string;
|
|
555
|
+
url: string;
|
|
556
|
+
height: string;
|
|
557
|
+
width: string;
|
|
558
|
+
size: string;
|
|
559
|
+
name: string;
|
|
560
|
+
kind: string;
|
|
561
|
+
} & {
|
|
562
|
+
date?: string | null | undefined;
|
|
563
|
+
} & {
|
|
564
|
+
__TYPE__: "ImageLink";
|
|
565
|
+
}, unknown>]>, t.IntersectionC<[t.Type<{
|
|
566
|
+
id: string;
|
|
567
|
+
url: string;
|
|
568
|
+
name: string;
|
|
569
|
+
kind: string;
|
|
570
|
+
} & {
|
|
571
|
+
date?: string | null | undefined;
|
|
572
|
+
size?: string;
|
|
573
|
+
}, {
|
|
574
|
+
readonly size: string;
|
|
575
|
+
readonly __TYPE__: "FileLink";
|
|
576
|
+
readonly id: string;
|
|
577
|
+
readonly url: string;
|
|
578
|
+
readonly name: string;
|
|
579
|
+
readonly kind: string;
|
|
580
|
+
readonly date?: string | null | undefined;
|
|
536
581
|
}, unknown>, t.ExactC<t.TypeC<{
|
|
537
|
-
__TYPE__: t.LiteralC<"
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}>>, t.
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
readonly size: string;
|
|
577
|
-
readonly __TYPE__: "FileLink";
|
|
578
|
-
readonly id: string;
|
|
579
|
-
readonly url: string;
|
|
580
|
-
readonly name: string;
|
|
581
|
-
readonly kind: string;
|
|
582
|
-
readonly date?: string | null | undefined;
|
|
583
|
-
}, unknown>, t.ExactC<t.TypeC<{
|
|
584
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
585
|
-
size: t.StringC;
|
|
586
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
587
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
588
|
-
}>>, t.Type<{
|
|
589
|
-
id: string;
|
|
590
|
-
}, {
|
|
591
|
-
id: string;
|
|
592
|
-
} & {
|
|
593
|
-
__TYPE__: "DocumentLink";
|
|
594
|
-
}, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
595
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
596
|
-
}>>, t.Type<{
|
|
597
|
-
url: string;
|
|
598
|
-
} & {
|
|
599
|
-
kind?: "web";
|
|
600
|
-
target?: string | null | undefined;
|
|
601
|
-
preview?: {
|
|
602
|
-
title?: string;
|
|
603
|
-
} | null | undefined;
|
|
604
|
-
}, {
|
|
605
|
-
url: string;
|
|
606
|
-
} & {
|
|
607
|
-
kind?: "web";
|
|
608
|
-
target?: string | null | undefined;
|
|
609
|
-
preview?: {
|
|
610
|
-
title?: string;
|
|
611
|
-
} | null | undefined;
|
|
612
|
-
} & {
|
|
613
|
-
__TYPE__: "ExternalLink";
|
|
614
|
-
}, unknown>]>]>;
|
|
615
|
-
}>>, t.ExactC<t.TypeC<{
|
|
616
|
-
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
617
|
-
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
618
|
-
type: t.LiteralC<"image">;
|
|
619
|
-
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
620
|
-
origin: t.ExactC<t.TypeC<{
|
|
621
|
-
id: t.StringC;
|
|
622
|
-
url: t.StringC;
|
|
623
|
-
width: t.NumberC;
|
|
624
|
-
height: t.NumberC;
|
|
625
|
-
}>>;
|
|
582
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
583
|
+
size: t.StringC;
|
|
584
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
585
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
586
|
+
}>>, t.Type<{
|
|
587
|
+
id: string;
|
|
588
|
+
}, {
|
|
589
|
+
id: string;
|
|
590
|
+
} & {
|
|
591
|
+
__TYPE__: "DocumentLink";
|
|
592
|
+
}, unknown>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
593
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
594
|
+
}>>, t.Type<{
|
|
595
|
+
url: string;
|
|
596
|
+
} & {
|
|
597
|
+
kind?: "web";
|
|
598
|
+
target?: string | null | undefined;
|
|
599
|
+
preview?: {
|
|
600
|
+
title?: string;
|
|
601
|
+
} | null | undefined;
|
|
602
|
+
}, {
|
|
603
|
+
url: string;
|
|
604
|
+
} & {
|
|
605
|
+
kind?: "web";
|
|
606
|
+
target?: string | null | undefined;
|
|
607
|
+
preview?: {
|
|
608
|
+
title?: string;
|
|
609
|
+
} | null | undefined;
|
|
610
|
+
} & {
|
|
611
|
+
__TYPE__: "ExternalLink";
|
|
612
|
+
}, unknown>]>]>;
|
|
613
|
+
}>>, t.ExactC<t.TypeC<{
|
|
614
|
+
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
615
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
616
|
+
type: t.LiteralC<"image">;
|
|
617
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
618
|
+
origin: t.ExactC<t.TypeC<{
|
|
619
|
+
id: t.StringC;
|
|
620
|
+
url: t.StringC;
|
|
626
621
|
width: t.NumberC;
|
|
627
622
|
height: t.NumberC;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
623
|
+
}>>;
|
|
624
|
+
width: t.NumberC;
|
|
625
|
+
height: t.NumberC;
|
|
626
|
+
edit: t.TypeC<{
|
|
627
|
+
zoom: t.NumberC;
|
|
628
|
+
crop: t.TypeC<{
|
|
629
|
+
x: t.NumberC;
|
|
630
|
+
y: t.NumberC;
|
|
635
631
|
}>;
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
credits: t.Type<string | null, string | null, unknown>;
|
|
639
|
-
alt: t.Type<string | null, string | null, unknown>;
|
|
640
|
-
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
641
|
-
}>]>>, t.PartialC<{
|
|
642
|
-
linkTo: t.UnionC<[t.Type<{
|
|
643
|
-
id: string;
|
|
644
|
-
} | ({
|
|
645
|
-
url: string;
|
|
646
|
-
} & {
|
|
647
|
-
kind?: "web";
|
|
648
|
-
target?: string | null | undefined;
|
|
649
|
-
preview?: {
|
|
650
|
-
title?: string;
|
|
651
|
-
} | null | undefined;
|
|
652
|
-
}) | ({
|
|
653
|
-
id: string;
|
|
654
|
-
url: string;
|
|
655
|
-
name: string;
|
|
656
|
-
kind: string;
|
|
657
|
-
} & {
|
|
658
|
-
date?: string | null | undefined;
|
|
659
|
-
size?: string;
|
|
660
|
-
}) | ({
|
|
661
|
-
id: string;
|
|
662
|
-
url: string;
|
|
663
|
-
height: string;
|
|
664
|
-
width: string;
|
|
665
|
-
size: string;
|
|
666
|
-
name: string;
|
|
667
|
-
kind: string;
|
|
668
|
-
} & {
|
|
669
|
-
date?: string | null | undefined;
|
|
670
|
-
}), ({
|
|
671
|
-
id: string;
|
|
672
|
-
} & {
|
|
673
|
-
__TYPE__: "DocumentLink";
|
|
674
|
-
}) | ({
|
|
675
|
-
url: string;
|
|
676
|
-
} & {
|
|
677
|
-
kind?: "web";
|
|
678
|
-
target?: string | null | undefined;
|
|
679
|
-
preview?: {
|
|
680
|
-
title?: string;
|
|
681
|
-
} | null | undefined;
|
|
682
|
-
} & {
|
|
683
|
-
__TYPE__: "ExternalLink";
|
|
684
|
-
}) | {
|
|
685
|
-
readonly size: string;
|
|
686
|
-
readonly __TYPE__: "FileLink";
|
|
687
|
-
readonly id: string;
|
|
688
|
-
readonly url: string;
|
|
689
|
-
readonly name: string;
|
|
690
|
-
readonly kind: string;
|
|
691
|
-
readonly date?: string | null | undefined;
|
|
692
|
-
} | ({
|
|
693
|
-
id: string;
|
|
694
|
-
url: string;
|
|
695
|
-
height: string;
|
|
696
|
-
width: string;
|
|
697
|
-
size: string;
|
|
698
|
-
name: string;
|
|
699
|
-
kind: string;
|
|
700
|
-
} & {
|
|
701
|
-
date?: string | null | undefined;
|
|
702
|
-
} & {
|
|
703
|
-
__TYPE__: "ImageLink";
|
|
704
|
-
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
705
|
-
}>]>;
|
|
706
|
-
}>, t.PartialC<{
|
|
707
|
-
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
708
|
-
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
709
|
-
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
710
|
-
type: t.LiteralC<"embed">;
|
|
711
|
-
data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
|
|
632
|
+
background: t.StringC;
|
|
633
|
+
}>;
|
|
712
634
|
}>, t.PartialC<{
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}
|
|
635
|
+
url: t.StringC;
|
|
636
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
637
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
638
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
639
|
+
}>]>>, t.PartialC<{
|
|
640
|
+
linkTo: t.UnionC<[t.Type<{
|
|
641
|
+
id: string;
|
|
642
|
+
} | ({
|
|
643
|
+
url: string;
|
|
644
|
+
} & {
|
|
645
|
+
kind?: "web";
|
|
646
|
+
target?: string | null | undefined;
|
|
647
|
+
preview?: {
|
|
648
|
+
title?: string;
|
|
649
|
+
} | null | undefined;
|
|
650
|
+
}) | ({
|
|
651
|
+
id: string;
|
|
652
|
+
url: string;
|
|
653
|
+
name: string;
|
|
654
|
+
kind: string;
|
|
655
|
+
} & {
|
|
656
|
+
date?: string | null | undefined;
|
|
657
|
+
size?: string;
|
|
658
|
+
}) | ({
|
|
659
|
+
id: string;
|
|
660
|
+
url: string;
|
|
661
|
+
height: string;
|
|
662
|
+
width: string;
|
|
663
|
+
size: string;
|
|
664
|
+
name: string;
|
|
665
|
+
kind: string;
|
|
666
|
+
} & {
|
|
667
|
+
date?: string | null | undefined;
|
|
668
|
+
}), ({
|
|
669
|
+
id: string;
|
|
670
|
+
} & {
|
|
671
|
+
__TYPE__: "DocumentLink";
|
|
672
|
+
}) | ({
|
|
673
|
+
url: string;
|
|
674
|
+
} & {
|
|
675
|
+
kind?: "web";
|
|
676
|
+
target?: string | null | undefined;
|
|
677
|
+
preview?: {
|
|
678
|
+
title?: string;
|
|
679
|
+
} | null | undefined;
|
|
680
|
+
} & {
|
|
681
|
+
__TYPE__: "ExternalLink";
|
|
682
|
+
}) | {
|
|
683
|
+
readonly size: string;
|
|
684
|
+
readonly __TYPE__: "FileLink";
|
|
685
|
+
readonly id: string;
|
|
686
|
+
readonly url: string;
|
|
687
|
+
readonly name: string;
|
|
688
|
+
readonly kind: string;
|
|
689
|
+
readonly date?: string | null | undefined;
|
|
690
|
+
} | ({
|
|
691
|
+
id: string;
|
|
692
|
+
url: string;
|
|
693
|
+
height: string;
|
|
694
|
+
width: string;
|
|
695
|
+
size: string;
|
|
696
|
+
name: string;
|
|
697
|
+
kind: string;
|
|
698
|
+
} & {
|
|
699
|
+
date?: string | null | undefined;
|
|
700
|
+
} & {
|
|
701
|
+
__TYPE__: "ImageLink";
|
|
702
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
703
|
+
}>]>;
|
|
704
|
+
}>, t.PartialC<{
|
|
705
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
706
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
707
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
708
|
+
type: t.LiteralC<"embed">;
|
|
709
|
+
data: t.Type<import("../../../documents/widgets/nestable").EmbedContentO, unknown, unknown>;
|
|
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.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>;
|
|
715
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
716
|
+
text: t.StringC;
|
|
734
717
|
}>, t.PartialC<{
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
718
|
+
spans: t.Type<({
|
|
719
|
+
data?: unknown;
|
|
720
|
+
} & {
|
|
721
|
+
start: number;
|
|
722
|
+
end: number;
|
|
723
|
+
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
724
|
+
})[], ({
|
|
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
|
+
})[], unknown>;
|
|
731
|
+
}>]>;
|
|
732
|
+
}>, t.PartialC<{
|
|
733
|
+
label: t.StringC;
|
|
734
|
+
direction: t.StringC;
|
|
735
|
+
}>]>>]>>;
|
|
736
|
+
}>>, t.ExactC<t.TypeC<{
|
|
737
|
+
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
738
|
+
}>>]>]>>;
|
|
742
739
|
}>>;
|
|
743
740
|
export declare type SharedSliceContent = t.TypeOf<typeof SharedSliceContent>;
|
|
744
741
|
export declare const SharedSliceContentType = "SharedSliceContent";
|