@prismicio/editor-fields 0.4.75 → 0.4.76-alpha.tree-view-component.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/core/APIExplorer/components/APIExplorerContext.d.ts +38 -14
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigDialog.d.ts +10 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/RequestFiltersFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +34 -0
- package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -1
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/types.d.ts +1 -1
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- package/dist/core/APIExplorer/utils.d.ts +3 -2
- package/dist/core/DeferredBarChart.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +93 -93
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +9 -9
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +9 -9
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +20 -20
- package/dist/core/service/document.d.ts +174 -174
- package/dist/core/service/documentSearch.d.ts +60 -60
- package/dist/core/service/repository.d.ts +20 -12
- package/dist/core/service/user.d.ts +5 -5
- package/dist/fields/ImageField/useImageField.d.ts +9 -9
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +9 -9
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +19 -19
- 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 +9 -9
- package/dist/index.cjs.js +90 -90
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +21323 -20616
- package/package.json +4 -4
|
@@ -20,15 +20,15 @@ interface SearchDocumentsArgs {
|
|
|
20
20
|
}
|
|
21
21
|
export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
22
22
|
results: {
|
|
23
|
-
id: string;
|
|
24
|
-
title: string;
|
|
25
|
-
custom_type_id: string;
|
|
26
|
-
group_lang_id: string;
|
|
27
23
|
language: {
|
|
28
24
|
isMaster?: boolean | undefined;
|
|
29
25
|
id: string;
|
|
30
26
|
label: string;
|
|
31
27
|
};
|
|
28
|
+
title: string;
|
|
29
|
+
id: string;
|
|
30
|
+
custom_type_id: string;
|
|
31
|
+
group_lang_id: string;
|
|
32
32
|
versions: (({
|
|
33
33
|
status: "unclassified";
|
|
34
34
|
} | {
|
|
@@ -39,26 +39,26 @@ 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
|
+
email?: string | undefined;
|
|
47
48
|
id?: string | undefined;
|
|
48
49
|
first_name?: string | undefined;
|
|
49
50
|
last_name?: string | undefined;
|
|
50
|
-
email?: string | undefined;
|
|
51
51
|
uploadedAvatar?: 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
|
}[];
|
|
58
58
|
} | {
|
|
59
59
|
results: {
|
|
60
|
-
id: string;
|
|
61
60
|
title: string;
|
|
61
|
+
id: string;
|
|
62
62
|
custom_type_id: string;
|
|
63
63
|
group_lang_id: string;
|
|
64
64
|
locale_id?: string | undefined;
|
|
@@ -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
|
-
custom_type_id?: string | undefined;
|
|
79
|
-
preview_image?: string | undefined;
|
|
80
|
-
uid?: string | undefined;
|
|
81
78
|
summary?: string | undefined;
|
|
79
|
+
uid?: string | undefined;
|
|
80
|
+
preview_image?: string | undefined;
|
|
81
|
+
custom_type_id?: string | undefined;
|
|
82
82
|
author_ids?: string[] | undefined;
|
|
83
83
|
highlights?: {
|
|
84
84
|
uid?: string | undefined;
|
|
@@ -101,15 +101,15 @@ interface SearchDocumentsQueryOptionsArgs {
|
|
|
101
101
|
}
|
|
102
102
|
export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
103
103
|
results: {
|
|
104
|
-
id: string;
|
|
105
|
-
title: string;
|
|
106
|
-
custom_type_id: string;
|
|
107
|
-
group_lang_id: string;
|
|
108
104
|
language: {
|
|
109
105
|
isMaster?: boolean | undefined;
|
|
110
106
|
id: string;
|
|
111
107
|
label: string;
|
|
112
108
|
};
|
|
109
|
+
title: string;
|
|
110
|
+
id: string;
|
|
111
|
+
custom_type_id: string;
|
|
112
|
+
group_lang_id: string;
|
|
113
113
|
versions: (({
|
|
114
114
|
status: "unclassified";
|
|
115
115
|
} | {
|
|
@@ -120,26 +120,26 @@ 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
|
+
email?: string | undefined;
|
|
128
129
|
id?: string | undefined;
|
|
129
130
|
first_name?: string | undefined;
|
|
130
131
|
last_name?: string | undefined;
|
|
131
|
-
email?: string | undefined;
|
|
132
132
|
uploadedAvatar?: 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
|
}[];
|
|
139
139
|
} | {
|
|
140
140
|
results: {
|
|
141
|
-
id: string;
|
|
142
141
|
title: string;
|
|
142
|
+
id: string;
|
|
143
143
|
custom_type_id: string;
|
|
144
144
|
group_lang_id: string;
|
|
145
145
|
locale_id?: string | undefined;
|
|
@@ -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
|
-
custom_type_id?: string | undefined;
|
|
160
|
-
preview_image?: string | undefined;
|
|
161
|
-
uid?: string | undefined;
|
|
162
159
|
summary?: string | undefined;
|
|
160
|
+
uid?: string | undefined;
|
|
161
|
+
preview_image?: string | undefined;
|
|
162
|
+
custom_type_id?: string | undefined;
|
|
163
163
|
author_ids?: string[] | undefined;
|
|
164
164
|
highlights?: {
|
|
165
165
|
uid?: string | undefined;
|
|
@@ -168,15 +168,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
168
168
|
}[];
|
|
169
169
|
}, Error, {
|
|
170
170
|
results: {
|
|
171
|
-
id: string;
|
|
172
|
-
title: string;
|
|
173
|
-
custom_type_id: string;
|
|
174
|
-
group_lang_id: string;
|
|
175
171
|
language: {
|
|
176
172
|
isMaster?: boolean | undefined;
|
|
177
173
|
id: string;
|
|
178
174
|
label: string;
|
|
179
175
|
};
|
|
176
|
+
title: string;
|
|
177
|
+
id: string;
|
|
178
|
+
custom_type_id: string;
|
|
179
|
+
group_lang_id: string;
|
|
180
180
|
versions: (({
|
|
181
181
|
status: "unclassified";
|
|
182
182
|
} | {
|
|
@@ -187,26 +187,26 @@ 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
|
+
email?: string | undefined;
|
|
195
196
|
id?: string | undefined;
|
|
196
197
|
first_name?: string | undefined;
|
|
197
198
|
last_name?: string | undefined;
|
|
198
|
-
email?: string | undefined;
|
|
199
199
|
uploadedAvatar?: 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
|
}[];
|
|
206
206
|
} | {
|
|
207
207
|
results: {
|
|
208
|
-
id: string;
|
|
209
208
|
title: string;
|
|
209
|
+
id: string;
|
|
210
210
|
custom_type_id: string;
|
|
211
211
|
group_lang_id: string;
|
|
212
212
|
locale_id?: string | undefined;
|
|
@@ -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
|
-
custom_type_id?: string | undefined;
|
|
227
|
-
preview_image?: string | undefined;
|
|
228
|
-
uid?: string | undefined;
|
|
229
226
|
summary?: string | undefined;
|
|
227
|
+
uid?: string | undefined;
|
|
228
|
+
preview_image?: string | undefined;
|
|
229
|
+
custom_type_id?: string | undefined;
|
|
230
230
|
author_ids?: string[] | undefined;
|
|
231
231
|
highlights?: {
|
|
232
232
|
uid?: string | undefined;
|
|
@@ -251,15 +251,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
251
251
|
}]> & {
|
|
252
252
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
253
253
|
results: {
|
|
254
|
-
id: string;
|
|
255
|
-
title: string;
|
|
256
|
-
custom_type_id: string;
|
|
257
|
-
group_lang_id: string;
|
|
258
254
|
language: {
|
|
259
255
|
isMaster?: boolean | undefined;
|
|
260
256
|
id: string;
|
|
261
257
|
label: string;
|
|
262
258
|
};
|
|
259
|
+
title: string;
|
|
260
|
+
id: string;
|
|
261
|
+
custom_type_id: string;
|
|
262
|
+
group_lang_id: string;
|
|
263
263
|
versions: (({
|
|
264
264
|
status: "unclassified";
|
|
265
265
|
} | {
|
|
@@ -270,26 +270,26 @@ 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
|
+
email?: string | undefined;
|
|
278
279
|
id?: string | undefined;
|
|
279
280
|
first_name?: string | undefined;
|
|
280
281
|
last_name?: string | undefined;
|
|
281
|
-
email?: string | undefined;
|
|
282
282
|
uploadedAvatar?: 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
|
}[];
|
|
289
289
|
} | {
|
|
290
290
|
results: {
|
|
291
|
-
id: string;
|
|
292
291
|
title: string;
|
|
292
|
+
id: string;
|
|
293
293
|
custom_type_id: string;
|
|
294
294
|
group_lang_id: string;
|
|
295
295
|
locale_id?: string | undefined;
|
|
@@ -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
|
-
custom_type_id?: string | undefined;
|
|
310
|
-
preview_image?: string | undefined;
|
|
311
|
-
uid?: string | undefined;
|
|
312
309
|
summary?: string | undefined;
|
|
310
|
+
uid?: string | undefined;
|
|
311
|
+
preview_image?: string | undefined;
|
|
312
|
+
custom_type_id?: string | undefined;
|
|
313
313
|
author_ids?: string[] | undefined;
|
|
314
314
|
highlights?: {
|
|
315
315
|
uid?: string | undefined;
|
|
@@ -335,15 +335,15 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
335
335
|
} | undefined;
|
|
336
336
|
}], {
|
|
337
337
|
results: {
|
|
338
|
-
id: string;
|
|
339
|
-
title: string;
|
|
340
|
-
custom_type_id: string;
|
|
341
|
-
group_lang_id: string;
|
|
342
338
|
language: {
|
|
343
339
|
isMaster?: boolean | undefined;
|
|
344
340
|
id: string;
|
|
345
341
|
label: string;
|
|
346
342
|
};
|
|
343
|
+
title: string;
|
|
344
|
+
id: string;
|
|
345
|
+
custom_type_id: string;
|
|
346
|
+
group_lang_id: string;
|
|
347
347
|
versions: (({
|
|
348
348
|
status: "unclassified";
|
|
349
349
|
} | {
|
|
@@ -354,26 +354,26 @@ 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
|
+
email?: string | undefined;
|
|
362
363
|
id?: string | undefined;
|
|
363
364
|
first_name?: string | undefined;
|
|
364
365
|
last_name?: string | undefined;
|
|
365
|
-
email?: string | undefined;
|
|
366
366
|
uploadedAvatar?: 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
|
}[];
|
|
373
373
|
} | {
|
|
374
374
|
results: {
|
|
375
|
-
id: string;
|
|
376
375
|
title: string;
|
|
376
|
+
id: string;
|
|
377
377
|
custom_type_id: string;
|
|
378
378
|
group_lang_id: string;
|
|
379
379
|
locale_id?: string | undefined;
|
|
@@ -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
|
-
custom_type_id?: string | undefined;
|
|
394
|
-
preview_image?: string | undefined;
|
|
395
|
-
uid?: string | undefined;
|
|
396
393
|
summary?: string | undefined;
|
|
394
|
+
uid?: string | undefined;
|
|
395
|
+
preview_image?: string | undefined;
|
|
396
|
+
custom_type_id?: string | undefined;
|
|
397
397
|
author_ids?: string[] | undefined;
|
|
398
398
|
highlights?: {
|
|
399
399
|
uid?: string | undefined;
|
|
@@ -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
|
-
id: string;
|
|
11
10
|
email: string;
|
|
11
|
+
id: string;
|
|
12
12
|
uploadedAvatar?: string | undefined;
|
|
13
13
|
firstname?: string | undefined;
|
|
14
14
|
lastname?: string | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
id: string;
|
|
17
16
|
email: string;
|
|
17
|
+
id: string;
|
|
18
18
|
uploadedAvatar?: string | undefined;
|
|
19
19
|
firstname?: string | undefined;
|
|
20
20
|
lastname?: string | undefined;
|
|
@@ -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
|
-
id: string;
|
|
72
71
|
email: string;
|
|
72
|
+
id: string;
|
|
73
73
|
uploadedAvatar?: string | undefined;
|
|
74
74
|
firstname?: string | undefined;
|
|
75
75
|
lastname?: string | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
id: string;
|
|
78
77
|
email: string;
|
|
78
|
+
id: string;
|
|
79
79
|
uploadedAvatar?: string | undefined;
|
|
80
80
|
firstname?: string | undefined;
|
|
81
81
|
lastname?: string | undefined;
|
|
@@ -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
|
-
id: string;
|
|
106
105
|
email: string;
|
|
106
|
+
id: string;
|
|
107
107
|
uploadedAvatar?: string | undefined;
|
|
108
108
|
firstname?: string | undefined;
|
|
109
109
|
lastname?: string | undefined;
|
|
@@ -136,8 +136,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
136
136
|
};
|
|
137
137
|
uploadedAvatar?: string | undefined;
|
|
138
138
|
authors?: {
|
|
139
|
-
id: string;
|
|
140
139
|
email: string;
|
|
140
|
+
id: string;
|
|
141
141
|
uploadedAvatar?: string | undefined;
|
|
142
142
|
firstname?: string | undefined;
|
|
143
143
|
lastname?: string | undefined;
|
|
@@ -153,8 +153,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
153
153
|
simulatorUrl: string | undefined;
|
|
154
154
|
isSupportedFramework: boolean;
|
|
155
155
|
authors: {
|
|
156
|
-
id: string;
|
|
157
156
|
email: string;
|
|
157
|
+
id: 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
|
-
id: string;
|
|
189
188
|
email: string;
|
|
189
|
+
id: string;
|
|
190
190
|
uploadedAvatar?: string | undefined;
|
|
191
191
|
firstname?: string | undefined;
|
|
192
192
|
lastname?: string | undefined;
|
|
@@ -216,18 +216,21 @@ declare const repositoryQuotasV2: z.ZodObject<{
|
|
|
216
216
|
personalEnvironmentsEnabled: z.ZodBoolean;
|
|
217
217
|
sliceMachineEnabled: z.ZodBoolean;
|
|
218
218
|
customRolesEnabled: z.ZodBoolean;
|
|
219
|
+
aiTranslationsLeft: z.ZodNumber;
|
|
219
220
|
}, "strip", z.ZodTypeAny, {
|
|
220
221
|
maxNbEnvironments: number;
|
|
221
222
|
integrationFieldsEnabled: boolean;
|
|
222
223
|
personalEnvironmentsEnabled: boolean;
|
|
223
224
|
sliceMachineEnabled: boolean;
|
|
224
225
|
customRolesEnabled: boolean;
|
|
226
|
+
aiTranslationsLeft: number;
|
|
225
227
|
}, {
|
|
226
228
|
maxNbEnvironments: number;
|
|
227
229
|
integrationFieldsEnabled: boolean;
|
|
228
230
|
personalEnvironmentsEnabled: boolean;
|
|
229
231
|
sliceMachineEnabled: boolean;
|
|
230
232
|
customRolesEnabled: boolean;
|
|
233
|
+
aiTranslationsLeft: number;
|
|
231
234
|
}>;
|
|
232
235
|
export type RepositoryQuotasV2 = z.TypeOf<typeof repositoryQuotasV2>;
|
|
233
236
|
export declare const repositorySchemaV2: z.ZodObject<{
|
|
@@ -250,18 +253,21 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
250
253
|
personalEnvironmentsEnabled: z.ZodBoolean;
|
|
251
254
|
sliceMachineEnabled: z.ZodBoolean;
|
|
252
255
|
customRolesEnabled: z.ZodBoolean;
|
|
256
|
+
aiTranslationsLeft: z.ZodNumber;
|
|
253
257
|
}, "strip", z.ZodTypeAny, {
|
|
254
258
|
maxNbEnvironments: number;
|
|
255
259
|
integrationFieldsEnabled: boolean;
|
|
256
260
|
personalEnvironmentsEnabled: boolean;
|
|
257
261
|
sliceMachineEnabled: boolean;
|
|
258
262
|
customRolesEnabled: boolean;
|
|
263
|
+
aiTranslationsLeft: number;
|
|
259
264
|
}, {
|
|
260
265
|
maxNbEnvironments: number;
|
|
261
266
|
integrationFieldsEnabled: boolean;
|
|
262
267
|
personalEnvironmentsEnabled: boolean;
|
|
263
268
|
sliceMachineEnabled: boolean;
|
|
264
269
|
customRolesEnabled: boolean;
|
|
270
|
+
aiTranslationsLeft: number;
|
|
265
271
|
}>>>;
|
|
266
272
|
storageVersion: z.ZodObject<{
|
|
267
273
|
major: z.ZodNumber;
|
|
@@ -280,14 +286,14 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
280
286
|
email: z.ZodString;
|
|
281
287
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
282
288
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
id: string;
|
|
284
289
|
email: string;
|
|
290
|
+
id: string;
|
|
285
291
|
uploadedAvatar?: string | undefined;
|
|
286
292
|
firstname?: string | undefined;
|
|
287
293
|
lastname?: string | undefined;
|
|
288
294
|
}, {
|
|
289
|
-
id: string;
|
|
290
295
|
email: string;
|
|
296
|
+
id: string;
|
|
291
297
|
uploadedAvatar?: string | undefined;
|
|
292
298
|
firstname?: string | undefined;
|
|
293
299
|
lastname?: string | undefined;
|
|
@@ -300,6 +306,7 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
300
306
|
personalEnvironmentsEnabled: boolean;
|
|
301
307
|
sliceMachineEnabled: boolean;
|
|
302
308
|
customRolesEnabled: boolean;
|
|
309
|
+
aiTranslationsLeft: number;
|
|
303
310
|
};
|
|
304
311
|
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
305
312
|
storageVersion: {
|
|
@@ -312,8 +319,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
312
319
|
isDismissed: boolean;
|
|
313
320
|
};
|
|
314
321
|
users: {
|
|
315
|
-
id: string;
|
|
316
322
|
email: string;
|
|
323
|
+
id: string;
|
|
317
324
|
uploadedAvatar?: string | undefined;
|
|
318
325
|
firstname?: string | undefined;
|
|
319
326
|
lastname?: string | undefined;
|
|
@@ -335,11 +342,12 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
335
342
|
personalEnvironmentsEnabled: boolean;
|
|
336
343
|
sliceMachineEnabled: boolean;
|
|
337
344
|
customRolesEnabled: boolean;
|
|
345
|
+
aiTranslationsLeft: number;
|
|
338
346
|
} | undefined;
|
|
339
347
|
framework?: unknown;
|
|
340
348
|
users?: {
|
|
341
|
-
id: string;
|
|
342
349
|
email: string;
|
|
350
|
+
id: string;
|
|
343
351
|
uploadedAvatar?: string | undefined;
|
|
344
352
|
firstname?: string | undefined;
|
|
345
353
|
lastname?: string | undefined;
|
|
@@ -24,12 +24,12 @@ export declare const profileResponse: z.ZodObject<{
|
|
|
24
24
|
name: z.ZodOptional<z.ZodString>;
|
|
25
25
|
role: z.ZodUnion<[z.ZodEnum<["SuperUser", "Owner", "Administrator", "Writer", "Manager", "Readonly"]>, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodEnum<["SuperUser", "Owner", "Administrator", "Writer", "Manager", "Readonly"]>>>]>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
domain: string;
|
|
28
27
|
role: "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | Record<string, "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | undefined>;
|
|
28
|
+
domain: string;
|
|
29
29
|
name?: string | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
domain: string;
|
|
32
31
|
role: "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | Record<string, "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | undefined>;
|
|
32
|
+
domain: string;
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -41,8 +41,8 @@ export declare const profileResponse: z.ZodObject<{
|
|
|
41
41
|
lastName: string;
|
|
42
42
|
superPower: boolean;
|
|
43
43
|
repositories: {
|
|
44
|
-
domain: string;
|
|
45
44
|
role: "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | Record<string, "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | undefined>;
|
|
45
|
+
domain: string;
|
|
46
46
|
name?: string | undefined;
|
|
47
47
|
}[];
|
|
48
48
|
}, {
|
|
@@ -54,8 +54,8 @@ export declare const profileResponse: z.ZodObject<{
|
|
|
54
54
|
lastName: string;
|
|
55
55
|
superPower: boolean;
|
|
56
56
|
repositories: {
|
|
57
|
-
domain: string;
|
|
58
57
|
role: "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | Record<string, "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | undefined>;
|
|
58
|
+
domain: string;
|
|
59
59
|
name?: string | undefined;
|
|
60
60
|
}[];
|
|
61
61
|
}>;
|
|
@@ -70,8 +70,8 @@ export declare function useProfile(): {
|
|
|
70
70
|
lastName: string;
|
|
71
71
|
superPower: boolean;
|
|
72
72
|
repositories: {
|
|
73
|
-
domain: string;
|
|
74
73
|
role: "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | Record<string, "SuperUser" | "Owner" | "Administrator" | "Manager" | "Writer" | "Readonly" | undefined>;
|
|
74
|
+
domain: string;
|
|
75
75
|
name?: string | undefined;
|
|
76
76
|
}[];
|
|
77
77
|
};
|
|
@@ -88,32 +88,32 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
88
88
|
}) | undefined;
|
|
89
89
|
onClear: () => void;
|
|
90
90
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
91
|
-
id: string;
|
|
92
|
-
kind: string;
|
|
93
91
|
url: string;
|
|
92
|
+
id: string;
|
|
94
93
|
size: number;
|
|
94
|
+
kind: string;
|
|
95
95
|
tags: {
|
|
96
96
|
id: string;
|
|
97
97
|
name: string;
|
|
98
|
-
last_modified: number;
|
|
99
98
|
created_at: number;
|
|
99
|
+
last_modified: number;
|
|
100
100
|
count: number;
|
|
101
101
|
uploader_id?: string | undefined;
|
|
102
102
|
}[];
|
|
103
|
-
filename: string;
|
|
104
103
|
last_modified: number;
|
|
104
|
+
filename: string;
|
|
105
|
+
notes?: string | undefined;
|
|
105
106
|
height?: number | undefined;
|
|
106
107
|
width?: number | undefined;
|
|
107
|
-
|
|
108
|
+
credits?: string | undefined;
|
|
108
109
|
alt?: string | undefined;
|
|
109
110
|
uploader_id?: string | undefined;
|
|
110
|
-
|
|
111
|
-
credits?: string | undefined;
|
|
111
|
+
extension?: string | undefined;
|
|
112
112
|
search_highlight?: {
|
|
113
|
-
filename?: string | undefined;
|
|
114
|
-
alt?: string | undefined;
|
|
115
113
|
notes?: string | undefined;
|
|
116
114
|
credits?: string | undefined;
|
|
115
|
+
alt?: string | undefined;
|
|
116
|
+
filename?: string | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
}, Error, File, unknown>;
|
|
119
119
|
isUploadingImage: boolean;
|
|
@@ -4,32 +4,32 @@ interface UseImageFieldImageUploadArgs {
|
|
|
4
4
|
}
|
|
5
5
|
export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadArgs): {
|
|
6
6
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
7
|
-
id: string;
|
|
8
|
-
kind: string;
|
|
9
7
|
url: string;
|
|
8
|
+
id: string;
|
|
10
9
|
size: number;
|
|
10
|
+
kind: string;
|
|
11
11
|
tags: {
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
|
-
last_modified: number;
|
|
15
14
|
created_at: number;
|
|
15
|
+
last_modified: number;
|
|
16
16
|
count: number;
|
|
17
17
|
uploader_id?: string | undefined;
|
|
18
18
|
}[];
|
|
19
|
-
filename: string;
|
|
20
19
|
last_modified: number;
|
|
20
|
+
filename: string;
|
|
21
|
+
notes?: string | undefined;
|
|
21
22
|
height?: number | undefined;
|
|
22
23
|
width?: number | undefined;
|
|
23
|
-
|
|
24
|
+
credits?: string | undefined;
|
|
24
25
|
alt?: string | undefined;
|
|
25
26
|
uploader_id?: string | undefined;
|
|
26
|
-
|
|
27
|
-
credits?: string | undefined;
|
|
27
|
+
extension?: string | undefined;
|
|
28
28
|
search_highlight?: {
|
|
29
|
-
filename?: string | undefined;
|
|
30
|
-
alt?: string | undefined;
|
|
31
29
|
notes?: string | undefined;
|
|
32
30
|
credits?: string | undefined;
|
|
31
|
+
alt?: string | undefined;
|
|
32
|
+
filename?: string | undefined;
|
|
33
33
|
} | undefined;
|
|
34
34
|
}, Error, File, unknown>;
|
|
35
35
|
isUploadingImage: boolean;
|
|
@@ -5,16 +5,16 @@ interface IntegrationCatalogSearchArgs {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSearchArgs): {
|
|
7
7
|
items: {
|
|
8
|
-
id: string;
|
|
9
8
|
title: string;
|
|
9
|
+
id: string;
|
|
10
10
|
description?: string | undefined;
|
|
11
11
|
imageURL?: string | undefined;
|
|
12
12
|
}[];
|
|
13
13
|
response: {
|
|
14
14
|
page: number;
|
|
15
15
|
items: {
|
|
16
|
-
id: string;
|
|
17
16
|
title: string;
|
|
17
|
+
id: string;
|
|
18
18
|
description?: string | undefined;
|
|
19
19
|
imageURL?: string | undefined;
|
|
20
20
|
}[];
|
|
@@ -29,13 +29,13 @@ declare const integrationItem: z.ZodObject<{
|
|
|
29
29
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
30
30
|
description: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
id: string;
|
|
33
32
|
title: string;
|
|
33
|
+
id: string;
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
imageURL?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
id: string;
|
|
38
37
|
title: string;
|
|
38
|
+
id: string;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
imageURL?: string | undefined;
|
|
41
41
|
}>;
|
|
@@ -46,8 +46,8 @@ interface IntegrationCatalogReadArgs {
|
|
|
46
46
|
}
|
|
47
47
|
export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadArgs): {
|
|
48
48
|
item: {
|
|
49
|
-
id: string;
|
|
50
49
|
title: string;
|
|
50
|
+
id: string;
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
imageURL?: string | undefined;
|
|
53
53
|
};
|