@prismicio/editor-fields 0.4.59 → 0.4.61
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/dist/EditorConfig.d.ts +0 -1
- package/dist/core/MediaLibrary/MediaLibrary.d.ts +4 -3
- package/dist/core/MediaLibrary/components/MediaLibraryActions.d.ts +2 -2
- package/dist/core/MediaLibrary/components/MediaLibraryContext.d.ts +7 -5
- package/dist/core/MediaLibrary/components/MediaLibrarySkeleton.d.ts +2 -2
- package/dist/core/service/customType.d.ts +1906 -8
- package/dist/core/service/document.d.ts +204 -4
- package/dist/core/service/documentSearch.d.ts +16 -4
- package/dist/core/service/role.d.ts +2 -2
- package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -0
- package/dist/fields/LinkField/LinkFieldActions.d.ts +3 -0
- package/dist/fields/LinkField/RepeatableLinkField/useRepeatableLinkField.d.ts +6 -0
- package/dist/fields/LinkField/useLinkField.d.ts +3 -0
- package/dist/index.cjs.js +50 -50
- package/dist/index.es.js +11022 -10951
- package/dist/slices/utils.d.ts +12 -0
- package/package.json +5 -5
|
@@ -140,6 +140,13 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
140
140
|
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
141
141
|
summary: z.ZodOptional<z.ZodString>;
|
|
142
142
|
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
143
|
+
highlights: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
uid?: string | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
uid?: string | undefined;
|
|
149
|
+
}>>;
|
|
143
150
|
}>, "strip", z.ZodTypeAny, {
|
|
144
151
|
tags: string[];
|
|
145
152
|
version_id: string;
|
|
@@ -149,6 +156,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
149
156
|
custom_type_id?: string | undefined;
|
|
150
157
|
summary?: string | undefined;
|
|
151
158
|
author_ids?: string[] | undefined;
|
|
159
|
+
highlights?: {
|
|
160
|
+
uid?: string | undefined;
|
|
161
|
+
} | undefined;
|
|
152
162
|
}, {
|
|
153
163
|
tags: string[];
|
|
154
164
|
version_id: string;
|
|
@@ -158,6 +168,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
158
168
|
custom_type_id?: string | undefined;
|
|
159
169
|
summary?: string | undefined;
|
|
160
170
|
author_ids?: string[] | undefined;
|
|
171
|
+
highlights?: {
|
|
172
|
+
uid?: string | undefined;
|
|
173
|
+
} | undefined;
|
|
161
174
|
}>>;
|
|
162
175
|
export declare function isDocumentVersion(value: unknown): value is z.infer<typeof documentVersionSchema>;
|
|
163
176
|
export declare function isDocumentSearchVersion(value: unknown): value is z.infer<typeof documentSearchVersionSchema>;
|
|
@@ -635,6 +648,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
648
|
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
636
649
|
summary: z.ZodOptional<z.ZodString>;
|
|
637
650
|
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
651
|
+
highlights: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
653
|
+
}, "strip", z.ZodTypeAny, {
|
|
654
|
+
uid?: string | undefined;
|
|
655
|
+
}, {
|
|
656
|
+
uid?: string | undefined;
|
|
657
|
+
}>>;
|
|
638
658
|
}>, "strip", z.ZodTypeAny, {
|
|
639
659
|
tags: string[];
|
|
640
660
|
version_id: string;
|
|
@@ -644,6 +664,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
644
664
|
custom_type_id?: string | undefined;
|
|
645
665
|
summary?: string | undefined;
|
|
646
666
|
author_ids?: string[] | undefined;
|
|
667
|
+
highlights?: {
|
|
668
|
+
uid?: string | undefined;
|
|
669
|
+
} | undefined;
|
|
647
670
|
}, {
|
|
648
671
|
tags: string[];
|
|
649
672
|
version_id: string;
|
|
@@ -653,6 +676,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
653
676
|
custom_type_id?: string | undefined;
|
|
654
677
|
summary?: string | undefined;
|
|
655
678
|
author_ids?: string[] | undefined;
|
|
679
|
+
highlights?: {
|
|
680
|
+
uid?: string | undefined;
|
|
681
|
+
} | undefined;
|
|
656
682
|
}>>, "many">;
|
|
657
683
|
locale_id: z.ZodOptional<z.ZodString>;
|
|
658
684
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -678,6 +704,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
678
704
|
custom_type_id?: string | undefined;
|
|
679
705
|
summary?: string | undefined;
|
|
680
706
|
author_ids?: string[] | undefined;
|
|
707
|
+
highlights?: {
|
|
708
|
+
uid?: string | undefined;
|
|
709
|
+
} | undefined;
|
|
681
710
|
})[];
|
|
682
711
|
locale_id?: string | undefined;
|
|
683
712
|
}, {
|
|
@@ -702,6 +731,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
702
731
|
custom_type_id?: string | undefined;
|
|
703
732
|
summary?: string | undefined;
|
|
704
733
|
author_ids?: string[] | undefined;
|
|
734
|
+
highlights?: {
|
|
735
|
+
uid?: string | undefined;
|
|
736
|
+
} | undefined;
|
|
705
737
|
})[];
|
|
706
738
|
title?: string | null | undefined;
|
|
707
739
|
locale_id?: string | undefined;
|
|
@@ -729,6 +761,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
729
761
|
custom_type_id?: string | undefined;
|
|
730
762
|
summary?: string | undefined;
|
|
731
763
|
author_ids?: string[] | undefined;
|
|
764
|
+
highlights?: {
|
|
765
|
+
uid?: string | undefined;
|
|
766
|
+
} | undefined;
|
|
732
767
|
})[];
|
|
733
768
|
}, {
|
|
734
769
|
id: string;
|
|
@@ -752,6 +787,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
752
787
|
custom_type_id?: string | undefined;
|
|
753
788
|
summary?: string | undefined;
|
|
754
789
|
author_ids?: string[] | undefined;
|
|
790
|
+
highlights?: {
|
|
791
|
+
uid?: string | undefined;
|
|
792
|
+
} | undefined;
|
|
755
793
|
})[];
|
|
756
794
|
title?: string | null | undefined;
|
|
757
795
|
locale_id?: string | undefined;
|
|
@@ -799,6 +837,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
799
837
|
custom_type_id: z.ZodOptional<z.ZodString>;
|
|
800
838
|
summary: z.ZodOptional<z.ZodString>;
|
|
801
839
|
author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
840
|
+
highlights: z.ZodOptional<z.ZodObject<{
|
|
841
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
uid?: string | undefined;
|
|
844
|
+
}, {
|
|
845
|
+
uid?: string | undefined;
|
|
846
|
+
}>>;
|
|
802
847
|
}>, "strip", z.ZodTypeAny, {
|
|
803
848
|
tags: string[];
|
|
804
849
|
version_id: string;
|
|
@@ -808,6 +853,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
808
853
|
custom_type_id?: string | undefined;
|
|
809
854
|
summary?: string | undefined;
|
|
810
855
|
author_ids?: string[] | undefined;
|
|
856
|
+
highlights?: {
|
|
857
|
+
uid?: string | undefined;
|
|
858
|
+
} | undefined;
|
|
811
859
|
}, {
|
|
812
860
|
tags: string[];
|
|
813
861
|
version_id: string;
|
|
@@ -817,6 +865,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
817
865
|
custom_type_id?: string | undefined;
|
|
818
866
|
summary?: string | undefined;
|
|
819
867
|
author_ids?: string[] | undefined;
|
|
868
|
+
highlights?: {
|
|
869
|
+
uid?: string | undefined;
|
|
870
|
+
} | undefined;
|
|
820
871
|
}>>, "many">;
|
|
821
872
|
locale_id: z.ZodOptional<z.ZodString>;
|
|
822
873
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -842,6 +893,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
842
893
|
custom_type_id?: string | undefined;
|
|
843
894
|
summary?: string | undefined;
|
|
844
895
|
author_ids?: string[] | undefined;
|
|
896
|
+
highlights?: {
|
|
897
|
+
uid?: string | undefined;
|
|
898
|
+
} | undefined;
|
|
845
899
|
})[];
|
|
846
900
|
locale_id?: string | undefined;
|
|
847
901
|
}, {
|
|
@@ -866,6 +920,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
866
920
|
custom_type_id?: string | undefined;
|
|
867
921
|
summary?: string | undefined;
|
|
868
922
|
author_ids?: string[] | undefined;
|
|
923
|
+
highlights?: {
|
|
924
|
+
uid?: string | undefined;
|
|
925
|
+
} | undefined;
|
|
869
926
|
})[];
|
|
870
927
|
title?: string | null | undefined;
|
|
871
928
|
locale_id?: string | undefined;
|
|
@@ -893,6 +950,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
893
950
|
custom_type_id?: string | undefined;
|
|
894
951
|
summary?: string | undefined;
|
|
895
952
|
author_ids?: string[] | undefined;
|
|
953
|
+
highlights?: {
|
|
954
|
+
uid?: string | undefined;
|
|
955
|
+
} | undefined;
|
|
896
956
|
})[];
|
|
897
957
|
}, {
|
|
898
958
|
id: string;
|
|
@@ -916,6 +976,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
916
976
|
custom_type_id?: string | undefined;
|
|
917
977
|
summary?: string | undefined;
|
|
918
978
|
author_ids?: string[] | undefined;
|
|
979
|
+
highlights?: {
|
|
980
|
+
uid?: string | undefined;
|
|
981
|
+
} | undefined;
|
|
919
982
|
})[];
|
|
920
983
|
title?: string | null | undefined;
|
|
921
984
|
locale_id?: string | undefined;
|
|
@@ -945,6 +1008,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
945
1008
|
custom_type_id?: string | undefined;
|
|
946
1009
|
summary?: string | undefined;
|
|
947
1010
|
author_ids?: string[] | undefined;
|
|
1011
|
+
highlights?: {
|
|
1012
|
+
uid?: string | undefined;
|
|
1013
|
+
} | undefined;
|
|
948
1014
|
})[];
|
|
949
1015
|
}[];
|
|
950
1016
|
}, {
|
|
@@ -970,6 +1036,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
970
1036
|
custom_type_id?: string | undefined;
|
|
971
1037
|
summary?: string | undefined;
|
|
972
1038
|
author_ids?: string[] | undefined;
|
|
1039
|
+
highlights?: {
|
|
1040
|
+
uid?: string | undefined;
|
|
1041
|
+
} | undefined;
|
|
973
1042
|
})[];
|
|
974
1043
|
title?: string | null | undefined;
|
|
975
1044
|
locale_id?: string | undefined;
|
|
@@ -989,11 +1058,11 @@ export interface GetDocumentListArgs {
|
|
|
989
1058
|
signal?: AbortSignal | null | undefined;
|
|
990
1059
|
limit?: number;
|
|
991
1060
|
cursor?: string;
|
|
992
|
-
|
|
1061
|
+
statuses?: string[];
|
|
993
1062
|
authors?: string[];
|
|
994
1063
|
language?: string;
|
|
995
|
-
|
|
996
|
-
|
|
1064
|
+
groupLangIds?: string[];
|
|
1065
|
+
documentIds?: string[];
|
|
997
1066
|
customTypes?: string[];
|
|
998
1067
|
tags?: string[];
|
|
999
1068
|
term?: string;
|
|
@@ -1151,6 +1220,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1151
1220
|
kind: "image";
|
|
1152
1221
|
}) & {
|
|
1153
1222
|
text?: string | undefined;
|
|
1223
|
+
variant?: string | undefined;
|
|
1154
1224
|
})) | ({
|
|
1155
1225
|
__TYPE__: "FileLink";
|
|
1156
1226
|
} & ((({
|
|
@@ -1165,6 +1235,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1165
1235
|
kind: "file";
|
|
1166
1236
|
}) & {
|
|
1167
1237
|
text?: string | undefined;
|
|
1238
|
+
variant?: string | undefined;
|
|
1168
1239
|
})) | ({
|
|
1169
1240
|
__TYPE__: "DocumentLink";
|
|
1170
1241
|
} & (({
|
|
@@ -1173,6 +1244,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1173
1244
|
kind: "document";
|
|
1174
1245
|
}) & {
|
|
1175
1246
|
text?: string | undefined;
|
|
1247
|
+
variant?: string | undefined;
|
|
1176
1248
|
})) | ({
|
|
1177
1249
|
__TYPE__: "ExternalLink";
|
|
1178
1250
|
} & ((({
|
|
@@ -1187,18 +1259,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1187
1259
|
kind: "web";
|
|
1188
1260
|
}) & {
|
|
1189
1261
|
text?: string | undefined;
|
|
1262
|
+
variant?: string | undefined;
|
|
1190
1263
|
})) | ({
|
|
1191
1264
|
__TYPE__: "MediaLink";
|
|
1192
1265
|
} & {
|
|
1193
1266
|
kind: "media";
|
|
1194
1267
|
} & {
|
|
1195
1268
|
text?: string | undefined;
|
|
1269
|
+
variant?: string | undefined;
|
|
1196
1270
|
}) | ({
|
|
1197
1271
|
__TYPE__: "AnyLink";
|
|
1198
1272
|
} & {
|
|
1199
1273
|
kind: "any";
|
|
1200
1274
|
} & {
|
|
1201
1275
|
text?: string | undefined;
|
|
1276
|
+
variant?: string | undefined;
|
|
1202
1277
|
});
|
|
1203
1278
|
}) | {
|
|
1204
1279
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1378,6 +1453,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1378
1453
|
kind: "image";
|
|
1379
1454
|
}) & {
|
|
1380
1455
|
text?: string | undefined;
|
|
1456
|
+
variant?: string | undefined;
|
|
1381
1457
|
})) | ({
|
|
1382
1458
|
__TYPE__: "FileLink";
|
|
1383
1459
|
} & ((({
|
|
@@ -1392,6 +1468,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1392
1468
|
kind: "file";
|
|
1393
1469
|
}) & {
|
|
1394
1470
|
text?: string | undefined;
|
|
1471
|
+
variant?: string | undefined;
|
|
1395
1472
|
})) | ({
|
|
1396
1473
|
__TYPE__: "DocumentLink";
|
|
1397
1474
|
} & (({
|
|
@@ -1400,6 +1477,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1400
1477
|
kind: "document";
|
|
1401
1478
|
}) & {
|
|
1402
1479
|
text?: string | undefined;
|
|
1480
|
+
variant?: string | undefined;
|
|
1403
1481
|
})) | ({
|
|
1404
1482
|
__TYPE__: "ExternalLink";
|
|
1405
1483
|
} & ((({
|
|
@@ -1414,18 +1492,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1414
1492
|
kind: "web";
|
|
1415
1493
|
}) & {
|
|
1416
1494
|
text?: string | undefined;
|
|
1495
|
+
variant?: string | undefined;
|
|
1417
1496
|
})) | ({
|
|
1418
1497
|
__TYPE__: "MediaLink";
|
|
1419
1498
|
} & {
|
|
1420
1499
|
kind: "media";
|
|
1421
1500
|
} & {
|
|
1422
1501
|
text?: string | undefined;
|
|
1502
|
+
variant?: string | undefined;
|
|
1423
1503
|
}) | ({
|
|
1424
1504
|
__TYPE__: "AnyLink";
|
|
1425
1505
|
} & {
|
|
1426
1506
|
kind: "any";
|
|
1427
1507
|
} & {
|
|
1428
1508
|
text?: string | undefined;
|
|
1509
|
+
variant?: string | undefined;
|
|
1429
1510
|
});
|
|
1430
1511
|
})[];
|
|
1431
1512
|
} | {
|
|
@@ -1572,6 +1653,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1572
1653
|
kind: "image";
|
|
1573
1654
|
}) & {
|
|
1574
1655
|
text?: string | undefined;
|
|
1656
|
+
variant?: string | undefined;
|
|
1575
1657
|
})) | ({
|
|
1576
1658
|
__TYPE__: "FileLink";
|
|
1577
1659
|
} & ((({
|
|
@@ -1586,6 +1668,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1586
1668
|
kind: "file";
|
|
1587
1669
|
}) & {
|
|
1588
1670
|
text?: string | undefined;
|
|
1671
|
+
variant?: string | undefined;
|
|
1589
1672
|
})) | ({
|
|
1590
1673
|
__TYPE__: "DocumentLink";
|
|
1591
1674
|
} & (({
|
|
@@ -1594,6 +1677,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1594
1677
|
kind: "document";
|
|
1595
1678
|
}) & {
|
|
1596
1679
|
text?: string | undefined;
|
|
1680
|
+
variant?: string | undefined;
|
|
1597
1681
|
})) | ({
|
|
1598
1682
|
__TYPE__: "ExternalLink";
|
|
1599
1683
|
} & ((({
|
|
@@ -1608,18 +1692,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1608
1692
|
kind: "web";
|
|
1609
1693
|
}) & {
|
|
1610
1694
|
text?: string | undefined;
|
|
1695
|
+
variant?: string | undefined;
|
|
1611
1696
|
})) | ({
|
|
1612
1697
|
__TYPE__: "MediaLink";
|
|
1613
1698
|
} & {
|
|
1614
1699
|
kind: "media";
|
|
1615
1700
|
} & {
|
|
1616
1701
|
text?: string | undefined;
|
|
1702
|
+
variant?: string | undefined;
|
|
1617
1703
|
}) | ({
|
|
1618
1704
|
__TYPE__: "AnyLink";
|
|
1619
1705
|
} & {
|
|
1620
1706
|
kind: "any";
|
|
1621
1707
|
} & {
|
|
1622
1708
|
text?: string | undefined;
|
|
1709
|
+
variant?: string | undefined;
|
|
1623
1710
|
});
|
|
1624
1711
|
}) | {
|
|
1625
1712
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1799,6 +1886,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1799
1886
|
kind: "image";
|
|
1800
1887
|
}) & {
|
|
1801
1888
|
text?: string | undefined;
|
|
1889
|
+
variant?: string | undefined;
|
|
1802
1890
|
})) | ({
|
|
1803
1891
|
__TYPE__: "FileLink";
|
|
1804
1892
|
} & ((({
|
|
@@ -1813,6 +1901,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1813
1901
|
kind: "file";
|
|
1814
1902
|
}) & {
|
|
1815
1903
|
text?: string | undefined;
|
|
1904
|
+
variant?: string | undefined;
|
|
1816
1905
|
})) | ({
|
|
1817
1906
|
__TYPE__: "DocumentLink";
|
|
1818
1907
|
} & (({
|
|
@@ -1821,6 +1910,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1821
1910
|
kind: "document";
|
|
1822
1911
|
}) & {
|
|
1823
1912
|
text?: string | undefined;
|
|
1913
|
+
variant?: string | undefined;
|
|
1824
1914
|
})) | ({
|
|
1825
1915
|
__TYPE__: "ExternalLink";
|
|
1826
1916
|
} & ((({
|
|
@@ -1835,18 +1925,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1835
1925
|
kind: "web";
|
|
1836
1926
|
}) & {
|
|
1837
1927
|
text?: string | undefined;
|
|
1928
|
+
variant?: string | undefined;
|
|
1838
1929
|
})) | ({
|
|
1839
1930
|
__TYPE__: "MediaLink";
|
|
1840
1931
|
} & {
|
|
1841
1932
|
kind: "media";
|
|
1842
1933
|
} & {
|
|
1843
1934
|
text?: string | undefined;
|
|
1935
|
+
variant?: string | undefined;
|
|
1844
1936
|
}) | ({
|
|
1845
1937
|
__TYPE__: "AnyLink";
|
|
1846
1938
|
} & {
|
|
1847
1939
|
kind: "any";
|
|
1848
1940
|
} & {
|
|
1849
1941
|
text?: string | undefined;
|
|
1942
|
+
variant?: string | undefined;
|
|
1850
1943
|
});
|
|
1851
1944
|
})[];
|
|
1852
1945
|
};
|
|
@@ -1985,6 +2078,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1985
2078
|
kind: "image";
|
|
1986
2079
|
}) & {
|
|
1987
2080
|
text?: string | undefined;
|
|
2081
|
+
variant?: string | undefined;
|
|
1988
2082
|
})) | ({
|
|
1989
2083
|
__TYPE__: "FileLink";
|
|
1990
2084
|
} & ((({
|
|
@@ -1999,6 +2093,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1999
2093
|
kind: "file";
|
|
2000
2094
|
}) & {
|
|
2001
2095
|
text?: string | undefined;
|
|
2096
|
+
variant?: string | undefined;
|
|
2002
2097
|
})) | ({
|
|
2003
2098
|
__TYPE__: "DocumentLink";
|
|
2004
2099
|
} & (({
|
|
@@ -2007,6 +2102,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2007
2102
|
kind: "document";
|
|
2008
2103
|
}) & {
|
|
2009
2104
|
text?: string | undefined;
|
|
2105
|
+
variant?: string | undefined;
|
|
2010
2106
|
})) | ({
|
|
2011
2107
|
__TYPE__: "ExternalLink";
|
|
2012
2108
|
} & ((({
|
|
@@ -2021,18 +2117,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2021
2117
|
kind: "web";
|
|
2022
2118
|
}) & {
|
|
2023
2119
|
text?: string | undefined;
|
|
2120
|
+
variant?: string | undefined;
|
|
2024
2121
|
})) | ({
|
|
2025
2122
|
__TYPE__: "MediaLink";
|
|
2026
2123
|
} & {
|
|
2027
2124
|
kind: "media";
|
|
2028
2125
|
} & {
|
|
2029
2126
|
text?: string | undefined;
|
|
2127
|
+
variant?: string | undefined;
|
|
2030
2128
|
}) | ({
|
|
2031
2129
|
__TYPE__: "AnyLink";
|
|
2032
2130
|
} & {
|
|
2033
2131
|
kind: "any";
|
|
2034
2132
|
} & {
|
|
2035
2133
|
text?: string | undefined;
|
|
2134
|
+
variant?: string | undefined;
|
|
2036
2135
|
});
|
|
2037
2136
|
}) | {
|
|
2038
2137
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2212,6 +2311,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2212
2311
|
kind: "image";
|
|
2213
2312
|
}) & {
|
|
2214
2313
|
text?: string | undefined;
|
|
2314
|
+
variant?: string | undefined;
|
|
2215
2315
|
})) | ({
|
|
2216
2316
|
__TYPE__: "FileLink";
|
|
2217
2317
|
} & ((({
|
|
@@ -2226,6 +2326,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2226
2326
|
kind: "file";
|
|
2227
2327
|
}) & {
|
|
2228
2328
|
text?: string | undefined;
|
|
2329
|
+
variant?: string | undefined;
|
|
2229
2330
|
})) | ({
|
|
2230
2331
|
__TYPE__: "DocumentLink";
|
|
2231
2332
|
} & (({
|
|
@@ -2234,6 +2335,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2234
2335
|
kind: "document";
|
|
2235
2336
|
}) & {
|
|
2236
2337
|
text?: string | undefined;
|
|
2338
|
+
variant?: string | undefined;
|
|
2237
2339
|
})) | ({
|
|
2238
2340
|
__TYPE__: "ExternalLink";
|
|
2239
2341
|
} & ((({
|
|
@@ -2248,18 +2350,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2248
2350
|
kind: "web";
|
|
2249
2351
|
}) & {
|
|
2250
2352
|
text?: string | undefined;
|
|
2353
|
+
variant?: string | undefined;
|
|
2251
2354
|
})) | ({
|
|
2252
2355
|
__TYPE__: "MediaLink";
|
|
2253
2356
|
} & {
|
|
2254
2357
|
kind: "media";
|
|
2255
2358
|
} & {
|
|
2256
2359
|
text?: string | undefined;
|
|
2360
|
+
variant?: string | undefined;
|
|
2257
2361
|
}) | ({
|
|
2258
2362
|
__TYPE__: "AnyLink";
|
|
2259
2363
|
} & {
|
|
2260
2364
|
kind: "any";
|
|
2261
2365
|
} & {
|
|
2262
2366
|
text?: string | undefined;
|
|
2367
|
+
variant?: string | undefined;
|
|
2263
2368
|
});
|
|
2264
2369
|
})[];
|
|
2265
2370
|
}][];
|
|
@@ -2400,6 +2505,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2400
2505
|
kind: "image";
|
|
2401
2506
|
}) & {
|
|
2402
2507
|
text?: string | undefined;
|
|
2508
|
+
variant?: string | undefined;
|
|
2403
2509
|
})) | ({
|
|
2404
2510
|
__TYPE__: "FileLink";
|
|
2405
2511
|
} & ((({
|
|
@@ -2414,6 +2520,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2414
2520
|
kind: "file";
|
|
2415
2521
|
}) & {
|
|
2416
2522
|
text?: string | undefined;
|
|
2523
|
+
variant?: string | undefined;
|
|
2417
2524
|
})) | ({
|
|
2418
2525
|
__TYPE__: "DocumentLink";
|
|
2419
2526
|
} & (({
|
|
@@ -2422,6 +2529,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2422
2529
|
kind: "document";
|
|
2423
2530
|
}) & {
|
|
2424
2531
|
text?: string | undefined;
|
|
2532
|
+
variant?: string | undefined;
|
|
2425
2533
|
})) | ({
|
|
2426
2534
|
__TYPE__: "ExternalLink";
|
|
2427
2535
|
} & ((({
|
|
@@ -2436,18 +2544,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2436
2544
|
kind: "web";
|
|
2437
2545
|
}) & {
|
|
2438
2546
|
text?: string | undefined;
|
|
2547
|
+
variant?: string | undefined;
|
|
2439
2548
|
})) | ({
|
|
2440
2549
|
__TYPE__: "MediaLink";
|
|
2441
2550
|
} & {
|
|
2442
2551
|
kind: "media";
|
|
2443
2552
|
} & {
|
|
2444
2553
|
text?: string | undefined;
|
|
2554
|
+
variant?: string | undefined;
|
|
2445
2555
|
}) | ({
|
|
2446
2556
|
__TYPE__: "AnyLink";
|
|
2447
2557
|
} & {
|
|
2448
2558
|
kind: "any";
|
|
2449
2559
|
} & {
|
|
2450
2560
|
text?: string | undefined;
|
|
2561
|
+
variant?: string | undefined;
|
|
2451
2562
|
});
|
|
2452
2563
|
}) | {
|
|
2453
2564
|
__TYPE__: "StructuredTextContent";
|
|
@@ -2627,6 +2738,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2627
2738
|
kind: "image";
|
|
2628
2739
|
}) & {
|
|
2629
2740
|
text?: string | undefined;
|
|
2741
|
+
variant?: string | undefined;
|
|
2630
2742
|
})) | ({
|
|
2631
2743
|
__TYPE__: "FileLink";
|
|
2632
2744
|
} & ((({
|
|
@@ -2641,6 +2753,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2641
2753
|
kind: "file";
|
|
2642
2754
|
}) & {
|
|
2643
2755
|
text?: string | undefined;
|
|
2756
|
+
variant?: string | undefined;
|
|
2644
2757
|
})) | ({
|
|
2645
2758
|
__TYPE__: "DocumentLink";
|
|
2646
2759
|
} & (({
|
|
@@ -2649,6 +2762,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2649
2762
|
kind: "document";
|
|
2650
2763
|
}) & {
|
|
2651
2764
|
text?: string | undefined;
|
|
2765
|
+
variant?: string | undefined;
|
|
2652
2766
|
})) | ({
|
|
2653
2767
|
__TYPE__: "ExternalLink";
|
|
2654
2768
|
} & ((({
|
|
@@ -2663,18 +2777,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2663
2777
|
kind: "web";
|
|
2664
2778
|
}) & {
|
|
2665
2779
|
text?: string | undefined;
|
|
2780
|
+
variant?: string | undefined;
|
|
2666
2781
|
})) | ({
|
|
2667
2782
|
__TYPE__: "MediaLink";
|
|
2668
2783
|
} & {
|
|
2669
2784
|
kind: "media";
|
|
2670
2785
|
} & {
|
|
2671
2786
|
text?: string | undefined;
|
|
2787
|
+
variant?: string | undefined;
|
|
2672
2788
|
}) | ({
|
|
2673
2789
|
__TYPE__: "AnyLink";
|
|
2674
2790
|
} & {
|
|
2675
2791
|
kind: "any";
|
|
2676
2792
|
} & {
|
|
2677
2793
|
text?: string | undefined;
|
|
2794
|
+
variant?: string | undefined;
|
|
2678
2795
|
});
|
|
2679
2796
|
})[];
|
|
2680
2797
|
};
|
|
@@ -2813,6 +2930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2813
2930
|
kind: "image";
|
|
2814
2931
|
}) & {
|
|
2815
2932
|
text?: string | undefined;
|
|
2933
|
+
variant?: string | undefined;
|
|
2816
2934
|
})) | ({
|
|
2817
2935
|
__TYPE__: "FileLink";
|
|
2818
2936
|
} & ((({
|
|
@@ -2827,6 +2945,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2827
2945
|
kind: "file";
|
|
2828
2946
|
}) & {
|
|
2829
2947
|
text?: string | undefined;
|
|
2948
|
+
variant?: string | undefined;
|
|
2830
2949
|
})) | ({
|
|
2831
2950
|
__TYPE__: "DocumentLink";
|
|
2832
2951
|
} & (({
|
|
@@ -2835,6 +2954,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2835
2954
|
kind: "document";
|
|
2836
2955
|
}) & {
|
|
2837
2956
|
text?: string | undefined;
|
|
2957
|
+
variant?: string | undefined;
|
|
2838
2958
|
})) | ({
|
|
2839
2959
|
__TYPE__: "ExternalLink";
|
|
2840
2960
|
} & ((({
|
|
@@ -2849,18 +2969,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2849
2969
|
kind: "web";
|
|
2850
2970
|
}) & {
|
|
2851
2971
|
text?: string | undefined;
|
|
2972
|
+
variant?: string | undefined;
|
|
2852
2973
|
})) | ({
|
|
2853
2974
|
__TYPE__: "MediaLink";
|
|
2854
2975
|
} & {
|
|
2855
2976
|
kind: "media";
|
|
2856
2977
|
} & {
|
|
2857
2978
|
text?: string | undefined;
|
|
2979
|
+
variant?: string | undefined;
|
|
2858
2980
|
}) | ({
|
|
2859
2981
|
__TYPE__: "AnyLink";
|
|
2860
2982
|
} & {
|
|
2861
2983
|
kind: "any";
|
|
2862
2984
|
} & {
|
|
2863
2985
|
text?: string | undefined;
|
|
2986
|
+
variant?: string | undefined;
|
|
2864
2987
|
});
|
|
2865
2988
|
}) | {
|
|
2866
2989
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3040,6 +3163,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3040
3163
|
kind: "image";
|
|
3041
3164
|
}) & {
|
|
3042
3165
|
text?: string | undefined;
|
|
3166
|
+
variant?: string | undefined;
|
|
3043
3167
|
})) | ({
|
|
3044
3168
|
__TYPE__: "FileLink";
|
|
3045
3169
|
} & ((({
|
|
@@ -3054,6 +3178,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3054
3178
|
kind: "file";
|
|
3055
3179
|
}) & {
|
|
3056
3180
|
text?: string | undefined;
|
|
3181
|
+
variant?: string | undefined;
|
|
3057
3182
|
})) | ({
|
|
3058
3183
|
__TYPE__: "DocumentLink";
|
|
3059
3184
|
} & (({
|
|
@@ -3062,6 +3187,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3062
3187
|
kind: "document";
|
|
3063
3188
|
}) & {
|
|
3064
3189
|
text?: string | undefined;
|
|
3190
|
+
variant?: string | undefined;
|
|
3065
3191
|
})) | ({
|
|
3066
3192
|
__TYPE__: "ExternalLink";
|
|
3067
3193
|
} & ((({
|
|
@@ -3076,18 +3202,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3076
3202
|
kind: "web";
|
|
3077
3203
|
}) & {
|
|
3078
3204
|
text?: string | undefined;
|
|
3205
|
+
variant?: string | undefined;
|
|
3079
3206
|
})) | ({
|
|
3080
3207
|
__TYPE__: "MediaLink";
|
|
3081
3208
|
} & {
|
|
3082
3209
|
kind: "media";
|
|
3083
3210
|
} & {
|
|
3084
3211
|
text?: string | undefined;
|
|
3212
|
+
variant?: string | undefined;
|
|
3085
3213
|
}) | ({
|
|
3086
3214
|
__TYPE__: "AnyLink";
|
|
3087
3215
|
} & {
|
|
3088
3216
|
kind: "any";
|
|
3089
3217
|
} & {
|
|
3090
3218
|
text?: string | undefined;
|
|
3219
|
+
variant?: string | undefined;
|
|
3091
3220
|
});
|
|
3092
3221
|
})[];
|
|
3093
3222
|
}][];
|
|
@@ -3224,6 +3353,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3224
3353
|
kind: "image";
|
|
3225
3354
|
}) & {
|
|
3226
3355
|
text?: string | undefined;
|
|
3356
|
+
variant?: string | undefined;
|
|
3227
3357
|
})) | ({
|
|
3228
3358
|
__TYPE__: "FileLink";
|
|
3229
3359
|
} & ((({
|
|
@@ -3238,6 +3368,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3238
3368
|
kind: "file";
|
|
3239
3369
|
}) & {
|
|
3240
3370
|
text?: string | undefined;
|
|
3371
|
+
variant?: string | undefined;
|
|
3241
3372
|
})) | ({
|
|
3242
3373
|
__TYPE__: "DocumentLink";
|
|
3243
3374
|
} & (({
|
|
@@ -3246,6 +3377,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3246
3377
|
kind: "document";
|
|
3247
3378
|
}) & {
|
|
3248
3379
|
text?: string | undefined;
|
|
3380
|
+
variant?: string | undefined;
|
|
3249
3381
|
})) | ({
|
|
3250
3382
|
__TYPE__: "ExternalLink";
|
|
3251
3383
|
} & ((({
|
|
@@ -3260,18 +3392,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3260
3392
|
kind: "web";
|
|
3261
3393
|
}) & {
|
|
3262
3394
|
text?: string | undefined;
|
|
3395
|
+
variant?: string | undefined;
|
|
3263
3396
|
})) | ({
|
|
3264
3397
|
__TYPE__: "MediaLink";
|
|
3265
3398
|
} & {
|
|
3266
3399
|
kind: "media";
|
|
3267
3400
|
} & {
|
|
3268
3401
|
text?: string | undefined;
|
|
3402
|
+
variant?: string | undefined;
|
|
3269
3403
|
}) | ({
|
|
3270
3404
|
__TYPE__: "AnyLink";
|
|
3271
3405
|
} & {
|
|
3272
3406
|
kind: "any";
|
|
3273
3407
|
} & {
|
|
3274
3408
|
text?: string | undefined;
|
|
3409
|
+
variant?: string | undefined;
|
|
3275
3410
|
});
|
|
3276
3411
|
}) | {
|
|
3277
3412
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3451,6 +3586,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3451
3586
|
kind: "image";
|
|
3452
3587
|
}) & {
|
|
3453
3588
|
text?: string | undefined;
|
|
3589
|
+
variant?: string | undefined;
|
|
3454
3590
|
})) | ({
|
|
3455
3591
|
__TYPE__: "FileLink";
|
|
3456
3592
|
} & ((({
|
|
@@ -3465,6 +3601,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3465
3601
|
kind: "file";
|
|
3466
3602
|
}) & {
|
|
3467
3603
|
text?: string | undefined;
|
|
3604
|
+
variant?: string | undefined;
|
|
3468
3605
|
})) | ({
|
|
3469
3606
|
__TYPE__: "DocumentLink";
|
|
3470
3607
|
} & (({
|
|
@@ -3473,6 +3610,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3473
3610
|
kind: "document";
|
|
3474
3611
|
}) & {
|
|
3475
3612
|
text?: string | undefined;
|
|
3613
|
+
variant?: string | undefined;
|
|
3476
3614
|
})) | ({
|
|
3477
3615
|
__TYPE__: "ExternalLink";
|
|
3478
3616
|
} & ((({
|
|
@@ -3487,18 +3625,21 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3487
3625
|
kind: "web";
|
|
3488
3626
|
}) & {
|
|
3489
3627
|
text?: string | undefined;
|
|
3628
|
+
variant?: string | undefined;
|
|
3490
3629
|
})) | ({
|
|
3491
3630
|
__TYPE__: "MediaLink";
|
|
3492
3631
|
} & {
|
|
3493
3632
|
kind: "media";
|
|
3494
3633
|
} & {
|
|
3495
3634
|
text?: string | undefined;
|
|
3635
|
+
variant?: string | undefined;
|
|
3496
3636
|
}) | ({
|
|
3497
3637
|
__TYPE__: "AnyLink";
|
|
3498
3638
|
} & {
|
|
3499
3639
|
kind: "any";
|
|
3500
3640
|
} & {
|
|
3501
3641
|
text?: string | undefined;
|
|
3642
|
+
variant?: string | undefined;
|
|
3502
3643
|
});
|
|
3503
3644
|
})[];
|
|
3504
3645
|
};
|
|
@@ -3506,7 +3647,6 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3506
3647
|
};
|
|
3507
3648
|
}, unknown>;
|
|
3508
3649
|
export declare function makeGetDocumentsQueryString(searchDocumentParams: SearchDocumentParams): string;
|
|
3509
|
-
export declare function getEnrichedSearchDocuments(baseUrl: URL, authStrategy: AuthStrategy, searchDocuments: DocumentFullTextSearchApi["results"]): Promise<DocumentMeta[]>;
|
|
3510
3650
|
export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
3511
3651
|
key: string;
|
|
3512
3652
|
name: string;
|
|
@@ -3646,6 +3786,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3646
3786
|
kind: "image";
|
|
3647
3787
|
}) & {
|
|
3648
3788
|
text?: string | undefined;
|
|
3789
|
+
variant?: string | undefined;
|
|
3649
3790
|
})) | ({
|
|
3650
3791
|
__TYPE__: "FileLink";
|
|
3651
3792
|
} & ((({
|
|
@@ -3660,6 +3801,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3660
3801
|
kind: "file";
|
|
3661
3802
|
}) & {
|
|
3662
3803
|
text?: string | undefined;
|
|
3804
|
+
variant?: string | undefined;
|
|
3663
3805
|
})) | ({
|
|
3664
3806
|
__TYPE__: "DocumentLink";
|
|
3665
3807
|
} & (({
|
|
@@ -3668,6 +3810,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3668
3810
|
kind: "document";
|
|
3669
3811
|
}) & {
|
|
3670
3812
|
text?: string | undefined;
|
|
3813
|
+
variant?: string | undefined;
|
|
3671
3814
|
})) | ({
|
|
3672
3815
|
__TYPE__: "ExternalLink";
|
|
3673
3816
|
} & ((({
|
|
@@ -3682,18 +3825,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3682
3825
|
kind: "web";
|
|
3683
3826
|
}) & {
|
|
3684
3827
|
text?: string | undefined;
|
|
3828
|
+
variant?: string | undefined;
|
|
3685
3829
|
})) | ({
|
|
3686
3830
|
__TYPE__: "MediaLink";
|
|
3687
3831
|
} & {
|
|
3688
3832
|
kind: "media";
|
|
3689
3833
|
} & {
|
|
3690
3834
|
text?: string | undefined;
|
|
3835
|
+
variant?: string | undefined;
|
|
3691
3836
|
}) | ({
|
|
3692
3837
|
__TYPE__: "AnyLink";
|
|
3693
3838
|
} & {
|
|
3694
3839
|
kind: "any";
|
|
3695
3840
|
} & {
|
|
3696
3841
|
text?: string | undefined;
|
|
3842
|
+
variant?: string | undefined;
|
|
3697
3843
|
});
|
|
3698
3844
|
}) | {
|
|
3699
3845
|
__TYPE__: "StructuredTextContent";
|
|
@@ -3873,6 +4019,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3873
4019
|
kind: "image";
|
|
3874
4020
|
}) & {
|
|
3875
4021
|
text?: string | undefined;
|
|
4022
|
+
variant?: string | undefined;
|
|
3876
4023
|
})) | ({
|
|
3877
4024
|
__TYPE__: "FileLink";
|
|
3878
4025
|
} & ((({
|
|
@@ -3887,6 +4034,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3887
4034
|
kind: "file";
|
|
3888
4035
|
}) & {
|
|
3889
4036
|
text?: string | undefined;
|
|
4037
|
+
variant?: string | undefined;
|
|
3890
4038
|
})) | ({
|
|
3891
4039
|
__TYPE__: "DocumentLink";
|
|
3892
4040
|
} & (({
|
|
@@ -3895,6 +4043,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3895
4043
|
kind: "document";
|
|
3896
4044
|
}) & {
|
|
3897
4045
|
text?: string | undefined;
|
|
4046
|
+
variant?: string | undefined;
|
|
3898
4047
|
})) | ({
|
|
3899
4048
|
__TYPE__: "ExternalLink";
|
|
3900
4049
|
} & ((({
|
|
@@ -3909,18 +4058,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3909
4058
|
kind: "web";
|
|
3910
4059
|
}) & {
|
|
3911
4060
|
text?: string | undefined;
|
|
4061
|
+
variant?: string | undefined;
|
|
3912
4062
|
})) | ({
|
|
3913
4063
|
__TYPE__: "MediaLink";
|
|
3914
4064
|
} & {
|
|
3915
4065
|
kind: "media";
|
|
3916
4066
|
} & {
|
|
3917
4067
|
text?: string | undefined;
|
|
4068
|
+
variant?: string | undefined;
|
|
3918
4069
|
}) | ({
|
|
3919
4070
|
__TYPE__: "AnyLink";
|
|
3920
4071
|
} & {
|
|
3921
4072
|
kind: "any";
|
|
3922
4073
|
} & {
|
|
3923
4074
|
text?: string | undefined;
|
|
4075
|
+
variant?: string | undefined;
|
|
3924
4076
|
});
|
|
3925
4077
|
})[];
|
|
3926
4078
|
};
|
|
@@ -4059,6 +4211,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4059
4211
|
kind: "image";
|
|
4060
4212
|
}) & {
|
|
4061
4213
|
text?: string | undefined;
|
|
4214
|
+
variant?: string | undefined;
|
|
4062
4215
|
})) | ({
|
|
4063
4216
|
__TYPE__: "FileLink";
|
|
4064
4217
|
} & ((({
|
|
@@ -4073,6 +4226,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4073
4226
|
kind: "file";
|
|
4074
4227
|
}) & {
|
|
4075
4228
|
text?: string | undefined;
|
|
4229
|
+
variant?: string | undefined;
|
|
4076
4230
|
})) | ({
|
|
4077
4231
|
__TYPE__: "DocumentLink";
|
|
4078
4232
|
} & (({
|
|
@@ -4081,6 +4235,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4081
4235
|
kind: "document";
|
|
4082
4236
|
}) & {
|
|
4083
4237
|
text?: string | undefined;
|
|
4238
|
+
variant?: string | undefined;
|
|
4084
4239
|
})) | ({
|
|
4085
4240
|
__TYPE__: "ExternalLink";
|
|
4086
4241
|
} & ((({
|
|
@@ -4095,18 +4250,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4095
4250
|
kind: "web";
|
|
4096
4251
|
}) & {
|
|
4097
4252
|
text?: string | undefined;
|
|
4253
|
+
variant?: string | undefined;
|
|
4098
4254
|
})) | ({
|
|
4099
4255
|
__TYPE__: "MediaLink";
|
|
4100
4256
|
} & {
|
|
4101
4257
|
kind: "media";
|
|
4102
4258
|
} & {
|
|
4103
4259
|
text?: string | undefined;
|
|
4260
|
+
variant?: string | undefined;
|
|
4104
4261
|
}) | ({
|
|
4105
4262
|
__TYPE__: "AnyLink";
|
|
4106
4263
|
} & {
|
|
4107
4264
|
kind: "any";
|
|
4108
4265
|
} & {
|
|
4109
4266
|
text?: string | undefined;
|
|
4267
|
+
variant?: string | undefined;
|
|
4110
4268
|
});
|
|
4111
4269
|
}) | {
|
|
4112
4270
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4286,6 +4444,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4286
4444
|
kind: "image";
|
|
4287
4445
|
}) & {
|
|
4288
4446
|
text?: string | undefined;
|
|
4447
|
+
variant?: string | undefined;
|
|
4289
4448
|
})) | ({
|
|
4290
4449
|
__TYPE__: "FileLink";
|
|
4291
4450
|
} & ((({
|
|
@@ -4300,6 +4459,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4300
4459
|
kind: "file";
|
|
4301
4460
|
}) & {
|
|
4302
4461
|
text?: string | undefined;
|
|
4462
|
+
variant?: string | undefined;
|
|
4303
4463
|
})) | ({
|
|
4304
4464
|
__TYPE__: "DocumentLink";
|
|
4305
4465
|
} & (({
|
|
@@ -4308,6 +4468,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4308
4468
|
kind: "document";
|
|
4309
4469
|
}) & {
|
|
4310
4470
|
text?: string | undefined;
|
|
4471
|
+
variant?: string | undefined;
|
|
4311
4472
|
})) | ({
|
|
4312
4473
|
__TYPE__: "ExternalLink";
|
|
4313
4474
|
} & ((({
|
|
@@ -4322,18 +4483,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4322
4483
|
kind: "web";
|
|
4323
4484
|
}) & {
|
|
4324
4485
|
text?: string | undefined;
|
|
4486
|
+
variant?: string | undefined;
|
|
4325
4487
|
})) | ({
|
|
4326
4488
|
__TYPE__: "MediaLink";
|
|
4327
4489
|
} & {
|
|
4328
4490
|
kind: "media";
|
|
4329
4491
|
} & {
|
|
4330
4492
|
text?: string | undefined;
|
|
4493
|
+
variant?: string | undefined;
|
|
4331
4494
|
}) | ({
|
|
4332
4495
|
__TYPE__: "AnyLink";
|
|
4333
4496
|
} & {
|
|
4334
4497
|
kind: "any";
|
|
4335
4498
|
} & {
|
|
4336
4499
|
text?: string | undefined;
|
|
4500
|
+
variant?: string | undefined;
|
|
4337
4501
|
});
|
|
4338
4502
|
})[];
|
|
4339
4503
|
}][];
|
|
@@ -4474,6 +4638,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4474
4638
|
kind: "image";
|
|
4475
4639
|
}) & {
|
|
4476
4640
|
text?: string | undefined;
|
|
4641
|
+
variant?: string | undefined;
|
|
4477
4642
|
})) | ({
|
|
4478
4643
|
__TYPE__: "FileLink";
|
|
4479
4644
|
} & ((({
|
|
@@ -4488,6 +4653,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4488
4653
|
kind: "file";
|
|
4489
4654
|
}) & {
|
|
4490
4655
|
text?: string | undefined;
|
|
4656
|
+
variant?: string | undefined;
|
|
4491
4657
|
})) | ({
|
|
4492
4658
|
__TYPE__: "DocumentLink";
|
|
4493
4659
|
} & (({
|
|
@@ -4496,6 +4662,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4496
4662
|
kind: "document";
|
|
4497
4663
|
}) & {
|
|
4498
4664
|
text?: string | undefined;
|
|
4665
|
+
variant?: string | undefined;
|
|
4499
4666
|
})) | ({
|
|
4500
4667
|
__TYPE__: "ExternalLink";
|
|
4501
4668
|
} & ((({
|
|
@@ -4510,18 +4677,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4510
4677
|
kind: "web";
|
|
4511
4678
|
}) & {
|
|
4512
4679
|
text?: string | undefined;
|
|
4680
|
+
variant?: string | undefined;
|
|
4513
4681
|
})) | ({
|
|
4514
4682
|
__TYPE__: "MediaLink";
|
|
4515
4683
|
} & {
|
|
4516
4684
|
kind: "media";
|
|
4517
4685
|
} & {
|
|
4518
4686
|
text?: string | undefined;
|
|
4687
|
+
variant?: string | undefined;
|
|
4519
4688
|
}) | ({
|
|
4520
4689
|
__TYPE__: "AnyLink";
|
|
4521
4690
|
} & {
|
|
4522
4691
|
kind: "any";
|
|
4523
4692
|
} & {
|
|
4524
4693
|
text?: string | undefined;
|
|
4694
|
+
variant?: string | undefined;
|
|
4525
4695
|
});
|
|
4526
4696
|
}) | {
|
|
4527
4697
|
__TYPE__: "StructuredTextContent";
|
|
@@ -4701,6 +4871,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4701
4871
|
kind: "image";
|
|
4702
4872
|
}) & {
|
|
4703
4873
|
text?: string | undefined;
|
|
4874
|
+
variant?: string | undefined;
|
|
4704
4875
|
})) | ({
|
|
4705
4876
|
__TYPE__: "FileLink";
|
|
4706
4877
|
} & ((({
|
|
@@ -4715,6 +4886,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4715
4886
|
kind: "file";
|
|
4716
4887
|
}) & {
|
|
4717
4888
|
text?: string | undefined;
|
|
4889
|
+
variant?: string | undefined;
|
|
4718
4890
|
})) | ({
|
|
4719
4891
|
__TYPE__: "DocumentLink";
|
|
4720
4892
|
} & (({
|
|
@@ -4723,6 +4895,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4723
4895
|
kind: "document";
|
|
4724
4896
|
}) & {
|
|
4725
4897
|
text?: string | undefined;
|
|
4898
|
+
variant?: string | undefined;
|
|
4726
4899
|
})) | ({
|
|
4727
4900
|
__TYPE__: "ExternalLink";
|
|
4728
4901
|
} & ((({
|
|
@@ -4737,18 +4910,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4737
4910
|
kind: "web";
|
|
4738
4911
|
}) & {
|
|
4739
4912
|
text?: string | undefined;
|
|
4913
|
+
variant?: string | undefined;
|
|
4740
4914
|
})) | ({
|
|
4741
4915
|
__TYPE__: "MediaLink";
|
|
4742
4916
|
} & {
|
|
4743
4917
|
kind: "media";
|
|
4744
4918
|
} & {
|
|
4745
4919
|
text?: string | undefined;
|
|
4920
|
+
variant?: string | undefined;
|
|
4746
4921
|
}) | ({
|
|
4747
4922
|
__TYPE__: "AnyLink";
|
|
4748
4923
|
} & {
|
|
4749
4924
|
kind: "any";
|
|
4750
4925
|
} & {
|
|
4751
4926
|
text?: string | undefined;
|
|
4927
|
+
variant?: string | undefined;
|
|
4752
4928
|
});
|
|
4753
4929
|
})[];
|
|
4754
4930
|
};
|
|
@@ -4887,6 +5063,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4887
5063
|
kind: "image";
|
|
4888
5064
|
}) & {
|
|
4889
5065
|
text?: string | undefined;
|
|
5066
|
+
variant?: string | undefined;
|
|
4890
5067
|
})) | ({
|
|
4891
5068
|
__TYPE__: "FileLink";
|
|
4892
5069
|
} & ((({
|
|
@@ -4901,6 +5078,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4901
5078
|
kind: "file";
|
|
4902
5079
|
}) & {
|
|
4903
5080
|
text?: string | undefined;
|
|
5081
|
+
variant?: string | undefined;
|
|
4904
5082
|
})) | ({
|
|
4905
5083
|
__TYPE__: "DocumentLink";
|
|
4906
5084
|
} & (({
|
|
@@ -4909,6 +5087,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4909
5087
|
kind: "document";
|
|
4910
5088
|
}) & {
|
|
4911
5089
|
text?: string | undefined;
|
|
5090
|
+
variant?: string | undefined;
|
|
4912
5091
|
})) | ({
|
|
4913
5092
|
__TYPE__: "ExternalLink";
|
|
4914
5093
|
} & ((({
|
|
@@ -4923,18 +5102,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4923
5102
|
kind: "web";
|
|
4924
5103
|
}) & {
|
|
4925
5104
|
text?: string | undefined;
|
|
5105
|
+
variant?: string | undefined;
|
|
4926
5106
|
})) | ({
|
|
4927
5107
|
__TYPE__: "MediaLink";
|
|
4928
5108
|
} & {
|
|
4929
5109
|
kind: "media";
|
|
4930
5110
|
} & {
|
|
4931
5111
|
text?: string | undefined;
|
|
5112
|
+
variant?: string | undefined;
|
|
4932
5113
|
}) | ({
|
|
4933
5114
|
__TYPE__: "AnyLink";
|
|
4934
5115
|
} & {
|
|
4935
5116
|
kind: "any";
|
|
4936
5117
|
} & {
|
|
4937
5118
|
text?: string | undefined;
|
|
5119
|
+
variant?: string | undefined;
|
|
4938
5120
|
});
|
|
4939
5121
|
}) | {
|
|
4940
5122
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5114,6 +5296,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5114
5296
|
kind: "image";
|
|
5115
5297
|
}) & {
|
|
5116
5298
|
text?: string | undefined;
|
|
5299
|
+
variant?: string | undefined;
|
|
5117
5300
|
})) | ({
|
|
5118
5301
|
__TYPE__: "FileLink";
|
|
5119
5302
|
} & ((({
|
|
@@ -5128,6 +5311,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5128
5311
|
kind: "file";
|
|
5129
5312
|
}) & {
|
|
5130
5313
|
text?: string | undefined;
|
|
5314
|
+
variant?: string | undefined;
|
|
5131
5315
|
})) | ({
|
|
5132
5316
|
__TYPE__: "DocumentLink";
|
|
5133
5317
|
} & (({
|
|
@@ -5136,6 +5320,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5136
5320
|
kind: "document";
|
|
5137
5321
|
}) & {
|
|
5138
5322
|
text?: string | undefined;
|
|
5323
|
+
variant?: string | undefined;
|
|
5139
5324
|
})) | ({
|
|
5140
5325
|
__TYPE__: "ExternalLink";
|
|
5141
5326
|
} & ((({
|
|
@@ -5150,18 +5335,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5150
5335
|
kind: "web";
|
|
5151
5336
|
}) & {
|
|
5152
5337
|
text?: string | undefined;
|
|
5338
|
+
variant?: string | undefined;
|
|
5153
5339
|
})) | ({
|
|
5154
5340
|
__TYPE__: "MediaLink";
|
|
5155
5341
|
} & {
|
|
5156
5342
|
kind: "media";
|
|
5157
5343
|
} & {
|
|
5158
5344
|
text?: string | undefined;
|
|
5345
|
+
variant?: string | undefined;
|
|
5159
5346
|
}) | ({
|
|
5160
5347
|
__TYPE__: "AnyLink";
|
|
5161
5348
|
} & {
|
|
5162
5349
|
kind: "any";
|
|
5163
5350
|
} & {
|
|
5164
5351
|
text?: string | undefined;
|
|
5352
|
+
variant?: string | undefined;
|
|
5165
5353
|
});
|
|
5166
5354
|
})[];
|
|
5167
5355
|
}][];
|
|
@@ -5298,6 +5486,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5298
5486
|
kind: "image";
|
|
5299
5487
|
}) & {
|
|
5300
5488
|
text?: string | undefined;
|
|
5489
|
+
variant?: string | undefined;
|
|
5301
5490
|
})) | ({
|
|
5302
5491
|
__TYPE__: "FileLink";
|
|
5303
5492
|
} & ((({
|
|
@@ -5312,6 +5501,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5312
5501
|
kind: "file";
|
|
5313
5502
|
}) & {
|
|
5314
5503
|
text?: string | undefined;
|
|
5504
|
+
variant?: string | undefined;
|
|
5315
5505
|
})) | ({
|
|
5316
5506
|
__TYPE__: "DocumentLink";
|
|
5317
5507
|
} & (({
|
|
@@ -5320,6 +5510,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5320
5510
|
kind: "document";
|
|
5321
5511
|
}) & {
|
|
5322
5512
|
text?: string | undefined;
|
|
5513
|
+
variant?: string | undefined;
|
|
5323
5514
|
})) | ({
|
|
5324
5515
|
__TYPE__: "ExternalLink";
|
|
5325
5516
|
} & ((({
|
|
@@ -5334,18 +5525,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5334
5525
|
kind: "web";
|
|
5335
5526
|
}) & {
|
|
5336
5527
|
text?: string | undefined;
|
|
5528
|
+
variant?: string | undefined;
|
|
5337
5529
|
})) | ({
|
|
5338
5530
|
__TYPE__: "MediaLink";
|
|
5339
5531
|
} & {
|
|
5340
5532
|
kind: "media";
|
|
5341
5533
|
} & {
|
|
5342
5534
|
text?: string | undefined;
|
|
5535
|
+
variant?: string | undefined;
|
|
5343
5536
|
}) | ({
|
|
5344
5537
|
__TYPE__: "AnyLink";
|
|
5345
5538
|
} & {
|
|
5346
5539
|
kind: "any";
|
|
5347
5540
|
} & {
|
|
5348
5541
|
text?: string | undefined;
|
|
5542
|
+
variant?: string | undefined;
|
|
5349
5543
|
});
|
|
5350
5544
|
}) | {
|
|
5351
5545
|
__TYPE__: "StructuredTextContent";
|
|
@@ -5525,6 +5719,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5525
5719
|
kind: "image";
|
|
5526
5720
|
}) & {
|
|
5527
5721
|
text?: string | undefined;
|
|
5722
|
+
variant?: string | undefined;
|
|
5528
5723
|
})) | ({
|
|
5529
5724
|
__TYPE__: "FileLink";
|
|
5530
5725
|
} & ((({
|
|
@@ -5539,6 +5734,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5539
5734
|
kind: "file";
|
|
5540
5735
|
}) & {
|
|
5541
5736
|
text?: string | undefined;
|
|
5737
|
+
variant?: string | undefined;
|
|
5542
5738
|
})) | ({
|
|
5543
5739
|
__TYPE__: "DocumentLink";
|
|
5544
5740
|
} & (({
|
|
@@ -5547,6 +5743,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5547
5743
|
kind: "document";
|
|
5548
5744
|
}) & {
|
|
5549
5745
|
text?: string | undefined;
|
|
5746
|
+
variant?: string | undefined;
|
|
5550
5747
|
})) | ({
|
|
5551
5748
|
__TYPE__: "ExternalLink";
|
|
5552
5749
|
} & ((({
|
|
@@ -5561,18 +5758,21 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5561
5758
|
kind: "web";
|
|
5562
5759
|
}) & {
|
|
5563
5760
|
text?: string | undefined;
|
|
5761
|
+
variant?: string | undefined;
|
|
5564
5762
|
})) | ({
|
|
5565
5763
|
__TYPE__: "MediaLink";
|
|
5566
5764
|
} & {
|
|
5567
5765
|
kind: "media";
|
|
5568
5766
|
} & {
|
|
5569
5767
|
text?: string | undefined;
|
|
5768
|
+
variant?: string | undefined;
|
|
5570
5769
|
}) | ({
|
|
5571
5770
|
__TYPE__: "AnyLink";
|
|
5572
5771
|
} & {
|
|
5573
5772
|
kind: "any";
|
|
5574
5773
|
} & {
|
|
5575
5774
|
text?: string | undefined;
|
|
5775
|
+
variant?: string | undefined;
|
|
5576
5776
|
});
|
|
5577
5777
|
})[];
|
|
5578
5778
|
};
|