@prismicio/editor-fields 0.4.76-alpha.tree-view-component.1 → 0.4.77-alpha.bump-types-internal.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/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +9 -9
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +1 -1
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +1 -1
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
- package/dist/core/service/document.d.ts +30 -30
- package/dist/core/service/documentSearch.d.ts +5 -5
- package/dist/fields/ImageField/useImageField.d.ts +1 -1
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +1 -1
- package/dist/fields/LinkField/Documents/documentsData.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +1 -1
- package/dist/fields/UIDField.d.ts +1 -0
- package/dist/index.cjs.js +46 -46
- package/dist/index.es.js +13453 -13171
- package/package.json +5 -5
|
@@ -68,8 +68,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
68
68
|
}[];
|
|
69
69
|
last_modified: number;
|
|
70
70
|
filename: string;
|
|
71
|
-
height?: number | undefined;
|
|
72
71
|
notes?: string | undefined;
|
|
72
|
+
height?: number | undefined;
|
|
73
73
|
width?: number | undefined;
|
|
74
74
|
credits?: string | undefined;
|
|
75
75
|
alt?: string | undefined;
|
|
@@ -96,8 +96,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
96
96
|
}[];
|
|
97
97
|
last_modified: number;
|
|
98
98
|
filename: string;
|
|
99
|
-
height?: number | undefined;
|
|
100
99
|
notes?: string | undefined;
|
|
100
|
+
height?: number | undefined;
|
|
101
101
|
width?: number | undefined;
|
|
102
102
|
credits?: string | undefined;
|
|
103
103
|
alt?: string | undefined;
|
|
@@ -183,8 +183,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
183
183
|
}[];
|
|
184
184
|
last_modified: number;
|
|
185
185
|
filename: string;
|
|
186
|
-
height?: number | undefined;
|
|
187
186
|
notes?: string | undefined;
|
|
187
|
+
height?: number | undefined;
|
|
188
188
|
width?: number | undefined;
|
|
189
189
|
credits?: string | undefined;
|
|
190
190
|
alt?: string | undefined;
|
|
@@ -211,8 +211,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
211
211
|
}[];
|
|
212
212
|
last_modified: number;
|
|
213
213
|
filename: string;
|
|
214
|
-
height?: number | undefined;
|
|
215
214
|
notes?: string | undefined;
|
|
215
|
+
height?: number | undefined;
|
|
216
216
|
width?: number | undefined;
|
|
217
217
|
credits?: string | undefined;
|
|
218
218
|
alt?: string | undefined;
|
|
@@ -242,8 +242,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
242
242
|
}[];
|
|
243
243
|
last_modified: number;
|
|
244
244
|
filename: string;
|
|
245
|
-
height?: number | undefined;
|
|
246
245
|
notes?: string | undefined;
|
|
246
|
+
height?: number | undefined;
|
|
247
247
|
width?: number | undefined;
|
|
248
248
|
credits?: string | undefined;
|
|
249
249
|
alt?: string | undefined;
|
|
@@ -274,8 +274,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
274
274
|
}[];
|
|
275
275
|
last_modified: number;
|
|
276
276
|
filename: string;
|
|
277
|
-
height?: number | undefined;
|
|
278
277
|
notes?: string | undefined;
|
|
278
|
+
height?: number | undefined;
|
|
279
279
|
width?: number | undefined;
|
|
280
280
|
credits?: string | undefined;
|
|
281
281
|
alt?: string | undefined;
|
|
@@ -322,8 +322,8 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
|
|
|
322
322
|
}[];
|
|
323
323
|
last_modified: number;
|
|
324
324
|
filename: string;
|
|
325
|
-
height?: number | undefined;
|
|
326
325
|
notes?: string | undefined;
|
|
326
|
+
height?: number | undefined;
|
|
327
327
|
width?: number | undefined;
|
|
328
328
|
credits?: string | undefined;
|
|
329
329
|
alt?: string | undefined;
|
|
@@ -371,8 +371,8 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
|
|
|
371
371
|
}[];
|
|
372
372
|
last_modified: number;
|
|
373
373
|
filename: string;
|
|
374
|
-
height?: number | undefined;
|
|
375
374
|
notes?: string | undefined;
|
|
375
|
+
height?: number | undefined;
|
|
376
376
|
width?: number | undefined;
|
|
377
377
|
credits?: string | undefined;
|
|
378
378
|
alt?: string | undefined;
|
|
@@ -421,8 +421,8 @@ export declare function getMedia(allPages: MediaPage[], keyword: string, assetTy
|
|
|
421
421
|
}[];
|
|
422
422
|
last_modified: number;
|
|
423
423
|
filename: string;
|
|
424
|
-
height?: number | undefined;
|
|
425
424
|
notes?: string | undefined;
|
|
425
|
+
height?: number | undefined;
|
|
426
426
|
width?: number | undefined;
|
|
427
427
|
credits?: string | undefined;
|
|
428
428
|
alt?: string | undefined;
|
|
@@ -51,8 +51,8 @@ export declare function uploadMedia(params: {
|
|
|
51
51
|
}[];
|
|
52
52
|
last_modified: number;
|
|
53
53
|
filename: string;
|
|
54
|
-
height?: number | undefined;
|
|
55
54
|
notes?: string | undefined;
|
|
55
|
+
height?: number | undefined;
|
|
56
56
|
width?: number | undefined;
|
|
57
57
|
credits?: string | undefined;
|
|
58
58
|
alt?: string | undefined;
|
|
@@ -13,8 +13,8 @@ export declare function useSelectedMedia(): {
|
|
|
13
13
|
}[];
|
|
14
14
|
last_modified: number;
|
|
15
15
|
filename: string;
|
|
16
|
-
height?: number | undefined;
|
|
17
16
|
notes?: string | undefined;
|
|
17
|
+
height?: number | undefined;
|
|
18
18
|
width?: number | undefined;
|
|
19
19
|
credits?: string | undefined;
|
|
20
20
|
alt?: string | undefined;
|
|
@@ -16,8 +16,8 @@ declare const unsplashImage: import("zod").ZodObject<{
|
|
|
16
16
|
alt_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
17
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
18
18
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
|
-
height: number;
|
|
20
19
|
description: string | null;
|
|
20
|
+
height: number;
|
|
21
21
|
id: string;
|
|
22
22
|
width: number;
|
|
23
23
|
urls: {
|
|
@@ -26,8 +26,8 @@ declare const unsplashImage: import("zod").ZodObject<{
|
|
|
26
26
|
};
|
|
27
27
|
alt_description?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
height: number;
|
|
30
29
|
description: string | null;
|
|
30
|
+
height: number;
|
|
31
31
|
id: string;
|
|
32
32
|
width: number;
|
|
33
33
|
urls: {
|
|
@@ -54,8 +54,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
54
54
|
alt_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
55
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
56
56
|
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
-
height: number;
|
|
58
57
|
description: string | null;
|
|
58
|
+
height: number;
|
|
59
59
|
id: string;
|
|
60
60
|
width: number;
|
|
61
61
|
urls: {
|
|
@@ -64,8 +64,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
64
64
|
};
|
|
65
65
|
alt_description?: string | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
height: number;
|
|
68
67
|
description: string | null;
|
|
68
|
+
height: number;
|
|
69
69
|
id: string;
|
|
70
70
|
width: number;
|
|
71
71
|
urls: {
|
|
@@ -76,8 +76,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
76
76
|
}>, "many">;
|
|
77
77
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
78
|
results: {
|
|
79
|
-
height: number;
|
|
80
79
|
description: string | null;
|
|
80
|
+
height: number;
|
|
81
81
|
id: string;
|
|
82
82
|
width: number;
|
|
83
83
|
urls: {
|
|
@@ -88,8 +88,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
88
88
|
}[];
|
|
89
89
|
}, {
|
|
90
90
|
results: {
|
|
91
|
-
height: number;
|
|
92
91
|
description: string | null;
|
|
92
|
+
height: number;
|
|
93
93
|
id: string;
|
|
94
94
|
width: number;
|
|
95
95
|
urls: {
|
|
@@ -99,8 +99,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
99
99
|
alt_description?: string | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
}>, {
|
|
102
|
-
height: number;
|
|
103
102
|
description: string | null;
|
|
103
|
+
height: number;
|
|
104
104
|
id: string;
|
|
105
105
|
width: number;
|
|
106
106
|
urls: {
|
|
@@ -110,8 +110,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
110
110
|
alt_description?: string | undefined;
|
|
111
111
|
}[], {
|
|
112
112
|
results: {
|
|
113
|
-
height: number;
|
|
114
113
|
description: string | null;
|
|
114
|
+
height: number;
|
|
115
115
|
id: string;
|
|
116
116
|
width: number;
|
|
117
117
|
urls: {
|
|
@@ -124,8 +124,8 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
124
124
|
export type UnplashSearchApi = TypeOf<typeof unsplashSearchApiType>;
|
|
125
125
|
export type UnsplashImage = TypeOf<typeof unsplashImage>;
|
|
126
126
|
export declare function useUnsplashSearch(baseUrl: URL, term: string): {
|
|
127
|
-
height: number;
|
|
128
127
|
description: string | null;
|
|
128
|
+
height: number;
|
|
129
129
|
id: string;
|
|
130
130
|
width: number;
|
|
131
131
|
urls: {
|
|
@@ -292,12 +292,12 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
292
292
|
preview_summary?: string | undefined;
|
|
293
293
|
}>>, "many">;
|
|
294
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
title: string;
|
|
296
295
|
language: {
|
|
297
296
|
isMaster?: boolean | undefined;
|
|
298
297
|
id: string;
|
|
299
298
|
label: string;
|
|
300
299
|
};
|
|
300
|
+
title: string;
|
|
301
301
|
id: string;
|
|
302
302
|
custom_type_id: string;
|
|
303
303
|
group_lang_id: string;
|
|
@@ -478,12 +478,12 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
478
478
|
preview_summary?: string | undefined;
|
|
479
479
|
}>>, "many">;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
title: string;
|
|
482
481
|
language: {
|
|
483
482
|
isMaster?: boolean | undefined;
|
|
484
483
|
id: string;
|
|
485
484
|
label: string;
|
|
486
485
|
};
|
|
486
|
+
title: string;
|
|
487
487
|
id: string;
|
|
488
488
|
custom_type_id: string;
|
|
489
489
|
group_lang_id: string;
|
|
@@ -550,12 +550,12 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
550
550
|
}>, "many">;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
552
|
results: {
|
|
553
|
-
title: string;
|
|
554
553
|
language: {
|
|
555
554
|
isMaster?: boolean | undefined;
|
|
556
555
|
id: string;
|
|
557
556
|
label: string;
|
|
558
557
|
};
|
|
558
|
+
title: string;
|
|
559
559
|
id: string;
|
|
560
560
|
custom_type_id: string;
|
|
561
561
|
group_lang_id: string;
|
|
@@ -1389,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1389
1389
|
label?: string | null | undefined;
|
|
1390
1390
|
direction?: string | null | undefined;
|
|
1391
1391
|
}) | ({
|
|
1392
|
-
type: "
|
|
1392
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1393
1393
|
content: {
|
|
1394
1394
|
text: string;
|
|
1395
1395
|
} & {
|
|
@@ -1554,7 +1554,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1554
1554
|
label?: string | null | undefined;
|
|
1555
1555
|
direction?: string | null | undefined;
|
|
1556
1556
|
}) | ({
|
|
1557
|
-
type: "
|
|
1557
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1558
1558
|
content: {
|
|
1559
1559
|
text: string;
|
|
1560
1560
|
} & {
|
|
@@ -1990,7 +1990,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1990
1990
|
label?: string | null | undefined;
|
|
1991
1991
|
direction?: string | null | undefined;
|
|
1992
1992
|
}) | ({
|
|
1993
|
-
type: "
|
|
1993
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1994
1994
|
content: {
|
|
1995
1995
|
text: string;
|
|
1996
1996
|
} & {
|
|
@@ -2155,7 +2155,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2155
2155
|
label?: string | null | undefined;
|
|
2156
2156
|
direction?: string | null | undefined;
|
|
2157
2157
|
}) | ({
|
|
2158
|
-
type: "
|
|
2158
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2159
2159
|
content: {
|
|
2160
2160
|
text: string;
|
|
2161
2161
|
} & {
|
|
@@ -2583,7 +2583,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2583
2583
|
label?: string | null | undefined;
|
|
2584
2584
|
direction?: string | null | undefined;
|
|
2585
2585
|
}) | ({
|
|
2586
|
-
type: "
|
|
2586
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2587
2587
|
content: {
|
|
2588
2588
|
text: string;
|
|
2589
2589
|
} & {
|
|
@@ -2745,7 +2745,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2745
2745
|
label?: string | null | undefined;
|
|
2746
2746
|
direction?: string | null | undefined;
|
|
2747
2747
|
}) | ({
|
|
2748
|
-
type: "
|
|
2748
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2749
2749
|
content: {
|
|
2750
2750
|
text: string;
|
|
2751
2751
|
} & {
|
|
@@ -3175,7 +3175,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3175
3175
|
label?: string | null | undefined;
|
|
3176
3176
|
direction?: string | null | undefined;
|
|
3177
3177
|
}) | ({
|
|
3178
|
-
type: "
|
|
3178
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3179
3179
|
content: {
|
|
3180
3180
|
text: string;
|
|
3181
3181
|
} & {
|
|
@@ -3340,7 +3340,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3340
3340
|
label?: string | null | undefined;
|
|
3341
3341
|
direction?: string | null | undefined;
|
|
3342
3342
|
}) | ({
|
|
3343
|
-
type: "
|
|
3343
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3344
3344
|
content: {
|
|
3345
3345
|
text: string;
|
|
3346
3346
|
} & {
|
|
@@ -3768,7 +3768,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3768
3768
|
label?: string | null | undefined;
|
|
3769
3769
|
direction?: string | null | undefined;
|
|
3770
3770
|
}) | ({
|
|
3771
|
-
type: "
|
|
3771
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3772
3772
|
content: {
|
|
3773
3773
|
text: string;
|
|
3774
3774
|
} & {
|
|
@@ -3930,7 +3930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3930
3930
|
label?: string | null | undefined;
|
|
3931
3931
|
direction?: string | null | undefined;
|
|
3932
3932
|
}) | ({
|
|
3933
|
-
type: "
|
|
3933
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3934
3934
|
content: {
|
|
3935
3935
|
text: string;
|
|
3936
3936
|
} & {
|
|
@@ -4356,7 +4356,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4356
4356
|
label?: string | null | undefined;
|
|
4357
4357
|
direction?: string | null | undefined;
|
|
4358
4358
|
}) | ({
|
|
4359
|
-
type: "
|
|
4359
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4360
4360
|
content: {
|
|
4361
4361
|
text: string;
|
|
4362
4362
|
} & {
|
|
@@ -4521,7 +4521,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
4521
4521
|
label?: string | null | undefined;
|
|
4522
4522
|
direction?: string | null | undefined;
|
|
4523
4523
|
}) | ({
|
|
4524
|
-
type: "
|
|
4524
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4525
4525
|
content: {
|
|
4526
4526
|
text: string;
|
|
4527
4527
|
} & {
|
|
@@ -4956,7 +4956,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4956
4956
|
label?: string | null | undefined;
|
|
4957
4957
|
direction?: string | null | undefined;
|
|
4958
4958
|
}) | ({
|
|
4959
|
-
type: "
|
|
4959
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4960
4960
|
content: {
|
|
4961
4961
|
text: string;
|
|
4962
4962
|
} & {
|
|
@@ -5121,7 +5121,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5121
5121
|
label?: string | null | undefined;
|
|
5122
5122
|
direction?: string | null | undefined;
|
|
5123
5123
|
}) | ({
|
|
5124
|
-
type: "
|
|
5124
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5125
5125
|
content: {
|
|
5126
5126
|
text: string;
|
|
5127
5127
|
} & {
|
|
@@ -5549,7 +5549,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5549
5549
|
label?: string | null | undefined;
|
|
5550
5550
|
direction?: string | null | undefined;
|
|
5551
5551
|
}) | ({
|
|
5552
|
-
type: "
|
|
5552
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5553
5553
|
content: {
|
|
5554
5554
|
text: string;
|
|
5555
5555
|
} & {
|
|
@@ -5714,7 +5714,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5714
5714
|
label?: string | null | undefined;
|
|
5715
5715
|
direction?: string | null | undefined;
|
|
5716
5716
|
}) | ({
|
|
5717
|
-
type: "
|
|
5717
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5718
5718
|
content: {
|
|
5719
5719
|
text: string;
|
|
5720
5720
|
} & {
|
|
@@ -6144,7 +6144,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6144
6144
|
label?: string | null | undefined;
|
|
6145
6145
|
direction?: string | null | undefined;
|
|
6146
6146
|
}) | ({
|
|
6147
|
-
type: "
|
|
6147
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6148
6148
|
content: {
|
|
6149
6149
|
text: string;
|
|
6150
6150
|
} & {
|
|
@@ -6309,7 +6309,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6309
6309
|
label?: string | null | undefined;
|
|
6310
6310
|
direction?: string | null | undefined;
|
|
6311
6311
|
}) | ({
|
|
6312
|
-
type: "
|
|
6312
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6313
6313
|
content: {
|
|
6314
6314
|
text: string;
|
|
6315
6315
|
} & {
|
|
@@ -6737,7 +6737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6737
6737
|
label?: string | null | undefined;
|
|
6738
6738
|
direction?: string | null | undefined;
|
|
6739
6739
|
}) | ({
|
|
6740
|
-
type: "
|
|
6740
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6741
6741
|
content: {
|
|
6742
6742
|
text: string;
|
|
6743
6743
|
} & {
|
|
@@ -6902,7 +6902,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
6902
6902
|
label?: string | null | undefined;
|
|
6903
6903
|
direction?: string | null | undefined;
|
|
6904
6904
|
}) | ({
|
|
6905
|
-
type: "
|
|
6905
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
6906
6906
|
content: {
|
|
6907
6907
|
text: string;
|
|
6908
6908
|
} & {
|
|
@@ -7328,7 +7328,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7328
7328
|
label?: string | null | undefined;
|
|
7329
7329
|
direction?: string | null | undefined;
|
|
7330
7330
|
}) | ({
|
|
7331
|
-
type: "
|
|
7331
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7332
7332
|
content: {
|
|
7333
7333
|
text: string;
|
|
7334
7334
|
} & {
|
|
@@ -7493,7 +7493,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
7493
7493
|
label?: string | null | undefined;
|
|
7494
7494
|
direction?: string | null | undefined;
|
|
7495
7495
|
}) | ({
|
|
7496
|
-
type: "
|
|
7496
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7497
7497
|
content: {
|
|
7498
7498
|
text: string;
|
|
7499
7499
|
} & {
|
|
@@ -7654,12 +7654,12 @@ export declare function updateDocumentListData(queryClient: QueryClient, updateF
|
|
|
7654
7654
|
export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
|
|
7655
7655
|
export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
7656
7656
|
results: {
|
|
7657
|
-
title: string;
|
|
7658
7657
|
language: {
|
|
7659
7658
|
isMaster?: boolean | undefined;
|
|
7660
7659
|
id: string;
|
|
7661
7660
|
label: string;
|
|
7662
7661
|
};
|
|
7662
|
+
title: string;
|
|
7663
7663
|
id: string;
|
|
7664
7664
|
custom_type_id: string;
|
|
7665
7665
|
group_lang_id: string;
|
|
@@ -7694,12 +7694,12 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7694
7694
|
}, Error>;
|
|
7695
7695
|
export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
7696
7696
|
results: {
|
|
7697
|
-
title: string;
|
|
7698
7697
|
language: {
|
|
7699
7698
|
isMaster?: boolean | undefined;
|
|
7700
7699
|
id: string;
|
|
7701
7700
|
label: string;
|
|
7702
7701
|
};
|
|
7702
|
+
title: string;
|
|
7703
7703
|
id: string;
|
|
7704
7704
|
custom_type_id: string;
|
|
7705
7705
|
group_lang_id: string;
|
|
@@ -7733,12 +7733,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7733
7733
|
cursor?: string | undefined;
|
|
7734
7734
|
}, Error, {
|
|
7735
7735
|
results: {
|
|
7736
|
-
title: string;
|
|
7737
7736
|
language: {
|
|
7738
7737
|
isMaster?: boolean | undefined;
|
|
7739
7738
|
id: string;
|
|
7740
7739
|
label: string;
|
|
7741
7740
|
};
|
|
7741
|
+
title: string;
|
|
7742
7742
|
id: string;
|
|
7743
7743
|
custom_type_id: string;
|
|
7744
7744
|
group_lang_id: string;
|
|
@@ -7773,12 +7773,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7773
7773
|
}, readonly ["documents", "list", GetDocumentListArgs]> & {
|
|
7774
7774
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
7775
7775
|
results: {
|
|
7776
|
-
title: string;
|
|
7777
7776
|
language: {
|
|
7778
7777
|
isMaster?: boolean | undefined;
|
|
7779
7778
|
id: string;
|
|
7780
7779
|
label: string;
|
|
7781
7780
|
};
|
|
7781
|
+
title: string;
|
|
7782
7782
|
id: string;
|
|
7783
7783
|
custom_type_id: string;
|
|
7784
7784
|
group_lang_id: string;
|
|
@@ -7814,12 +7814,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7814
7814
|
} & {
|
|
7815
7815
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
|
|
7816
7816
|
results: {
|
|
7817
|
-
title: string;
|
|
7818
7817
|
language: {
|
|
7819
7818
|
isMaster?: boolean | undefined;
|
|
7820
7819
|
id: string;
|
|
7821
7820
|
label: string;
|
|
7822
7821
|
};
|
|
7822
|
+
title: string;
|
|
7823
7823
|
id: string;
|
|
7824
7824
|
custom_type_id: string;
|
|
7825
7825
|
group_lang_id: string;
|
|
@@ -20,12 +20,12 @@ interface SearchDocumentsArgs {
|
|
|
20
20
|
}
|
|
21
21
|
export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
22
22
|
results: {
|
|
23
|
-
title: string;
|
|
24
23
|
language: {
|
|
25
24
|
isMaster?: boolean | undefined;
|
|
26
25
|
id: string;
|
|
27
26
|
label: string;
|
|
28
27
|
};
|
|
28
|
+
title: string;
|
|
29
29
|
id: string;
|
|
30
30
|
custom_type_id: string;
|
|
31
31
|
group_lang_id: string;
|
|
@@ -101,12 +101,12 @@ interface SearchDocumentsQueryOptionsArgs {
|
|
|
101
101
|
}
|
|
102
102
|
export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
103
103
|
results: {
|
|
104
|
-
title: string;
|
|
105
104
|
language: {
|
|
106
105
|
isMaster?: boolean | undefined;
|
|
107
106
|
id: string;
|
|
108
107
|
label: string;
|
|
109
108
|
};
|
|
109
|
+
title: string;
|
|
110
110
|
id: string;
|
|
111
111
|
custom_type_id: string;
|
|
112
112
|
group_lang_id: string;
|
|
@@ -168,12 +168,12 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
168
168
|
}[];
|
|
169
169
|
}, Error, {
|
|
170
170
|
results: {
|
|
171
|
-
title: string;
|
|
172
171
|
language: {
|
|
173
172
|
isMaster?: boolean | undefined;
|
|
174
173
|
id: string;
|
|
175
174
|
label: string;
|
|
176
175
|
};
|
|
176
|
+
title: string;
|
|
177
177
|
id: string;
|
|
178
178
|
custom_type_id: string;
|
|
179
179
|
group_lang_id: string;
|
|
@@ -251,12 +251,12 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
251
251
|
}]> & {
|
|
252
252
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
253
253
|
results: {
|
|
254
|
-
title: string;
|
|
255
254
|
language: {
|
|
256
255
|
isMaster?: boolean | undefined;
|
|
257
256
|
id: string;
|
|
258
257
|
label: string;
|
|
259
258
|
};
|
|
259
|
+
title: string;
|
|
260
260
|
id: string;
|
|
261
261
|
custom_type_id: string;
|
|
262
262
|
group_lang_id: string;
|
|
@@ -335,12 +335,12 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
335
335
|
} | undefined;
|
|
336
336
|
}], {
|
|
337
337
|
results: {
|
|
338
|
-
title: string;
|
|
339
338
|
language: {
|
|
340
339
|
isMaster?: boolean | undefined;
|
|
341
340
|
id: string;
|
|
342
341
|
label: string;
|
|
343
342
|
};
|
|
343
|
+
title: string;
|
|
344
344
|
id: string;
|
|
345
345
|
custom_type_id: string;
|
|
346
346
|
group_lang_id: string;
|
|
@@ -102,8 +102,8 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
102
102
|
}[];
|
|
103
103
|
last_modified: number;
|
|
104
104
|
filename: string;
|
|
105
|
-
height?: number | undefined;
|
|
106
105
|
notes?: string | undefined;
|
|
106
|
+
height?: number | undefined;
|
|
107
107
|
width?: number | undefined;
|
|
108
108
|
credits?: string | undefined;
|
|
109
109
|
alt?: string | undefined;
|
|
@@ -18,8 +18,8 @@ export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadA
|
|
|
18
18
|
}[];
|
|
19
19
|
last_modified: number;
|
|
20
20
|
filename: string;
|
|
21
|
-
height?: number | undefined;
|
|
22
21
|
notes?: string | undefined;
|
|
22
|
+
height?: number | undefined;
|
|
23
23
|
width?: number | undefined;
|
|
24
24
|
credits?: string | undefined;
|
|
25
25
|
alt?: string | undefined;
|
|
@@ -52,12 +52,12 @@ export declare function useDocuments(params: {
|
|
|
52
52
|
uid?: string | undefined;
|
|
53
53
|
} | undefined;
|
|
54
54
|
}))[];
|
|
55
|
-
title: string;
|
|
56
55
|
language: {
|
|
57
56
|
isMaster?: boolean | undefined;
|
|
58
57
|
id: string;
|
|
59
58
|
label: string;
|
|
60
59
|
};
|
|
60
|
+
title: string;
|
|
61
61
|
id: string;
|
|
62
62
|
custom_type_id: string;
|
|
63
63
|
group_lang_id: string;
|
|
@@ -11,7 +11,7 @@ interface useLinkFieldParams {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function useLinkField(params: useLinkFieldParams): {
|
|
13
13
|
contentType: "ImageLink" | "FileLink" | "DocumentLink" | "ExternalLink" | "MediaLink" | "AnyLink" | undefined;
|
|
14
|
-
selectType: "
|
|
14
|
+
selectType: "any" | "document" | "web" | "media" | undefined;
|
|
15
15
|
fieldValue: string;
|
|
16
16
|
onDisplayTextChange: (displayText: string) => void;
|
|
17
17
|
onValueChange: (value: string, options?: {
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
component: import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>;
|
|
4
4
|
converter: {
|
|
5
5
|
fromPrismic(schema: Schema<any, any>): (list: {
|
|
6
|
-
type: "
|
|
6
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
7
7
|
content: {
|
|
8
8
|
text: string;
|
|
9
9
|
} & {
|
|
@@ -64,7 +64,7 @@ declare const _default: {
|
|
|
64
64
|
direction?: string | undefined;
|
|
65
65
|
}) => ProsemirrorNode | undefined;
|
|
66
66
|
toPrismic(node: ProsemirrorNode, nodeType: "list-item" | "o-list-item"): readonly ({
|
|
67
|
-
type: "
|
|
67
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
68
68
|
content: {
|
|
69
69
|
text: string;
|
|
70
70
|
} & {
|