@prismicio/editor-fields 0.4.63-alpha.jp-upgrade-tiptap.0 → 0.4.64-alpha.fix-simulator-issue.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/EditorConfig.d.ts +12 -3
- package/dist/core/APIExplorer/APIExplorer.d.ts +2 -0
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +54 -0
- package/dist/core/APIExplorer/components/APIExplorerRequest.d.ts +2 -0
- package/dist/core/APIExplorer/components/APIExplorerResponse.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/GetByTypeRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetByUIDRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetRepositoryRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/GetSingleRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +4 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormInputBase.d.ts +6 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +4 -0
- package/dist/core/APIExplorer/components/Request/components/RequestPaginationFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +7 -0
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +20 -0
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/types.d.ts +14 -0
- package/dist/core/APIExplorer/index.d.ts +1 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +84 -84
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +8 -8
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +8 -8
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
- package/dist/core/service/aiSeoMetadata.d.ts +2 -6
- package/dist/core/service/customType.d.ts +20 -20
- package/dist/core/service/document.d.ts +218 -192
- package/dist/core/service/documentSearch.d.ts +57 -76
- package/dist/core/service/repository.d.ts +24 -24
- package/dist/core/service/role.d.ts +257 -36
- package/dist/core/service/user.d.ts +11 -7
- package/dist/fields/ImageField/useImageField.d.ts +8 -8
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
- package/dist/fields/LinkField/Documents/documentsData.d.ts +20 -18
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +18 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/index.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +19 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +23 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/types.d.ts +17 -0
- package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +15 -0
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
- package/dist/fields/RichTextField/extensions/Table/TableEvent.d.ts +31 -0
- package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +9 -0
- package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +20 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +11 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableFloatingMenus.d.ts +7 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +10 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TriggerAnchor.d.ts +11 -0
- package/dist/fields/RichTextField/extensions/Table/menus/index.d.ts +2 -0
- package/dist/fields/RichTextField/extensions/Table/menus/utils.d.ts +23 -0
- package/dist/fields/RichTextField/extensions/Table/utils.d.ts +60 -0
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/fields/TableField/TableField.d.ts +1 -1
- package/dist/index.cjs.js +92 -111
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +37996 -43673
- package/dist/slices/utils.d.ts +4 -4
- package/package.json +7 -6
|
@@ -16,25 +16,19 @@ interface SearchDocumentsArgs {
|
|
|
16
16
|
* TODO: Remove after all repos have been migrated to storageVerison 7 or above (PBD-1908)
|
|
17
17
|
*/
|
|
18
18
|
storageVersion?: Repository["storageVersion"];
|
|
19
|
-
track: ((args: {
|
|
20
|
-
numberOfResults: number;
|
|
21
|
-
searchQuery: string;
|
|
22
|
-
numberOfWords: number;
|
|
23
|
-
timeToGetResultsInMs: number;
|
|
24
|
-
}) => void) | undefined;
|
|
25
19
|
signal: AbortSignal;
|
|
26
20
|
}
|
|
27
21
|
export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
28
22
|
results: {
|
|
29
23
|
id: string;
|
|
30
24
|
title: string;
|
|
31
|
-
custom_type_id: string;
|
|
32
|
-
group_lang_id: string;
|
|
33
25
|
language: {
|
|
34
26
|
isMaster?: boolean | undefined;
|
|
35
27
|
id: string;
|
|
36
28
|
label: string;
|
|
37
29
|
};
|
|
30
|
+
custom_type_id: string;
|
|
31
|
+
group_lang_id: string;
|
|
38
32
|
versions: (({
|
|
39
33
|
status: "unclassified";
|
|
40
34
|
} | {
|
|
@@ -45,18 +39,19 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
45
39
|
} | {
|
|
46
40
|
status: "archived";
|
|
47
41
|
}) & {
|
|
48
|
-
tags: string[];
|
|
49
42
|
version_id: string;
|
|
43
|
+
tags: string[];
|
|
50
44
|
last_modified_date: Date;
|
|
51
45
|
custom_type_label: string;
|
|
52
46
|
author: {
|
|
53
|
-
|
|
54
|
-
last_name?: string | undefined;
|
|
47
|
+
id?: string | undefined;
|
|
55
48
|
email?: string | undefined;
|
|
56
49
|
uploadedAvatar?: string | undefined;
|
|
50
|
+
first_name?: string | undefined;
|
|
51
|
+
last_name?: string | undefined;
|
|
57
52
|
};
|
|
58
|
-
preview_image?: string | undefined;
|
|
59
53
|
uid?: string | undefined;
|
|
54
|
+
preview_image?: string | undefined;
|
|
60
55
|
preview_summary?: string | undefined;
|
|
61
56
|
})[];
|
|
62
57
|
}[];
|
|
@@ -77,13 +72,13 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
77
72
|
} | {
|
|
78
73
|
status: "archived";
|
|
79
74
|
}) & {
|
|
80
|
-
tags: string[];
|
|
81
75
|
version_id: string;
|
|
76
|
+
tags: string[];
|
|
82
77
|
last_modified_date: Date;
|
|
83
|
-
custom_type_id?: string | undefined;
|
|
84
|
-
preview_image?: string | undefined;
|
|
85
|
-
uid?: string | undefined;
|
|
86
78
|
summary?: string | undefined;
|
|
79
|
+
uid?: string | undefined;
|
|
80
|
+
preview_image?: string | undefined;
|
|
81
|
+
custom_type_id?: string | undefined;
|
|
87
82
|
author_ids?: string[] | undefined;
|
|
88
83
|
highlights?: {
|
|
89
84
|
uid?: string | undefined;
|
|
@@ -103,24 +98,18 @@ interface SearchDocumentsQueryOptionsArgs {
|
|
|
103
98
|
*/
|
|
104
99
|
storageVersion?: Repository["storageVersion"];
|
|
105
100
|
config: SearchDocumentsConfig;
|
|
106
|
-
track?: (args: {
|
|
107
|
-
numberOfResults: number;
|
|
108
|
-
searchQuery: string;
|
|
109
|
-
numberOfWords: number;
|
|
110
|
-
timeToGetResultsInMs: number;
|
|
111
|
-
}) => void;
|
|
112
101
|
}
|
|
113
102
|
export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
114
103
|
results: {
|
|
115
104
|
id: string;
|
|
116
105
|
title: string;
|
|
117
|
-
custom_type_id: string;
|
|
118
|
-
group_lang_id: string;
|
|
119
106
|
language: {
|
|
120
107
|
isMaster?: boolean | undefined;
|
|
121
108
|
id: string;
|
|
122
109
|
label: string;
|
|
123
110
|
};
|
|
111
|
+
custom_type_id: string;
|
|
112
|
+
group_lang_id: string;
|
|
124
113
|
versions: (({
|
|
125
114
|
status: "unclassified";
|
|
126
115
|
} | {
|
|
@@ -131,18 +120,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
131
120
|
} | {
|
|
132
121
|
status: "archived";
|
|
133
122
|
}) & {
|
|
134
|
-
tags: string[];
|
|
135
123
|
version_id: string;
|
|
124
|
+
tags: string[];
|
|
136
125
|
last_modified_date: Date;
|
|
137
126
|
custom_type_label: string;
|
|
138
127
|
author: {
|
|
139
|
-
|
|
140
|
-
last_name?: string | undefined;
|
|
128
|
+
id?: string | undefined;
|
|
141
129
|
email?: string | undefined;
|
|
142
130
|
uploadedAvatar?: string | undefined;
|
|
131
|
+
first_name?: string | undefined;
|
|
132
|
+
last_name?: string | undefined;
|
|
143
133
|
};
|
|
144
|
-
preview_image?: string | undefined;
|
|
145
134
|
uid?: string | undefined;
|
|
135
|
+
preview_image?: string | undefined;
|
|
146
136
|
preview_summary?: string | undefined;
|
|
147
137
|
})[];
|
|
148
138
|
}[];
|
|
@@ -163,13 +153,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
163
153
|
} | {
|
|
164
154
|
status: "archived";
|
|
165
155
|
}) & {
|
|
166
|
-
tags: string[];
|
|
167
156
|
version_id: string;
|
|
157
|
+
tags: string[];
|
|
168
158
|
last_modified_date: Date;
|
|
169
|
-
custom_type_id?: string | undefined;
|
|
170
|
-
preview_image?: string | undefined;
|
|
171
|
-
uid?: string | undefined;
|
|
172
159
|
summary?: string | undefined;
|
|
160
|
+
uid?: string | undefined;
|
|
161
|
+
preview_image?: string | undefined;
|
|
162
|
+
custom_type_id?: string | undefined;
|
|
173
163
|
author_ids?: string[] | undefined;
|
|
174
164
|
highlights?: {
|
|
175
165
|
uid?: string | undefined;
|
|
@@ -180,13 +170,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
180
170
|
results: {
|
|
181
171
|
id: string;
|
|
182
172
|
title: string;
|
|
183
|
-
custom_type_id: string;
|
|
184
|
-
group_lang_id: string;
|
|
185
173
|
language: {
|
|
186
174
|
isMaster?: boolean | undefined;
|
|
187
175
|
id: string;
|
|
188
176
|
label: string;
|
|
189
177
|
};
|
|
178
|
+
custom_type_id: string;
|
|
179
|
+
group_lang_id: string;
|
|
190
180
|
versions: (({
|
|
191
181
|
status: "unclassified";
|
|
192
182
|
} | {
|
|
@@ -197,18 +187,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
197
187
|
} | {
|
|
198
188
|
status: "archived";
|
|
199
189
|
}) & {
|
|
200
|
-
tags: string[];
|
|
201
190
|
version_id: string;
|
|
191
|
+
tags: string[];
|
|
202
192
|
last_modified_date: Date;
|
|
203
193
|
custom_type_label: string;
|
|
204
194
|
author: {
|
|
205
|
-
|
|
206
|
-
last_name?: string | undefined;
|
|
195
|
+
id?: string | undefined;
|
|
207
196
|
email?: string | undefined;
|
|
208
197
|
uploadedAvatar?: string | undefined;
|
|
198
|
+
first_name?: string | undefined;
|
|
199
|
+
last_name?: string | undefined;
|
|
209
200
|
};
|
|
210
|
-
preview_image?: string | undefined;
|
|
211
201
|
uid?: string | undefined;
|
|
202
|
+
preview_image?: string | undefined;
|
|
212
203
|
preview_summary?: string | undefined;
|
|
213
204
|
})[];
|
|
214
205
|
}[];
|
|
@@ -229,13 +220,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
229
220
|
} | {
|
|
230
221
|
status: "archived";
|
|
231
222
|
}) & {
|
|
232
|
-
tags: string[];
|
|
233
223
|
version_id: string;
|
|
224
|
+
tags: string[];
|
|
234
225
|
last_modified_date: Date;
|
|
235
|
-
custom_type_id?: string | undefined;
|
|
236
|
-
preview_image?: string | undefined;
|
|
237
|
-
uid?: string | undefined;
|
|
238
226
|
summary?: string | undefined;
|
|
227
|
+
uid?: string | undefined;
|
|
228
|
+
preview_image?: string | undefined;
|
|
229
|
+
custom_type_id?: string | undefined;
|
|
239
230
|
author_ids?: string[] | undefined;
|
|
240
231
|
highlights?: {
|
|
241
232
|
uid?: string | undefined;
|
|
@@ -251,14 +242,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
251
242
|
readonly customTypes: string[] | undefined;
|
|
252
243
|
readonly tags: string[] | undefined;
|
|
253
244
|
readonly authors: string[] | undefined;
|
|
254
|
-
readonly status: ("
|
|
245
|
+
readonly status: ("published" | "release" | "archived" | "unclassified")[] | undefined;
|
|
255
246
|
readonly locale: string | undefined;
|
|
256
|
-
readonly track: ((args: {
|
|
257
|
-
numberOfResults: number;
|
|
258
|
-
searchQuery: string;
|
|
259
|
-
numberOfWords: number;
|
|
260
|
-
timeToGetResultsInMs: number;
|
|
261
|
-
}) => void) | undefined;
|
|
262
247
|
readonly storageVersion: {
|
|
263
248
|
major: number;
|
|
264
249
|
minor: number;
|
|
@@ -268,13 +253,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
268
253
|
results: {
|
|
269
254
|
id: string;
|
|
270
255
|
title: string;
|
|
271
|
-
custom_type_id: string;
|
|
272
|
-
group_lang_id: string;
|
|
273
256
|
language: {
|
|
274
257
|
isMaster?: boolean | undefined;
|
|
275
258
|
id: string;
|
|
276
259
|
label: string;
|
|
277
260
|
};
|
|
261
|
+
custom_type_id: string;
|
|
262
|
+
group_lang_id: string;
|
|
278
263
|
versions: (({
|
|
279
264
|
status: "unclassified";
|
|
280
265
|
} | {
|
|
@@ -285,18 +270,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
285
270
|
} | {
|
|
286
271
|
status: "archived";
|
|
287
272
|
}) & {
|
|
288
|
-
tags: string[];
|
|
289
273
|
version_id: string;
|
|
274
|
+
tags: string[];
|
|
290
275
|
last_modified_date: Date;
|
|
291
276
|
custom_type_label: string;
|
|
292
277
|
author: {
|
|
293
|
-
|
|
294
|
-
last_name?: string | undefined;
|
|
278
|
+
id?: string | undefined;
|
|
295
279
|
email?: string | undefined;
|
|
296
280
|
uploadedAvatar?: string | undefined;
|
|
281
|
+
first_name?: string | undefined;
|
|
282
|
+
last_name?: string | undefined;
|
|
297
283
|
};
|
|
298
|
-
preview_image?: string | undefined;
|
|
299
284
|
uid?: string | undefined;
|
|
285
|
+
preview_image?: string | undefined;
|
|
300
286
|
preview_summary?: string | undefined;
|
|
301
287
|
})[];
|
|
302
288
|
}[];
|
|
@@ -317,13 +303,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
317
303
|
} | {
|
|
318
304
|
status: "archived";
|
|
319
305
|
}) & {
|
|
320
|
-
tags: string[];
|
|
321
306
|
version_id: string;
|
|
307
|
+
tags: string[];
|
|
322
308
|
last_modified_date: Date;
|
|
323
|
-
custom_type_id?: string | undefined;
|
|
324
|
-
preview_image?: string | undefined;
|
|
325
|
-
uid?: string | undefined;
|
|
326
309
|
summary?: string | undefined;
|
|
310
|
+
uid?: string | undefined;
|
|
311
|
+
preview_image?: string | undefined;
|
|
312
|
+
custom_type_id?: string | undefined;
|
|
327
313
|
author_ids?: string[] | undefined;
|
|
328
314
|
highlights?: {
|
|
329
315
|
uid?: string | undefined;
|
|
@@ -341,14 +327,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
341
327
|
readonly customTypes: string[] | undefined;
|
|
342
328
|
readonly tags: string[] | undefined;
|
|
343
329
|
readonly authors: string[] | undefined;
|
|
344
|
-
readonly status: ("
|
|
330
|
+
readonly status: ("published" | "release" | "archived" | "unclassified")[] | undefined;
|
|
345
331
|
readonly locale: string | undefined;
|
|
346
|
-
readonly track: ((args: {
|
|
347
|
-
numberOfResults: number;
|
|
348
|
-
searchQuery: string;
|
|
349
|
-
numberOfWords: number;
|
|
350
|
-
timeToGetResultsInMs: number;
|
|
351
|
-
}) => void) | undefined;
|
|
352
332
|
readonly storageVersion: {
|
|
353
333
|
major: number;
|
|
354
334
|
minor: number;
|
|
@@ -357,13 +337,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
357
337
|
results: {
|
|
358
338
|
id: string;
|
|
359
339
|
title: string;
|
|
360
|
-
custom_type_id: string;
|
|
361
|
-
group_lang_id: string;
|
|
362
340
|
language: {
|
|
363
341
|
isMaster?: boolean | undefined;
|
|
364
342
|
id: string;
|
|
365
343
|
label: string;
|
|
366
344
|
};
|
|
345
|
+
custom_type_id: string;
|
|
346
|
+
group_lang_id: string;
|
|
367
347
|
versions: (({
|
|
368
348
|
status: "unclassified";
|
|
369
349
|
} | {
|
|
@@ -374,18 +354,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
374
354
|
} | {
|
|
375
355
|
status: "archived";
|
|
376
356
|
}) & {
|
|
377
|
-
tags: string[];
|
|
378
357
|
version_id: string;
|
|
358
|
+
tags: string[];
|
|
379
359
|
last_modified_date: Date;
|
|
380
360
|
custom_type_label: string;
|
|
381
361
|
author: {
|
|
382
|
-
|
|
383
|
-
last_name?: string | undefined;
|
|
362
|
+
id?: string | undefined;
|
|
384
363
|
email?: string | undefined;
|
|
385
364
|
uploadedAvatar?: string | undefined;
|
|
365
|
+
first_name?: string | undefined;
|
|
366
|
+
last_name?: string | undefined;
|
|
386
367
|
};
|
|
387
|
-
preview_image?: string | undefined;
|
|
388
368
|
uid?: string | undefined;
|
|
369
|
+
preview_image?: string | undefined;
|
|
389
370
|
preview_summary?: string | undefined;
|
|
390
371
|
})[];
|
|
391
372
|
}[];
|
|
@@ -406,13 +387,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
406
387
|
} | {
|
|
407
388
|
status: "archived";
|
|
408
389
|
}) & {
|
|
409
|
-
tags: string[];
|
|
410
390
|
version_id: string;
|
|
391
|
+
tags: string[];
|
|
411
392
|
last_modified_date: Date;
|
|
412
|
-
custom_type_id?: string | undefined;
|
|
413
|
-
preview_image?: string | undefined;
|
|
414
|
-
uid?: string | undefined;
|
|
415
393
|
summary?: string | undefined;
|
|
394
|
+
uid?: string | undefined;
|
|
395
|
+
preview_image?: string | undefined;
|
|
396
|
+
custom_type_id?: string | undefined;
|
|
416
397
|
author_ids?: string[] | undefined;
|
|
417
398
|
highlights?: {
|
|
418
399
|
uid?: string | undefined;
|
|
@@ -9,15 +9,15 @@ declare const repositoryAuthor: z.ZodObject<{
|
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
11
|
email: string;
|
|
12
|
-
uploadedAvatar?: string | undefined;
|
|
13
12
|
firstname?: string | undefined;
|
|
14
13
|
lastname?: string | undefined;
|
|
14
|
+
uploadedAvatar?: string | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
17
|
email: string;
|
|
18
|
-
uploadedAvatar?: string | undefined;
|
|
19
18
|
firstname?: string | undefined;
|
|
20
19
|
lastname?: string | undefined;
|
|
20
|
+
uploadedAvatar?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export type RepositoryAuthor = z.TypeOf<typeof repositoryAuthor>;
|
|
23
23
|
declare const repositoryQuotas: z.ZodObject<{
|
|
@@ -70,15 +70,15 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
id: string;
|
|
72
72
|
email: string;
|
|
73
|
-
uploadedAvatar?: string | undefined;
|
|
74
73
|
firstname?: string | undefined;
|
|
75
74
|
lastname?: string | undefined;
|
|
75
|
+
uploadedAvatar?: string | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
78
|
email: string;
|
|
79
|
-
uploadedAvatar?: string | undefined;
|
|
80
79
|
firstname?: string | undefined;
|
|
81
80
|
lastname?: string | undefined;
|
|
81
|
+
uploadedAvatar?: string | undefined;
|
|
82
82
|
}>, "many">>>;
|
|
83
83
|
quotas: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
84
84
|
slicemachineEnabled: z.ZodBoolean;
|
|
@@ -101,17 +101,17 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
101
101
|
}>;
|
|
102
102
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
languages: {
|
|
105
|
+
isMaster?: boolean | undefined;
|
|
106
|
+
id: string;
|
|
107
|
+
label: string;
|
|
108
|
+
}[];
|
|
104
109
|
authors: {
|
|
105
110
|
id: string;
|
|
106
111
|
email: string;
|
|
107
|
-
uploadedAvatar?: string | undefined;
|
|
108
112
|
firstname?: string | undefined;
|
|
109
113
|
lastname?: string | undefined;
|
|
110
|
-
|
|
111
|
-
languages: {
|
|
112
|
-
isMaster?: boolean | undefined;
|
|
113
|
-
id: string;
|
|
114
|
-
label: string;
|
|
114
|
+
uploadedAvatar?: string | undefined;
|
|
115
115
|
}[];
|
|
116
116
|
quotas: {
|
|
117
117
|
slicemachineEnabled: boolean;
|
|
@@ -135,14 +135,14 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
135
135
|
minor: number;
|
|
136
136
|
};
|
|
137
137
|
uploadedAvatar?: string | undefined;
|
|
138
|
+
simulator_url?: string | null | undefined;
|
|
138
139
|
authors?: {
|
|
139
140
|
id: string;
|
|
140
141
|
email: string;
|
|
141
|
-
uploadedAvatar?: string | undefined;
|
|
142
142
|
firstname?: string | undefined;
|
|
143
143
|
lastname?: string | undefined;
|
|
144
|
+
uploadedAvatar?: string | undefined;
|
|
144
145
|
}[] | undefined;
|
|
145
|
-
simulator_url?: string | null | undefined;
|
|
146
146
|
quotas?: {
|
|
147
147
|
slicemachineEnabled: boolean;
|
|
148
148
|
} | undefined;
|
|
@@ -152,17 +152,17 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
153
153
|
simulatorUrl: string | undefined;
|
|
154
154
|
isSupportedFramework: boolean;
|
|
155
|
+
languages: {
|
|
156
|
+
isMaster?: boolean | undefined;
|
|
157
|
+
id: string;
|
|
158
|
+
label: string;
|
|
159
|
+
}[];
|
|
155
160
|
authors: {
|
|
156
161
|
id: string;
|
|
157
162
|
email: string;
|
|
158
|
-
uploadedAvatar?: string | undefined;
|
|
159
163
|
firstname?: string | undefined;
|
|
160
164
|
lastname?: string | undefined;
|
|
161
|
-
|
|
162
|
-
languages: {
|
|
163
|
-
isMaster?: boolean | undefined;
|
|
164
|
-
id: string;
|
|
165
|
-
label: string;
|
|
165
|
+
uploadedAvatar?: string | undefined;
|
|
166
166
|
}[];
|
|
167
167
|
quotas: {
|
|
168
168
|
slicemachineEnabled: boolean;
|
|
@@ -184,14 +184,14 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
minor: number;
|
|
185
185
|
};
|
|
186
186
|
uploadedAvatar?: string | undefined;
|
|
187
|
+
simulator_url?: string | null | undefined;
|
|
187
188
|
authors?: {
|
|
188
189
|
id: string;
|
|
189
190
|
email: string;
|
|
190
|
-
uploadedAvatar?: string | undefined;
|
|
191
191
|
firstname?: string | undefined;
|
|
192
192
|
lastname?: string | undefined;
|
|
193
|
+
uploadedAvatar?: string | undefined;
|
|
193
194
|
}[] | undefined;
|
|
194
|
-
simulator_url?: string | null | undefined;
|
|
195
195
|
quotas?: {
|
|
196
196
|
slicemachineEnabled: boolean;
|
|
197
197
|
} | undefined;
|
|
@@ -276,24 +276,24 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
id: string;
|
|
278
278
|
email: string;
|
|
279
|
-
uploadedAvatar?: string | undefined;
|
|
280
279
|
firstname?: string | undefined;
|
|
281
280
|
lastname?: string | undefined;
|
|
281
|
+
uploadedAvatar?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
id: string;
|
|
284
284
|
email: string;
|
|
285
|
-
uploadedAvatar?: string | undefined;
|
|
286
285
|
firstname?: string | undefined;
|
|
287
286
|
lastname?: string | undefined;
|
|
287
|
+
uploadedAvatar?: string | undefined;
|
|
288
288
|
}>, "many">>>;
|
|
289
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
290
|
name: string;
|
|
291
291
|
authors: {
|
|
292
292
|
id: string;
|
|
293
293
|
email: string;
|
|
294
|
-
uploadedAvatar?: string | undefined;
|
|
295
294
|
firstname?: string | undefined;
|
|
296
295
|
lastname?: string | undefined;
|
|
296
|
+
uploadedAvatar?: string | undefined;
|
|
297
297
|
}[];
|
|
298
298
|
quotas: {
|
|
299
299
|
maxNbEnvironments: number;
|
|
@@ -325,9 +325,9 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
325
325
|
authors?: {
|
|
326
326
|
id: string;
|
|
327
327
|
email: string;
|
|
328
|
-
uploadedAvatar?: string | undefined;
|
|
329
328
|
firstname?: string | undefined;
|
|
330
329
|
lastname?: string | undefined;
|
|
330
|
+
uploadedAvatar?: string | undefined;
|
|
331
331
|
}[] | undefined;
|
|
332
332
|
quotas?: {
|
|
333
333
|
maxNbEnvironments: number;
|