@prismicio/editor-fields 0.4.49-alpha.feat-onboarding-guide.14 → 0.4.49-alpha.feat-onboarding-guide.16
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/MediaLibrary/hooks/mediaLibraryData.d.ts +9 -9
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +1 -1
- package/dist/core/OnboardingGuide/OnboardingGuide.d.ts +3 -3
- package/dist/core/OnboardingGuide/components/OnboardingCard.d.ts +2 -2
- package/dist/core/OnboardingGuide/components/OnboardingProgressStepper.d.ts +2 -2
- package/dist/core/OnboardingGuide/content.d.ts +1 -1
- package/dist/core/service/customType.d.ts +3 -3
- package/dist/core/service/document.d.ts +5 -5
- package/dist/core/service/onboarding.d.ts +14 -19
- package/dist/core/service/repository.d.ts +12 -12
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +2 -2
- package/dist/index.cjs.js +23 -23
- package/dist/index.es.js +2493 -2502
- package/package.json +4 -4
|
@@ -54,8 +54,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
54
54
|
count?: number | undefined;
|
|
55
55
|
}>, "many">;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
size: number;
|
|
58
57
|
id: string;
|
|
58
|
+
size: number;
|
|
59
59
|
url: string;
|
|
60
60
|
tags: {
|
|
61
61
|
id: string;
|
|
@@ -82,8 +82,8 @@ export declare const mediaAssetType: z.ZodObject<{
|
|
|
82
82
|
credits?: string | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
size: number;
|
|
86
85
|
id: string;
|
|
86
|
+
size: number;
|
|
87
87
|
url: string;
|
|
88
88
|
tags: {
|
|
89
89
|
id: string;
|
|
@@ -169,8 +169,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
169
169
|
count?: number | undefined;
|
|
170
170
|
}>, "many">;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
size: number;
|
|
173
172
|
id: string;
|
|
173
|
+
size: number;
|
|
174
174
|
url: string;
|
|
175
175
|
tags: {
|
|
176
176
|
id: string;
|
|
@@ -197,8 +197,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
197
197
|
credits?: string | undefined;
|
|
198
198
|
} | undefined;
|
|
199
199
|
}, {
|
|
200
|
-
size: number;
|
|
201
200
|
id: string;
|
|
201
|
+
size: number;
|
|
202
202
|
url: string;
|
|
203
203
|
tags: {
|
|
204
204
|
id: string;
|
|
@@ -228,8 +228,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
229
|
total: number;
|
|
230
230
|
items: {
|
|
231
|
-
size: number;
|
|
232
231
|
id: string;
|
|
232
|
+
size: number;
|
|
233
233
|
url: string;
|
|
234
234
|
tags: {
|
|
235
235
|
id: string;
|
|
@@ -260,8 +260,8 @@ export declare const mediaSearchResponse: z.ZodObject<{
|
|
|
260
260
|
}, {
|
|
261
261
|
total: number;
|
|
262
262
|
items: {
|
|
263
|
-
size: number;
|
|
264
263
|
id: string;
|
|
264
|
+
size: number;
|
|
265
265
|
url: string;
|
|
266
266
|
tags: {
|
|
267
267
|
id: string;
|
|
@@ -308,8 +308,8 @@ export declare function searchMedia(baseUrl: URL | undefined, repository: string
|
|
|
308
308
|
page: number;
|
|
309
309
|
total: number;
|
|
310
310
|
items: {
|
|
311
|
-
size: number;
|
|
312
311
|
id: string;
|
|
312
|
+
size: number;
|
|
313
313
|
url: string;
|
|
314
314
|
tags: {
|
|
315
315
|
id: string;
|
|
@@ -357,8 +357,8 @@ export declare function useMediaSearch(args: UseMediaLibrarySearchArgs): {
|
|
|
357
357
|
setFilters: (filters: Partial<MediaLibraryFilters>) => void;
|
|
358
358
|
resetFilters: () => void;
|
|
359
359
|
media: {
|
|
360
|
-
size: number;
|
|
361
360
|
id: string;
|
|
361
|
+
size: number;
|
|
362
362
|
url: string;
|
|
363
363
|
tags: {
|
|
364
364
|
id: string;
|
|
@@ -407,8 +407,8 @@ declare function deleteMedia(mediaIds: string[]): void;
|
|
|
407
407
|
declare function deleteSearchData(args: MediaLibraryFilters): void;
|
|
408
408
|
type MediaPage = Awaited<ReturnType<typeof searchMedia>>;
|
|
409
409
|
export declare function getMedia(allPages: MediaPage[], keyword: string, assetType: MediaAssetType, uploaderId: string | undefined, tags: string): {
|
|
410
|
-
size: number;
|
|
411
410
|
id: string;
|
|
411
|
+
size: number;
|
|
412
412
|
url: string;
|
|
413
413
|
tags: {
|
|
414
414
|
id: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { OnboardingState,
|
|
2
|
+
import type { OnboardingState, OnboardingTracking } from "../service";
|
|
3
3
|
interface OnboardingGuideProps {
|
|
4
4
|
onboardingState: OnboardingState;
|
|
5
5
|
tracking: OnboardingTracking;
|
|
6
|
-
onToggleStep: (stepId:
|
|
6
|
+
onToggleStep: (stepId: string) => Promise<string[]>;
|
|
7
7
|
onToggleGuide: () => Promise<void>;
|
|
8
8
|
}
|
|
9
|
-
export declare function OnboardingGuide(props: OnboardingGuideProps): JSX.Element;
|
|
9
|
+
export declare function OnboardingGuide(props: OnboardingGuideProps): JSX.Element | null;
|
|
10
10
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { OnboardingStep,
|
|
2
|
+
import type { OnboardingStep, OnboardingTracking } from "../../service";
|
|
3
3
|
interface OnboardingCardProps {
|
|
4
4
|
steps: OnboardingStep[];
|
|
5
|
-
completedSteps:
|
|
5
|
+
completedSteps: string[];
|
|
6
6
|
tutorialLink?: string;
|
|
7
7
|
tracking: OnboardingTracking;
|
|
8
8
|
onToggleStep: (step: OnboardingStep) => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { OnboardingStep,
|
|
2
|
+
import type { OnboardingStep, OnboardingTracking } from "../../service";
|
|
3
3
|
interface OnboardingProgressStepperProps {
|
|
4
4
|
steps: OnboardingStep[];
|
|
5
|
-
completedSteps:
|
|
5
|
+
completedSteps: string[];
|
|
6
6
|
onToggleStep: (step: OnboardingStep) => Promise<void>;
|
|
7
7
|
tracking: OnboardingTracking;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OnboardingFramework, OnboardingStep } from "../service/onboarding";
|
|
2
2
|
export declare function getOnboardingContent(framework?: OnboardingFramework, starter?: string | null): {
|
|
3
3
|
steps: OnboardingStep[];
|
|
4
|
-
defaultCompletedStepIds:
|
|
4
|
+
defaultCompletedStepIds: string[];
|
|
5
5
|
tutorialLink: string | undefined;
|
|
6
6
|
};
|
|
@@ -6,21 +6,21 @@ declare const customTypeResponse: z.ZodObject<{
|
|
|
6
6
|
repeatable: z.ZodBoolean;
|
|
7
7
|
status: z.ZodBoolean;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: string;
|
|
9
10
|
status: boolean;
|
|
10
11
|
label: string;
|
|
11
|
-
id: string;
|
|
12
12
|
repeatable: boolean;
|
|
13
13
|
}, {
|
|
14
|
+
id: string;
|
|
14
15
|
status: boolean;
|
|
15
16
|
label: string;
|
|
16
|
-
id: string;
|
|
17
17
|
repeatable: boolean;
|
|
18
18
|
}>;
|
|
19
19
|
export type CustomTypeResponse = z.TypeOf<typeof customTypeResponse>;
|
|
20
20
|
export declare function getRepositoryCustomTypes(baseUrl: URL, repository: string, authStrategy: AuthStrategy): Promise<{
|
|
21
|
+
id: string;
|
|
21
22
|
status: boolean;
|
|
22
23
|
label: string;
|
|
23
|
-
id: string;
|
|
24
24
|
repeatable: boolean;
|
|
25
25
|
}[]>;
|
|
26
26
|
export {};
|
|
@@ -193,8 +193,8 @@ export declare const documentMetaOkType: z.ZodObject<{
|
|
|
193
193
|
uid?: string | undefined;
|
|
194
194
|
}>>, "many">;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
title: string;
|
|
197
196
|
id: string;
|
|
197
|
+
title: string;
|
|
198
198
|
language: {
|
|
199
199
|
id: string;
|
|
200
200
|
name: string;
|
|
@@ -363,8 +363,8 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
363
363
|
uid?: string | undefined;
|
|
364
364
|
}>>, "many">;
|
|
365
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
-
title: string;
|
|
367
366
|
id: string;
|
|
367
|
+
title: string;
|
|
368
368
|
language: {
|
|
369
369
|
id: string;
|
|
370
370
|
name: string;
|
|
@@ -432,10 +432,9 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
432
432
|
title?: string | null | undefined;
|
|
433
433
|
}>, "many">;
|
|
434
434
|
}, "strip", z.ZodTypeAny, {
|
|
435
|
-
total: number;
|
|
436
435
|
results: {
|
|
437
|
-
title: string;
|
|
438
436
|
id: string;
|
|
437
|
+
title: string;
|
|
439
438
|
language: {
|
|
440
439
|
id: string;
|
|
441
440
|
name: string;
|
|
@@ -468,9 +467,9 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
468
467
|
uid?: string | undefined;
|
|
469
468
|
})[];
|
|
470
469
|
}[];
|
|
470
|
+
total: number;
|
|
471
471
|
cursor?: string | undefined;
|
|
472
472
|
}, {
|
|
473
|
-
total: number;
|
|
474
473
|
results: {
|
|
475
474
|
id: string;
|
|
476
475
|
language: {
|
|
@@ -506,6 +505,7 @@ declare const getDocumentListSchema: z.ZodObject<{
|
|
|
506
505
|
})[];
|
|
507
506
|
title?: string | null | undefined;
|
|
508
507
|
}[];
|
|
508
|
+
total: number;
|
|
509
509
|
cursor?: string | undefined;
|
|
510
510
|
}>;
|
|
511
511
|
declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
|
|
@@ -1,54 +1,50 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { type AuthStrategy } from "../../EditorConfig";
|
|
4
|
-
declare const onboardingStepIds: readonly ["createPrismicProject", "chooseLocale", "createProject", "setupSliceMachine", "createPageType", "codePage", "createSlice", "reviewAndPush", "createContent", "renderPage"];
|
|
5
|
-
export declare const onboardingStepIdSchema: z.ZodEnum<["createPrismicProject", "chooseLocale", "createProject", "setupSliceMachine", "createPageType", "codePage", "createSlice", "reviewAndPush", "createContent", "renderPage"]>;
|
|
6
|
-
export type OnboardingStepId = typeof onboardingStepIds[number];
|
|
7
4
|
export interface OnboardingStep {
|
|
8
|
-
id:
|
|
5
|
+
id: string;
|
|
9
6
|
title: string;
|
|
10
7
|
description: string;
|
|
11
8
|
content?: JSX.Element;
|
|
12
9
|
videoUrl?: string;
|
|
13
10
|
defaultCompleted?: boolean;
|
|
14
11
|
}
|
|
15
|
-
declare const onboardingFrameworks: readonly ["next", "nuxt", "sveltekit", "other"];
|
|
16
|
-
export type OnboardingFramework = typeof onboardingFrameworks[number];
|
|
17
12
|
export declare const onboardingStateSchema: z.ZodObject<{
|
|
18
|
-
completedSteps: z.ZodArray<z.
|
|
13
|
+
completedSteps: z.ZodArray<z.ZodString, "many">;
|
|
19
14
|
isDismissed: z.ZodBoolean;
|
|
20
15
|
context: z.ZodObject<{
|
|
21
|
-
framework: z.ZodEnum<["next", "nuxt", "sveltekit", "other"]
|
|
16
|
+
framework: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "next" | "nuxt" | "sveltekit" | "other", unknown>>>;
|
|
22
17
|
starterId: z.ZodNullable<z.ZodString>;
|
|
23
18
|
}, "strip", z.ZodTypeAny, {
|
|
24
19
|
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
25
20
|
starterId: string | null;
|
|
26
21
|
}, {
|
|
27
|
-
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
28
22
|
starterId: string | null;
|
|
23
|
+
framework?: unknown;
|
|
29
24
|
}>;
|
|
30
25
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
completedSteps:
|
|
26
|
+
completedSteps: string[];
|
|
32
27
|
isDismissed: boolean;
|
|
33
28
|
context: {
|
|
34
29
|
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
35
30
|
starterId: string | null;
|
|
36
31
|
};
|
|
37
32
|
}, {
|
|
38
|
-
completedSteps:
|
|
33
|
+
completedSteps: string[];
|
|
39
34
|
isDismissed: boolean;
|
|
40
35
|
context: {
|
|
41
|
-
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
42
36
|
starterId: string | null;
|
|
37
|
+
framework?: unknown;
|
|
43
38
|
};
|
|
44
39
|
}>;
|
|
45
40
|
export type OnboardingState = z.infer<typeof onboardingStateSchema>;
|
|
41
|
+
export type OnboardingFramework = OnboardingState["context"]["framework"];
|
|
46
42
|
export declare const onboardingToggleStepResultSchema: z.ZodObject<{
|
|
47
|
-
completedSteps: z.ZodArray<z.
|
|
43
|
+
completedSteps: z.ZodArray<z.ZodString, "many">;
|
|
48
44
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
completedSteps:
|
|
45
|
+
completedSteps: string[];
|
|
50
46
|
}, {
|
|
51
|
-
completedSteps:
|
|
47
|
+
completedSteps: string[];
|
|
52
48
|
}>;
|
|
53
49
|
export type OnboardingToggleStepResult = z.infer<typeof onboardingToggleStepResultSchema>;
|
|
54
50
|
export declare const onboardingToggleResultSchema: z.ZodObject<{
|
|
@@ -60,17 +56,17 @@ export declare const onboardingToggleResultSchema: z.ZodObject<{
|
|
|
60
56
|
}>;
|
|
61
57
|
export type OnboardingToggleResult = z.infer<typeof onboardingToggleResultSchema>;
|
|
62
58
|
export declare function getOnboarding(baseUrl: URL, repository: string, authStrategy: AuthStrategy): Promise<OnboardingState>;
|
|
63
|
-
export declare function toggleOnboardingStep(stepId:
|
|
59
|
+
export declare function toggleOnboardingStep(stepId: string, baseUrl: URL, repository: string, authStrategy: AuthStrategy): Promise<OnboardingToggleStepResult>;
|
|
64
60
|
export declare function toggleOnboarding(baseUrl: URL, repository: string, authStrategy: AuthStrategy): Promise<OnboardingToggleResult>;
|
|
65
61
|
export type OnboardingTrackSource = "PageBuilder" | "SliceMachine";
|
|
66
62
|
export type OnboardingTrackEvent = {
|
|
67
63
|
event: "shared-onboarding:step-completed";
|
|
68
|
-
stepId:
|
|
64
|
+
stepId: string;
|
|
69
65
|
stepTitle: string;
|
|
70
66
|
source: OnboardingTrackSource;
|
|
71
67
|
} | {
|
|
72
68
|
event: "shared-onboarding:step-opened";
|
|
73
|
-
stepId:
|
|
69
|
+
stepId: string;
|
|
74
70
|
stepTitle: string;
|
|
75
71
|
source: OnboardingTrackSource;
|
|
76
72
|
} | {
|
|
@@ -81,4 +77,3 @@ export interface OnboardingTracking {
|
|
|
81
77
|
track: (args: OnboardingTrackEvent) => void | Promise<void>;
|
|
82
78
|
source: OnboardingTrackSource;
|
|
83
79
|
}
|
|
84
|
-
export {};
|
|
@@ -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
|
-
declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "next" | "nuxt" | "sveltekit" | "other", unknown>;
|
|
31
|
+
export declare const repositoryFramework: z.ZodEffects<z.ZodEnum<["next", "nuxt", "sveltekit", "other"]>, "next" | "nuxt" | "sveltekit" | "other", 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>>;
|
|
@@ -92,7 +92,11 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
92
92
|
minor: number;
|
|
93
93
|
}>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
|
|
95
|
+
languages: {
|
|
96
|
+
id: string;
|
|
97
|
+
name: string;
|
|
98
|
+
is_master?: boolean | undefined;
|
|
99
|
+
}[];
|
|
96
100
|
authors: {
|
|
97
101
|
id: string;
|
|
98
102
|
email: string;
|
|
@@ -100,14 +104,10 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
100
104
|
lastname?: string | undefined;
|
|
101
105
|
uploadedAvatar?: string | undefined;
|
|
102
106
|
}[];
|
|
103
|
-
languages: {
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
is_master?: boolean | undefined;
|
|
107
|
-
}[];
|
|
108
107
|
quotas: {
|
|
109
108
|
slicemachineEnabled: boolean;
|
|
110
109
|
};
|
|
110
|
+
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
111
111
|
storageVersion: {
|
|
112
112
|
major: number;
|
|
113
113
|
minor: number;
|
|
@@ -141,6 +141,11 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
141
141
|
framework: "next" | "nuxt" | "sveltekit" | "other";
|
|
142
142
|
simulatorUrl: string | undefined;
|
|
143
143
|
isSupportedFramework: boolean;
|
|
144
|
+
languages: {
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
is_master?: boolean | undefined;
|
|
148
|
+
}[];
|
|
144
149
|
authors: {
|
|
145
150
|
id: string;
|
|
146
151
|
email: string;
|
|
@@ -148,11 +153,6 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
148
153
|
lastname?: string | undefined;
|
|
149
154
|
uploadedAvatar?: string | undefined;
|
|
150
155
|
}[];
|
|
151
|
-
languages: {
|
|
152
|
-
id: string;
|
|
153
|
-
name: string;
|
|
154
|
-
is_master?: boolean | undefined;
|
|
155
|
-
}[];
|
|
156
156
|
quotas: {
|
|
157
157
|
slicemachineEnabled: boolean;
|
|
158
158
|
};
|
|
@@ -5,15 +5,15 @@ interface IntegrationCatalogSearchArgs {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSearchArgs): {
|
|
7
7
|
items: {
|
|
8
|
-
title: string;
|
|
9
8
|
id: string;
|
|
9
|
+
title: string;
|
|
10
10
|
imageURL?: string | undefined;
|
|
11
11
|
description?: string | undefined;
|
|
12
12
|
}[];
|
|
13
13
|
response: {
|
|
14
14
|
items: {
|
|
15
|
-
title: string;
|
|
16
15
|
id: string;
|
|
16
|
+
title: string;
|
|
17
17
|
imageURL?: string | undefined;
|
|
18
18
|
description?: string | undefined;
|
|
19
19
|
}[];
|
|
@@ -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
|
-
title: string;
|
|
33
32
|
id: string;
|
|
33
|
+
title: string;
|
|
34
34
|
imageURL?: string | undefined;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
title: string;
|
|
38
37
|
id: string;
|
|
38
|
+
title: string;
|
|
39
39
|
imageURL?: string | undefined;
|
|
40
40
|
description?: string | undefined;
|
|
41
41
|
}>;
|
|
@@ -46,8 +46,8 @@ interface IntegrationCatalogReadArgs {
|
|
|
46
46
|
}
|
|
47
47
|
export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadArgs): {
|
|
48
48
|
item: {
|
|
49
|
-
title: string;
|
|
50
49
|
id: string;
|
|
50
|
+
title: string;
|
|
51
51
|
imageURL?: string | undefined;
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
};
|
|
@@ -6,8 +6,8 @@ export declare function useDocuments(params: {
|
|
|
6
6
|
localesFilter: Set<FilterOption>;
|
|
7
7
|
}): {
|
|
8
8
|
documents: {
|
|
9
|
-
title: string;
|
|
10
9
|
id: string;
|
|
10
|
+
title: string;
|
|
11
11
|
language: {
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
@@ -66,8 +66,8 @@ export declare function useDocuments(params: {
|
|
|
66
66
|
preview_image?: string | undefined;
|
|
67
67
|
uid?: string | undefined;
|
|
68
68
|
})[];
|
|
69
|
-
title: string;
|
|
70
69
|
id: string;
|
|
70
|
+
title: string;
|
|
71
71
|
language: {
|
|
72
72
|
id: string;
|
|
73
73
|
name: string;
|