@prismicio/editor-fields 0.4.52-jp-onboarding-guide-triggers-highlight → 0.4.52
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 +34 -34
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +3 -3
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +3 -3
- package/dist/core/service/document.d.ts +24 -24
- package/dist/core/service/repository.d.ts +1 -1
- package/dist/fields/LinkField/Documents/DocumentCard.d.ts +1 -0
- package/dist/fields/LinkField/Documents/DocumentsModal.d.ts +5 -4
- package/dist/fields/LinkField/Documents/documentsData.d.ts +2 -2
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/index.cjs.js +34 -34
- package/dist/index.es.js +14108 -13998
- package/package.json +4 -4
|
@@ -66,7 +66,6 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
66
66
|
}>;
|
|
67
67
|
uid: z.ZodOptional<z.ZodString>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
tags: string[];
|
|
70
69
|
author: {
|
|
71
70
|
first_name?: string | undefined;
|
|
72
71
|
last_name?: string | undefined;
|
|
@@ -74,13 +73,13 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
74
73
|
uploadedAvatar?: string | undefined;
|
|
75
74
|
};
|
|
76
75
|
version_id: string;
|
|
76
|
+
tags: string[];
|
|
77
77
|
custom_type_label: string;
|
|
78
78
|
last_modified_date: Date;
|
|
79
79
|
preview_summary?: string | undefined;
|
|
80
80
|
preview_image?: string | undefined;
|
|
81
81
|
uid?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
tags: string[];
|
|
84
83
|
author: {
|
|
85
84
|
first_name?: string | undefined;
|
|
86
85
|
last_name?: string | undefined;
|
|
@@ -88,6 +87,7 @@ declare const documentVersionOkType: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
88
87
|
uploadedAvatar?: string | undefined;
|
|
89
88
|
};
|
|
90
89
|
version_id: string;
|
|
90
|
+
tags: string[];
|
|
91
91
|
custom_type_label: string;
|
|
92
92
|
last_modified_date: Date;
|
|
93
93
|
preview_summary?: string | undefined;
|
|
@@ -164,7 +164,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
164
164
|
}>;
|
|
165
165
|
uid: z.ZodOptional<z.ZodString>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
tags: string[];
|
|
168
167
|
author: {
|
|
169
168
|
first_name?: string | undefined;
|
|
170
169
|
last_name?: string | undefined;
|
|
@@ -172,13 +171,13 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
172
171
|
uploadedAvatar?: string | undefined;
|
|
173
172
|
};
|
|
174
173
|
version_id: string;
|
|
174
|
+
tags: string[];
|
|
175
175
|
custom_type_label: string;
|
|
176
176
|
last_modified_date: Date;
|
|
177
177
|
preview_summary?: string | undefined;
|
|
178
178
|
preview_image?: string | undefined;
|
|
179
179
|
uid?: string | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
tags: string[];
|
|
182
181
|
author: {
|
|
183
182
|
first_name?: string | undefined;
|
|
184
183
|
last_name?: string | undefined;
|
|
@@ -186,6 +185,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
186
185
|
uploadedAvatar?: string | undefined;
|
|
187
186
|
};
|
|
188
187
|
version_id: string;
|
|
188
|
+
tags: string[];
|
|
189
189
|
custom_type_label: string;
|
|
190
190
|
last_modified_date: Date;
|
|
191
191
|
preview_summary?: string | undefined;
|
|
@@ -212,7 +212,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
212
212
|
} | {
|
|
213
213
|
status: "archived";
|
|
214
214
|
}) & {
|
|
215
|
-
tags: string[];
|
|
216
215
|
author: {
|
|
217
216
|
first_name?: string | undefined;
|
|
218
217
|
last_name?: string | undefined;
|
|
@@ -220,6 +219,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
220
219
|
uploadedAvatar?: string | undefined;
|
|
221
220
|
};
|
|
222
221
|
version_id: string;
|
|
222
|
+
tags: string[];
|
|
223
223
|
custom_type_label: string;
|
|
224
224
|
last_modified_date: Date;
|
|
225
225
|
preview_summary?: string | undefined;
|
|
@@ -245,7 +245,6 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
245
245
|
} | {
|
|
246
246
|
status: "archived";
|
|
247
247
|
}) & {
|
|
248
|
-
tags: string[];
|
|
249
248
|
author: {
|
|
250
249
|
first_name?: string | undefined;
|
|
251
250
|
last_name?: string | undefined;
|
|
@@ -253,6 +252,7 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
253
252
|
uploadedAvatar?: string | undefined;
|
|
254
253
|
};
|
|
255
254
|
version_id: string;
|
|
255
|
+
tags: string[];
|
|
256
256
|
custom_type_label: string;
|
|
257
257
|
last_modified_date: Date;
|
|
258
258
|
preview_summary?: string | undefined;
|
|
@@ -334,7 +334,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
334
334
|
}>;
|
|
335
335
|
uid: z.ZodOptional<z.ZodString>;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
tags: string[];
|
|
338
337
|
author: {
|
|
339
338
|
first_name?: string | undefined;
|
|
340
339
|
last_name?: string | undefined;
|
|
@@ -342,13 +341,13 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
342
341
|
uploadedAvatar?: string | undefined;
|
|
343
342
|
};
|
|
344
343
|
version_id: string;
|
|
344
|
+
tags: string[];
|
|
345
345
|
custom_type_label: string;
|
|
346
346
|
last_modified_date: Date;
|
|
347
347
|
preview_summary?: string | undefined;
|
|
348
348
|
preview_image?: string | undefined;
|
|
349
349
|
uid?: string | undefined;
|
|
350
350
|
}, {
|
|
351
|
-
tags: string[];
|
|
352
351
|
author: {
|
|
353
352
|
first_name?: string | undefined;
|
|
354
353
|
last_name?: string | undefined;
|
|
@@ -356,6 +355,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
356
355
|
uploadedAvatar?: string | undefined;
|
|
357
356
|
};
|
|
358
357
|
version_id: string;
|
|
358
|
+
tags: string[];
|
|
359
359
|
custom_type_label: string;
|
|
360
360
|
last_modified_date: Date;
|
|
361
361
|
preview_summary?: string | undefined;
|
|
@@ -382,7 +382,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
382
382
|
} | {
|
|
383
383
|
status: "archived";
|
|
384
384
|
}) & {
|
|
385
|
-
tags: string[];
|
|
386
385
|
author: {
|
|
387
386
|
first_name?: string | undefined;
|
|
388
387
|
last_name?: string | undefined;
|
|
@@ -390,6 +389,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
390
389
|
uploadedAvatar?: string | undefined;
|
|
391
390
|
};
|
|
392
391
|
version_id: string;
|
|
392
|
+
tags: string[];
|
|
393
393
|
custom_type_label: string;
|
|
394
394
|
last_modified_date: Date;
|
|
395
395
|
preview_summary?: string | undefined;
|
|
@@ -415,7 +415,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
415
415
|
} | {
|
|
416
416
|
status: "archived";
|
|
417
417
|
}) & {
|
|
418
|
-
tags: string[];
|
|
419
418
|
author: {
|
|
420
419
|
first_name?: string | undefined;
|
|
421
420
|
last_name?: string | undefined;
|
|
@@ -423,6 +422,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
423
422
|
uploadedAvatar?: string | undefined;
|
|
424
423
|
};
|
|
425
424
|
version_id: string;
|
|
425
|
+
tags: string[];
|
|
426
426
|
custom_type_label: string;
|
|
427
427
|
last_modified_date: Date;
|
|
428
428
|
preview_summary?: string | undefined;
|
|
@@ -453,7 +453,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
453
453
|
} | {
|
|
454
454
|
status: "archived";
|
|
455
455
|
}) & {
|
|
456
|
-
tags: string[];
|
|
457
456
|
author: {
|
|
458
457
|
first_name?: string | undefined;
|
|
459
458
|
last_name?: string | undefined;
|
|
@@ -461,6 +460,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
461
460
|
uploadedAvatar?: string | undefined;
|
|
462
461
|
};
|
|
463
462
|
version_id: string;
|
|
463
|
+
tags: string[];
|
|
464
464
|
custom_type_label: string;
|
|
465
465
|
last_modified_date: Date;
|
|
466
466
|
preview_summary?: string | undefined;
|
|
@@ -490,7 +490,6 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
490
490
|
} | {
|
|
491
491
|
status: "archived";
|
|
492
492
|
}) & {
|
|
493
|
-
tags: string[];
|
|
494
493
|
author: {
|
|
495
494
|
first_name?: string | undefined;
|
|
496
495
|
last_name?: string | undefined;
|
|
@@ -498,6 +497,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
498
497
|
uploadedAvatar?: string | undefined;
|
|
499
498
|
};
|
|
500
499
|
version_id: string;
|
|
500
|
+
tags: string[];
|
|
501
501
|
custom_type_label: string;
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
preview_summary?: string | undefined;
|
|
@@ -579,7 +579,7 @@ export declare function createSearchParams<T extends string>(params: {
|
|
|
579
579
|
name: T;
|
|
580
580
|
values: (string | undefined)[];
|
|
581
581
|
}[]): [string, string][];
|
|
582
|
-
export declare function
|
|
582
|
+
export declare function getDocumentById(baseUrl: URL, authStrategy: AuthStrategy, id: string): Promise<DocumentMeta>;
|
|
583
583
|
export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDef, unknown>, {
|
|
584
584
|
[x: string]: import("@prismicio/types-internal/lib/content").GroupContent | {
|
|
585
585
|
type: string;
|
|
@@ -854,7 +854,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
854
854
|
label?: string | null | undefined;
|
|
855
855
|
direction?: string | null | undefined;
|
|
856
856
|
}) | ({
|
|
857
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
857
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
858
858
|
content: {
|
|
859
859
|
text: string;
|
|
860
860
|
} & {
|
|
@@ -1201,7 +1201,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1201
1201
|
label?: string | null | undefined;
|
|
1202
1202
|
direction?: string | null | undefined;
|
|
1203
1203
|
}) | ({
|
|
1204
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
1204
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1205
1205
|
content: {
|
|
1206
1206
|
text: string;
|
|
1207
1207
|
} & {
|
|
@@ -1540,7 +1540,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1540
1540
|
label?: string | null | undefined;
|
|
1541
1541
|
direction?: string | null | undefined;
|
|
1542
1542
|
}) | ({
|
|
1543
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
1543
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1544
1544
|
content: {
|
|
1545
1545
|
text: string;
|
|
1546
1546
|
} & {
|
|
@@ -1881,7 +1881,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1881
1881
|
label?: string | null | undefined;
|
|
1882
1882
|
direction?: string | null | undefined;
|
|
1883
1883
|
}) | ({
|
|
1884
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
1884
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
1885
1885
|
content: {
|
|
1886
1886
|
text: string;
|
|
1887
1887
|
} & {
|
|
@@ -2220,7 +2220,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2220
2220
|
label?: string | null | undefined;
|
|
2221
2221
|
direction?: string | null | undefined;
|
|
2222
2222
|
}) | ({
|
|
2223
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
2223
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2224
2224
|
content: {
|
|
2225
2225
|
text: string;
|
|
2226
2226
|
} & {
|
|
@@ -2557,7 +2557,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2557
2557
|
label?: string | null | undefined;
|
|
2558
2558
|
direction?: string | null | undefined;
|
|
2559
2559
|
}) | ({
|
|
2560
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
2560
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2561
2561
|
content: {
|
|
2562
2562
|
text: string;
|
|
2563
2563
|
} & {
|
|
@@ -2905,7 +2905,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
2905
2905
|
label?: string | null | undefined;
|
|
2906
2906
|
direction?: string | null | undefined;
|
|
2907
2907
|
}) | ({
|
|
2908
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
2908
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
2909
2909
|
content: {
|
|
2910
2910
|
text: string;
|
|
2911
2911
|
} & {
|
|
@@ -3244,7 +3244,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3244
3244
|
label?: string | null | undefined;
|
|
3245
3245
|
direction?: string | null | undefined;
|
|
3246
3246
|
}) | ({
|
|
3247
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
3247
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3248
3248
|
content: {
|
|
3249
3249
|
text: string;
|
|
3250
3250
|
} & {
|
|
@@ -3585,7 +3585,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3585
3585
|
label?: string | null | undefined;
|
|
3586
3586
|
direction?: string | null | undefined;
|
|
3587
3587
|
}) | ({
|
|
3588
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
3588
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3589
3589
|
content: {
|
|
3590
3590
|
text: string;
|
|
3591
3591
|
} & {
|
|
@@ -3924,7 +3924,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3924
3924
|
label?: string | null | undefined;
|
|
3925
3925
|
direction?: string | null | undefined;
|
|
3926
3926
|
}) | ({
|
|
3927
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
3927
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
3928
3928
|
content: {
|
|
3929
3929
|
text: string;
|
|
3930
3930
|
} & {
|
|
@@ -4261,7 +4261,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4261
4261
|
label?: string | null | undefined;
|
|
4262
4262
|
direction?: string | null | undefined;
|
|
4263
4263
|
}) | ({
|
|
4264
|
-
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
4264
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
4265
4265
|
content: {
|
|
4266
4266
|
text: string;
|
|
4267
4267
|
} & {
|
|
@@ -93,7 +93,6 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
93
93
|
}>;
|
|
94
94
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
97
96
|
authors: {
|
|
98
97
|
id: string;
|
|
99
98
|
email: string;
|
|
@@ -109,6 +108,7 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
109
108
|
quotas: {
|
|
110
109
|
slicemachineEnabled: boolean;
|
|
111
110
|
};
|
|
111
|
+
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
112
112
|
storageVersion: {
|
|
113
113
|
major: number;
|
|
114
114
|
minor: number;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type FilterOption } from "@prismicio/editor-ui";
|
|
3
|
-
|
|
4
|
-
open: boolean;
|
|
3
|
+
interface DocumentsModalProps {
|
|
4
|
+
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
6
6
|
onSelectDocument: (documentID: string) => void;
|
|
7
7
|
fixedCustomTypes?: Set<string>;
|
|
8
8
|
fixedTags?: Set<string>;
|
|
9
|
+
linkedDocumentId?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare function DocumentsModal(props: DocumentsModalProps): JSX.Element;
|
|
11
|
-
|
|
12
|
-
tagsFilter: Set<FilterOption>;
|
|
12
|
+
interface SortTagsByFilteredTagsArgs {
|
|
13
|
+
tagsFilter: Set<FilterOption>;
|
|
13
14
|
tags: string[];
|
|
14
15
|
}
|
|
15
16
|
export declare function sortTagsByFilteredTags(args: SortTagsByFilteredTagsArgs): string[];
|
|
@@ -25,7 +25,6 @@ export declare function useDocuments(params: {
|
|
|
25
25
|
} | {
|
|
26
26
|
status: "archived";
|
|
27
27
|
}) & {
|
|
28
|
-
tags: string[];
|
|
29
28
|
author: {
|
|
30
29
|
first_name?: string | undefined;
|
|
31
30
|
last_name?: string | undefined;
|
|
@@ -33,6 +32,7 @@ export declare function useDocuments(params: {
|
|
|
33
32
|
uploadedAvatar?: string | undefined;
|
|
34
33
|
};
|
|
35
34
|
version_id: string;
|
|
35
|
+
tags: string[];
|
|
36
36
|
custom_type_label: string;
|
|
37
37
|
last_modified_date: Date;
|
|
38
38
|
preview_summary?: string | undefined;
|
|
@@ -52,7 +52,6 @@ export declare function useDocuments(params: {
|
|
|
52
52
|
} | {
|
|
53
53
|
status: "archived";
|
|
54
54
|
}) & {
|
|
55
|
-
tags: string[];
|
|
56
55
|
author: {
|
|
57
56
|
first_name?: string | undefined;
|
|
58
57
|
last_name?: string | undefined;
|
|
@@ -60,6 +59,7 @@ export declare function useDocuments(params: {
|
|
|
60
59
|
uploadedAvatar?: string | undefined;
|
|
61
60
|
};
|
|
62
61
|
version_id: string;
|
|
62
|
+
tags: string[];
|
|
63
63
|
custom_type_label: string;
|
|
64
64
|
last_modified_date: Date;
|
|
65
65
|
preview_summary?: string | undefined;
|
|
@@ -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: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
6
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
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: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "
|
|
67
|
+
type: "image" | "em" | "embed" | "strong" | "list-item" | "paragraph" | "rtl" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "o-list-item";
|
|
68
68
|
content: {
|
|
69
69
|
text: string;
|
|
70
70
|
} & {
|