astro 4.1.3 → 4.2.1
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/@types/astro.d.ts +101 -0
- package/dist/cli/preferences/index.js +1 -4
- package/dist/content/types-generator.js +0 -26
- package/dist/content/utils.d.ts +1 -1
- package/dist/content/utils.js +3 -10
- package/dist/core/app/createOutgoingHttpHeaders.d.ts +9 -0
- package/dist/core/app/createOutgoingHttpHeaders.js +19 -0
- package/dist/core/app/index.d.ts +38 -1
- package/dist/core/app/index.js +38 -8
- package/dist/core/app/node.d.ts +42 -10
- package/dist/core/app/node.js +87 -46
- package/dist/core/app/types.d.ts +2 -1
- package/dist/core/build/generate.js +1 -2
- package/dist/core/config/schema.d.ts +146 -66
- package/dist/core/config/schema.js +24 -6
- package/dist/core/config/vite-load.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/endpoint/index.d.ts +2 -1
- package/dist/core/errors/dev/vite.js +5 -11
- package/dist/core/errors/overlay.js +2 -2
- package/dist/core/logger/node.js +1 -1
- package/dist/core/logger/vite.d.ts +0 -1
- package/dist/core/logger/vite.js +1 -2
- package/dist/core/messages.js +2 -2
- package/dist/core/render/context.d.ts +3 -2
- package/dist/core/render/context.js +1 -1
- package/dist/core/render/result.d.ts +2 -1
- package/dist/core/routing/manifest/create.d.ts +1 -1
- package/dist/core/routing/manifest/create.js +166 -116
- package/dist/core/sync/index.js +1 -1
- package/dist/i18n/index.d.ts +3 -2
- package/dist/i18n/index.js +4 -4
- package/dist/i18n/middleware.js +35 -19
- package/dist/prefetch/index.js +17 -1
- package/dist/prefetch/vite-plugin-prefetch.js +4 -1
- package/dist/runtime/client/dev-toolbar/apps/audit/a11y.js +52 -4
- package/dist/runtime/server/render/util.js +1 -1
- package/dist/vite-plugin-astro/compile.js +0 -4
- package/dist/vite-plugin-astro/hmr.d.ts +3 -2
- package/dist/vite-plugin-astro/hmr.js +20 -41
- package/dist/vite-plugin-astro/index.js +24 -1
- package/dist/vite-plugin-astro/query.d.ts +0 -1
- package/dist/vite-plugin-astro/query.js +0 -5
- package/dist/vite-plugin-markdown/images.js +46 -19
- package/package.json +6 -5
|
@@ -5,7 +5,9 @@ import type { ViteUserConfig } from '../../@types/astro.js';
|
|
|
5
5
|
import type { OutgoingHttpHeaders } from 'node:http';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import 'mdast-util-to-hast';
|
|
8
|
+
import 'shikiji-core';
|
|
8
9
|
type ShikiTheme = NonNullable<ShikiConfig['theme']>;
|
|
10
|
+
export type RoutingStrategies = 'pathname-prefix-always' | 'pathname-prefix-other-locales' | 'pathname-prefix-always-no-redirect';
|
|
9
11
|
export declare const AstroConfigSchema: z.ZodObject<{
|
|
10
12
|
root: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
11
13
|
srcDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
@@ -182,20 +184,23 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
182
184
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
183
185
|
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
184
186
|
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
185
|
-
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types
|
|
186
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["
|
|
187
|
-
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["
|
|
187
|
+
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").s, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").s>, "many">, import("shikiji-core/dist/chunk-types.mjs").s[], import("shikiji-core/dist/chunk-types.mjs").s[]>>;
|
|
188
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shikiji/themes").BundledTheme, ...import("shikiji/themes").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
189
|
+
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shikiji/themes").BundledTheme, ...import("shikiji/themes").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
188
190
|
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
191
|
+
transformers: z.ZodDefault<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").K, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").K>, "many">>;
|
|
189
192
|
}, "strip", z.ZodTypeAny, {
|
|
190
|
-
langs: import("shikiji/dist/types
|
|
191
|
-
theme:
|
|
192
|
-
experimentalThemes: Record<string,
|
|
193
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
194
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
195
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
193
196
|
wrap: boolean | null;
|
|
197
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
194
198
|
}, {
|
|
195
|
-
langs?: import("shikiji/dist/types
|
|
196
|
-
theme?:
|
|
197
|
-
experimentalThemes?: Record<string,
|
|
199
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
200
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
201
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
198
202
|
wrap?: boolean | null | undefined;
|
|
203
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
199
204
|
}>>;
|
|
200
205
|
remarkPlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodTuple<[z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodAny], null>]>, "many">>;
|
|
201
206
|
rehypePlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodTuple<[z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodAny], null>]>, "many">>;
|
|
@@ -205,10 +210,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
205
210
|
}, "strip", z.ZodTypeAny, {
|
|
206
211
|
syntaxHighlight: false | "shiki" | "prism";
|
|
207
212
|
shikiConfig: {
|
|
208
|
-
langs: import("shikiji/dist/types
|
|
209
|
-
theme:
|
|
210
|
-
experimentalThemes: Record<string,
|
|
213
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
214
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
215
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
211
216
|
wrap: boolean | null;
|
|
217
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
212
218
|
};
|
|
213
219
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
214
220
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -218,10 +224,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
218
224
|
}, {
|
|
219
225
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
220
226
|
shikiConfig?: {
|
|
221
|
-
langs?: import("shikiji/dist/types
|
|
222
|
-
theme?:
|
|
223
|
-
experimentalThemes?: Record<string,
|
|
227
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
228
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
229
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
224
230
|
wrap?: boolean | null | undefined;
|
|
231
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
225
232
|
} | undefined;
|
|
226
233
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
227
234
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -243,17 +250,29 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
243
250
|
codes: [string, ...string[]];
|
|
244
251
|
}>]>, "many">;
|
|
245
252
|
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
246
|
-
routing: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
253
|
+
routing: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
247
254
|
prefixDefaultLocale: z.ZodDefault<z.ZodBoolean>;
|
|
255
|
+
redirectToDefaultLocale: z.ZodDefault<z.ZodBoolean>;
|
|
248
256
|
strategy: z.ZodDefault<z.ZodEnum<["pathname"]>>;
|
|
249
257
|
}, "strip", z.ZodTypeAny, {
|
|
250
258
|
prefixDefaultLocale: boolean;
|
|
259
|
+
redirectToDefaultLocale: boolean;
|
|
251
260
|
strategy: "pathname";
|
|
252
261
|
}, {
|
|
253
262
|
prefixDefaultLocale?: boolean | undefined;
|
|
263
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
254
264
|
strategy?: "pathname" | undefined;
|
|
255
|
-
}>>,
|
|
265
|
+
}>>, {
|
|
266
|
+
prefixDefaultLocale: boolean;
|
|
267
|
+
redirectToDefaultLocale: boolean;
|
|
268
|
+
strategy: "pathname";
|
|
269
|
+
}, {
|
|
270
|
+
prefixDefaultLocale?: boolean | undefined;
|
|
271
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
272
|
+
strategy?: "pathname" | undefined;
|
|
273
|
+
} | undefined>, "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect", {
|
|
256
274
|
prefixDefaultLocale?: boolean | undefined;
|
|
275
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
257
276
|
strategy?: "pathname" | undefined;
|
|
258
277
|
} | undefined>;
|
|
259
278
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -262,7 +281,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
262
281
|
path: string;
|
|
263
282
|
codes: [string, ...string[]];
|
|
264
283
|
})[];
|
|
265
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
284
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
266
285
|
fallback?: Record<string, string> | undefined;
|
|
267
286
|
}, {
|
|
268
287
|
defaultLocale: string;
|
|
@@ -273,6 +292,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
273
292
|
fallback?: Record<string, string> | undefined;
|
|
274
293
|
routing?: {
|
|
275
294
|
prefixDefaultLocale?: boolean | undefined;
|
|
295
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
276
296
|
strategy?: "pathname" | undefined;
|
|
277
297
|
} | undefined;
|
|
278
298
|
}>>, {
|
|
@@ -281,7 +301,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
281
301
|
path: string;
|
|
282
302
|
codes: [string, ...string[]];
|
|
283
303
|
})[];
|
|
284
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
304
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
285
305
|
fallback?: Record<string, string> | undefined;
|
|
286
306
|
} | undefined, {
|
|
287
307
|
defaultLocale: string;
|
|
@@ -292,18 +312,25 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
292
312
|
fallback?: Record<string, string> | undefined;
|
|
293
313
|
routing?: {
|
|
294
314
|
prefixDefaultLocale?: boolean | undefined;
|
|
315
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
295
316
|
strategy?: "pathname" | undefined;
|
|
296
317
|
} | undefined;
|
|
297
318
|
} | undefined>>;
|
|
298
319
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
299
320
|
optimizeHoistedScript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
300
321
|
contentCollectionCache: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
322
|
+
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
323
|
+
globalRoutePriority: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
301
324
|
}, "strict", z.ZodTypeAny, {
|
|
302
325
|
optimizeHoistedScript: boolean;
|
|
303
326
|
contentCollectionCache: boolean;
|
|
327
|
+
clientPrerender: boolean;
|
|
328
|
+
globalRoutePriority: boolean;
|
|
304
329
|
}, {
|
|
305
330
|
optimizeHoistedScript?: boolean | undefined;
|
|
306
331
|
contentCollectionCache?: boolean | undefined;
|
|
332
|
+
clientPrerender?: boolean | undefined;
|
|
333
|
+
globalRoutePriority?: boolean | undefined;
|
|
307
334
|
}>>;
|
|
308
335
|
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
309
336
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -363,10 +390,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
363
390
|
markdown: {
|
|
364
391
|
syntaxHighlight: false | "shiki" | "prism";
|
|
365
392
|
shikiConfig: {
|
|
366
|
-
langs: import("shikiji/dist/types
|
|
367
|
-
theme:
|
|
368
|
-
experimentalThemes: Record<string,
|
|
393
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
394
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
395
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
369
396
|
wrap: boolean | null;
|
|
397
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
370
398
|
};
|
|
371
399
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
372
400
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -378,6 +406,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
378
406
|
experimental: {
|
|
379
407
|
optimizeHoistedScript: boolean;
|
|
380
408
|
contentCollectionCache: boolean;
|
|
409
|
+
clientPrerender: boolean;
|
|
410
|
+
globalRoutePriority: boolean;
|
|
381
411
|
};
|
|
382
412
|
legacy: {};
|
|
383
413
|
site?: string | undefined;
|
|
@@ -397,7 +427,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
397
427
|
path: string;
|
|
398
428
|
codes: [string, ...string[]];
|
|
399
429
|
})[];
|
|
400
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
430
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
401
431
|
fallback?: Record<string, string> | undefined;
|
|
402
432
|
} | undefined;
|
|
403
433
|
}, {
|
|
@@ -456,10 +486,11 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
456
486
|
markdown?: {
|
|
457
487
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
458
488
|
shikiConfig?: {
|
|
459
|
-
langs?: import("shikiji/dist/types
|
|
460
|
-
theme?:
|
|
461
|
-
experimentalThemes?: Record<string,
|
|
489
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
490
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
491
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
462
492
|
wrap?: boolean | null | undefined;
|
|
493
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
463
494
|
} | undefined;
|
|
464
495
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
465
496
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -477,12 +508,15 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
477
508
|
fallback?: Record<string, string> | undefined;
|
|
478
509
|
routing?: {
|
|
479
510
|
prefixDefaultLocale?: boolean | undefined;
|
|
511
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
480
512
|
strategy?: "pathname" | undefined;
|
|
481
513
|
} | undefined;
|
|
482
514
|
} | undefined;
|
|
483
515
|
experimental?: {
|
|
484
516
|
optimizeHoistedScript?: boolean | undefined;
|
|
485
517
|
contentCollectionCache?: boolean | undefined;
|
|
518
|
+
clientPrerender?: boolean | undefined;
|
|
519
|
+
globalRoutePriority?: boolean | undefined;
|
|
486
520
|
} | undefined;
|
|
487
521
|
legacy?: {} | undefined;
|
|
488
522
|
}>;
|
|
@@ -608,20 +642,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
608
642
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
609
643
|
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
610
644
|
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
611
|
-
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types
|
|
612
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["
|
|
613
|
-
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["
|
|
645
|
+
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").s, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").s>, "many">, import("shikiji-core/dist/chunk-types.mjs").s[], import("shikiji-core/dist/chunk-types.mjs").s[]>>;
|
|
646
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shikiji/themes").BundledTheme, ...import("shikiji/themes").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
647
|
+
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shikiji/themes").BundledTheme, ...import("shikiji/themes").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
614
648
|
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
649
|
+
transformers: z.ZodDefault<z.ZodArray<z.ZodType<import("shikiji-core/dist/chunk-types.mjs").K, z.ZodTypeDef, import("shikiji-core/dist/chunk-types.mjs").K>, "many">>;
|
|
615
650
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
langs: import("shikiji/dist/types
|
|
617
|
-
theme:
|
|
618
|
-
experimentalThemes: Record<string,
|
|
651
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
652
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
653
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
619
654
|
wrap: boolean | null;
|
|
655
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
620
656
|
}, {
|
|
621
|
-
langs?: import("shikiji/dist/types
|
|
622
|
-
theme?:
|
|
623
|
-
experimentalThemes?: Record<string,
|
|
657
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
658
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
659
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
624
660
|
wrap?: boolean | null | undefined;
|
|
661
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
625
662
|
}>>;
|
|
626
663
|
remarkPlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodTuple<[z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodAny], null>]>, "many">>;
|
|
627
664
|
rehypePlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodTuple<[z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodAny], null>]>, "many">>;
|
|
@@ -631,10 +668,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
631
668
|
}, "strip", z.ZodTypeAny, {
|
|
632
669
|
syntaxHighlight: false | "shiki" | "prism";
|
|
633
670
|
shikiConfig: {
|
|
634
|
-
langs: import("shikiji/dist/types
|
|
635
|
-
theme:
|
|
636
|
-
experimentalThemes: Record<string,
|
|
671
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
672
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
673
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
637
674
|
wrap: boolean | null;
|
|
675
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
638
676
|
};
|
|
639
677
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
640
678
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -644,10 +682,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
644
682
|
}, {
|
|
645
683
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
646
684
|
shikiConfig?: {
|
|
647
|
-
langs?: import("shikiji/dist/types
|
|
648
|
-
theme?:
|
|
649
|
-
experimentalThemes?: Record<string,
|
|
685
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
686
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
687
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
650
688
|
wrap?: boolean | null | undefined;
|
|
689
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
651
690
|
} | undefined;
|
|
652
691
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
653
692
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -669,17 +708,29 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
669
708
|
codes: [string, ...string[]];
|
|
670
709
|
}>]>, "many">;
|
|
671
710
|
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
672
|
-
routing: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
711
|
+
routing: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
673
712
|
prefixDefaultLocale: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
redirectToDefaultLocale: z.ZodDefault<z.ZodBoolean>;
|
|
674
714
|
strategy: z.ZodDefault<z.ZodEnum<["pathname"]>>;
|
|
675
715
|
}, "strip", z.ZodTypeAny, {
|
|
676
716
|
prefixDefaultLocale: boolean;
|
|
717
|
+
redirectToDefaultLocale: boolean;
|
|
718
|
+
strategy: "pathname";
|
|
719
|
+
}, {
|
|
720
|
+
prefixDefaultLocale?: boolean | undefined;
|
|
721
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
722
|
+
strategy?: "pathname" | undefined;
|
|
723
|
+
}>>, {
|
|
724
|
+
prefixDefaultLocale: boolean;
|
|
725
|
+
redirectToDefaultLocale: boolean;
|
|
677
726
|
strategy: "pathname";
|
|
678
727
|
}, {
|
|
679
728
|
prefixDefaultLocale?: boolean | undefined;
|
|
729
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
680
730
|
strategy?: "pathname" | undefined;
|
|
681
|
-
}
|
|
731
|
+
} | undefined>, "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect", {
|
|
682
732
|
prefixDefaultLocale?: boolean | undefined;
|
|
733
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
683
734
|
strategy?: "pathname" | undefined;
|
|
684
735
|
} | undefined>;
|
|
685
736
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -688,7 +739,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
688
739
|
path: string;
|
|
689
740
|
codes: [string, ...string[]];
|
|
690
741
|
})[];
|
|
691
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
742
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
692
743
|
fallback?: Record<string, string> | undefined;
|
|
693
744
|
}, {
|
|
694
745
|
defaultLocale: string;
|
|
@@ -699,6 +750,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
699
750
|
fallback?: Record<string, string> | undefined;
|
|
700
751
|
routing?: {
|
|
701
752
|
prefixDefaultLocale?: boolean | undefined;
|
|
753
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
702
754
|
strategy?: "pathname" | undefined;
|
|
703
755
|
} | undefined;
|
|
704
756
|
}>>, {
|
|
@@ -707,7 +759,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
707
759
|
path: string;
|
|
708
760
|
codes: [string, ...string[]];
|
|
709
761
|
})[];
|
|
710
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
762
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
711
763
|
fallback?: Record<string, string> | undefined;
|
|
712
764
|
} | undefined, {
|
|
713
765
|
defaultLocale: string;
|
|
@@ -718,18 +770,25 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
718
770
|
fallback?: Record<string, string> | undefined;
|
|
719
771
|
routing?: {
|
|
720
772
|
prefixDefaultLocale?: boolean | undefined;
|
|
773
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
721
774
|
strategy?: "pathname" | undefined;
|
|
722
775
|
} | undefined;
|
|
723
776
|
} | undefined>>;
|
|
724
777
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
725
778
|
optimizeHoistedScript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
726
779
|
contentCollectionCache: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
780
|
+
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
781
|
+
globalRoutePriority: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
727
782
|
}, "strict", z.ZodTypeAny, {
|
|
728
783
|
optimizeHoistedScript: boolean;
|
|
729
784
|
contentCollectionCache: boolean;
|
|
785
|
+
clientPrerender: boolean;
|
|
786
|
+
globalRoutePriority: boolean;
|
|
730
787
|
}, {
|
|
731
788
|
optimizeHoistedScript?: boolean | undefined;
|
|
732
789
|
contentCollectionCache?: boolean | undefined;
|
|
790
|
+
clientPrerender?: boolean | undefined;
|
|
791
|
+
globalRoutePriority?: boolean | undefined;
|
|
733
792
|
}>>;
|
|
734
793
|
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
735
794
|
root: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
|
|
@@ -849,10 +908,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
849
908
|
markdown: {
|
|
850
909
|
syntaxHighlight: false | "shiki" | "prism";
|
|
851
910
|
shikiConfig: {
|
|
852
|
-
langs: import("shikiji/dist/types
|
|
853
|
-
theme:
|
|
854
|
-
experimentalThemes: Record<string,
|
|
911
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
912
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
913
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
855
914
|
wrap: boolean | null;
|
|
915
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
856
916
|
};
|
|
857
917
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
858
918
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -864,6 +924,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
864
924
|
experimental: {
|
|
865
925
|
optimizeHoistedScript: boolean;
|
|
866
926
|
contentCollectionCache: boolean;
|
|
927
|
+
clientPrerender: boolean;
|
|
928
|
+
globalRoutePriority: boolean;
|
|
867
929
|
};
|
|
868
930
|
legacy: {};
|
|
869
931
|
site?: string | undefined;
|
|
@@ -883,7 +945,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
883
945
|
path: string;
|
|
884
946
|
codes: [string, ...string[]];
|
|
885
947
|
})[];
|
|
886
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
948
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
887
949
|
fallback?: Record<string, string> | undefined;
|
|
888
950
|
} | undefined;
|
|
889
951
|
}, {
|
|
@@ -925,10 +987,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
925
987
|
markdown?: {
|
|
926
988
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
927
989
|
shikiConfig?: {
|
|
928
|
-
langs?: import("shikiji/dist/types
|
|
929
|
-
theme?:
|
|
930
|
-
experimentalThemes?: Record<string,
|
|
990
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
991
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
992
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
931
993
|
wrap?: boolean | null | undefined;
|
|
994
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
932
995
|
} | undefined;
|
|
933
996
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
934
997
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -946,12 +1009,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
946
1009
|
fallback?: Record<string, string> | undefined;
|
|
947
1010
|
routing?: {
|
|
948
1011
|
prefixDefaultLocale?: boolean | undefined;
|
|
1012
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
949
1013
|
strategy?: "pathname" | undefined;
|
|
950
1014
|
} | undefined;
|
|
951
1015
|
} | undefined;
|
|
952
1016
|
experimental?: {
|
|
953
1017
|
optimizeHoistedScript?: boolean | undefined;
|
|
954
1018
|
contentCollectionCache?: boolean | undefined;
|
|
1019
|
+
clientPrerender?: boolean | undefined;
|
|
1020
|
+
globalRoutePriority?: boolean | undefined;
|
|
955
1021
|
} | undefined;
|
|
956
1022
|
legacy?: {} | undefined;
|
|
957
1023
|
root?: string | undefined;
|
|
@@ -1029,10 +1095,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1029
1095
|
markdown: {
|
|
1030
1096
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1031
1097
|
shikiConfig: {
|
|
1032
|
-
langs: import("shikiji/dist/types
|
|
1033
|
-
theme:
|
|
1034
|
-
experimentalThemes: Record<string,
|
|
1098
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
1099
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1100
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1035
1101
|
wrap: boolean | null;
|
|
1102
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
1036
1103
|
};
|
|
1037
1104
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1038
1105
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -1044,6 +1111,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1044
1111
|
experimental: {
|
|
1045
1112
|
optimizeHoistedScript: boolean;
|
|
1046
1113
|
contentCollectionCache: boolean;
|
|
1114
|
+
clientPrerender: boolean;
|
|
1115
|
+
globalRoutePriority: boolean;
|
|
1047
1116
|
};
|
|
1048
1117
|
legacy: {};
|
|
1049
1118
|
site?: string | undefined;
|
|
@@ -1063,7 +1132,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1063
1132
|
path: string;
|
|
1064
1133
|
codes: [string, ...string[]];
|
|
1065
1134
|
})[];
|
|
1066
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
1135
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
1067
1136
|
fallback?: Record<string, string> | undefined;
|
|
1068
1137
|
} | undefined;
|
|
1069
1138
|
}, {
|
|
@@ -1105,10 +1174,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1105
1174
|
markdown?: {
|
|
1106
1175
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1107
1176
|
shikiConfig?: {
|
|
1108
|
-
langs?: import("shikiji/dist/types
|
|
1109
|
-
theme?:
|
|
1110
|
-
experimentalThemes?: Record<string,
|
|
1177
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1178
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1179
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1111
1180
|
wrap?: boolean | null | undefined;
|
|
1181
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1112
1182
|
} | undefined;
|
|
1113
1183
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1114
1184
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -1126,12 +1196,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1126
1196
|
fallback?: Record<string, string> | undefined;
|
|
1127
1197
|
routing?: {
|
|
1128
1198
|
prefixDefaultLocale?: boolean | undefined;
|
|
1199
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
1129
1200
|
strategy?: "pathname" | undefined;
|
|
1130
1201
|
} | undefined;
|
|
1131
1202
|
} | undefined;
|
|
1132
1203
|
experimental?: {
|
|
1133
1204
|
optimizeHoistedScript?: boolean | undefined;
|
|
1134
1205
|
contentCollectionCache?: boolean | undefined;
|
|
1206
|
+
clientPrerender?: boolean | undefined;
|
|
1207
|
+
globalRoutePriority?: boolean | undefined;
|
|
1135
1208
|
} | undefined;
|
|
1136
1209
|
legacy?: {} | undefined;
|
|
1137
1210
|
root?: string | undefined;
|
|
@@ -1209,10 +1282,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1209
1282
|
markdown: {
|
|
1210
1283
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1211
1284
|
shikiConfig: {
|
|
1212
|
-
langs: import("shikiji/dist/types
|
|
1213
|
-
theme:
|
|
1214
|
-
experimentalThemes: Record<string,
|
|
1285
|
+
langs: import("shikiji-core/dist/chunk-types.mjs").s[];
|
|
1286
|
+
theme: ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z) & ("aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined);
|
|
1287
|
+
experimentalThemes: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z>;
|
|
1215
1288
|
wrap: boolean | null;
|
|
1289
|
+
transformers: import("shikiji-core/dist/chunk-types.mjs").K[];
|
|
1216
1290
|
};
|
|
1217
1291
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1218
1292
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
@@ -1224,6 +1298,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1224
1298
|
experimental: {
|
|
1225
1299
|
optimizeHoistedScript: boolean;
|
|
1226
1300
|
contentCollectionCache: boolean;
|
|
1301
|
+
clientPrerender: boolean;
|
|
1302
|
+
globalRoutePriority: boolean;
|
|
1227
1303
|
};
|
|
1228
1304
|
legacy: {};
|
|
1229
1305
|
site?: string | undefined;
|
|
@@ -1243,7 +1319,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1243
1319
|
path: string;
|
|
1244
1320
|
codes: [string, ...string[]];
|
|
1245
1321
|
})[];
|
|
1246
|
-
routing: "prefix-always" | "prefix-other-locales";
|
|
1322
|
+
routing: "pathname-prefix-always" | "pathname-prefix-other-locales" | "pathname-prefix-always-no-redirect";
|
|
1247
1323
|
fallback?: Record<string, string> | undefined;
|
|
1248
1324
|
} | undefined;
|
|
1249
1325
|
}, {
|
|
@@ -1285,10 +1361,11 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1285
1361
|
markdown?: {
|
|
1286
1362
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1287
1363
|
shikiConfig?: {
|
|
1288
|
-
langs?: import("shikiji/dist/types
|
|
1289
|
-
theme?:
|
|
1290
|
-
experimentalThemes?: Record<string,
|
|
1364
|
+
langs?: import("shikiji-core/dist/chunk-types.mjs").s[] | undefined;
|
|
1365
|
+
theme?: "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z | undefined;
|
|
1366
|
+
experimentalThemes?: Record<string, "aurora-x" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-black" | "vitesse-dark" | "vitesse-light" | "css-variables" | import("shikiji-core/dist/chunk-types.mjs").D | import("shikiji-core/dist/chunk-types.mjs").z> | undefined;
|
|
1291
1367
|
wrap?: boolean | null | undefined;
|
|
1368
|
+
transformers?: import("shikiji-core/dist/chunk-types.mjs").K[] | undefined;
|
|
1292
1369
|
} | undefined;
|
|
1293
1370
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1294
1371
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
@@ -1306,12 +1383,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1306
1383
|
fallback?: Record<string, string> | undefined;
|
|
1307
1384
|
routing?: {
|
|
1308
1385
|
prefixDefaultLocale?: boolean | undefined;
|
|
1386
|
+
redirectToDefaultLocale?: boolean | undefined;
|
|
1309
1387
|
strategy?: "pathname" | undefined;
|
|
1310
1388
|
} | undefined;
|
|
1311
1389
|
} | undefined;
|
|
1312
1390
|
experimental?: {
|
|
1313
1391
|
optimizeHoistedScript?: boolean | undefined;
|
|
1314
1392
|
contentCollectionCache?: boolean | undefined;
|
|
1393
|
+
clientPrerender?: boolean | undefined;
|
|
1394
|
+
globalRoutePriority?: boolean | undefined;
|
|
1315
1395
|
} | undefined;
|
|
1316
1396
|
legacy?: {} | undefined;
|
|
1317
1397
|
root?: string | undefined;
|