@prismicio/editor-fields 0.4.73 → 0.4.74
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/APIExplorer/components/APIExplorerContext.d.ts +4 -4
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- 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/customType.d.ts +21 -21
- package/dist/core/service/document.d.ts +115 -115
- package/dist/core/service/documentSearch.d.ts +37 -37
- package/dist/core/service/onboarding.d.ts +3 -3
- package/dist/core/service/repository.d.ts +18 -18
- package/dist/core/service/role.d.ts +64 -64
- package/dist/core/service/user.d.ts +8 -8
- package/dist/fields/ImageField/useImageField.d.ts +8 -8
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -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/utils.d.ts +1 -0
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
- package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +5 -8
- package/dist/fields/RichTextField/extensions/Table/menus/PassthroughTrigger.d.ts +12 -0
- package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +6 -4
- package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +6 -4
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +8 -0
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +34 -0
- package/dist/index.cjs.js +35 -35
- package/dist/index.es.js +5424 -5373
- package/dist/slices/utils.d.ts +5 -5
- package/package.json +4 -4
- /package/dist/fields/RichTextField/extensions/Table/{plugins/tableHandles/tableHandlesPluginView.d.ts → TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles/tableHandlesPlugin.d.ts → TableHandles/TableHandlesPlugin.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/index.d.ts +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/utils.d.ts +0 -0
|
@@ -20,8 +20,8 @@ interface SearchDocumentsArgs {
|
|
|
20
20
|
}
|
|
21
21
|
export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
22
22
|
results: {
|
|
23
|
-
title: string;
|
|
24
23
|
id: string;
|
|
24
|
+
title: string;
|
|
25
25
|
language: {
|
|
26
26
|
isMaster?: boolean | undefined;
|
|
27
27
|
id: string;
|
|
@@ -39,16 +39,16 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
39
39
|
} | {
|
|
40
40
|
status: "archived";
|
|
41
41
|
}) & {
|
|
42
|
-
version_id: string;
|
|
43
42
|
tags: string[];
|
|
43
|
+
version_id: string;
|
|
44
44
|
last_modified_date: Date;
|
|
45
45
|
custom_type_label: string;
|
|
46
46
|
author: {
|
|
47
|
-
email?: string | undefined;
|
|
48
47
|
id?: string | undefined;
|
|
48
|
+
email?: string | undefined;
|
|
49
|
+
uploadedAvatar?: string | undefined;
|
|
49
50
|
first_name?: string | undefined;
|
|
50
51
|
last_name?: string | undefined;
|
|
51
|
-
uploadedAvatar?: string | undefined;
|
|
52
52
|
};
|
|
53
53
|
uid?: string | undefined;
|
|
54
54
|
preview_image?: string | undefined;
|
|
@@ -57,8 +57,8 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
57
57
|
}[];
|
|
58
58
|
} | {
|
|
59
59
|
results: {
|
|
60
|
-
title: string;
|
|
61
60
|
id: string;
|
|
61
|
+
title: string;
|
|
62
62
|
custom_type_id: string;
|
|
63
63
|
group_lang_id: string;
|
|
64
64
|
locale_id?: string | undefined;
|
|
@@ -72,11 +72,11 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
72
72
|
} | {
|
|
73
73
|
status: "archived";
|
|
74
74
|
}) & {
|
|
75
|
-
version_id: string;
|
|
76
75
|
tags: string[];
|
|
76
|
+
version_id: string;
|
|
77
77
|
last_modified_date: Date;
|
|
78
|
-
summary?: string | undefined;
|
|
79
78
|
uid?: string | undefined;
|
|
79
|
+
summary?: string | undefined;
|
|
80
80
|
preview_image?: string | undefined;
|
|
81
81
|
custom_type_id?: string | undefined;
|
|
82
82
|
author_ids?: string[] | undefined;
|
|
@@ -101,8 +101,8 @@ interface SearchDocumentsQueryOptionsArgs {
|
|
|
101
101
|
}
|
|
102
102
|
export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
103
103
|
results: {
|
|
104
|
-
title: string;
|
|
105
104
|
id: string;
|
|
105
|
+
title: string;
|
|
106
106
|
language: {
|
|
107
107
|
isMaster?: boolean | undefined;
|
|
108
108
|
id: string;
|
|
@@ -120,16 +120,16 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
120
120
|
} | {
|
|
121
121
|
status: "archived";
|
|
122
122
|
}) & {
|
|
123
|
-
version_id: string;
|
|
124
123
|
tags: string[];
|
|
124
|
+
version_id: string;
|
|
125
125
|
last_modified_date: Date;
|
|
126
126
|
custom_type_label: string;
|
|
127
127
|
author: {
|
|
128
|
-
email?: string | undefined;
|
|
129
128
|
id?: string | undefined;
|
|
129
|
+
email?: string | undefined;
|
|
130
|
+
uploadedAvatar?: string | undefined;
|
|
130
131
|
first_name?: string | undefined;
|
|
131
132
|
last_name?: string | undefined;
|
|
132
|
-
uploadedAvatar?: string | undefined;
|
|
133
133
|
};
|
|
134
134
|
uid?: string | undefined;
|
|
135
135
|
preview_image?: string | undefined;
|
|
@@ -138,8 +138,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
138
138
|
}[];
|
|
139
139
|
} | {
|
|
140
140
|
results: {
|
|
141
|
-
title: string;
|
|
142
141
|
id: string;
|
|
142
|
+
title: string;
|
|
143
143
|
custom_type_id: string;
|
|
144
144
|
group_lang_id: string;
|
|
145
145
|
locale_id?: string | undefined;
|
|
@@ -153,11 +153,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
153
153
|
} | {
|
|
154
154
|
status: "archived";
|
|
155
155
|
}) & {
|
|
156
|
-
version_id: string;
|
|
157
156
|
tags: string[];
|
|
157
|
+
version_id: string;
|
|
158
158
|
last_modified_date: Date;
|
|
159
|
-
summary?: string | undefined;
|
|
160
159
|
uid?: string | undefined;
|
|
160
|
+
summary?: string | undefined;
|
|
161
161
|
preview_image?: string | undefined;
|
|
162
162
|
custom_type_id?: string | undefined;
|
|
163
163
|
author_ids?: string[] | undefined;
|
|
@@ -168,8 +168,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
168
168
|
}[];
|
|
169
169
|
}, Error, {
|
|
170
170
|
results: {
|
|
171
|
-
title: string;
|
|
172
171
|
id: string;
|
|
172
|
+
title: string;
|
|
173
173
|
language: {
|
|
174
174
|
isMaster?: boolean | undefined;
|
|
175
175
|
id: string;
|
|
@@ -187,16 +187,16 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
187
187
|
} | {
|
|
188
188
|
status: "archived";
|
|
189
189
|
}) & {
|
|
190
|
-
version_id: string;
|
|
191
190
|
tags: string[];
|
|
191
|
+
version_id: string;
|
|
192
192
|
last_modified_date: Date;
|
|
193
193
|
custom_type_label: string;
|
|
194
194
|
author: {
|
|
195
|
-
email?: string | undefined;
|
|
196
195
|
id?: string | undefined;
|
|
196
|
+
email?: string | undefined;
|
|
197
|
+
uploadedAvatar?: string | undefined;
|
|
197
198
|
first_name?: string | undefined;
|
|
198
199
|
last_name?: string | undefined;
|
|
199
|
-
uploadedAvatar?: string | undefined;
|
|
200
200
|
};
|
|
201
201
|
uid?: string | undefined;
|
|
202
202
|
preview_image?: string | undefined;
|
|
@@ -205,8 +205,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
205
205
|
}[];
|
|
206
206
|
} | {
|
|
207
207
|
results: {
|
|
208
|
-
title: string;
|
|
209
208
|
id: string;
|
|
209
|
+
title: string;
|
|
210
210
|
custom_type_id: string;
|
|
211
211
|
group_lang_id: string;
|
|
212
212
|
locale_id?: string | undefined;
|
|
@@ -220,11 +220,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
220
220
|
} | {
|
|
221
221
|
status: "archived";
|
|
222
222
|
}) & {
|
|
223
|
-
version_id: string;
|
|
224
223
|
tags: string[];
|
|
224
|
+
version_id: string;
|
|
225
225
|
last_modified_date: Date;
|
|
226
|
-
summary?: string | undefined;
|
|
227
226
|
uid?: string | undefined;
|
|
227
|
+
summary?: string | undefined;
|
|
228
228
|
preview_image?: string | undefined;
|
|
229
229
|
custom_type_id?: string | undefined;
|
|
230
230
|
author_ids?: 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;
|
|
@@ -251,8 +251,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
251
251
|
}]> & {
|
|
252
252
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
253
253
|
results: {
|
|
254
|
-
title: string;
|
|
255
254
|
id: string;
|
|
255
|
+
title: string;
|
|
256
256
|
language: {
|
|
257
257
|
isMaster?: boolean | undefined;
|
|
258
258
|
id: string;
|
|
@@ -270,16 +270,16 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
270
270
|
} | {
|
|
271
271
|
status: "archived";
|
|
272
272
|
}) & {
|
|
273
|
-
version_id: string;
|
|
274
273
|
tags: string[];
|
|
274
|
+
version_id: string;
|
|
275
275
|
last_modified_date: Date;
|
|
276
276
|
custom_type_label: string;
|
|
277
277
|
author: {
|
|
278
|
-
email?: string | undefined;
|
|
279
278
|
id?: string | undefined;
|
|
279
|
+
email?: string | undefined;
|
|
280
|
+
uploadedAvatar?: string | undefined;
|
|
280
281
|
first_name?: string | undefined;
|
|
281
282
|
last_name?: string | undefined;
|
|
282
|
-
uploadedAvatar?: string | undefined;
|
|
283
283
|
};
|
|
284
284
|
uid?: string | undefined;
|
|
285
285
|
preview_image?: string | undefined;
|
|
@@ -288,8 +288,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
288
288
|
}[];
|
|
289
289
|
} | {
|
|
290
290
|
results: {
|
|
291
|
-
title: string;
|
|
292
291
|
id: string;
|
|
292
|
+
title: string;
|
|
293
293
|
custom_type_id: string;
|
|
294
294
|
group_lang_id: string;
|
|
295
295
|
locale_id?: string | undefined;
|
|
@@ -303,11 +303,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
303
303
|
} | {
|
|
304
304
|
status: "archived";
|
|
305
305
|
}) & {
|
|
306
|
-
version_id: string;
|
|
307
306
|
tags: string[];
|
|
307
|
+
version_id: string;
|
|
308
308
|
last_modified_date: Date;
|
|
309
|
-
summary?: string | undefined;
|
|
310
309
|
uid?: string | undefined;
|
|
310
|
+
summary?: string | undefined;
|
|
311
311
|
preview_image?: string | undefined;
|
|
312
312
|
custom_type_id?: string | undefined;
|
|
313
313
|
author_ids?: 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;
|
|
@@ -335,8 +335,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
335
335
|
} | undefined;
|
|
336
336
|
}], {
|
|
337
337
|
results: {
|
|
338
|
-
title: string;
|
|
339
338
|
id: string;
|
|
339
|
+
title: string;
|
|
340
340
|
language: {
|
|
341
341
|
isMaster?: boolean | undefined;
|
|
342
342
|
id: string;
|
|
@@ -354,16 +354,16 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
354
354
|
} | {
|
|
355
355
|
status: "archived";
|
|
356
356
|
}) & {
|
|
357
|
-
version_id: string;
|
|
358
357
|
tags: string[];
|
|
358
|
+
version_id: string;
|
|
359
359
|
last_modified_date: Date;
|
|
360
360
|
custom_type_label: string;
|
|
361
361
|
author: {
|
|
362
|
-
email?: string | undefined;
|
|
363
362
|
id?: string | undefined;
|
|
363
|
+
email?: string | undefined;
|
|
364
|
+
uploadedAvatar?: string | undefined;
|
|
364
365
|
first_name?: string | undefined;
|
|
365
366
|
last_name?: string | undefined;
|
|
366
|
-
uploadedAvatar?: string | undefined;
|
|
367
367
|
};
|
|
368
368
|
uid?: string | undefined;
|
|
369
369
|
preview_image?: string | undefined;
|
|
@@ -372,8 +372,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
372
372
|
}[];
|
|
373
373
|
} | {
|
|
374
374
|
results: {
|
|
375
|
-
title: string;
|
|
376
375
|
id: string;
|
|
376
|
+
title: string;
|
|
377
377
|
custom_type_id: string;
|
|
378
378
|
group_lang_id: string;
|
|
379
379
|
locale_id?: string | undefined;
|
|
@@ -387,11 +387,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
387
387
|
} | {
|
|
388
388
|
status: "archived";
|
|
389
389
|
}) & {
|
|
390
|
-
version_id: string;
|
|
391
390
|
tags: string[];
|
|
391
|
+
version_id: string;
|
|
392
392
|
last_modified_date: Date;
|
|
393
|
-
summary?: string | undefined;
|
|
394
393
|
uid?: string | undefined;
|
|
394
|
+
summary?: string | undefined;
|
|
395
395
|
preview_image?: string | undefined;
|
|
396
396
|
custom_type_id?: string | undefined;
|
|
397
397
|
author_ids?: string[] | undefined;
|
|
@@ -15,10 +15,10 @@ export declare const onboardingStateSchema: z.ZodObject<{
|
|
|
15
15
|
completedSteps: z.ZodArray<z.ZodString, "many">;
|
|
16
16
|
isDismissed: z.ZodBoolean;
|
|
17
17
|
context: z.ZodObject<{
|
|
18
|
-
framework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "
|
|
18
|
+
framework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "other" | "next" | "nuxt" | "sveltekit", unknown>;
|
|
19
19
|
starterId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
framework: "
|
|
21
|
+
framework: "other" | "next" | "nuxt" | "sveltekit";
|
|
22
22
|
starterId?: string | null | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
framework?: unknown;
|
|
@@ -28,7 +28,7 @@ export declare const onboardingStateSchema: z.ZodObject<{
|
|
|
28
28
|
completedSteps: string[];
|
|
29
29
|
isDismissed: boolean;
|
|
30
30
|
context: {
|
|
31
|
-
framework: "
|
|
31
|
+
framework: "other" | "next" | "nuxt" | "sveltekit";
|
|
32
32
|
starterId?: string | null | undefined;
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
@@ -7,14 +7,14 @@ declare const repositoryAuthor: z.ZodObject<{
|
|
|
7
7
|
email: z.ZodString;
|
|
8
8
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
email: string;
|
|
11
10
|
id: string;
|
|
11
|
+
email: string;
|
|
12
12
|
uploadedAvatar?: string | undefined;
|
|
13
13
|
firstname?: string | undefined;
|
|
14
14
|
lastname?: string | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
email: string;
|
|
17
16
|
id: string;
|
|
17
|
+
email: string;
|
|
18
18
|
uploadedAvatar?: string | undefined;
|
|
19
19
|
firstname?: string | undefined;
|
|
20
20
|
lastname?: string | undefined;
|
|
@@ -28,7 +28,7 @@ declare const repositoryQuotas: z.ZodObject<{
|
|
|
28
28
|
slicemachineEnabled: boolean;
|
|
29
29
|
}>;
|
|
30
30
|
export type RepositoryQuotas = z.TypeOf<typeof repositoryQuotas>;
|
|
31
|
-
export declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "
|
|
31
|
+
export declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "other" | "next" | "nuxt" | "sveltekit", unknown>;
|
|
32
32
|
export type RepositoryFramework = z.TypeOf<typeof repositoryFramework>;
|
|
33
33
|
declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
34
34
|
simulator_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -68,14 +68,14 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
68
68
|
email: z.ZodString;
|
|
69
69
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
email: string;
|
|
72
71
|
id: string;
|
|
72
|
+
email: string;
|
|
73
73
|
uploadedAvatar?: string | undefined;
|
|
74
74
|
firstname?: string | undefined;
|
|
75
75
|
lastname?: string | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
email: string;
|
|
78
77
|
id: string;
|
|
78
|
+
email: string;
|
|
79
79
|
uploadedAvatar?: string | undefined;
|
|
80
80
|
firstname?: string | undefined;
|
|
81
81
|
lastname?: string | undefined;
|
|
@@ -87,7 +87,7 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
87
87
|
}, {
|
|
88
88
|
slicemachineEnabled: boolean;
|
|
89
89
|
}>>>;
|
|
90
|
-
framework: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "
|
|
90
|
+
framework: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "other" | "next" | "nuxt" | "sveltekit", unknown>>>;
|
|
91
91
|
starterId: z.ZodOptional<z.ZodString>;
|
|
92
92
|
storageVersion: z.ZodObject<{
|
|
93
93
|
major: z.ZodNumber;
|
|
@@ -102,8 +102,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
102
102
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
authors: {
|
|
105
|
-
email: string;
|
|
106
105
|
id: string;
|
|
106
|
+
email: string;
|
|
107
107
|
uploadedAvatar?: string | undefined;
|
|
108
108
|
firstname?: string | undefined;
|
|
109
109
|
lastname?: string | undefined;
|
|
@@ -116,7 +116,7 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
116
116
|
quotas: {
|
|
117
117
|
slicemachineEnabled: boolean;
|
|
118
118
|
};
|
|
119
|
-
framework: "
|
|
119
|
+
framework: "other" | "next" | "nuxt" | "sveltekit";
|
|
120
120
|
storageVersion: {
|
|
121
121
|
major: number;
|
|
122
122
|
minor: number;
|
|
@@ -136,8 +136,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
136
136
|
};
|
|
137
137
|
uploadedAvatar?: string | undefined;
|
|
138
138
|
authors?: {
|
|
139
|
-
email: string;
|
|
140
139
|
id: string;
|
|
140
|
+
email: string;
|
|
141
141
|
uploadedAvatar?: string | undefined;
|
|
142
142
|
firstname?: string | undefined;
|
|
143
143
|
lastname?: string | undefined;
|
|
@@ -149,12 +149,12 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
149
|
framework?: unknown;
|
|
150
150
|
starterId?: string | undefined;
|
|
151
151
|
}>, {
|
|
152
|
-
framework: "
|
|
152
|
+
framework: "other" | "next" | "nuxt" | "sveltekit";
|
|
153
153
|
simulatorUrl: string | undefined;
|
|
154
154
|
isSupportedFramework: boolean;
|
|
155
155
|
authors: {
|
|
156
|
-
email: string;
|
|
157
156
|
id: string;
|
|
157
|
+
email: string;
|
|
158
158
|
uploadedAvatar?: string | undefined;
|
|
159
159
|
firstname?: string | undefined;
|
|
160
160
|
lastname?: string | undefined;
|
|
@@ -185,8 +185,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
185
185
|
};
|
|
186
186
|
uploadedAvatar?: string | undefined;
|
|
187
187
|
authors?: {
|
|
188
|
-
email: string;
|
|
189
188
|
id: string;
|
|
189
|
+
email: string;
|
|
190
190
|
uploadedAvatar?: string | undefined;
|
|
191
191
|
firstname?: string | undefined;
|
|
192
192
|
lastname?: string | undefined;
|
|
@@ -243,7 +243,7 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
243
243
|
completedSteps: string[];
|
|
244
244
|
isDismissed: boolean;
|
|
245
245
|
}>;
|
|
246
|
-
framework: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "
|
|
246
|
+
framework: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "other" | "next" | "nuxt" | "sveltekit", unknown>>>;
|
|
247
247
|
quotas: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
248
248
|
maxNbEnvironments: z.ZodNumber;
|
|
249
249
|
integrationFieldsEnabled: z.ZodBoolean;
|
|
@@ -280,14 +280,14 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
280
280
|
email: z.ZodString;
|
|
281
281
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
email: string;
|
|
284
283
|
id: string;
|
|
284
|
+
email: string;
|
|
285
285
|
uploadedAvatar?: string | undefined;
|
|
286
286
|
firstname?: string | undefined;
|
|
287
287
|
lastname?: string | undefined;
|
|
288
288
|
}, {
|
|
289
|
-
email: string;
|
|
290
289
|
id: string;
|
|
290
|
+
email: string;
|
|
291
291
|
uploadedAvatar?: string | undefined;
|
|
292
292
|
firstname?: string | undefined;
|
|
293
293
|
lastname?: string | undefined;
|
|
@@ -301,7 +301,7 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
301
301
|
sliceMachineEnabled: boolean;
|
|
302
302
|
customRolesEnabled: boolean;
|
|
303
303
|
};
|
|
304
|
-
framework: "
|
|
304
|
+
framework: "other" | "next" | "nuxt" | "sveltekit";
|
|
305
305
|
storageVersion: {
|
|
306
306
|
major: number;
|
|
307
307
|
minor: number;
|
|
@@ -312,8 +312,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
312
312
|
isDismissed: boolean;
|
|
313
313
|
};
|
|
314
314
|
users: {
|
|
315
|
-
email: string;
|
|
316
315
|
id: string;
|
|
316
|
+
email: string;
|
|
317
317
|
uploadedAvatar?: string | undefined;
|
|
318
318
|
firstname?: string | undefined;
|
|
319
319
|
lastname?: string | undefined;
|
|
@@ -338,8 +338,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
338
338
|
} | undefined;
|
|
339
339
|
framework?: unknown;
|
|
340
340
|
users?: {
|
|
341
|
-
email: string;
|
|
342
341
|
id: string;
|
|
342
|
+
email: string;
|
|
343
343
|
uploadedAvatar?: string | undefined;
|
|
344
344
|
firstname?: string | undefined;
|
|
345
345
|
lastname?: string | undefined;
|