@mintlify/previewing 4.0.326 → 4.0.328
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.
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
import type { DecoratedNavigationPage } from '@mintlify/models';
|
|
2
2
|
export declare const generateNav: (pagesAcc: Record<string, DecoratedNavigationPage>) => Promise<{
|
|
3
3
|
generatedNav: import("@mintlify/models").DecoratedNavigation;
|
|
4
|
-
generatedDocsNav: {
|
|
4
|
+
generatedDocsNav: ({
|
|
5
|
+
languages: import("@mintlify/validation/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js").LanguageNavigation<"decorated">[];
|
|
6
|
+
} | {
|
|
7
|
+
versions: import("@mintlify/validation/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js").VersionNavigation<"decorated">[];
|
|
8
|
+
} | {
|
|
9
|
+
tabs: import("@mintlify/validation/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js").TabNavigation<"decorated">[];
|
|
10
|
+
} | {
|
|
11
|
+
dropdowns: import("@mintlify/validation/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js").DropdownNavigation<"decorated">[];
|
|
12
|
+
} | {
|
|
13
|
+
anchors: import("@mintlify/validation/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js").AnchorNavigation<"decorated">[];
|
|
14
|
+
} | {
|
|
15
|
+
groups: {
|
|
16
|
+
group: string;
|
|
17
|
+
pages: any[];
|
|
18
|
+
icon?: string | {
|
|
19
|
+
name: string;
|
|
20
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
hidden?: boolean | undefined;
|
|
23
|
+
root?: string | undefined;
|
|
24
|
+
}[];
|
|
25
|
+
} | {
|
|
26
|
+
pages: any[];
|
|
27
|
+
}) & {
|
|
5
28
|
global?: {
|
|
6
29
|
languages?: ({
|
|
7
30
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
@@ -50,63 +73,5 @@ export declare const generateNav: (pagesAcc: Record<string, DecoratedNavigationP
|
|
|
50
73
|
href: string;
|
|
51
74
|
})[] | undefined;
|
|
52
75
|
} | undefined;
|
|
53
|
-
}
|
|
54
|
-
languages: any[];
|
|
55
|
-
} | {
|
|
56
|
-
versions: any[];
|
|
57
|
-
} | {
|
|
58
|
-
tabs: any[];
|
|
59
|
-
} | {
|
|
60
|
-
dropdowns: any[];
|
|
61
|
-
} | {
|
|
62
|
-
anchors: any[];
|
|
63
|
-
} | {
|
|
64
|
-
groups: ({
|
|
65
|
-
group: string;
|
|
66
|
-
icon?: string | {
|
|
67
|
-
name: string;
|
|
68
|
-
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
hidden?: boolean | undefined;
|
|
71
|
-
root?: string | {
|
|
72
|
-
href: string;
|
|
73
|
-
title: string;
|
|
74
|
-
sidebarTitle?: string | undefined;
|
|
75
|
-
description?: string | undefined;
|
|
76
|
-
api?: string | undefined;
|
|
77
|
-
openapi?: string | undefined;
|
|
78
|
-
contentType?: string | undefined;
|
|
79
|
-
authMethod?: string | undefined;
|
|
80
|
-
auth?: string | undefined;
|
|
81
|
-
version?: string | undefined;
|
|
82
|
-
mode?: string | undefined;
|
|
83
|
-
hideFooterPagination?: boolean | undefined;
|
|
84
|
-
authors?: unknown;
|
|
85
|
-
lastUpdatedDate?: string | undefined;
|
|
86
|
-
createdDate?: string | undefined;
|
|
87
|
-
"openapi-schema"?: string | undefined;
|
|
88
|
-
icon?: string | {
|
|
89
|
-
name: string;
|
|
90
|
-
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
91
|
-
} | undefined;
|
|
92
|
-
tag?: string | undefined;
|
|
93
|
-
url?: string | undefined;
|
|
94
|
-
hideApiMarker?: boolean | undefined;
|
|
95
|
-
noindex?: boolean | undefined;
|
|
96
|
-
isPublic?: boolean | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
} & ({
|
|
99
|
-
openapi: (string | string[] | {
|
|
100
|
-
source: string;
|
|
101
|
-
directory?: string | undefined;
|
|
102
|
-
}) & (string | string[] | {
|
|
103
|
-
source: string;
|
|
104
|
-
directory?: string | undefined;
|
|
105
|
-
} | undefined);
|
|
106
|
-
} | {
|
|
107
|
-
pages: any[];
|
|
108
|
-
}))[];
|
|
109
|
-
} | {
|
|
110
|
-
pages: any[];
|
|
111
|
-
});
|
|
76
|
+
};
|
|
112
77
|
}>;
|