zudoku 0.0.0-fed343e → 0.0.0-ff3bc72
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/config/config.d.ts +2 -6
- package/dist/config/validators/InputSidebarSchema.d.ts +1 -0
- package/dist/config/validators/validate.d.ts +165 -47
- package/dist/config/validators/validate.js +15 -11
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/authentication/state.d.ts +16 -0
- package/dist/lib/authentication/state.js +5 -0
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Banner.js +7 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/ErrorPage.js +1 -2
- package/dist/lib/components/ErrorPage.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +9 -1
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +1 -1
- package/dist/lib/oas/graphql/index.d.ts +2 -1
- package/dist/lib/oas/graphql/index.js +24 -16
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +1 -0
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +2 -2
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js +8 -6
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +2 -1
- package/dist/lib/plugins/markdown/index.js +2 -2
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -3
- package/dist/lib/plugins/openapi/Endpoint.js +46 -8
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +1 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +2 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +2 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +14 -3
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.d.ts +2 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +10 -2
- package/dist/lib/plugins/openapi/graphql/gql.js +2 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +29 -3
- package/dist/lib/plugins/openapi/graphql/graphql.js +87 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +13 -5
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +1 -1
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/createUrl.js +3 -1
- package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
- package/dist/vite/config.d.ts +1 -1
- package/dist/vite/config.js +19 -15
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/dev-server.d.ts +1 -0
- package/dist/vite/dev-server.js +7 -13
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api.js +4 -7
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-config-reload.js +9 -4
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-docs.js +7 -5
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -0
- package/dist/vite/plugin-frontmatter.js +30 -0
- package/dist/vite/plugin-frontmatter.js.map +1 -0
- package/dist/vite/plugin-sidebar.js +14 -1
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin.js +2 -2
- package/dist/vite/plugin.js.map +1 -1
- package/lib/{CategoryHeading-XnFqN2lJ.js → CategoryHeading-ovR-zHRq.js} +2 -2
- package/lib/{CategoryHeading-XnFqN2lJ.js.map → CategoryHeading-ovR-zHRq.js.map} +1 -1
- package/lib/{DeveloperHint-FBb2uXJe.js → DeveloperHint-YeWHKvyr.js} +2 -2
- package/lib/{DeveloperHint-FBb2uXJe.js.map → DeveloperHint-YeWHKvyr.js.map} +1 -1
- package/lib/ErrorPage-CsZAN_za.js +16 -0
- package/lib/ErrorPage-CsZAN_za.js.map +1 -0
- package/lib/{Input-BEDZAKw0.js → Input-CtVUl3eT.js} +3 -3
- package/lib/{Input-BEDZAKw0.js.map → Input-CtVUl3eT.js.map} +1 -1
- package/lib/{Markdown-B4aR03g6.js → Markdown-DapSf3wG.js} +795 -793
- package/lib/Markdown-DapSf3wG.js.map +1 -0
- package/lib/{MdxPage-BZyQsH8Z.js → MdxPage-BqBWsXZ1.js} +23 -23
- package/lib/MdxPage-BqBWsXZ1.js.map +1 -0
- package/lib/{OperationList-2NeWEM0u.js → OperationList-CYrmxPa8.js} +151 -109
- package/lib/OperationList-CYrmxPa8.js.map +1 -0
- package/lib/{Route-BZPewmrN.js → Route-Q5mqNQrv.js} +2 -2
- package/lib/{Route-BZPewmrN.js.map → Route-Q5mqNQrv.js.map} +1 -1
- package/lib/{SidebarBadge-COz0hgfa.js → SidebarBadge-Dx7jtnoA.js} +3 -3
- package/lib/{SidebarBadge-COz0hgfa.js.map → SidebarBadge-Dx7jtnoA.js.map} +1 -1
- package/lib/{SlotletProvider-DJMaOUDs.js → SlotletProvider-D3UD5Go3.js} +4 -4
- package/lib/{SlotletProvider-DJMaOUDs.js.map → SlotletProvider-D3UD5Go3.js.map} +1 -1
- package/lib/assets/{worker-BvD7B6MG.js → worker-BP8Uzflt.js} +3238 -1161
- package/lib/assets/worker-BP8Uzflt.js.map +1 -0
- package/lib/{index-Dv2KZuEw.js → index-BlJ2rj99.js} +1774 -1644
- package/lib/index-BlJ2rj99.js.map +1 -0
- package/lib/index-Bn6Lc9tq.js +9 -0
- package/lib/index-Bn6Lc9tq.js.map +1 -0
- package/lib/{index-1EDgIO6b.js → index-BngPzhKn.js} +3 -3
- package/lib/{index-1EDgIO6b.js.map → index-BngPzhKn.js.map} +1 -1
- package/lib/{index-Zezcv0xb.js → index-Dolisrci.js} +3 -3
- package/lib/{index-Zezcv0xb.js.map → index-Dolisrci.js.map} +1 -1
- package/lib/index-LNp6rxyU.js +2094 -0
- package/lib/index-LNp6rxyU.js.map +1 -0
- package/lib/state-hNe1dw4B.js +548 -0
- package/lib/state-hNe1dw4B.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +4 -4
- package/lib/zudoku.components.js +470 -466
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1645 -1639
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +5 -5
- package/lib/zudoku.plugin-custom-page.js +1 -1
- package/lib/zudoku.plugin-markdown.js +18 -15
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +4 -4
- package/package.json +14 -4
- package/src/lib/authentication/state.ts +17 -0
- package/src/lib/components/Banner.tsx +12 -2
- package/src/lib/components/ErrorPage.tsx +0 -2
- package/src/lib/components/InlineCode.tsx +10 -0
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/core/DevPortalContext.ts +1 -1
- package/src/lib/oas/graphql/index.ts +36 -24
- package/src/lib/oas/parser/index.ts +1 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
- package/src/lib/plugins/markdown/generateRoutes.tsx +8 -5
- package/src/lib/plugins/markdown/index.tsx +3 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +86 -22
- package/src/lib/plugins/openapi/OperationList.tsx +3 -1
- package/src/lib/plugins/openapi/OperationListItem.tsx +1 -1
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +3 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +17 -2
- package/src/lib/plugins/openapi/SimpleSelect.tsx +10 -2
- package/src/lib/plugins/openapi/graphql/gql.ts +11 -3
- package/src/lib/plugins/openapi/graphql/graphql.ts +116 -4
- package/src/lib/plugins/openapi/interfaces.ts +4 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +39 -5
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -1
- package/src/lib/plugins/openapi/playground/createUrl.ts +6 -1
- package/dist/lib/util/slugify.d.ts +0 -2
- package/dist/lib/util/slugify.js +0 -3
- package/dist/lib/util/slugify.js.map +0 -1
- package/dist/vite/plugin-icons.d.ts +0 -3
- package/dist/vite/plugin-icons.js +0 -47
- package/dist/vite/plugin-icons.js.map +0 -1
- package/lib/ErrorPage-knunPbKI.js +0 -18
- package/lib/ErrorPage-knunPbKI.js.map +0 -1
- package/lib/Markdown-B4aR03g6.js.map +0 -1
- package/lib/MdxPage-BZyQsH8Z.js.map +0 -1
- package/lib/OperationList-2NeWEM0u.js.map +0 -1
- package/lib/assets/worker-BvD7B6MG.js.map +0 -1
- package/lib/index-Dv2KZuEw.js.map +0 -1
- package/lib/slugify-DbLhpSPt.js +0 -28
- package/lib/slugify-DbLhpSPt.js.map +0 -1
- package/lib/state-lIwt9isb.js +0 -288
- package/lib/state-lIwt9isb.js.map +0 -1
- package/src/lib/util/slugify.ts +0 -3
package/dist/config/config.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { MarkdownPluginOptions } from "../lib/plugins/markdown/index.js";
|
|
2
1
|
import type { ZudokuConfig } from "./validators/validate.js";
|
|
2
|
+
import type { LoadedConfig } from "../vite/config.js";
|
|
3
3
|
export type URLString = `https://${string}` | `http://${string}`;
|
|
4
4
|
export { type ZudokuConfig };
|
|
5
|
-
export interface ZudokuPluginOptions extends
|
|
5
|
+
export interface ZudokuPluginOptions extends LoadedConfig {
|
|
6
6
|
rootDir: string;
|
|
7
7
|
moduleDir: string;
|
|
8
8
|
mode: "internal" | "module" | "standalone";
|
|
9
9
|
}
|
|
10
|
-
export interface DocsConfig {
|
|
11
|
-
files?: string;
|
|
12
|
-
defaultOptions?: MarkdownPluginOptions["defaultOptions"];
|
|
13
|
-
}
|
|
14
10
|
export type ClerkAuthenticationConfig = {
|
|
15
11
|
type: "clerk";
|
|
16
12
|
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
@@ -183,3 +183,4 @@ export type InputSidebarItemCategory = z.infer<typeof BaseInputSidebarItemCatego
|
|
|
183
183
|
export declare const InputSidebarItemCategorySchema: z.ZodType<InputSidebarItemCategory>;
|
|
184
184
|
export declare const InputSidebarSchema: z.ZodArray<z.ZodType<InputSidebarItem, z.ZodTypeDef, InputSidebarItem>, "many">;
|
|
185
185
|
export type InputSidebar = z.infer<typeof InputSidebarSchema>;
|
|
186
|
+
export type ConfigSidebar = Record<string, InputSidebar>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Options } from "@mdx-js/rollup";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
3
|
import type { DevPortalPlugin } from "src/lib/core/plugins.js";
|
|
4
|
-
import z from "zod";
|
|
4
|
+
import z, { type ZodEnumDef, ZodOptional, ZodString, ZodType, ZodUnion } from "zod";
|
|
5
5
|
import { DevPortalContext } from "../../lib/core/DevPortalContext.js";
|
|
6
6
|
import type { ApiKey } from "../../lib/plugins/api-keys/index.js";
|
|
7
7
|
declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -36,6 +36,22 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
|
36
36
|
input: string;
|
|
37
37
|
server?: string | undefined;
|
|
38
38
|
navigationId?: string | undefined;
|
|
39
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
40
|
+
type: z.ZodLiteral<"raw">;
|
|
41
|
+
input: z.ZodString;
|
|
42
|
+
}, {
|
|
43
|
+
server: z.ZodOptional<z.ZodString>;
|
|
44
|
+
navigationId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}>, "strip", z.ZodTypeAny, {
|
|
46
|
+
type: "raw";
|
|
47
|
+
input: string;
|
|
48
|
+
server?: string | undefined;
|
|
49
|
+
navigationId?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
type: "raw";
|
|
52
|
+
input: string;
|
|
53
|
+
server?: string | undefined;
|
|
54
|
+
navigationId?: string | undefined;
|
|
39
55
|
}>]>;
|
|
40
56
|
declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
|
|
41
57
|
/**
|
|
@@ -65,19 +81,48 @@ declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
|
|
|
65
81
|
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
66
82
|
}, "strip", z.ZodTypeAny, {
|
|
67
83
|
siteUrl: string;
|
|
68
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
69
84
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
70
85
|
priority?: number | undefined;
|
|
71
86
|
outDir?: string | undefined;
|
|
72
87
|
autoLastmod?: boolean | undefined;
|
|
88
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
73
89
|
}, {
|
|
74
90
|
siteUrl: string;
|
|
75
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
76
91
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
77
92
|
priority?: number | undefined;
|
|
78
93
|
outDir?: string | undefined;
|
|
79
94
|
autoLastmod?: boolean | undefined;
|
|
95
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
80
96
|
}>>;
|
|
97
|
+
declare const DocsConfigSchema: z.ZodObject<{
|
|
98
|
+
files: z.ZodString;
|
|
99
|
+
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
toc: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
disablePager: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
toc?: boolean | undefined;
|
|
104
|
+
disablePager?: boolean | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
toc?: boolean | undefined;
|
|
107
|
+
disablePager?: boolean | undefined;
|
|
108
|
+
}>>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
files: string;
|
|
111
|
+
defaultOptions?: {
|
|
112
|
+
toc?: boolean | undefined;
|
|
113
|
+
disablePager?: boolean | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
files: string;
|
|
117
|
+
defaultOptions?: {
|
|
118
|
+
toc?: boolean | undefined;
|
|
119
|
+
disablePager?: boolean | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
type BannerColorType = ZodOptional<ZodUnion<[
|
|
123
|
+
ZodType<"note" | "tip" | "info" | "caution" | "danger" | (string & {}), ZodEnumDef>,
|
|
124
|
+
ZodString
|
|
125
|
+
]>>;
|
|
81
126
|
declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
82
127
|
basePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
83
128
|
page: z.ZodOptional<z.ZodObject<{
|
|
@@ -88,53 +133,53 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
88
133
|
light: z.ZodString;
|
|
89
134
|
dark: z.ZodString;
|
|
90
135
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
dark: string;
|
|
92
136
|
light: string;
|
|
93
|
-
}, {
|
|
94
137
|
dark: string;
|
|
138
|
+
}, {
|
|
95
139
|
light: string;
|
|
140
|
+
dark: string;
|
|
96
141
|
}>;
|
|
97
142
|
alt: z.ZodOptional<z.ZodString>;
|
|
98
143
|
width: z.ZodOptional<z.ZodString>;
|
|
99
144
|
}, "strip", z.ZodTypeAny, {
|
|
100
145
|
src: {
|
|
101
|
-
dark: string;
|
|
102
146
|
light: string;
|
|
147
|
+
dark: string;
|
|
103
148
|
};
|
|
104
149
|
width?: string | undefined;
|
|
105
150
|
alt?: string | undefined;
|
|
106
151
|
}, {
|
|
107
152
|
src: {
|
|
108
|
-
dark: string;
|
|
109
153
|
light: string;
|
|
154
|
+
dark: string;
|
|
110
155
|
};
|
|
111
156
|
width?: string | undefined;
|
|
112
157
|
alt?: string | undefined;
|
|
113
158
|
}>>;
|
|
114
159
|
banner: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
115
160
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
116
|
-
color:
|
|
161
|
+
color: BannerColorType;
|
|
117
162
|
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
118
163
|
}, "strip", z.ZodTypeAny, {
|
|
119
164
|
message: NonNullable<ReactNode>;
|
|
120
|
-
color?:
|
|
165
|
+
color?: string | (string & {}) | undefined;
|
|
121
166
|
dismissible?: boolean | undefined;
|
|
122
167
|
}, {
|
|
123
168
|
message: NonNullable<ReactNode>;
|
|
124
|
-
color?:
|
|
169
|
+
color?: string | (string & {}) | undefined;
|
|
125
170
|
dismissible?: boolean | undefined;
|
|
126
171
|
}>>>;
|
|
127
172
|
}, "strip", z.ZodTypeAny, {
|
|
128
173
|
banner?: {
|
|
129
174
|
message: NonNullable<ReactNode>;
|
|
130
|
-
color?:
|
|
175
|
+
color?: string | (string & {}) | undefined;
|
|
131
176
|
dismissible?: boolean | undefined;
|
|
132
177
|
} | undefined;
|
|
133
178
|
pageTitle?: string | undefined;
|
|
134
179
|
logo?: {
|
|
135
180
|
src: {
|
|
136
|
-
dark: string;
|
|
137
181
|
light: string;
|
|
182
|
+
dark: string;
|
|
138
183
|
};
|
|
139
184
|
width?: string | undefined;
|
|
140
185
|
alt?: string | undefined;
|
|
@@ -143,14 +188,14 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
143
188
|
}, {
|
|
144
189
|
banner?: {
|
|
145
190
|
message: NonNullable<ReactNode>;
|
|
146
|
-
color?:
|
|
191
|
+
color?: string | (string & {}) | undefined;
|
|
147
192
|
dismissible?: boolean | undefined;
|
|
148
193
|
} | undefined;
|
|
149
194
|
pageTitle?: string | undefined;
|
|
150
195
|
logo?: {
|
|
151
196
|
src: {
|
|
152
|
-
dark: string;
|
|
153
197
|
light: string;
|
|
198
|
+
dark: string;
|
|
154
199
|
};
|
|
155
200
|
width?: string | undefined;
|
|
156
201
|
alt?: string | undefined;
|
|
@@ -302,7 +347,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
347
|
ring?: string | undefined;
|
|
303
348
|
}>>;
|
|
304
349
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
|
|
350
|
+
light?: {
|
|
306
351
|
input?: string | undefined;
|
|
307
352
|
radius?: string | undefined;
|
|
308
353
|
border?: string | undefined;
|
|
@@ -324,7 +369,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
324
369
|
destructiveForeground?: string | undefined;
|
|
325
370
|
ring?: string | undefined;
|
|
326
371
|
} | undefined;
|
|
327
|
-
|
|
372
|
+
dark?: {
|
|
328
373
|
input?: string | undefined;
|
|
329
374
|
radius?: string | undefined;
|
|
330
375
|
border?: string | undefined;
|
|
@@ -347,7 +392,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
347
392
|
ring?: string | undefined;
|
|
348
393
|
} | undefined;
|
|
349
394
|
}, {
|
|
350
|
-
|
|
395
|
+
light?: {
|
|
351
396
|
input?: string | undefined;
|
|
352
397
|
radius?: string | undefined;
|
|
353
398
|
border?: string | undefined;
|
|
@@ -369,7 +414,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
369
414
|
destructiveForeground?: string | undefined;
|
|
370
415
|
ring?: string | undefined;
|
|
371
416
|
} | undefined;
|
|
372
|
-
|
|
417
|
+
dark?: {
|
|
373
418
|
input?: string | undefined;
|
|
374
419
|
radius?: string | undefined;
|
|
375
420
|
border?: string | undefined;
|
|
@@ -502,7 +547,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
502
547
|
organizationDisplayName: string;
|
|
503
548
|
}>>;
|
|
504
549
|
docs: z.ZodOptional<z.ZodObject<{
|
|
505
|
-
files: z.
|
|
550
|
+
files: z.ZodString;
|
|
506
551
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
507
552
|
toc: z.ZodOptional<z.ZodBoolean>;
|
|
508
553
|
disablePager: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -514,17 +559,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
514
559
|
disablePager?: boolean | undefined;
|
|
515
560
|
}>>;
|
|
516
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
+
files: string;
|
|
517
563
|
defaultOptions?: {
|
|
518
564
|
toc?: boolean | undefined;
|
|
519
565
|
disablePager?: boolean | undefined;
|
|
520
566
|
} | undefined;
|
|
521
|
-
files?: string | undefined;
|
|
522
567
|
}, {
|
|
568
|
+
files: string;
|
|
523
569
|
defaultOptions?: {
|
|
524
570
|
toc?: boolean | undefined;
|
|
525
571
|
disablePager?: boolean | undefined;
|
|
526
572
|
} | undefined;
|
|
527
|
-
files?: string | undefined;
|
|
528
573
|
}>>;
|
|
529
574
|
apis: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
530
575
|
type: z.ZodLiteral<"url">;
|
|
@@ -558,6 +603,22 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
558
603
|
input: string;
|
|
559
604
|
server?: string | undefined;
|
|
560
605
|
navigationId?: string | undefined;
|
|
606
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
607
|
+
type: z.ZodLiteral<"raw">;
|
|
608
|
+
input: z.ZodString;
|
|
609
|
+
}, {
|
|
610
|
+
server: z.ZodOptional<z.ZodString>;
|
|
611
|
+
navigationId: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}>, "strip", z.ZodTypeAny, {
|
|
613
|
+
type: "raw";
|
|
614
|
+
input: string;
|
|
615
|
+
server?: string | undefined;
|
|
616
|
+
navigationId?: string | undefined;
|
|
617
|
+
}, {
|
|
618
|
+
type: "raw";
|
|
619
|
+
input: string;
|
|
620
|
+
server?: string | undefined;
|
|
621
|
+
navigationId?: string | undefined;
|
|
561
622
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
562
623
|
type: z.ZodLiteral<"url">;
|
|
563
624
|
input: z.ZodString;
|
|
@@ -590,6 +651,22 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
590
651
|
input: string;
|
|
591
652
|
server?: string | undefined;
|
|
592
653
|
navigationId?: string | undefined;
|
|
654
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
655
|
+
type: z.ZodLiteral<"raw">;
|
|
656
|
+
input: z.ZodString;
|
|
657
|
+
}, {
|
|
658
|
+
server: z.ZodOptional<z.ZodString>;
|
|
659
|
+
navigationId: z.ZodOptional<z.ZodString>;
|
|
660
|
+
}>, "strip", z.ZodTypeAny, {
|
|
661
|
+
type: "raw";
|
|
662
|
+
input: string;
|
|
663
|
+
server?: string | undefined;
|
|
664
|
+
navigationId?: string | undefined;
|
|
665
|
+
}, {
|
|
666
|
+
type: "raw";
|
|
667
|
+
input: string;
|
|
668
|
+
server?: string | undefined;
|
|
669
|
+
navigationId?: string | undefined;
|
|
593
670
|
}>]>, "many">]>>;
|
|
594
671
|
apiKeys: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
595
672
|
enabled: z.ZodBoolean;
|
|
@@ -695,18 +772,18 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
695
772
|
exclude: z.ZodOptional<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodPromise<z.ZodArray<z.ZodString, "many">>>, z.ZodArray<z.ZodString, "many">]>>;
|
|
696
773
|
}, "strip", z.ZodTypeAny, {
|
|
697
774
|
siteUrl: string;
|
|
698
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
699
775
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
700
776
|
priority?: number | undefined;
|
|
701
777
|
outDir?: string | undefined;
|
|
702
778
|
autoLastmod?: boolean | undefined;
|
|
779
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
703
780
|
}, {
|
|
704
781
|
siteUrl: string;
|
|
705
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
706
782
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
707
783
|
priority?: number | undefined;
|
|
708
784
|
outDir?: string | undefined;
|
|
709
785
|
autoLastmod?: boolean | undefined;
|
|
786
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
710
787
|
}>>>;
|
|
711
788
|
build: z.ZodOptional<z.ZodType<{
|
|
712
789
|
remarkPlugins?: Options["remarkPlugins"];
|
|
@@ -725,7 +802,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
725
802
|
organizationDisplayName: string;
|
|
726
803
|
} | undefined;
|
|
727
804
|
theme?: {
|
|
728
|
-
|
|
805
|
+
light?: {
|
|
729
806
|
input?: string | undefined;
|
|
730
807
|
radius?: string | undefined;
|
|
731
808
|
border?: string | undefined;
|
|
@@ -747,7 +824,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
747
824
|
destructiveForeground?: string | undefined;
|
|
748
825
|
ring?: string | undefined;
|
|
749
826
|
} | undefined;
|
|
750
|
-
|
|
827
|
+
dark?: {
|
|
751
828
|
input?: string | undefined;
|
|
752
829
|
radius?: string | undefined;
|
|
753
830
|
border?: string | undefined;
|
|
@@ -786,14 +863,14 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
786
863
|
page?: {
|
|
787
864
|
banner?: {
|
|
788
865
|
message: NonNullable<ReactNode>;
|
|
789
|
-
color?:
|
|
866
|
+
color?: string | (string & {}) | undefined;
|
|
790
867
|
dismissible?: boolean | undefined;
|
|
791
868
|
} | undefined;
|
|
792
869
|
pageTitle?: string | undefined;
|
|
793
870
|
logo?: {
|
|
794
871
|
src: {
|
|
795
|
-
dark: string;
|
|
796
872
|
light: string;
|
|
873
|
+
dark: string;
|
|
797
874
|
};
|
|
798
875
|
width?: string | undefined;
|
|
799
876
|
alt?: string | undefined;
|
|
@@ -828,11 +905,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
828
905
|
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
829
906
|
} | undefined;
|
|
830
907
|
docs?: {
|
|
908
|
+
files: string;
|
|
831
909
|
defaultOptions?: {
|
|
832
910
|
toc?: boolean | undefined;
|
|
833
911
|
disablePager?: boolean | undefined;
|
|
834
912
|
} | undefined;
|
|
835
|
-
files?: string | undefined;
|
|
836
913
|
} | undefined;
|
|
837
914
|
apis?: {
|
|
838
915
|
type: "url";
|
|
@@ -844,6 +921,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
844
921
|
input: string;
|
|
845
922
|
server?: string | undefined;
|
|
846
923
|
navigationId?: string | undefined;
|
|
924
|
+
} | {
|
|
925
|
+
type: "raw";
|
|
926
|
+
input: string;
|
|
927
|
+
server?: string | undefined;
|
|
928
|
+
navigationId?: string | undefined;
|
|
847
929
|
} | ({
|
|
848
930
|
type: "url";
|
|
849
931
|
input: string;
|
|
@@ -854,6 +936,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
854
936
|
input: string;
|
|
855
937
|
server?: string | undefined;
|
|
856
938
|
navigationId?: string | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
type: "raw";
|
|
941
|
+
input: string;
|
|
942
|
+
server?: string | undefined;
|
|
943
|
+
navigationId?: string | undefined;
|
|
857
944
|
})[] | undefined;
|
|
858
945
|
apiKeys?: {
|
|
859
946
|
enabled: boolean;
|
|
@@ -882,11 +969,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
882
969
|
}[] | undefined;
|
|
883
970
|
sitemap?: {
|
|
884
971
|
siteUrl: string;
|
|
885
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
886
972
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
887
973
|
priority?: number | undefined;
|
|
888
974
|
outDir?: string | undefined;
|
|
889
975
|
autoLastmod?: boolean | undefined;
|
|
976
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
890
977
|
} | undefined;
|
|
891
978
|
build?: {
|
|
892
979
|
remarkPlugins?: Options["remarkPlugins"];
|
|
@@ -902,7 +989,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
902
989
|
organizationDisplayName: string;
|
|
903
990
|
} | undefined;
|
|
904
991
|
theme?: {
|
|
905
|
-
|
|
992
|
+
light?: {
|
|
906
993
|
input?: string | undefined;
|
|
907
994
|
radius?: string | undefined;
|
|
908
995
|
border?: string | undefined;
|
|
@@ -924,7 +1011,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
924
1011
|
destructiveForeground?: string | undefined;
|
|
925
1012
|
ring?: string | undefined;
|
|
926
1013
|
} | undefined;
|
|
927
|
-
|
|
1014
|
+
dark?: {
|
|
928
1015
|
input?: string | undefined;
|
|
929
1016
|
radius?: string | undefined;
|
|
930
1017
|
border?: string | undefined;
|
|
@@ -963,14 +1050,14 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
963
1050
|
page?: {
|
|
964
1051
|
banner?: {
|
|
965
1052
|
message: NonNullable<ReactNode>;
|
|
966
|
-
color?:
|
|
1053
|
+
color?: string | (string & {}) | undefined;
|
|
967
1054
|
dismissible?: boolean | undefined;
|
|
968
1055
|
} | undefined;
|
|
969
1056
|
pageTitle?: string | undefined;
|
|
970
1057
|
logo?: {
|
|
971
1058
|
src: {
|
|
972
|
-
dark: string;
|
|
973
1059
|
light: string;
|
|
1060
|
+
dark: string;
|
|
974
1061
|
};
|
|
975
1062
|
width?: string | undefined;
|
|
976
1063
|
alt?: string | undefined;
|
|
@@ -1005,11 +1092,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1005
1092
|
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1006
1093
|
} | undefined;
|
|
1007
1094
|
docs?: {
|
|
1095
|
+
files: string;
|
|
1008
1096
|
defaultOptions?: {
|
|
1009
1097
|
toc?: boolean | undefined;
|
|
1010
1098
|
disablePager?: boolean | undefined;
|
|
1011
1099
|
} | undefined;
|
|
1012
|
-
files?: string | undefined;
|
|
1013
1100
|
} | undefined;
|
|
1014
1101
|
apis?: {
|
|
1015
1102
|
type: "url";
|
|
@@ -1021,6 +1108,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1021
1108
|
input: string;
|
|
1022
1109
|
server?: string | undefined;
|
|
1023
1110
|
navigationId?: string | undefined;
|
|
1111
|
+
} | {
|
|
1112
|
+
type: "raw";
|
|
1113
|
+
input: string;
|
|
1114
|
+
server?: string | undefined;
|
|
1115
|
+
navigationId?: string | undefined;
|
|
1024
1116
|
} | ({
|
|
1025
1117
|
type: "url";
|
|
1026
1118
|
input: string;
|
|
@@ -1031,6 +1123,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1031
1123
|
input: string;
|
|
1032
1124
|
server?: string | undefined;
|
|
1033
1125
|
navigationId?: string | undefined;
|
|
1126
|
+
} | {
|
|
1127
|
+
type: "raw";
|
|
1128
|
+
input: string;
|
|
1129
|
+
server?: string | undefined;
|
|
1130
|
+
navigationId?: string | undefined;
|
|
1034
1131
|
})[] | undefined;
|
|
1035
1132
|
apiKeys?: {
|
|
1036
1133
|
enabled: boolean;
|
|
@@ -1059,11 +1156,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1059
1156
|
}[] | undefined;
|
|
1060
1157
|
sitemap?: {
|
|
1061
1158
|
siteUrl: string;
|
|
1062
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1063
1159
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
1064
1160
|
priority?: number | undefined;
|
|
1065
1161
|
outDir?: string | undefined;
|
|
1066
1162
|
autoLastmod?: boolean | undefined;
|
|
1163
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1067
1164
|
} | undefined;
|
|
1068
1165
|
build?: {
|
|
1069
1166
|
remarkPlugins?: Options["remarkPlugins"];
|
|
@@ -1079,7 +1176,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1079
1176
|
organizationDisplayName: string;
|
|
1080
1177
|
} | undefined;
|
|
1081
1178
|
theme?: {
|
|
1082
|
-
|
|
1179
|
+
light?: {
|
|
1083
1180
|
input?: string | undefined;
|
|
1084
1181
|
radius?: string | undefined;
|
|
1085
1182
|
border?: string | undefined;
|
|
@@ -1101,7 +1198,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1101
1198
|
destructiveForeground?: string | undefined;
|
|
1102
1199
|
ring?: string | undefined;
|
|
1103
1200
|
} | undefined;
|
|
1104
|
-
|
|
1201
|
+
dark?: {
|
|
1105
1202
|
input?: string | undefined;
|
|
1106
1203
|
radius?: string | undefined;
|
|
1107
1204
|
border?: string | undefined;
|
|
@@ -1140,14 +1237,14 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1140
1237
|
page?: {
|
|
1141
1238
|
banner?: {
|
|
1142
1239
|
message: NonNullable<ReactNode>;
|
|
1143
|
-
color?:
|
|
1240
|
+
color?: string | (string & {}) | undefined;
|
|
1144
1241
|
dismissible?: boolean | undefined;
|
|
1145
1242
|
} | undefined;
|
|
1146
1243
|
pageTitle?: string | undefined;
|
|
1147
1244
|
logo?: {
|
|
1148
1245
|
src: {
|
|
1149
|
-
dark: string;
|
|
1150
1246
|
light: string;
|
|
1247
|
+
dark: string;
|
|
1151
1248
|
};
|
|
1152
1249
|
width?: string | undefined;
|
|
1153
1250
|
alt?: string | undefined;
|
|
@@ -1182,11 +1279,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1182
1279
|
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1183
1280
|
} | undefined;
|
|
1184
1281
|
docs?: {
|
|
1282
|
+
files: string;
|
|
1185
1283
|
defaultOptions?: {
|
|
1186
1284
|
toc?: boolean | undefined;
|
|
1187
1285
|
disablePager?: boolean | undefined;
|
|
1188
1286
|
} | undefined;
|
|
1189
|
-
files?: string | undefined;
|
|
1190
1287
|
} | undefined;
|
|
1191
1288
|
apis?: {
|
|
1192
1289
|
type: "url";
|
|
@@ -1198,6 +1295,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1198
1295
|
input: string;
|
|
1199
1296
|
server?: string | undefined;
|
|
1200
1297
|
navigationId?: string | undefined;
|
|
1298
|
+
} | {
|
|
1299
|
+
type: "raw";
|
|
1300
|
+
input: string;
|
|
1301
|
+
server?: string | undefined;
|
|
1302
|
+
navigationId?: string | undefined;
|
|
1201
1303
|
} | ({
|
|
1202
1304
|
type: "url";
|
|
1203
1305
|
input: string;
|
|
@@ -1208,6 +1310,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1208
1310
|
input: string;
|
|
1209
1311
|
server?: string | undefined;
|
|
1210
1312
|
navigationId?: string | undefined;
|
|
1313
|
+
} | {
|
|
1314
|
+
type: "raw";
|
|
1315
|
+
input: string;
|
|
1316
|
+
server?: string | undefined;
|
|
1317
|
+
navigationId?: string | undefined;
|
|
1211
1318
|
})[] | undefined;
|
|
1212
1319
|
apiKeys?: {
|
|
1213
1320
|
enabled: boolean;
|
|
@@ -1236,11 +1343,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1236
1343
|
}[] | undefined;
|
|
1237
1344
|
sitemap?: {
|
|
1238
1345
|
siteUrl: string;
|
|
1239
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1240
1346
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
1241
1347
|
priority?: number | undefined;
|
|
1242
1348
|
outDir?: string | undefined;
|
|
1243
1349
|
autoLastmod?: boolean | undefined;
|
|
1350
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1244
1351
|
} | undefined;
|
|
1245
1352
|
build?: {
|
|
1246
1353
|
remarkPlugins?: Options["remarkPlugins"];
|
|
@@ -1256,7 +1363,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1256
1363
|
organizationDisplayName: string;
|
|
1257
1364
|
} | undefined;
|
|
1258
1365
|
theme?: {
|
|
1259
|
-
|
|
1366
|
+
light?: {
|
|
1260
1367
|
input?: string | undefined;
|
|
1261
1368
|
radius?: string | undefined;
|
|
1262
1369
|
border?: string | undefined;
|
|
@@ -1278,7 +1385,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1278
1385
|
destructiveForeground?: string | undefined;
|
|
1279
1386
|
ring?: string | undefined;
|
|
1280
1387
|
} | undefined;
|
|
1281
|
-
|
|
1388
|
+
dark?: {
|
|
1282
1389
|
input?: string | undefined;
|
|
1283
1390
|
radius?: string | undefined;
|
|
1284
1391
|
border?: string | undefined;
|
|
@@ -1317,14 +1424,14 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1317
1424
|
page?: {
|
|
1318
1425
|
banner?: {
|
|
1319
1426
|
message: NonNullable<ReactNode>;
|
|
1320
|
-
color?:
|
|
1427
|
+
color?: string | (string & {}) | undefined;
|
|
1321
1428
|
dismissible?: boolean | undefined;
|
|
1322
1429
|
} | undefined;
|
|
1323
1430
|
pageTitle?: string | undefined;
|
|
1324
1431
|
logo?: {
|
|
1325
1432
|
src: {
|
|
1326
|
-
dark: string;
|
|
1327
1433
|
light: string;
|
|
1434
|
+
dark: string;
|
|
1328
1435
|
};
|
|
1329
1436
|
width?: string | undefined;
|
|
1330
1437
|
alt?: string | undefined;
|
|
@@ -1359,11 +1466,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1359
1466
|
components?: Readonly<import("mdx/types.js").MDXComponents> | import("node_modules/@mdx-js/react/lib/index.js").MergeComponents | null | undefined;
|
|
1360
1467
|
} | undefined;
|
|
1361
1468
|
docs?: {
|
|
1469
|
+
files: string;
|
|
1362
1470
|
defaultOptions?: {
|
|
1363
1471
|
toc?: boolean | undefined;
|
|
1364
1472
|
disablePager?: boolean | undefined;
|
|
1365
1473
|
} | undefined;
|
|
1366
|
-
files?: string | undefined;
|
|
1367
1474
|
} | undefined;
|
|
1368
1475
|
apis?: {
|
|
1369
1476
|
type: "url";
|
|
@@ -1375,6 +1482,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1375
1482
|
input: string;
|
|
1376
1483
|
server?: string | undefined;
|
|
1377
1484
|
navigationId?: string | undefined;
|
|
1485
|
+
} | {
|
|
1486
|
+
type: "raw";
|
|
1487
|
+
input: string;
|
|
1488
|
+
server?: string | undefined;
|
|
1489
|
+
navigationId?: string | undefined;
|
|
1378
1490
|
} | ({
|
|
1379
1491
|
type: "url";
|
|
1380
1492
|
input: string;
|
|
@@ -1385,6 +1497,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1385
1497
|
input: string;
|
|
1386
1498
|
server?: string | undefined;
|
|
1387
1499
|
navigationId?: string | undefined;
|
|
1500
|
+
} | {
|
|
1501
|
+
type: "raw";
|
|
1502
|
+
input: string;
|
|
1503
|
+
server?: string | undefined;
|
|
1504
|
+
navigationId?: string | undefined;
|
|
1388
1505
|
})[] | undefined;
|
|
1389
1506
|
apiKeys?: {
|
|
1390
1507
|
enabled: boolean;
|
|
@@ -1413,11 +1530,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1413
1530
|
}[] | undefined;
|
|
1414
1531
|
sitemap?: {
|
|
1415
1532
|
siteUrl: string;
|
|
1416
|
-
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1417
1533
|
changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
|
|
1418
1534
|
priority?: number | undefined;
|
|
1419
1535
|
outDir?: string | undefined;
|
|
1420
1536
|
autoLastmod?: boolean | undefined;
|
|
1537
|
+
exclude?: string[] | ((...args: unknown[]) => Promise<string[]>) | undefined;
|
|
1421
1538
|
} | undefined;
|
|
1422
1539
|
build?: {
|
|
1423
1540
|
remarkPlugins?: Options["remarkPlugins"];
|
|
@@ -1427,5 +1544,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1427
1544
|
export type ZudokuApiConfig = z.infer<typeof ApiSchema>;
|
|
1428
1545
|
export type ZudokuConfig = z.infer<typeof ConfigSchema>;
|
|
1429
1546
|
export type ZudokuSiteMapConfig = z.infer<typeof SiteMapSchema>;
|
|
1547
|
+
export type ZudokuDocsConfig = z.infer<typeof DocsConfigSchema>;
|
|
1430
1548
|
export declare function validateConfig(config: unknown): void;
|
|
1431
1549
|
export {};
|