@prismicio/editor-fields 0.4.71 → 0.4.73
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 +2 -10
- package/dist/core/APIExplorer/APIExplorer.d.ts +4 -1
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +34 -2
- package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +12 -3
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
- package/dist/core/APIExplorer/hooks/useCopy.d.ts +4 -0
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +6 -0
- package/dist/core/APIExplorer/hooks/useRequestRepository.d.ts +1 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +31 -31
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +3 -3
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +1 -1
- package/dist/core/service/document.d.ts +35 -35
- package/dist/core/service/documentSearch.d.ts +5 -5
- package/dist/core/service/repository.d.ts +18 -18
- package/dist/core/service/role.d.ts +10 -10
- package/dist/fields/ImageField/useImageField.d.ts +3 -3
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +3 -3
- package/dist/fields/LinkField/Documents/documentsData.d.ts +2 -2
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +3 -3
- package/dist/index.cjs.js +47 -47
- package/dist/index.es.js +29520 -29372
- package/dist/slices/utils.d.ts +5 -5
- package/package.json +4 -4
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +0 -19
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +0 -23
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +0 -3
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +0 -34
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +0 -34
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/index.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/{TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts → plugins/tableHandles/tableHandlesPluginView.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/utils.d.ts +0 -0
|
@@ -6,20 +6,20 @@ export declare const languageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
name: string;
|
|
10
9
|
id: string;
|
|
10
|
+
name: string;
|
|
11
11
|
is_master?: boolean | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
name: string;
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
is_master?: boolean | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
isMaster?: boolean | undefined;
|
|
18
18
|
id: string;
|
|
19
19
|
label: string;
|
|
20
20
|
}, {
|
|
21
|
-
name: string;
|
|
22
21
|
id: string;
|
|
22
|
+
name: string;
|
|
23
23
|
is_master?: boolean | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -65,14 +65,14 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
65
65
|
email: z.ZodOptional<z.ZodString>;
|
|
66
66
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
id?: string | undefined;
|
|
69
68
|
email?: string | undefined;
|
|
69
|
+
id?: string | undefined;
|
|
70
70
|
first_name?: string | undefined;
|
|
71
71
|
last_name?: string | undefined;
|
|
72
72
|
uploadedAvatar?: string | undefined;
|
|
73
73
|
}, {
|
|
74
|
-
id?: string | undefined;
|
|
75
74
|
email?: string | undefined;
|
|
75
|
+
id?: string | undefined;
|
|
76
76
|
first_name?: string | undefined;
|
|
77
77
|
last_name?: string | undefined;
|
|
78
78
|
uploadedAvatar?: string | undefined;
|
|
@@ -83,8 +83,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
83
83
|
last_modified_date: Date;
|
|
84
84
|
custom_type_label: string;
|
|
85
85
|
author: {
|
|
86
|
-
id?: string | undefined;
|
|
87
86
|
email?: string | undefined;
|
|
87
|
+
id?: string | undefined;
|
|
88
88
|
first_name?: string | undefined;
|
|
89
89
|
last_name?: string | undefined;
|
|
90
90
|
uploadedAvatar?: string | undefined;
|
|
@@ -98,8 +98,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
|
|
|
98
98
|
last_modified_date: Date;
|
|
99
99
|
custom_type_label: string;
|
|
100
100
|
author: {
|
|
101
|
-
id?: string | undefined;
|
|
102
101
|
email?: string | undefined;
|
|
102
|
+
id?: string | undefined;
|
|
103
103
|
first_name?: string | undefined;
|
|
104
104
|
last_name?: string | undefined;
|
|
105
105
|
uploadedAvatar?: string | undefined;
|
|
@@ -189,20 +189,20 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
189
189
|
name: z.ZodString;
|
|
190
190
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
|
-
name: string;
|
|
193
192
|
id: string;
|
|
193
|
+
name: string;
|
|
194
194
|
is_master?: boolean | undefined;
|
|
195
195
|
}, {
|
|
196
|
-
name: string;
|
|
197
196
|
id: string;
|
|
197
|
+
name: string;
|
|
198
198
|
is_master?: boolean | undefined;
|
|
199
199
|
}>, {
|
|
200
200
|
isMaster?: boolean | undefined;
|
|
201
201
|
id: string;
|
|
202
202
|
label: string;
|
|
203
203
|
}, {
|
|
204
|
-
name: string;
|
|
205
204
|
id: string;
|
|
205
|
+
name: string;
|
|
206
206
|
is_master?: boolean | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -248,14 +248,14 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
248
248
|
email: z.ZodOptional<z.ZodString>;
|
|
249
249
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
id?: string | undefined;
|
|
252
251
|
email?: string | undefined;
|
|
252
|
+
id?: string | undefined;
|
|
253
253
|
first_name?: string | undefined;
|
|
254
254
|
last_name?: string | undefined;
|
|
255
255
|
uploadedAvatar?: string | undefined;
|
|
256
256
|
}, {
|
|
257
|
-
id?: string | undefined;
|
|
258
257
|
email?: string | undefined;
|
|
258
|
+
id?: string | undefined;
|
|
259
259
|
first_name?: string | undefined;
|
|
260
260
|
last_name?: string | undefined;
|
|
261
261
|
uploadedAvatar?: string | undefined;
|
|
@@ -266,8 +266,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
266
266
|
last_modified_date: Date;
|
|
267
267
|
custom_type_label: string;
|
|
268
268
|
author: {
|
|
269
|
-
id?: string | undefined;
|
|
270
269
|
email?: string | undefined;
|
|
270
|
+
id?: string | undefined;
|
|
271
271
|
first_name?: string | undefined;
|
|
272
272
|
last_name?: string | undefined;
|
|
273
273
|
uploadedAvatar?: string | undefined;
|
|
@@ -281,8 +281,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
281
281
|
last_modified_date: Date;
|
|
282
282
|
custom_type_label: string;
|
|
283
283
|
author: {
|
|
284
|
-
id?: string | undefined;
|
|
285
284
|
email?: string | undefined;
|
|
285
|
+
id?: string | undefined;
|
|
286
286
|
first_name?: string | undefined;
|
|
287
287
|
last_name?: string | undefined;
|
|
288
288
|
uploadedAvatar?: string | undefined;
|
|
@@ -316,8 +316,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
316
316
|
last_modified_date: Date;
|
|
317
317
|
custom_type_label: string;
|
|
318
318
|
author: {
|
|
319
|
-
id?: string | undefined;
|
|
320
319
|
email?: string | undefined;
|
|
320
|
+
id?: string | undefined;
|
|
321
321
|
first_name?: string | undefined;
|
|
322
322
|
last_name?: string | undefined;
|
|
323
323
|
uploadedAvatar?: string | undefined;
|
|
@@ -329,8 +329,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
329
329
|
}, {
|
|
330
330
|
id: string;
|
|
331
331
|
language: {
|
|
332
|
-
name: string;
|
|
333
332
|
id: string;
|
|
333
|
+
name: string;
|
|
334
334
|
is_master?: boolean | undefined;
|
|
335
335
|
};
|
|
336
336
|
custom_type_id: string;
|
|
@@ -350,8 +350,8 @@ export declare const documentMetaSchema: z.ZodObject<{
|
|
|
350
350
|
last_modified_date: Date;
|
|
351
351
|
custom_type_label: string;
|
|
352
352
|
author: {
|
|
353
|
-
id?: string | undefined;
|
|
354
353
|
email?: string | undefined;
|
|
354
|
+
id?: string | undefined;
|
|
355
355
|
first_name?: string | undefined;
|
|
356
356
|
last_name?: string | undefined;
|
|
357
357
|
uploadedAvatar?: string | undefined;
|
|
@@ -375,20 +375,20 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
375
375
|
name: z.ZodString;
|
|
376
376
|
is_master: z.ZodOptional<z.ZodBoolean>;
|
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
name: string;
|
|
379
378
|
id: string;
|
|
379
|
+
name: string;
|
|
380
380
|
is_master?: boolean | undefined;
|
|
381
381
|
}, {
|
|
382
|
-
name: string;
|
|
383
382
|
id: string;
|
|
383
|
+
name: string;
|
|
384
384
|
is_master?: boolean | undefined;
|
|
385
385
|
}>, {
|
|
386
386
|
isMaster?: boolean | undefined;
|
|
387
387
|
id: string;
|
|
388
388
|
label: string;
|
|
389
389
|
}, {
|
|
390
|
-
name: string;
|
|
391
390
|
id: string;
|
|
391
|
+
name: string;
|
|
392
392
|
is_master?: boolean | undefined;
|
|
393
393
|
}>;
|
|
394
394
|
versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
@@ -434,14 +434,14 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
434
434
|
email: z.ZodOptional<z.ZodString>;
|
|
435
435
|
uploadedAvatar: z.ZodOptional<z.ZodString>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
id?: string | undefined;
|
|
438
437
|
email?: string | undefined;
|
|
438
|
+
id?: string | undefined;
|
|
439
439
|
first_name?: string | undefined;
|
|
440
440
|
last_name?: string | undefined;
|
|
441
441
|
uploadedAvatar?: string | undefined;
|
|
442
442
|
}, {
|
|
443
|
-
id?: string | undefined;
|
|
444
443
|
email?: string | undefined;
|
|
444
|
+
id?: string | undefined;
|
|
445
445
|
first_name?: string | undefined;
|
|
446
446
|
last_name?: string | undefined;
|
|
447
447
|
uploadedAvatar?: string | undefined;
|
|
@@ -452,8 +452,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
452
452
|
last_modified_date: Date;
|
|
453
453
|
custom_type_label: string;
|
|
454
454
|
author: {
|
|
455
|
-
id?: string | undefined;
|
|
456
455
|
email?: string | undefined;
|
|
456
|
+
id?: string | undefined;
|
|
457
457
|
first_name?: string | undefined;
|
|
458
458
|
last_name?: string | undefined;
|
|
459
459
|
uploadedAvatar?: string | undefined;
|
|
@@ -467,8 +467,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
467
467
|
last_modified_date: Date;
|
|
468
468
|
custom_type_label: string;
|
|
469
469
|
author: {
|
|
470
|
-
id?: string | undefined;
|
|
471
470
|
email?: string | undefined;
|
|
471
|
+
id?: string | undefined;
|
|
472
472
|
first_name?: string | undefined;
|
|
473
473
|
last_name?: string | undefined;
|
|
474
474
|
uploadedAvatar?: string | undefined;
|
|
@@ -502,8 +502,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
502
502
|
last_modified_date: Date;
|
|
503
503
|
custom_type_label: string;
|
|
504
504
|
author: {
|
|
505
|
-
id?: string | undefined;
|
|
506
505
|
email?: string | undefined;
|
|
506
|
+
id?: string | undefined;
|
|
507
507
|
first_name?: string | undefined;
|
|
508
508
|
last_name?: string | undefined;
|
|
509
509
|
uploadedAvatar?: string | undefined;
|
|
@@ -515,8 +515,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
515
515
|
}, {
|
|
516
516
|
id: string;
|
|
517
517
|
language: {
|
|
518
|
-
name: string;
|
|
519
518
|
id: string;
|
|
519
|
+
name: string;
|
|
520
520
|
is_master?: boolean | undefined;
|
|
521
521
|
};
|
|
522
522
|
custom_type_id: string;
|
|
@@ -536,8 +536,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
536
536
|
last_modified_date: Date;
|
|
537
537
|
custom_type_label: string;
|
|
538
538
|
author: {
|
|
539
|
-
id?: string | undefined;
|
|
540
539
|
email?: string | undefined;
|
|
540
|
+
id?: string | undefined;
|
|
541
541
|
first_name?: string | undefined;
|
|
542
542
|
last_name?: string | undefined;
|
|
543
543
|
uploadedAvatar?: string | undefined;
|
|
@@ -575,8 +575,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
575
575
|
last_modified_date: Date;
|
|
576
576
|
custom_type_label: string;
|
|
577
577
|
author: {
|
|
578
|
-
id?: string | undefined;
|
|
579
578
|
email?: string | undefined;
|
|
579
|
+
id?: string | undefined;
|
|
580
580
|
first_name?: string | undefined;
|
|
581
581
|
last_name?: string | undefined;
|
|
582
582
|
uploadedAvatar?: string | undefined;
|
|
@@ -592,8 +592,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
592
592
|
results: {
|
|
593
593
|
id: string;
|
|
594
594
|
language: {
|
|
595
|
-
name: string;
|
|
596
595
|
id: string;
|
|
596
|
+
name: string;
|
|
597
597
|
is_master?: boolean | undefined;
|
|
598
598
|
};
|
|
599
599
|
custom_type_id: string;
|
|
@@ -613,8 +613,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
613
613
|
last_modified_date: Date;
|
|
614
614
|
custom_type_label: string;
|
|
615
615
|
author: {
|
|
616
|
-
id?: string | undefined;
|
|
617
616
|
email?: string | undefined;
|
|
617
|
+
id?: string | undefined;
|
|
618
618
|
first_name?: string | undefined;
|
|
619
619
|
last_name?: string | undefined;
|
|
620
620
|
uploadedAvatar?: string | undefined;
|
|
@@ -7679,8 +7679,8 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
|
|
|
7679
7679
|
last_modified_date: Date;
|
|
7680
7680
|
custom_type_label: string;
|
|
7681
7681
|
author: {
|
|
7682
|
-
id?: string | undefined;
|
|
7683
7682
|
email?: string | undefined;
|
|
7683
|
+
id?: string | undefined;
|
|
7684
7684
|
first_name?: string | undefined;
|
|
7685
7685
|
last_name?: string | undefined;
|
|
7686
7686
|
uploadedAvatar?: string | undefined;
|
|
@@ -7719,8 +7719,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7719
7719
|
last_modified_date: Date;
|
|
7720
7720
|
custom_type_label: string;
|
|
7721
7721
|
author: {
|
|
7722
|
-
id?: string | undefined;
|
|
7723
7722
|
email?: string | undefined;
|
|
7723
|
+
id?: string | undefined;
|
|
7724
7724
|
first_name?: string | undefined;
|
|
7725
7725
|
last_name?: string | undefined;
|
|
7726
7726
|
uploadedAvatar?: string | undefined;
|
|
@@ -7758,8 +7758,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7758
7758
|
last_modified_date: Date;
|
|
7759
7759
|
custom_type_label: string;
|
|
7760
7760
|
author: {
|
|
7761
|
-
id?: string | undefined;
|
|
7762
7761
|
email?: string | undefined;
|
|
7762
|
+
id?: string | undefined;
|
|
7763
7763
|
first_name?: string | undefined;
|
|
7764
7764
|
last_name?: string | undefined;
|
|
7765
7765
|
uploadedAvatar?: string | undefined;
|
|
@@ -7798,8 +7798,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7798
7798
|
last_modified_date: Date;
|
|
7799
7799
|
custom_type_label: string;
|
|
7800
7800
|
author: {
|
|
7801
|
-
id?: string | undefined;
|
|
7802
7801
|
email?: string | undefined;
|
|
7802
|
+
id?: string | undefined;
|
|
7803
7803
|
first_name?: string | undefined;
|
|
7804
7804
|
last_name?: string | undefined;
|
|
7805
7805
|
uploadedAvatar?: string | undefined;
|
|
@@ -7839,8 +7839,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
|
|
|
7839
7839
|
last_modified_date: Date;
|
|
7840
7840
|
custom_type_label: string;
|
|
7841
7841
|
author: {
|
|
7842
|
-
id?: string | undefined;
|
|
7843
7842
|
email?: string | undefined;
|
|
7843
|
+
id?: string | undefined;
|
|
7844
7844
|
first_name?: string | undefined;
|
|
7845
7845
|
last_name?: string | undefined;
|
|
7846
7846
|
uploadedAvatar?: string | undefined;
|
|
@@ -44,8 +44,8 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
|
|
|
44
44
|
last_modified_date: Date;
|
|
45
45
|
custom_type_label: string;
|
|
46
46
|
author: {
|
|
47
|
-
id?: string | undefined;
|
|
48
47
|
email?: string | undefined;
|
|
48
|
+
id?: string | undefined;
|
|
49
49
|
first_name?: string | undefined;
|
|
50
50
|
last_name?: string | undefined;
|
|
51
51
|
uploadedAvatar?: string | undefined;
|
|
@@ -125,8 +125,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
125
125
|
last_modified_date: Date;
|
|
126
126
|
custom_type_label: string;
|
|
127
127
|
author: {
|
|
128
|
-
id?: string | undefined;
|
|
129
128
|
email?: string | undefined;
|
|
129
|
+
id?: string | undefined;
|
|
130
130
|
first_name?: string | undefined;
|
|
131
131
|
last_name?: string | undefined;
|
|
132
132
|
uploadedAvatar?: string | undefined;
|
|
@@ -192,8 +192,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
192
192
|
last_modified_date: Date;
|
|
193
193
|
custom_type_label: string;
|
|
194
194
|
author: {
|
|
195
|
-
id?: string | undefined;
|
|
196
195
|
email?: string | undefined;
|
|
196
|
+
id?: string | undefined;
|
|
197
197
|
first_name?: string | undefined;
|
|
198
198
|
last_name?: string | undefined;
|
|
199
199
|
uploadedAvatar?: string | undefined;
|
|
@@ -275,8 +275,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
275
275
|
last_modified_date: Date;
|
|
276
276
|
custom_type_label: string;
|
|
277
277
|
author: {
|
|
278
|
-
id?: string | undefined;
|
|
279
278
|
email?: string | undefined;
|
|
279
|
+
id?: string | undefined;
|
|
280
280
|
first_name?: string | undefined;
|
|
281
281
|
last_name?: string | undefined;
|
|
282
282
|
uploadedAvatar?: string | undefined;
|
|
@@ -359,8 +359,8 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
359
359
|
last_modified_date: Date;
|
|
360
360
|
custom_type_label: string;
|
|
361
361
|
author: {
|
|
362
|
-
id?: string | undefined;
|
|
363
362
|
email?: string | undefined;
|
|
363
|
+
id?: string | undefined;
|
|
364
364
|
first_name?: string | undefined;
|
|
365
365
|
last_name?: string | undefined;
|
|
366
366
|
uploadedAvatar?: 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;
|
|
@@ -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<{
|
|
@@ -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;
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -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
|
-
id: string;
|
|
284
283
|
email: string;
|
|
284
|
+
id: string;
|
|
285
285
|
uploadedAvatar?: string | undefined;
|
|
286
286
|
firstname?: string | undefined;
|
|
287
287
|
lastname?: string | undefined;
|
|
288
288
|
}, {
|
|
289
|
-
id: string;
|
|
290
289
|
email: string;
|
|
290
|
+
id: string;
|
|
291
291
|
uploadedAvatar?: string | undefined;
|
|
292
292
|
firstname?: string | undefined;
|
|
293
293
|
lastname?: string | undefined;
|
|
@@ -312,8 +312,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
|
|
|
312
312
|
isDismissed: boolean;
|
|
313
313
|
};
|
|
314
314
|
users: {
|
|
315
|
-
id: string;
|
|
316
315
|
email: string;
|
|
316
|
+
id: 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
|
-
id: string;
|
|
342
341
|
email: string;
|
|
342
|
+
id: string;
|
|
343
343
|
uploadedAvatar?: string | undefined;
|
|
344
344
|
firstname?: string | undefined;
|
|
345
345
|
lastname?: string | undefined;
|
|
@@ -284,12 +284,12 @@ export declare const TeamSpace: z.ZodObject<{
|
|
|
284
284
|
name: z.ZodString;
|
|
285
285
|
customTypes: z.ZodArray<z.ZodString, "many">;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
name: string;
|
|
288
287
|
id: string;
|
|
288
|
+
name: string;
|
|
289
289
|
customTypes: string[];
|
|
290
290
|
}, {
|
|
291
|
-
name: string;
|
|
292
291
|
id: string;
|
|
292
|
+
name: string;
|
|
293
293
|
customTypes: string[];
|
|
294
294
|
}>;
|
|
295
295
|
export type TeamSpace = z.infer<typeof TeamSpace>;
|
|
@@ -310,24 +310,24 @@ declare const TeamSpacesResponse: z.ZodObject<{
|
|
|
310
310
|
name: z.ZodString;
|
|
311
311
|
customTypes: z.ZodArray<z.ZodString, "many">;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
name: string;
|
|
314
313
|
id: string;
|
|
314
|
+
name: string;
|
|
315
315
|
customTypes: string[];
|
|
316
316
|
}, {
|
|
317
|
-
name: string;
|
|
318
317
|
id: string;
|
|
318
|
+
name: string;
|
|
319
319
|
customTypes: string[];
|
|
320
320
|
}>, "many">;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
322
|
results: {
|
|
323
|
-
name: string;
|
|
324
323
|
id: string;
|
|
324
|
+
name: string;
|
|
325
325
|
customTypes: string[];
|
|
326
326
|
}[];
|
|
327
327
|
}, {
|
|
328
328
|
results: {
|
|
329
|
-
name: string;
|
|
330
329
|
id: string;
|
|
330
|
+
name: string;
|
|
331
331
|
customTypes: string[];
|
|
332
332
|
}[];
|
|
333
333
|
}>;
|
|
@@ -340,27 +340,27 @@ interface GetTeamSpacesArgs {
|
|
|
340
340
|
export declare function getTeamSpaces(args: GetTeamSpacesArgs): Promise<TeamSpacesResponse>;
|
|
341
341
|
export declare function getTeamSpacesOptions(args: GetTeamSpacesArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
|
|
342
342
|
results: {
|
|
343
|
-
name: string;
|
|
344
343
|
id: string;
|
|
344
|
+
name: string;
|
|
345
345
|
customTypes: string[];
|
|
346
346
|
}[];
|
|
347
347
|
}, Error, {
|
|
348
|
-
name: string;
|
|
349
348
|
id: string;
|
|
349
|
+
name: string;
|
|
350
350
|
customTypes: string[];
|
|
351
351
|
}[], (string | GetTeamSpacesArgs)[]> & {
|
|
352
352
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
353
353
|
results: {
|
|
354
|
-
name: string;
|
|
355
354
|
id: string;
|
|
355
|
+
name: string;
|
|
356
356
|
customTypes: string[];
|
|
357
357
|
}[];
|
|
358
358
|
}> | undefined;
|
|
359
359
|
} & {
|
|
360
360
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<(string | GetTeamSpacesArgs)[], {
|
|
361
361
|
results: {
|
|
362
|
-
name: string;
|
|
363
362
|
id: string;
|
|
363
|
+
name: string;
|
|
364
364
|
customTypes: string[];
|
|
365
365
|
}[];
|
|
366
366
|
}>;
|
|
@@ -88,13 +88,13 @@ 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
91
|
size: number;
|
|
92
|
+
id: string;
|
|
93
93
|
url: string;
|
|
94
94
|
kind: string;
|
|
95
95
|
tags: {
|
|
96
|
-
name: string;
|
|
97
96
|
id: string;
|
|
97
|
+
name: string;
|
|
98
98
|
created_at: number;
|
|
99
99
|
last_modified: number;
|
|
100
100
|
count: number;
|
|
@@ -102,9 +102,9 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
102
102
|
}[];
|
|
103
103
|
last_modified: number;
|
|
104
104
|
filename: string;
|
|
105
|
+
notes?: string | undefined;
|
|
105
106
|
width?: number | undefined;
|
|
106
107
|
height?: number | undefined;
|
|
107
|
-
notes?: string | undefined;
|
|
108
108
|
credits?: string | undefined;
|
|
109
109
|
alt?: string | undefined;
|
|
110
110
|
uploader_id?: string | undefined;
|
|
@@ -4,13 +4,13 @@ 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
7
|
size: number;
|
|
8
|
+
id: string;
|
|
9
9
|
url: string;
|
|
10
10
|
kind: string;
|
|
11
11
|
tags: {
|
|
12
|
-
name: string;
|
|
13
12
|
id: string;
|
|
13
|
+
name: string;
|
|
14
14
|
created_at: number;
|
|
15
15
|
last_modified: number;
|
|
16
16
|
count: number;
|
|
@@ -18,9 +18,9 @@ export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadA
|
|
|
18
18
|
}[];
|
|
19
19
|
last_modified: number;
|
|
20
20
|
filename: string;
|
|
21
|
+
notes?: string | undefined;
|
|
21
22
|
width?: number | undefined;
|
|
22
23
|
height?: number | undefined;
|
|
23
|
-
notes?: string | undefined;
|
|
24
24
|
credits?: string | undefined;
|
|
25
25
|
alt?: string | undefined;
|
|
26
26
|
uploader_id?: string | undefined;
|
|
@@ -21,8 +21,8 @@ export declare function useDocuments(params: {
|
|
|
21
21
|
last_modified_date: Date;
|
|
22
22
|
custom_type_label: string;
|
|
23
23
|
author: {
|
|
24
|
-
id?: string | undefined;
|
|
25
24
|
email?: string | undefined;
|
|
25
|
+
id?: string | undefined;
|
|
26
26
|
first_name?: string | undefined;
|
|
27
27
|
last_name?: string | undefined;
|
|
28
28
|
uploadedAvatar?: string | undefined;
|
|
@@ -77,8 +77,8 @@ export declare function useDocuments(params: {
|
|
|
77
77
|
last_modified_date: Date;
|
|
78
78
|
custom_type_label: string;
|
|
79
79
|
author: {
|
|
80
|
-
id?: string | undefined;
|
|
81
80
|
email?: string | undefined;
|
|
81
|
+
id?: string | undefined;
|
|
82
82
|
first_name?: string | undefined;
|
|
83
83
|
last_name?: string | undefined;
|
|
84
84
|
uploadedAvatar?: string | undefined;
|
|
@@ -16,7 +16,7 @@ interface GetFieldIconArgs {
|
|
|
16
16
|
selectType?: FieldSelectType;
|
|
17
17
|
displayTextEnabled?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export declare function getFieldIcon(args: GetFieldIconArgs): "
|
|
19
|
+
export declare function getFieldIcon(args: GetFieldIconArgs): "description" | "link" | "image" | "notes" | "public";
|
|
20
20
|
interface FilledLinkFieldProps {
|
|
21
21
|
id?: string;
|
|
22
22
|
appearance?: LinkFieldAppearance;
|