@prismicio/editor-fields 0.4.58-alpha.repeatable-link-base.0 → 0.4.58
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 +1 -1
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +53 -53
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
- package/dist/core/repeatable.d.ts +3 -0
- package/dist/core/service/customType.d.ts +25 -0
- package/dist/core/service/document.d.ts +19 -18
- package/dist/core/service/documentSearch.d.ts +221 -20
- package/dist/core/service/index.d.ts +1 -1
- package/dist/core/service/repository.d.ts +129 -0
- package/dist/core/service/role.d.ts +141 -0
- package/dist/core/service/user.d.ts +1 -101
- package/dist/fields/ImageField/useImageField.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/ImageLinkControl.d.ts +0 -0
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/index.cjs.js +35 -35
- package/dist/index.d.ts +8 -8
- package/dist/index.es.js +9877 -9848
- package/package.json +5 -5
package/dist/EditorConfig.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ interface OnAnalyticsEvent {
|
|
|
78
78
|
type: "web" | "media" | "document";
|
|
79
79
|
isInSlice: string;
|
|
80
80
|
isInGroup: string;
|
|
81
|
-
|
|
81
|
+
isInRepeatable: string;
|
|
82
82
|
customTypeFormat: "page" | "custom";
|
|
83
83
|
}): void;
|
|
84
84
|
(event: "Unsplash Image Searched" | "Unsplash Image Added"): void;
|
|
@@ -22,14 +22,14 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
22
22
|
credits: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
notes?: string | undefined;
|
|
25
|
-
filename?: string | undefined;
|
|
26
|
-
alt?: string | undefined;
|
|
27
25
|
credits?: string | undefined;
|
|
26
|
+
alt?: string | undefined;
|
|
27
|
+
filename?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
notes?: string[] | undefined;
|
|
30
|
-
filename?: string[] | undefined;
|
|
31
|
-
alt?: string[] | undefined;
|
|
32
30
|
credits?: string[] | undefined;
|
|
31
|
+
alt?: string[] | undefined;
|
|
32
|
+
filename?: string[] | undefined;
|
|
33
33
|
}>>;
|
|
34
34
|
tags: z.ZodArray<z.ZodObject<{
|
|
35
35
|
id: z.ZodString;
|
|
@@ -65,21 +65,21 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
65
65
|
}[];
|
|
66
66
|
url: string;
|
|
67
67
|
size: number;
|
|
68
|
-
last_modified: number;
|
|
69
68
|
kind: string;
|
|
69
|
+
last_modified: number;
|
|
70
70
|
filename: string;
|
|
71
71
|
notes?: string | undefined;
|
|
72
72
|
width?: number | undefined;
|
|
73
73
|
height?: number | undefined;
|
|
74
|
+
credits?: string | undefined;
|
|
75
|
+
alt?: string | undefined;
|
|
74
76
|
uploader_id?: string | undefined;
|
|
75
77
|
extension?: string | undefined;
|
|
76
|
-
alt?: string | undefined;
|
|
77
|
-
credits?: string | undefined;
|
|
78
78
|
search_highlight?: {
|
|
79
79
|
notes?: string | undefined;
|
|
80
|
-
filename?: string | undefined;
|
|
81
|
-
alt?: string | undefined;
|
|
82
80
|
credits?: string | undefined;
|
|
81
|
+
alt?: string | undefined;
|
|
82
|
+
filename?: string | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
id: string;
|
|
@@ -93,21 +93,21 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
93
93
|
}[];
|
|
94
94
|
url: string;
|
|
95
95
|
size: number;
|
|
96
|
-
last_modified: number;
|
|
97
96
|
kind: string;
|
|
97
|
+
last_modified: number;
|
|
98
98
|
filename: string;
|
|
99
99
|
notes?: string | undefined;
|
|
100
100
|
width?: number | undefined;
|
|
101
101
|
height?: number | undefined;
|
|
102
|
+
credits?: string | undefined;
|
|
103
|
+
alt?: string | undefined;
|
|
102
104
|
uploader_id?: string | undefined;
|
|
103
105
|
extension?: string | undefined;
|
|
104
|
-
alt?: string | undefined;
|
|
105
|
-
credits?: string | undefined;
|
|
106
106
|
search_highlight?: {
|
|
107
107
|
notes?: string[] | undefined;
|
|
108
|
-
filename?: string[] | undefined;
|
|
109
|
-
alt?: string[] | undefined;
|
|
110
108
|
credits?: string[] | undefined;
|
|
109
|
+
alt?: string[] | undefined;
|
|
110
|
+
filename?: string[] | undefined;
|
|
111
111
|
} | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
export declare const assetApiHeaders: {
|
|
@@ -137,14 +137,14 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
137
137
|
credits: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string | undefined, string[] | undefined>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
notes?: string | undefined;
|
|
140
|
-
filename?: string | undefined;
|
|
141
|
-
alt?: string | undefined;
|
|
142
140
|
credits?: string | undefined;
|
|
141
|
+
alt?: string | undefined;
|
|
142
|
+
filename?: string | undefined;
|
|
143
143
|
}, {
|
|
144
144
|
notes?: string[] | undefined;
|
|
145
|
-
filename?: string[] | undefined;
|
|
146
|
-
alt?: string[] | undefined;
|
|
147
145
|
credits?: string[] | undefined;
|
|
146
|
+
alt?: string[] | undefined;
|
|
147
|
+
filename?: string[] | undefined;
|
|
148
148
|
}>>;
|
|
149
149
|
tags: z.ZodArray<z.ZodObject<{
|
|
150
150
|
id: z.ZodString;
|
|
@@ -180,21 +180,21 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
180
180
|
}[];
|
|
181
181
|
url: string;
|
|
182
182
|
size: number;
|
|
183
|
-
last_modified: number;
|
|
184
183
|
kind: string;
|
|
184
|
+
last_modified: number;
|
|
185
185
|
filename: string;
|
|
186
186
|
notes?: string | undefined;
|
|
187
187
|
width?: number | undefined;
|
|
188
188
|
height?: number | undefined;
|
|
189
|
+
credits?: string | undefined;
|
|
190
|
+
alt?: string | undefined;
|
|
189
191
|
uploader_id?: string | undefined;
|
|
190
192
|
extension?: string | undefined;
|
|
191
|
-
alt?: string | undefined;
|
|
192
|
-
credits?: string | undefined;
|
|
193
193
|
search_highlight?: {
|
|
194
194
|
notes?: string | undefined;
|
|
195
|
-
filename?: string | undefined;
|
|
196
|
-
alt?: string | undefined;
|
|
197
195
|
credits?: string | undefined;
|
|
196
|
+
alt?: string | undefined;
|
|
197
|
+
filename?: string | undefined;
|
|
198
198
|
} | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
id: string;
|
|
@@ -208,21 +208,21 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
208
208
|
}[];
|
|
209
209
|
url: string;
|
|
210
210
|
size: number;
|
|
211
|
-
last_modified: number;
|
|
212
211
|
kind: string;
|
|
212
|
+
last_modified: number;
|
|
213
213
|
filename: string;
|
|
214
214
|
notes?: string | undefined;
|
|
215
215
|
width?: number | undefined;
|
|
216
216
|
height?: number | undefined;
|
|
217
|
+
credits?: string | undefined;
|
|
218
|
+
alt?: string | undefined;
|
|
217
219
|
uploader_id?: string | undefined;
|
|
218
220
|
extension?: string | undefined;
|
|
219
|
-
alt?: string | undefined;
|
|
220
|
-
credits?: string | undefined;
|
|
221
221
|
search_highlight?: {
|
|
222
222
|
notes?: string[] | undefined;
|
|
223
|
-
filename?: string[] | undefined;
|
|
224
|
-
alt?: string[] | undefined;
|
|
225
223
|
credits?: string[] | undefined;
|
|
224
|
+
alt?: string[] | undefined;
|
|
225
|
+
filename?: string[] | undefined;
|
|
226
226
|
} | undefined;
|
|
227
227
|
}>, "many">;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239,21 +239,21 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
239
239
|
}[];
|
|
240
240
|
url: string;
|
|
241
241
|
size: number;
|
|
242
|
-
last_modified: number;
|
|
243
242
|
kind: string;
|
|
243
|
+
last_modified: number;
|
|
244
244
|
filename: string;
|
|
245
245
|
notes?: string | undefined;
|
|
246
246
|
width?: number | undefined;
|
|
247
247
|
height?: number | undefined;
|
|
248
|
+
credits?: string | undefined;
|
|
249
|
+
alt?: string | undefined;
|
|
248
250
|
uploader_id?: string | undefined;
|
|
249
251
|
extension?: string | undefined;
|
|
250
|
-
alt?: string | undefined;
|
|
251
|
-
credits?: string | undefined;
|
|
252
252
|
search_highlight?: {
|
|
253
253
|
notes?: string | undefined;
|
|
254
|
-
filename?: string | undefined;
|
|
255
|
-
alt?: string | undefined;
|
|
256
254
|
credits?: string | undefined;
|
|
255
|
+
alt?: string | undefined;
|
|
256
|
+
filename?: string | undefined;
|
|
257
257
|
} | undefined;
|
|
258
258
|
}[];
|
|
259
259
|
cursor?: string | undefined;
|
|
@@ -271,21 +271,21 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
271
271
|
}[];
|
|
272
272
|
url: string;
|
|
273
273
|
size: number;
|
|
274
|
-
last_modified: number;
|
|
275
274
|
kind: string;
|
|
275
|
+
last_modified: number;
|
|
276
276
|
filename: string;
|
|
277
277
|
notes?: string | undefined;
|
|
278
278
|
width?: number | undefined;
|
|
279
279
|
height?: number | undefined;
|
|
280
|
+
credits?: string | undefined;
|
|
281
|
+
alt?: string | undefined;
|
|
280
282
|
uploader_id?: string | undefined;
|
|
281
283
|
extension?: string | undefined;
|
|
282
|
-
alt?: string | undefined;
|
|
283
|
-
credits?: string | undefined;
|
|
284
284
|
search_highlight?: {
|
|
285
285
|
notes?: string[] | undefined;
|
|
286
|
-
filename?: string[] | undefined;
|
|
287
|
-
alt?: string[] | undefined;
|
|
288
286
|
credits?: string[] | undefined;
|
|
287
|
+
alt?: string[] | undefined;
|
|
288
|
+
filename?: string[] | undefined;
|
|
289
289
|
} | undefined;
|
|
290
290
|
}[];
|
|
291
291
|
cursor?: string | undefined;
|
|
@@ -319,21 +319,21 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
|
|
|
319
319
|
}[];
|
|
320
320
|
url: string;
|
|
321
321
|
size: number;
|
|
322
|
-
last_modified: number;
|
|
323
322
|
kind: string;
|
|
323
|
+
last_modified: number;
|
|
324
324
|
filename: string;
|
|
325
325
|
notes?: string | undefined;
|
|
326
326
|
width?: number | undefined;
|
|
327
327
|
height?: number | undefined;
|
|
328
|
+
credits?: string | undefined;
|
|
329
|
+
alt?: string | undefined;
|
|
328
330
|
uploader_id?: string | undefined;
|
|
329
331
|
extension?: string | undefined;
|
|
330
|
-
alt?: string | undefined;
|
|
331
|
-
credits?: string | undefined;
|
|
332
332
|
search_highlight?: {
|
|
333
333
|
notes?: string | undefined;
|
|
334
|
-
filename?: string | undefined;
|
|
335
|
-
alt?: string | undefined;
|
|
336
334
|
credits?: string | undefined;
|
|
335
|
+
alt?: string | undefined;
|
|
336
|
+
filename?: string | undefined;
|
|
337
337
|
} | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
cursor?: string | undefined;
|
|
@@ -368,21 +368,21 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
|
|
|
368
368
|
}[];
|
|
369
369
|
url: string;
|
|
370
370
|
size: number;
|
|
371
|
-
last_modified: number;
|
|
372
371
|
kind: string;
|
|
372
|
+
last_modified: number;
|
|
373
373
|
filename: string;
|
|
374
374
|
notes?: string | undefined;
|
|
375
375
|
width?: number | undefined;
|
|
376
376
|
height?: number | undefined;
|
|
377
|
+
credits?: string | undefined;
|
|
378
|
+
alt?: string | undefined;
|
|
377
379
|
uploader_id?: string | undefined;
|
|
378
380
|
extension?: string | undefined;
|
|
379
|
-
alt?: string | undefined;
|
|
380
|
-
credits?: string | undefined;
|
|
381
381
|
search_highlight?: {
|
|
382
382
|
notes?: string | undefined;
|
|
383
|
-
filename?: string | undefined;
|
|
384
|
-
alt?: string | undefined;
|
|
385
383
|
credits?: string | undefined;
|
|
384
|
+
alt?: string | undefined;
|
|
385
|
+
filename?: string | undefined;
|
|
386
386
|
} | undefined;
|
|
387
387
|
}[];
|
|
388
388
|
mediaTotal: number;
|
|
@@ -418,21 +418,21 @@ export declare function getMedia(allPages: MediaPage[], keyword: string, assetTy
|
|
|
418
418
|
}[];
|
|
419
419
|
url: string;
|
|
420
420
|
size: number;
|
|
421
|
-
last_modified: number;
|
|
422
421
|
kind: string;
|
|
422
|
+
last_modified: number;
|
|
423
423
|
filename: string;
|
|
424
424
|
notes?: string | undefined;
|
|
425
425
|
width?: number | undefined;
|
|
426
426
|
height?: number | undefined;
|
|
427
|
+
credits?: string | undefined;
|
|
428
|
+
alt?: string | undefined;
|
|
427
429
|
uploader_id?: string | undefined;
|
|
428
430
|
extension?: string | undefined;
|
|
429
|
-
alt?: string | undefined;
|
|
430
|
-
credits?: string | undefined;
|
|
431
431
|
search_highlight?: {
|
|
432
432
|
notes?: string | undefined;
|
|
433
|
-
filename?: string | undefined;
|
|
434
|
-
alt?: string | undefined;
|
|
435
433
|
credits?: string | undefined;
|
|
434
|
+
alt?: string | undefined;
|
|
435
|
+
filename?: string | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
}[];
|
|
438
438
|
interface PageMetadata {
|
|
@@ -10,20 +10,20 @@ export declare function useSelectedMedia(): {
|
|
|
10
10
|
}[];
|
|
11
11
|
url: string;
|
|
12
12
|
size: number;
|
|
13
|
-
last_modified: number;
|
|
14
13
|
kind: string;
|
|
14
|
+
last_modified: number;
|
|
15
15
|
filename: string;
|
|
16
16
|
notes?: string | undefined;
|
|
17
17
|
width?: number | undefined;
|
|
18
18
|
height?: number | undefined;
|
|
19
|
+
credits?: string | undefined;
|
|
20
|
+
alt?: string | undefined;
|
|
19
21
|
uploader_id?: string | undefined;
|
|
20
22
|
extension?: string | undefined;
|
|
21
|
-
alt?: string | undefined;
|
|
22
|
-
credits?: string | undefined;
|
|
23
23
|
search_highlight?: {
|
|
24
24
|
notes?: string | undefined;
|
|
25
|
-
filename?: string | undefined;
|
|
26
|
-
alt?: string | undefined;
|
|
27
25
|
credits?: string | undefined;
|
|
26
|
+
alt?: string | undefined;
|
|
27
|
+
filename?: string | undefined;
|
|
28
28
|
} | undefined;
|
|
29
29
|
}[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LinkContent, type NestableContent, type RepeatableContent } from "@prismicio/types-internal/lib/content";
|
|
2
|
+
export declare function getRepeatableContent(content: NestableContent | undefined): RepeatableContent | undefined;
|
|
3
|
+
export declare function getLinkContent(content: NestableContent | undefined): LinkContent | undefined;
|
|
@@ -29,6 +29,31 @@ interface CustomTypesOptionsArgs {
|
|
|
29
29
|
repository: string;
|
|
30
30
|
authStrategy: AuthStrategy;
|
|
31
31
|
}
|
|
32
|
+
export declare function getCustomTypesOptions(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
repeatable: boolean;
|
|
36
|
+
status: boolean;
|
|
37
|
+
}[], Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
repeatable: boolean;
|
|
41
|
+
status: boolean;
|
|
42
|
+
}[], string[]> & {
|
|
43
|
+
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
44
|
+
id: string;
|
|
45
|
+
label: string;
|
|
46
|
+
repeatable: boolean;
|
|
47
|
+
status: boolean;
|
|
48
|
+
}[]> | undefined;
|
|
49
|
+
} & {
|
|
50
|
+
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
|
|
51
|
+
id: string;
|
|
52
|
+
label: string;
|
|
53
|
+
repeatable: boolean;
|
|
54
|
+
status: boolean;
|
|
55
|
+
}[]>;
|
|
56
|
+
};
|
|
32
57
|
export declare function prefetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): void;
|
|
33
58
|
export declare function fetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<{
|
|
34
59
|
id: string;
|
|
@@ -595,7 +595,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
595
595
|
}>;
|
|
596
596
|
declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
597
597
|
id: z.ZodString;
|
|
598
|
-
title: z.ZodString
|
|
598
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
599
599
|
custom_type_id: z.ZodString;
|
|
600
600
|
group_lang_id: z.ZodString;
|
|
601
601
|
interesting_versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -682,7 +682,6 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
682
682
|
locale_id?: string | undefined;
|
|
683
683
|
}, {
|
|
684
684
|
id: string;
|
|
685
|
-
title: string;
|
|
686
685
|
custom_type_id: string;
|
|
687
686
|
group_lang_id: string;
|
|
688
687
|
interesting_versions: (({
|
|
@@ -704,6 +703,7 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
704
703
|
custom_type_id?: string | undefined;
|
|
705
704
|
author_ids?: string[] | undefined;
|
|
706
705
|
})[];
|
|
706
|
+
title?: string | null | undefined;
|
|
707
707
|
locale_id?: string | undefined;
|
|
708
708
|
}>, {
|
|
709
709
|
id: string;
|
|
@@ -732,7 +732,6 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
732
732
|
})[];
|
|
733
733
|
}, {
|
|
734
734
|
id: string;
|
|
735
|
-
title: string;
|
|
736
735
|
custom_type_id: string;
|
|
737
736
|
group_lang_id: string;
|
|
738
737
|
interesting_versions: (({
|
|
@@ -754,12 +753,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
754
753
|
custom_type_id?: string | undefined;
|
|
755
754
|
author_ids?: string[] | undefined;
|
|
756
755
|
})[];
|
|
756
|
+
title?: string | null | undefined;
|
|
757
757
|
locale_id?: string | undefined;
|
|
758
758
|
}>;
|
|
759
759
|
declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
760
760
|
results: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
761
761
|
id: z.ZodString;
|
|
762
|
-
title: z.ZodString
|
|
762
|
+
title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string, string | null | undefined>;
|
|
763
763
|
custom_type_id: z.ZodString;
|
|
764
764
|
group_lang_id: z.ZodString;
|
|
765
765
|
interesting_versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -846,7 +846,6 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
846
846
|
locale_id?: string | undefined;
|
|
847
847
|
}, {
|
|
848
848
|
id: string;
|
|
849
|
-
title: string;
|
|
850
849
|
custom_type_id: string;
|
|
851
850
|
group_lang_id: string;
|
|
852
851
|
interesting_versions: (({
|
|
@@ -868,6 +867,7 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
868
867
|
custom_type_id?: string | undefined;
|
|
869
868
|
author_ids?: string[] | undefined;
|
|
870
869
|
})[];
|
|
870
|
+
title?: string | null | undefined;
|
|
871
871
|
locale_id?: string | undefined;
|
|
872
872
|
}>, {
|
|
873
873
|
id: string;
|
|
@@ -896,7 +896,6 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
896
896
|
})[];
|
|
897
897
|
}, {
|
|
898
898
|
id: string;
|
|
899
|
-
title: string;
|
|
900
899
|
custom_type_id: string;
|
|
901
900
|
group_lang_id: string;
|
|
902
901
|
interesting_versions: (({
|
|
@@ -918,6 +917,7 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
918
917
|
custom_type_id?: string | undefined;
|
|
919
918
|
author_ids?: string[] | undefined;
|
|
920
919
|
})[];
|
|
920
|
+
title?: string | null | undefined;
|
|
921
921
|
locale_id?: string | undefined;
|
|
922
922
|
}>, "many">;
|
|
923
923
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -950,7 +950,6 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
950
950
|
}, {
|
|
951
951
|
results: {
|
|
952
952
|
id: string;
|
|
953
|
-
title: string;
|
|
954
953
|
custom_type_id: string;
|
|
955
954
|
group_lang_id: string;
|
|
956
955
|
interesting_versions: (({
|
|
@@ -972,6 +971,7 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
|
972
971
|
custom_type_id?: string | undefined;
|
|
973
972
|
author_ids?: string[] | undefined;
|
|
974
973
|
})[];
|
|
974
|
+
title?: string | null | undefined;
|
|
975
975
|
locale_id?: string | undefined;
|
|
976
976
|
}[];
|
|
977
977
|
}>;
|
|
@@ -1004,6 +1004,7 @@ export declare function makeSearchFullTextDocumentsQueryString(args: {
|
|
|
1004
1004
|
repository: string;
|
|
1005
1005
|
searchTerm?: string;
|
|
1006
1006
|
tags?: string[];
|
|
1007
|
+
authors?: string[];
|
|
1007
1008
|
status?: string[];
|
|
1008
1009
|
localeId?: string;
|
|
1009
1010
|
customTypesIds?: string[];
|
|
@@ -1292,7 +1293,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1292
1293
|
label?: string | null | undefined;
|
|
1293
1294
|
direction?: string | null | undefined;
|
|
1294
1295
|
}) | ({
|
|
1295
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
1296
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1296
1297
|
content: {
|
|
1297
1298
|
text: string;
|
|
1298
1299
|
} & {
|
|
@@ -1713,7 +1714,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
1713
1714
|
label?: string | null | undefined;
|
|
1714
1715
|
direction?: string | null | undefined;
|
|
1715
1716
|
}) | ({
|
|
1716
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
1717
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
1717
1718
|
content: {
|
|
1718
1719
|
text: string;
|
|
1719
1720
|
} & {
|
|
@@ -2126,7 +2127,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2126
2127
|
label?: string | null | undefined;
|
|
2127
2128
|
direction?: string | null | undefined;
|
|
2128
2129
|
}) | ({
|
|
2129
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
2130
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2130
2131
|
content: {
|
|
2131
2132
|
text: string;
|
|
2132
2133
|
} & {
|
|
@@ -2541,7 +2542,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2541
2542
|
label?: string | null | undefined;
|
|
2542
2543
|
direction?: string | null | undefined;
|
|
2543
2544
|
}) | ({
|
|
2544
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
2545
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2545
2546
|
content: {
|
|
2546
2547
|
text: string;
|
|
2547
2548
|
} & {
|
|
@@ -2954,7 +2955,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
2954
2955
|
label?: string | null | undefined;
|
|
2955
2956
|
direction?: string | null | undefined;
|
|
2956
2957
|
}) | ({
|
|
2957
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
2958
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
2958
2959
|
content: {
|
|
2959
2960
|
text: string;
|
|
2960
2961
|
} & {
|
|
@@ -3365,7 +3366,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3365
3366
|
label?: string | null | undefined;
|
|
3366
3367
|
direction?: string | null | undefined;
|
|
3367
3368
|
}) | ({
|
|
3368
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
3369
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3369
3370
|
content: {
|
|
3370
3371
|
text: string;
|
|
3371
3372
|
} & {
|
|
@@ -3787,7 +3788,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
3787
3788
|
label?: string | null | undefined;
|
|
3788
3789
|
direction?: string | null | undefined;
|
|
3789
3790
|
}) | ({
|
|
3790
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
3791
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
3791
3792
|
content: {
|
|
3792
3793
|
text: string;
|
|
3793
3794
|
} & {
|
|
@@ -4200,7 +4201,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4200
4201
|
label?: string | null | undefined;
|
|
4201
4202
|
direction?: string | null | undefined;
|
|
4202
4203
|
}) | ({
|
|
4203
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
4204
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4204
4205
|
content: {
|
|
4205
4206
|
text: string;
|
|
4206
4207
|
} & {
|
|
@@ -4615,7 +4616,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
4615
4616
|
label?: string | null | undefined;
|
|
4616
4617
|
direction?: string | null | undefined;
|
|
4617
4618
|
}) | ({
|
|
4618
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
4619
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
4619
4620
|
content: {
|
|
4620
4621
|
text: string;
|
|
4621
4622
|
} & {
|
|
@@ -5028,7 +5029,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5028
5029
|
label?: string | null | undefined;
|
|
5029
5030
|
direction?: string | null | undefined;
|
|
5030
5031
|
}) | ({
|
|
5031
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
5032
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5032
5033
|
content: {
|
|
5033
5034
|
text: string;
|
|
5034
5035
|
} & {
|
|
@@ -5439,7 +5440,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5439
5440
|
label?: string | null | undefined;
|
|
5440
5441
|
direction?: string | null | undefined;
|
|
5441
5442
|
}) | ({
|
|
5442
|
-
type: "image" | "em" | "embed" | "strong" | "
|
|
5443
|
+
type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
|
|
5443
5444
|
content: {
|
|
5444
5445
|
text: string;
|
|
5445
5446
|
} & {
|