@prismicio/editor-fields 0.4.63 → 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 +80 -80
- 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 +213 -213
- package/dist/core/service/documentSearch.d.ts +47 -47
- package/dist/core/service/repository.d.ts +30 -30
- package/dist/core/service/role.d.ts +267 -46
- 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 +16 -16
- 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 +4 -4
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +4 -4
- 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/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/index.cjs.js +138 -38
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +59001 -10823
- package/dist/slices/utils.d.ts +4 -4
- package/package.json +6 -6
|
@@ -22,13 +22,13 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
22
22
|
results: {
|
|
23
23
|
id: string;
|
|
24
24
|
title: string;
|
|
25
|
-
custom_type_id: string;
|
|
26
|
-
group_lang_id: string;
|
|
27
25
|
language: {
|
|
28
26
|
isMaster?: boolean | undefined;
|
|
29
27
|
id: string;
|
|
30
28
|
label: string;
|
|
31
29
|
};
|
|
30
|
+
custom_type_id: string;
|
|
31
|
+
group_lang_id: string;
|
|
32
32
|
versions: (({
|
|
33
33
|
status: "unclassified";
|
|
34
34
|
} | {
|
|
@@ -39,19 +39,19 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
39
39
|
} | {
|
|
40
40
|
status: "archived";
|
|
41
41
|
}) & {
|
|
42
|
-
tags: string[];
|
|
43
42
|
version_id: string;
|
|
43
|
+
tags: string[];
|
|
44
44
|
last_modified_date: Date;
|
|
45
45
|
custom_type_label: string;
|
|
46
46
|
author: {
|
|
47
47
|
id?: string | undefined;
|
|
48
|
-
first_name?: string | undefined;
|
|
49
|
-
last_name?: string | undefined;
|
|
50
48
|
email?: string | undefined;
|
|
51
49
|
uploadedAvatar?: string | undefined;
|
|
50
|
+
first_name?: string | undefined;
|
|
51
|
+
last_name?: string | undefined;
|
|
52
52
|
};
|
|
53
|
-
preview_image?: string | undefined;
|
|
54
53
|
uid?: string | undefined;
|
|
54
|
+
preview_image?: string | undefined;
|
|
55
55
|
preview_summary?: string | undefined;
|
|
56
56
|
})[];
|
|
57
57
|
}[];
|
|
@@ -72,13 +72,13 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
72
72
|
} | {
|
|
73
73
|
status: "archived";
|
|
74
74
|
}) & {
|
|
75
|
-
tags: string[];
|
|
76
75
|
version_id: string;
|
|
76
|
+
tags: string[];
|
|
77
77
|
last_modified_date: Date;
|
|
78
|
-
|
|
78
|
+
summary?: string | undefined;
|
|
79
79
|
uid?: string | undefined;
|
|
80
|
+
preview_image?: string | undefined;
|
|
80
81
|
custom_type_id?: string | undefined;
|
|
81
|
-
summary?: string | undefined;
|
|
82
82
|
author_ids?: string[] | undefined;
|
|
83
83
|
highlights?: {
|
|
84
84
|
uid?: string | undefined;
|
|
@@ -103,13 +103,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
103
103
|
results: {
|
|
104
104
|
id: string;
|
|
105
105
|
title: string;
|
|
106
|
-
custom_type_id: string;
|
|
107
|
-
group_lang_id: string;
|
|
108
106
|
language: {
|
|
109
107
|
isMaster?: boolean | undefined;
|
|
110
108
|
id: string;
|
|
111
109
|
label: string;
|
|
112
110
|
};
|
|
111
|
+
custom_type_id: string;
|
|
112
|
+
group_lang_id: string;
|
|
113
113
|
versions: (({
|
|
114
114
|
status: "unclassified";
|
|
115
115
|
} | {
|
|
@@ -120,19 +120,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
120
120
|
} | {
|
|
121
121
|
status: "archived";
|
|
122
122
|
}) & {
|
|
123
|
-
tags: string[];
|
|
124
123
|
version_id: string;
|
|
124
|
+
tags: string[];
|
|
125
125
|
last_modified_date: Date;
|
|
126
126
|
custom_type_label: string;
|
|
127
127
|
author: {
|
|
128
128
|
id?: string | undefined;
|
|
129
|
-
first_name?: string | undefined;
|
|
130
|
-
last_name?: string | undefined;
|
|
131
129
|
email?: string | undefined;
|
|
132
130
|
uploadedAvatar?: string | undefined;
|
|
131
|
+
first_name?: string | undefined;
|
|
132
|
+
last_name?: string | undefined;
|
|
133
133
|
};
|
|
134
|
-
preview_image?: string | undefined;
|
|
135
134
|
uid?: string | undefined;
|
|
135
|
+
preview_image?: string | undefined;
|
|
136
136
|
preview_summary?: string | undefined;
|
|
137
137
|
})[];
|
|
138
138
|
}[];
|
|
@@ -153,13 +153,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
153
153
|
} | {
|
|
154
154
|
status: "archived";
|
|
155
155
|
}) & {
|
|
156
|
-
tags: string[];
|
|
157
156
|
version_id: string;
|
|
157
|
+
tags: string[];
|
|
158
158
|
last_modified_date: Date;
|
|
159
|
-
|
|
159
|
+
summary?: string | undefined;
|
|
160
160
|
uid?: string | undefined;
|
|
161
|
+
preview_image?: string | undefined;
|
|
161
162
|
custom_type_id?: string | undefined;
|
|
162
|
-
summary?: string | undefined;
|
|
163
163
|
author_ids?: string[] | undefined;
|
|
164
164
|
highlights?: {
|
|
165
165
|
uid?: string | undefined;
|
|
@@ -170,13 +170,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
170
170
|
results: {
|
|
171
171
|
id: string;
|
|
172
172
|
title: string;
|
|
173
|
-
custom_type_id: string;
|
|
174
|
-
group_lang_id: string;
|
|
175
173
|
language: {
|
|
176
174
|
isMaster?: boolean | undefined;
|
|
177
175
|
id: string;
|
|
178
176
|
label: string;
|
|
179
177
|
};
|
|
178
|
+
custom_type_id: string;
|
|
179
|
+
group_lang_id: string;
|
|
180
180
|
versions: (({
|
|
181
181
|
status: "unclassified";
|
|
182
182
|
} | {
|
|
@@ -187,19 +187,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
187
187
|
} | {
|
|
188
188
|
status: "archived";
|
|
189
189
|
}) & {
|
|
190
|
-
tags: string[];
|
|
191
190
|
version_id: string;
|
|
191
|
+
tags: string[];
|
|
192
192
|
last_modified_date: Date;
|
|
193
193
|
custom_type_label: string;
|
|
194
194
|
author: {
|
|
195
195
|
id?: string | undefined;
|
|
196
|
-
first_name?: string | undefined;
|
|
197
|
-
last_name?: string | undefined;
|
|
198
196
|
email?: string | undefined;
|
|
199
197
|
uploadedAvatar?: string | undefined;
|
|
198
|
+
first_name?: string | undefined;
|
|
199
|
+
last_name?: string | undefined;
|
|
200
200
|
};
|
|
201
|
-
preview_image?: string | undefined;
|
|
202
201
|
uid?: string | undefined;
|
|
202
|
+
preview_image?: string | undefined;
|
|
203
203
|
preview_summary?: string | undefined;
|
|
204
204
|
})[];
|
|
205
205
|
}[];
|
|
@@ -220,13 +220,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
220
220
|
} | {
|
|
221
221
|
status: "archived";
|
|
222
222
|
}) & {
|
|
223
|
-
tags: string[];
|
|
224
223
|
version_id: string;
|
|
224
|
+
tags: string[];
|
|
225
225
|
last_modified_date: Date;
|
|
226
|
-
|
|
226
|
+
summary?: string | undefined;
|
|
227
227
|
uid?: string | undefined;
|
|
228
|
+
preview_image?: string | undefined;
|
|
228
229
|
custom_type_id?: string | undefined;
|
|
229
|
-
summary?: string | undefined;
|
|
230
230
|
author_ids?: string[] | undefined;
|
|
231
231
|
highlights?: {
|
|
232
232
|
uid?: string | undefined;
|
|
@@ -242,7 +242,7 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
242
242
|
readonly customTypes: string[] | undefined;
|
|
243
243
|
readonly tags: string[] | undefined;
|
|
244
244
|
readonly authors: string[] | undefined;
|
|
245
|
-
readonly status: ("
|
|
245
|
+
readonly status: ("published" | "release" | "archived" | "unclassified")[] | undefined;
|
|
246
246
|
readonly locale: string | undefined;
|
|
247
247
|
readonly storageVersion: {
|
|
248
248
|
major: number;
|
|
@@ -253,13 +253,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
253
253
|
results: {
|
|
254
254
|
id: string;
|
|
255
255
|
title: string;
|
|
256
|
-
custom_type_id: string;
|
|
257
|
-
group_lang_id: string;
|
|
258
256
|
language: {
|
|
259
257
|
isMaster?: boolean | undefined;
|
|
260
258
|
id: string;
|
|
261
259
|
label: string;
|
|
262
260
|
};
|
|
261
|
+
custom_type_id: string;
|
|
262
|
+
group_lang_id: string;
|
|
263
263
|
versions: (({
|
|
264
264
|
status: "unclassified";
|
|
265
265
|
} | {
|
|
@@ -270,19 +270,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
270
270
|
} | {
|
|
271
271
|
status: "archived";
|
|
272
272
|
}) & {
|
|
273
|
-
tags: string[];
|
|
274
273
|
version_id: string;
|
|
274
|
+
tags: string[];
|
|
275
275
|
last_modified_date: Date;
|
|
276
276
|
custom_type_label: string;
|
|
277
277
|
author: {
|
|
278
278
|
id?: string | undefined;
|
|
279
|
-
first_name?: string | undefined;
|
|
280
|
-
last_name?: string | undefined;
|
|
281
279
|
email?: string | undefined;
|
|
282
280
|
uploadedAvatar?: string | undefined;
|
|
281
|
+
first_name?: string | undefined;
|
|
282
|
+
last_name?: string | undefined;
|
|
283
283
|
};
|
|
284
|
-
preview_image?: string | undefined;
|
|
285
284
|
uid?: string | undefined;
|
|
285
|
+
preview_image?: string | undefined;
|
|
286
286
|
preview_summary?: string | undefined;
|
|
287
287
|
})[];
|
|
288
288
|
}[];
|
|
@@ -303,13 +303,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
303
303
|
} | {
|
|
304
304
|
status: "archived";
|
|
305
305
|
}) & {
|
|
306
|
-
tags: string[];
|
|
307
306
|
version_id: string;
|
|
307
|
+
tags: string[];
|
|
308
308
|
last_modified_date: Date;
|
|
309
|
-
|
|
309
|
+
summary?: string | undefined;
|
|
310
310
|
uid?: string | undefined;
|
|
311
|
+
preview_image?: string | undefined;
|
|
311
312
|
custom_type_id?: string | undefined;
|
|
312
|
-
summary?: string | undefined;
|
|
313
313
|
author_ids?: string[] | undefined;
|
|
314
314
|
highlights?: {
|
|
315
315
|
uid?: string | undefined;
|
|
@@ -327,7 +327,7 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
327
327
|
readonly customTypes: string[] | undefined;
|
|
328
328
|
readonly tags: string[] | undefined;
|
|
329
329
|
readonly authors: string[] | undefined;
|
|
330
|
-
readonly status: ("
|
|
330
|
+
readonly status: ("published" | "release" | "archived" | "unclassified")[] | undefined;
|
|
331
331
|
readonly locale: string | undefined;
|
|
332
332
|
readonly storageVersion: {
|
|
333
333
|
major: number;
|
|
@@ -337,13 +337,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
337
337
|
results: {
|
|
338
338
|
id: string;
|
|
339
339
|
title: string;
|
|
340
|
-
custom_type_id: string;
|
|
341
|
-
group_lang_id: string;
|
|
342
340
|
language: {
|
|
343
341
|
isMaster?: boolean | undefined;
|
|
344
342
|
id: string;
|
|
345
343
|
label: string;
|
|
346
344
|
};
|
|
345
|
+
custom_type_id: string;
|
|
346
|
+
group_lang_id: string;
|
|
347
347
|
versions: (({
|
|
348
348
|
status: "unclassified";
|
|
349
349
|
} | {
|
|
@@ -354,19 +354,19 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
354
354
|
} | {
|
|
355
355
|
status: "archived";
|
|
356
356
|
}) & {
|
|
357
|
-
tags: string[];
|
|
358
357
|
version_id: string;
|
|
358
|
+
tags: string[];
|
|
359
359
|
last_modified_date: Date;
|
|
360
360
|
custom_type_label: string;
|
|
361
361
|
author: {
|
|
362
362
|
id?: string | undefined;
|
|
363
|
-
first_name?: string | undefined;
|
|
364
|
-
last_name?: string | undefined;
|
|
365
363
|
email?: string | undefined;
|
|
366
364
|
uploadedAvatar?: string | undefined;
|
|
365
|
+
first_name?: string | undefined;
|
|
366
|
+
last_name?: string | undefined;
|
|
367
367
|
};
|
|
368
|
-
preview_image?: string | undefined;
|
|
369
368
|
uid?: string | undefined;
|
|
369
|
+
preview_image?: string | undefined;
|
|
370
370
|
preview_summary?: string | undefined;
|
|
371
371
|
})[];
|
|
372
372
|
}[];
|
|
@@ -387,13 +387,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
387
387
|
} | {
|
|
388
388
|
status: "archived";
|
|
389
389
|
}) & {
|
|
390
|
-
tags: string[];
|
|
391
390
|
version_id: string;
|
|
391
|
+
tags: string[];
|
|
392
392
|
last_modified_date: Date;
|
|
393
|
-
|
|
393
|
+
summary?: string | undefined;
|
|
394
394
|
uid?: string | undefined;
|
|
395
|
+
preview_image?: string | undefined;
|
|
395
396
|
custom_type_id?: string | undefined;
|
|
396
|
-
summary?: string | undefined;
|
|
397
397
|
author_ids?: string[] | undefined;
|
|
398
398
|
highlights?: {
|
|
399
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<{
|
|
@@ -37,28 +37,28 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
37
37
|
name: z.ZodString;
|
|
38
38
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
name: string;
|
|
41
40
|
id: string;
|
|
41
|
+
name: string;
|
|
42
42
|
is_master?: boolean | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
name: string;
|
|
45
44
|
id: string;
|
|
45
|
+
name: string;
|
|
46
46
|
is_master?: boolean | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
isMaster?: boolean | undefined;
|
|
49
49
|
id: string;
|
|
50
50
|
label: string;
|
|
51
51
|
}, {
|
|
52
|
-
name: string;
|
|
53
52
|
id: string;
|
|
53
|
+
name: string;
|
|
54
54
|
is_master?: boolean | undefined;
|
|
55
55
|
}>, "many">, {
|
|
56
56
|
isMaster?: boolean | undefined;
|
|
57
57
|
id: string;
|
|
58
58
|
label: string;
|
|
59
59
|
}[], {
|
|
60
|
-
name: string;
|
|
61
60
|
id: string;
|
|
61
|
+
name: string;
|
|
62
62
|
is_master?: boolean | undefined;
|
|
63
63
|
}[]>;
|
|
64
64
|
authors: z.ZodDefault<z.ZodOptional<z.ZodArray<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;
|
|
@@ -126,8 +126,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
126
126
|
starterId?: string | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
languages: {
|
|
129
|
-
name: string;
|
|
130
129
|
id: string;
|
|
130
|
+
name: string;
|
|
131
131
|
is_master?: boolean | undefined;
|
|
132
132
|
}[];
|
|
133
133
|
storageVersion: {
|
|
@@ -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;
|
|
@@ -175,8 +175,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
175
175
|
starterId?: string | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
languages: {
|
|
178
|
-
name: string;
|
|
179
178
|
id: string;
|
|
179
|
+
name: string;
|
|
180
180
|
is_master?: boolean | undefined;
|
|
181
181
|
}[];
|
|
182
182
|
storageVersion: {
|
|
@@ -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;
|