astro 5.5.6 → 5.6.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.
Files changed (52) hide show
  1. package/client.d.ts +1 -16
  2. package/dist/actions/plugins.js +1 -1
  3. package/dist/assets/runtime.js +5 -29
  4. package/dist/assets/utils/svg.d.ts +1 -4
  5. package/dist/assets/utils/svg.js +2 -2
  6. package/dist/assets/vite-plugin-assets.js +31 -30
  7. package/dist/container/index.js +1 -1
  8. package/dist/content/content-layer.js +3 -3
  9. package/dist/content/vite-plugin-content-virtual-mod.js +7 -9
  10. package/dist/core/app/index.d.ts +15 -0
  11. package/dist/core/app/index.js +27 -7
  12. package/dist/core/build/index.js +2 -2
  13. package/dist/core/build/plugins/plugin-component-entry.js +3 -1
  14. package/dist/core/build/plugins/plugin-manifest.js +1 -1
  15. package/dist/core/build/plugins/plugin-pages.js +1 -1
  16. package/dist/core/build/plugins/plugin-prerender.js +3 -0
  17. package/dist/core/build/plugins/plugin-renderers.js +3 -3
  18. package/dist/core/build/plugins/plugin-ssr.js +2 -2
  19. package/dist/core/config/index.d.ts +1 -1
  20. package/dist/core/config/schemas/base.d.ts +1110 -0
  21. package/dist/core/config/{schema.js → schemas/base.js} +9 -254
  22. package/dist/core/config/schemas/index.d.ts +3 -0
  23. package/dist/core/config/schemas/index.js +9 -0
  24. package/dist/core/config/schemas/refined.d.ts +3 -0
  25. package/dist/core/config/schemas/refined.js +141 -0
  26. package/dist/core/config/schemas/relative.d.ts +1462 -0
  27. package/dist/core/config/schemas/relative.js +93 -0
  28. package/dist/core/config/validate.d.ts +6 -0
  29. package/dist/core/config/validate.js +9 -3
  30. package/dist/core/constants.js +1 -1
  31. package/dist/core/dev/dev.js +1 -1
  32. package/dist/core/messages.js +2 -2
  33. package/dist/core/middleware/vite-plugin.js +3 -3
  34. package/dist/core/server-islands/vite-plugin-server-islands.js +1 -1
  35. package/dist/core/session.d.ts +8 -0
  36. package/dist/core/session.js +13 -0
  37. package/dist/env/vite-plugin-env.js +3 -3
  38. package/dist/events/session.js +1 -1
  39. package/dist/integrations/hooks.d.ts +4 -4
  40. package/dist/integrations/hooks.js +276 -280
  41. package/dist/manifest/virtual-module.js +2 -2
  42. package/dist/prefetch/index.d.ts +8 -0
  43. package/dist/prefetch/index.js +6 -4
  44. package/dist/prefetch/vite-plugin-prefetch.js +1 -1
  45. package/dist/toolbar/vite-plugin-dev-toolbar.js +41 -39
  46. package/dist/transitions/vite-plugin-transitions.js +22 -18
  47. package/dist/types/public/config.d.ts +3 -25
  48. package/dist/vite-plugin-load-fallback/index.js +4 -2
  49. package/dist/vite-plugin-scripts/index.js +9 -3
  50. package/dist/vite-plugin-ssr-manifest/index.js +4 -3
  51. package/package.json +4 -4
  52. package/dist/core/config/schema.d.ts +0 -3402
@@ -1,3402 +0,0 @@
1
- import type { OutgoingHttpHeaders } from 'node:http';
2
- import type { ShikiConfig, RehypePlugin as _RehypePlugin, RemarkPlugin as _RemarkPlugin, RemarkRehype as _RemarkRehype } from '@astrojs/markdown-remark';
3
- import { z } from 'zod';
4
- import type { ViteUserConfig } from '../../types/public/config.js';
5
- interface ComplexifyUnionObj {
6
- }
7
- type ComplexifyWithUnion<T> = T & ComplexifyUnionObj;
8
- type ComplexifyWithOmit<T> = Omit<T, '__nonExistent'>;
9
- type ShikiLang = ComplexifyWithUnion<NonNullable<ShikiConfig['langs']>[number]>;
10
- type ShikiTheme = ComplexifyWithUnion<NonNullable<ShikiConfig['theme']>>;
11
- type ShikiTransformer = ComplexifyWithUnion<NonNullable<ShikiConfig['transformers']>[number]>;
12
- type RehypePlugin = ComplexifyWithUnion<_RehypePlugin>;
13
- type RemarkPlugin = ComplexifyWithUnion<_RemarkPlugin>;
14
- type RemarkRehype = ComplexifyWithOmit<_RemarkRehype>;
15
- export declare const ASTRO_CONFIG_DEFAULTS: {
16
- root: string;
17
- srcDir: string;
18
- publicDir: string;
19
- outDir: string;
20
- cacheDir: string;
21
- base: string;
22
- trailingSlash: "ignore";
23
- build: {
24
- format: "directory";
25
- client: string;
26
- server: string;
27
- assets: string;
28
- serverEntry: string;
29
- redirects: true;
30
- inlineStylesheets: "auto";
31
- concurrency: number;
32
- };
33
- image: {
34
- endpoint: {
35
- entrypoint: undefined;
36
- route: "/_image";
37
- };
38
- service: {
39
- entrypoint: "astro/assets/services/sharp";
40
- config: {};
41
- };
42
- };
43
- devToolbar: {
44
- enabled: true;
45
- };
46
- compressHTML: true;
47
- server: {
48
- host: false;
49
- port: number;
50
- open: false;
51
- allowedHosts: never[];
52
- };
53
- integrations: never[];
54
- markdown: Required<import("@astrojs/markdown-remark").AstroMarkdownOptions>;
55
- vite: {};
56
- legacy: {
57
- collections: false;
58
- };
59
- redirects: {};
60
- security: {
61
- checkOrigin: true;
62
- };
63
- env: {
64
- schema: {};
65
- validateSecrets: false;
66
- };
67
- session: undefined;
68
- experimental: {
69
- clientPrerender: false;
70
- contentIntellisense: false;
71
- responsiveImages: false;
72
- svg: false;
73
- serializeConfig: false;
74
- session: false;
75
- headingIdCompat: false;
76
- preserveScriptOrder: false;
77
- };
78
- };
79
- export declare const AstroConfigSchema: z.ZodObject<{
80
- root: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
81
- srcDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
82
- publicDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
83
- outDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
84
- cacheDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
85
- site: z.ZodOptional<z.ZodString>;
86
- compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
87
- base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
88
- trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
89
- output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">]>>>;
90
- scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
91
- adapter: z.ZodOptional<z.ZodObject<{
92
- name: z.ZodString;
93
- hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
94
- }, "strip", z.ZodTypeAny, {
95
- name: string;
96
- hooks: {} & {
97
- [k: string]: unknown;
98
- };
99
- }, {
100
- name: string;
101
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
102
- }>>;
103
- integrations: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
104
- name: z.ZodString;
105
- hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
106
- }, "strip", z.ZodTypeAny, {
107
- name: string;
108
- hooks: {} & {
109
- [k: string]: unknown;
110
- };
111
- }, {
112
- name: string;
113
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
114
- }>, "many">>, {
115
- name: string;
116
- hooks: {} & {
117
- [k: string]: unknown;
118
- };
119
- }[], unknown>;
120
- build: z.ZodDefault<z.ZodObject<{
121
- format: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
122
- client: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
123
- server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
124
- assets: z.ZodDefault<z.ZodOptional<z.ZodString>>;
125
- assetsPrefix: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodIntersection<z.ZodObject<{
126
- fallback: z.ZodString;
127
- }, "strip", z.ZodTypeAny, {
128
- fallback: string;
129
- }, {
130
- fallback: string;
131
- }>, z.ZodRecord<z.ZodString, z.ZodString>>>]>, string | ({
132
- fallback: string;
133
- } & Record<string, string>) | undefined, string | ({
134
- fallback: string;
135
- } & Record<string, string>) | undefined>;
136
- serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
137
- redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
138
- inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
139
- concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
140
- }, "strip", z.ZodTypeAny, {
141
- client: URL;
142
- format: "file" | "directory" | "preserve";
143
- server: URL;
144
- assets: string;
145
- serverEntry: string;
146
- redirects: boolean;
147
- inlineStylesheets: "never" | "always" | "auto";
148
- concurrency: number;
149
- assetsPrefix?: string | ({
150
- fallback: string;
151
- } & Record<string, string>) | undefined;
152
- }, {
153
- client?: string | undefined;
154
- format?: "file" | "directory" | "preserve" | undefined;
155
- server?: string | undefined;
156
- assets?: string | undefined;
157
- serverEntry?: string | undefined;
158
- redirects?: boolean | undefined;
159
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
160
- concurrency?: number | undefined;
161
- assetsPrefix?: string | ({
162
- fallback: string;
163
- } & Record<string, string>) | undefined;
164
- }>>;
165
- server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
166
- open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
167
- host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
168
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
169
- headers: z.ZodOptional<z.ZodType<OutgoingHttpHeaders, z.ZodTypeDef, OutgoingHttpHeaders>>;
170
- allowedHosts: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<true>]>>>;
171
- }, "strip", z.ZodTypeAny, {
172
- host: string | boolean;
173
- port: number;
174
- allowedHosts: true | string[];
175
- open: string | boolean;
176
- headers?: OutgoingHttpHeaders | undefined;
177
- }, {
178
- headers?: OutgoingHttpHeaders | undefined;
179
- host?: string | boolean | undefined;
180
- port?: number | undefined;
181
- allowedHosts?: true | string[] | undefined;
182
- open?: string | boolean | undefined;
183
- }>>, {
184
- host: string | boolean;
185
- port: number;
186
- allowedHosts: true | string[];
187
- open: string | boolean;
188
- headers?: OutgoingHttpHeaders | undefined;
189
- }, unknown>;
190
- redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
191
- status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
192
- destination: z.ZodString;
193
- }, "strip", z.ZodTypeAny, {
194
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
195
- destination: string;
196
- }, {
197
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
198
- destination: string;
199
- }>]>>>;
200
- prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
201
- prefetchAll: z.ZodOptional<z.ZodBoolean>;
202
- defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
203
- }, "strip", z.ZodTypeAny, {
204
- prefetchAll?: boolean | undefined;
205
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
206
- }, {
207
- prefetchAll?: boolean | undefined;
208
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
209
- }>]>>;
210
- image: z.ZodDefault<z.ZodObject<{
211
- endpoint: z.ZodDefault<z.ZodObject<{
212
- route: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"/_image">, z.ZodString]>>;
213
- entrypoint: z.ZodOptional<z.ZodString>;
214
- }, "strip", z.ZodTypeAny, {
215
- route: string;
216
- entrypoint?: string | undefined;
217
- }, {
218
- route?: string | undefined;
219
- entrypoint?: string | undefined;
220
- }>>;
221
- service: z.ZodDefault<z.ZodObject<{
222
- entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodString]>>;
223
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
224
- }, "strip", z.ZodTypeAny, {
225
- entrypoint: string;
226
- config: Record<string, any>;
227
- }, {
228
- entrypoint?: string | undefined;
229
- config?: Record<string, any> | undefined;
230
- }>>;
231
- domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
232
- remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
233
- protocol: z.ZodOptional<z.ZodString>;
234
- hostname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
235
- port: z.ZodOptional<z.ZodString>;
236
- pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
237
- }, "strip", z.ZodTypeAny, {
238
- port?: string | undefined;
239
- protocol?: string | undefined;
240
- hostname?: string | undefined;
241
- pathname?: string | undefined;
242
- }, {
243
- port?: string | undefined;
244
- protocol?: string | undefined;
245
- hostname?: string | undefined;
246
- pathname?: string | undefined;
247
- }>, "many">>;
248
- experimentalLayout: z.ZodOptional<z.ZodEnum<["responsive", "fixed", "full-width", "none"]>>;
249
- experimentalObjectFit: z.ZodOptional<z.ZodString>;
250
- experimentalObjectPosition: z.ZodOptional<z.ZodString>;
251
- experimentalBreakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
252
- }, "strip", z.ZodTypeAny, {
253
- endpoint: {
254
- route: string;
255
- entrypoint?: string | undefined;
256
- };
257
- service: {
258
- entrypoint: string;
259
- config: Record<string, any>;
260
- };
261
- domains: string[];
262
- remotePatterns: {
263
- port?: string | undefined;
264
- protocol?: string | undefined;
265
- hostname?: string | undefined;
266
- pathname?: string | undefined;
267
- }[];
268
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
269
- experimentalObjectFit?: string | undefined;
270
- experimentalObjectPosition?: string | undefined;
271
- experimentalBreakpoints?: number[] | undefined;
272
- }, {
273
- endpoint?: {
274
- route?: string | undefined;
275
- entrypoint?: string | undefined;
276
- } | undefined;
277
- service?: {
278
- entrypoint?: string | undefined;
279
- config?: Record<string, any> | undefined;
280
- } | undefined;
281
- domains?: string[] | undefined;
282
- remotePatterns?: {
283
- port?: string | undefined;
284
- protocol?: string | undefined;
285
- hostname?: string | undefined;
286
- pathname?: string | undefined;
287
- }[] | undefined;
288
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
289
- experimentalObjectFit?: string | undefined;
290
- experimentalObjectPosition?: string | undefined;
291
- experimentalBreakpoints?: number[] | undefined;
292
- }>>;
293
- devToolbar: z.ZodDefault<z.ZodObject<{
294
- enabled: z.ZodDefault<z.ZodBoolean>;
295
- }, "strip", z.ZodTypeAny, {
296
- enabled: boolean;
297
- }, {
298
- enabled?: boolean | undefined;
299
- }>>;
300
- markdown: z.ZodDefault<z.ZodObject<{
301
- syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodDefault<z.ZodObject<{
302
- type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>;
303
- excludeLangs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
304
- }, "strip", z.ZodTypeAny, {
305
- type: "shiki" | "prism";
306
- excludeLangs: string[];
307
- }, {
308
- type?: "shiki" | "prism" | undefined;
309
- excludeLangs?: string[] | undefined;
310
- }>>, z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>, z.ZodLiteral<false>]>>;
311
- shikiConfig: z.ZodDefault<z.ZodObject<{
312
- langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiLang, z.ZodTypeDef, ShikiLang>, "many">, ShikiLang[], ShikiLang[]>>;
313
- langAlias: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
314
- theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
315
- themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
316
- defaultColor: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">, z.ZodString, z.ZodLiteral<false>]>>;
317
- wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
318
- transformers: z.ZodDefault<z.ZodArray<z.ZodType<ShikiTransformer, z.ZodTypeDef, ShikiTransformer>, "many">>;
319
- }, "strip", z.ZodTypeAny, {
320
- langs: ShikiLang[];
321
- theme: import("shiki").BundledTheme | ShikiTheme;
322
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
323
- langAlias: Record<string, string>;
324
- wrap: boolean | null;
325
- transformers: ShikiTransformer[];
326
- defaultColor?: string | false | undefined;
327
- }, {
328
- langs?: ShikiLang[] | undefined;
329
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
330
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
331
- langAlias?: Record<string, string> | undefined;
332
- defaultColor?: string | false | undefined;
333
- wrap?: boolean | null | undefined;
334
- transformers?: ShikiTransformer[] | undefined;
335
- }>>;
336
- 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">>;
337
- 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">>;
338
- remarkRehype: z.ZodDefault<z.ZodType<RemarkRehype, z.ZodTypeDef, RemarkRehype>>;
339
- gfm: z.ZodDefault<z.ZodBoolean>;
340
- smartypants: z.ZodDefault<z.ZodBoolean>;
341
- }, "strip", z.ZodTypeAny, {
342
- syntaxHighlight: false | "shiki" | "prism" | {
343
- type: "shiki" | "prism";
344
- excludeLangs: string[];
345
- };
346
- shikiConfig: {
347
- langs: ShikiLang[];
348
- theme: import("shiki").BundledTheme | ShikiTheme;
349
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
350
- langAlias: Record<string, string>;
351
- wrap: boolean | null;
352
- transformers: ShikiTransformer[];
353
- defaultColor?: string | false | undefined;
354
- };
355
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
356
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
357
- remarkRehype: RemarkRehype;
358
- gfm: boolean;
359
- smartypants: boolean;
360
- }, {
361
- syntaxHighlight?: false | "shiki" | "prism" | {
362
- type?: "shiki" | "prism" | undefined;
363
- excludeLangs?: string[] | undefined;
364
- } | undefined;
365
- shikiConfig?: {
366
- langs?: ShikiLang[] | undefined;
367
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
368
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
369
- langAlias?: Record<string, string> | undefined;
370
- defaultColor?: string | false | undefined;
371
- wrap?: boolean | null | undefined;
372
- transformers?: ShikiTransformer[] | undefined;
373
- } | undefined;
374
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
375
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
376
- remarkRehype?: RemarkRehype | undefined;
377
- gfm?: boolean | undefined;
378
- smartypants?: boolean | undefined;
379
- }>>;
380
- vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
381
- i18n: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodObject<{
382
- defaultLocale: z.ZodString;
383
- locales: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
384
- path: z.ZodString;
385
- codes: z.ZodArray<z.ZodString, "atleastone">;
386
- }, "strip", z.ZodTypeAny, {
387
- path: string;
388
- codes: [string, ...string[]];
389
- }, {
390
- path: string;
391
- codes: [string, ...string[]];
392
- }>]>, "many">;
393
- domains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
394
- fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
395
- routing: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"manual">, z.ZodEffects<z.ZodObject<{
396
- prefixDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
397
- redirectToDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
398
- fallbackType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["redirect", "rewrite"]>>>;
399
- }, "strip", z.ZodTypeAny, {
400
- prefixDefaultLocale: boolean;
401
- redirectToDefaultLocale: boolean;
402
- fallbackType: "redirect" | "rewrite";
403
- }, {
404
- prefixDefaultLocale?: boolean | undefined;
405
- redirectToDefaultLocale?: boolean | undefined;
406
- fallbackType?: "redirect" | "rewrite" | undefined;
407
- }>, {
408
- prefixDefaultLocale: boolean;
409
- redirectToDefaultLocale: boolean;
410
- fallbackType: "redirect" | "rewrite";
411
- }, {
412
- prefixDefaultLocale?: boolean | undefined;
413
- redirectToDefaultLocale?: boolean | undefined;
414
- fallbackType?: "redirect" | "rewrite" | undefined;
415
- }>]>>>;
416
- }, "strip", z.ZodTypeAny, {
417
- defaultLocale: string;
418
- locales: (string | {
419
- path: string;
420
- codes: [string, ...string[]];
421
- })[];
422
- routing: "manual" | {
423
- prefixDefaultLocale: boolean;
424
- redirectToDefaultLocale: boolean;
425
- fallbackType: "redirect" | "rewrite";
426
- };
427
- fallback?: Record<string, string> | undefined;
428
- domains?: Record<string, string> | undefined;
429
- }, {
430
- defaultLocale: string;
431
- locales: (string | {
432
- path: string;
433
- codes: [string, ...string[]];
434
- })[];
435
- fallback?: Record<string, string> | undefined;
436
- domains?: Record<string, string> | undefined;
437
- routing?: "manual" | {
438
- prefixDefaultLocale?: boolean | undefined;
439
- redirectToDefaultLocale?: boolean | undefined;
440
- fallbackType?: "redirect" | "rewrite" | undefined;
441
- } | undefined;
442
- }>>, {
443
- defaultLocale: string;
444
- locales: (string | {
445
- path: string;
446
- codes: [string, ...string[]];
447
- })[];
448
- routing: "manual" | {
449
- prefixDefaultLocale: boolean;
450
- redirectToDefaultLocale: boolean;
451
- fallbackType: "redirect" | "rewrite";
452
- };
453
- fallback?: Record<string, string> | undefined;
454
- domains?: Record<string, string> | undefined;
455
- } | undefined, {
456
- defaultLocale: string;
457
- locales: (string | {
458
- path: string;
459
- codes: [string, ...string[]];
460
- })[];
461
- fallback?: Record<string, string> | undefined;
462
- domains?: Record<string, string> | undefined;
463
- routing?: "manual" | {
464
- prefixDefaultLocale?: boolean | undefined;
465
- redirectToDefaultLocale?: boolean | undefined;
466
- fallbackType?: "redirect" | "rewrite" | undefined;
467
- } | undefined;
468
- } | undefined>>;
469
- security: z.ZodDefault<z.ZodOptional<z.ZodObject<{
470
- checkOrigin: z.ZodDefault<z.ZodBoolean>;
471
- }, "strip", z.ZodTypeAny, {
472
- checkOrigin: boolean;
473
- }, {
474
- checkOrigin?: boolean | undefined;
475
- }>>>;
476
- env: z.ZodDefault<z.ZodOptional<z.ZodObject<{
477
- schema: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodIntersection<z.ZodEffects<z.ZodType<{
478
- context: "client";
479
- access: "public";
480
- } | {
481
- context: "server";
482
- access: "public";
483
- } | {
484
- context: "server";
485
- access: "secret";
486
- }, z.ZodTypeDef, {
487
- context: "client";
488
- access: "public";
489
- } | {
490
- context: "server";
491
- access: "public";
492
- } | {
493
- context: "server";
494
- access: "secret";
495
- }>, {
496
- context: "client";
497
- access: "public";
498
- } | {
499
- context: "server";
500
- access: "public";
501
- } | {
502
- context: "server";
503
- access: "secret";
504
- }, {
505
- context: "client";
506
- access: "public";
507
- } | {
508
- context: "server";
509
- access: "public";
510
- } | {
511
- context: "server";
512
- access: "secret";
513
- }>, z.ZodUnion<[z.ZodObject<{
514
- type: z.ZodLiteral<"string">;
515
- optional: z.ZodOptional<z.ZodBoolean>;
516
- default: z.ZodOptional<z.ZodString>;
517
- max: z.ZodOptional<z.ZodNumber>;
518
- min: z.ZodOptional<z.ZodNumber>;
519
- length: z.ZodOptional<z.ZodNumber>;
520
- url: z.ZodOptional<z.ZodBoolean>;
521
- includes: z.ZodOptional<z.ZodString>;
522
- startsWith: z.ZodOptional<z.ZodString>;
523
- endsWith: z.ZodOptional<z.ZodString>;
524
- }, "strip", z.ZodTypeAny, {
525
- type: "string";
526
- length?: number | undefined;
527
- includes?: string | undefined;
528
- endsWith?: string | undefined;
529
- startsWith?: string | undefined;
530
- default?: string | undefined;
531
- url?: boolean | undefined;
532
- optional?: boolean | undefined;
533
- max?: number | undefined;
534
- min?: number | undefined;
535
- }, {
536
- type: "string";
537
- length?: number | undefined;
538
- includes?: string | undefined;
539
- endsWith?: string | undefined;
540
- startsWith?: string | undefined;
541
- default?: string | undefined;
542
- url?: boolean | undefined;
543
- optional?: boolean | undefined;
544
- max?: number | undefined;
545
- min?: number | undefined;
546
- }>, z.ZodObject<{
547
- type: z.ZodLiteral<"number">;
548
- optional: z.ZodOptional<z.ZodBoolean>;
549
- default: z.ZodOptional<z.ZodNumber>;
550
- gt: z.ZodOptional<z.ZodNumber>;
551
- min: z.ZodOptional<z.ZodNumber>;
552
- lt: z.ZodOptional<z.ZodNumber>;
553
- max: z.ZodOptional<z.ZodNumber>;
554
- int: z.ZodOptional<z.ZodBoolean>;
555
- }, "strip", z.ZodTypeAny, {
556
- type: "number";
557
- default?: number | undefined;
558
- optional?: boolean | undefined;
559
- max?: number | undefined;
560
- min?: number | undefined;
561
- gt?: number | undefined;
562
- lt?: number | undefined;
563
- int?: boolean | undefined;
564
- }, {
565
- type: "number";
566
- default?: number | undefined;
567
- optional?: boolean | undefined;
568
- max?: number | undefined;
569
- min?: number | undefined;
570
- gt?: number | undefined;
571
- lt?: number | undefined;
572
- int?: boolean | undefined;
573
- }>, z.ZodObject<{
574
- type: z.ZodLiteral<"boolean">;
575
- optional: z.ZodOptional<z.ZodBoolean>;
576
- default: z.ZodOptional<z.ZodBoolean>;
577
- }, "strip", z.ZodTypeAny, {
578
- type: "boolean";
579
- default?: boolean | undefined;
580
- optional?: boolean | undefined;
581
- }, {
582
- type: "boolean";
583
- default?: boolean | undefined;
584
- optional?: boolean | undefined;
585
- }>, z.ZodEffects<z.ZodObject<{
586
- type: z.ZodLiteral<"enum">;
587
- values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
588
- optional: z.ZodOptional<z.ZodBoolean>;
589
- default: z.ZodOptional<z.ZodString>;
590
- }, "strip", z.ZodTypeAny, {
591
- values: string[];
592
- type: "enum";
593
- default?: string | undefined;
594
- optional?: boolean | undefined;
595
- }, {
596
- values: string[];
597
- type: "enum";
598
- default?: string | undefined;
599
- optional?: boolean | undefined;
600
- }>, {
601
- values: string[];
602
- type: "enum";
603
- default?: string | undefined;
604
- optional?: boolean | undefined;
605
- }, {
606
- values: string[];
607
- type: "enum";
608
- default?: string | undefined;
609
- optional?: boolean | undefined;
610
- }>]>>>>>;
611
- validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
612
- }, "strict", z.ZodTypeAny, {
613
- validateSecrets: boolean;
614
- schema: Record<string, ({
615
- context: "client";
616
- access: "public";
617
- } | {
618
- context: "server";
619
- access: "public";
620
- } | {
621
- context: "server";
622
- access: "secret";
623
- }) & ({
624
- type: "string";
625
- length?: number | undefined;
626
- includes?: string | undefined;
627
- endsWith?: string | undefined;
628
- startsWith?: string | undefined;
629
- default?: string | undefined;
630
- url?: boolean | undefined;
631
- optional?: boolean | undefined;
632
- max?: number | undefined;
633
- min?: number | undefined;
634
- } | {
635
- type: "number";
636
- default?: number | undefined;
637
- optional?: boolean | undefined;
638
- max?: number | undefined;
639
- min?: number | undefined;
640
- gt?: number | undefined;
641
- lt?: number | undefined;
642
- int?: boolean | undefined;
643
- } | {
644
- type: "boolean";
645
- default?: boolean | undefined;
646
- optional?: boolean | undefined;
647
- } | {
648
- values: string[];
649
- type: "enum";
650
- default?: string | undefined;
651
- optional?: boolean | undefined;
652
- })>;
653
- }, {
654
- validateSecrets?: boolean | undefined;
655
- schema?: Record<string, ({
656
- context: "client";
657
- access: "public";
658
- } | {
659
- context: "server";
660
- access: "public";
661
- } | {
662
- context: "server";
663
- access: "secret";
664
- }) & ({
665
- type: "string";
666
- length?: number | undefined;
667
- includes?: string | undefined;
668
- endsWith?: string | undefined;
669
- startsWith?: string | undefined;
670
- default?: string | undefined;
671
- url?: boolean | undefined;
672
- optional?: boolean | undefined;
673
- max?: number | undefined;
674
- min?: number | undefined;
675
- } | {
676
- type: "number";
677
- default?: number | undefined;
678
- optional?: boolean | undefined;
679
- max?: number | undefined;
680
- min?: number | undefined;
681
- gt?: number | undefined;
682
- lt?: number | undefined;
683
- int?: boolean | undefined;
684
- } | {
685
- type: "boolean";
686
- default?: boolean | undefined;
687
- optional?: boolean | undefined;
688
- } | {
689
- values: string[];
690
- type: "enum";
691
- default?: string | undefined;
692
- optional?: boolean | undefined;
693
- })> | undefined;
694
- }>>>;
695
- session: z.ZodOptional<z.ZodObject<{
696
- driver: z.ZodString;
697
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
698
- cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
699
- name: z.ZodOptional<z.ZodString>;
700
- domain: z.ZodOptional<z.ZodString>;
701
- path: z.ZodOptional<z.ZodString>;
702
- maxAge: z.ZodOptional<z.ZodNumber>;
703
- sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
704
- secure: z.ZodOptional<z.ZodBoolean>;
705
- }, "strip", z.ZodTypeAny, {
706
- domain?: string | undefined;
707
- path?: string | undefined;
708
- maxAge?: number | undefined;
709
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
710
- secure?: boolean | undefined;
711
- name?: string | undefined;
712
- }, {
713
- domain?: string | undefined;
714
- path?: string | undefined;
715
- maxAge?: number | undefined;
716
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
717
- secure?: boolean | undefined;
718
- name?: string | undefined;
719
- }>, z.ZodString]>, {
720
- domain?: string | undefined;
721
- path?: string | undefined;
722
- maxAge?: number | undefined;
723
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
724
- secure?: boolean | undefined;
725
- name?: string | undefined;
726
- }, string | {
727
- domain?: string | undefined;
728
- path?: string | undefined;
729
- maxAge?: number | undefined;
730
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
731
- secure?: boolean | undefined;
732
- name?: string | undefined;
733
- }>>;
734
- ttl: z.ZodOptional<z.ZodNumber>;
735
- }, "strip", z.ZodTypeAny, {
736
- driver: string;
737
- cookie?: {
738
- domain?: string | undefined;
739
- path?: string | undefined;
740
- maxAge?: number | undefined;
741
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
742
- secure?: boolean | undefined;
743
- name?: string | undefined;
744
- } | undefined;
745
- options?: Record<string, any> | undefined;
746
- ttl?: number | undefined;
747
- }, {
748
- driver: string;
749
- cookie?: string | {
750
- domain?: string | undefined;
751
- path?: string | undefined;
752
- maxAge?: number | undefined;
753
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
754
- secure?: boolean | undefined;
755
- name?: string | undefined;
756
- } | undefined;
757
- options?: Record<string, any> | undefined;
758
- ttl?: number | undefined;
759
- }>>;
760
- experimental: z.ZodDefault<z.ZodObject<{
761
- clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
762
- contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
763
- responsiveImages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
764
- session: z.ZodOptional<z.ZodBoolean>;
765
- svg: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodOptional<z.ZodObject<{
766
- mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"inline">, z.ZodLiteral<"sprite">]>>;
767
- }, "strip", z.ZodTypeAny, {
768
- mode?: "inline" | "sprite" | undefined;
769
- }, {
770
- mode?: "inline" | "sprite" | undefined;
771
- }>>]>>>, {
772
- mode?: "inline" | "sprite" | undefined;
773
- } | undefined, boolean | {
774
- mode?: "inline" | "sprite" | undefined;
775
- } | undefined>;
776
- serializeConfig: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
777
- headingIdCompat: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
778
- preserveScriptOrder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
779
- }, "strict", z.ZodTypeAny, {
780
- clientPrerender: boolean;
781
- contentIntellisense: boolean;
782
- responsiveImages: boolean;
783
- serializeConfig: boolean;
784
- headingIdCompat: boolean;
785
- preserveScriptOrder: boolean;
786
- svg?: {
787
- mode?: "inline" | "sprite" | undefined;
788
- } | undefined;
789
- session?: boolean | undefined;
790
- }, {
791
- clientPrerender?: boolean | undefined;
792
- contentIntellisense?: boolean | undefined;
793
- responsiveImages?: boolean | undefined;
794
- svg?: boolean | {
795
- mode?: "inline" | "sprite" | undefined;
796
- } | undefined;
797
- serializeConfig?: boolean | undefined;
798
- session?: boolean | undefined;
799
- headingIdCompat?: boolean | undefined;
800
- preserveScriptOrder?: boolean | undefined;
801
- }>>;
802
- legacy: z.ZodDefault<z.ZodObject<{
803
- collections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
804
- }, "strip", z.ZodTypeAny, {
805
- collections: boolean;
806
- }, {
807
- collections?: boolean | undefined;
808
- }>>;
809
- }, "strip", z.ZodTypeAny, {
810
- trailingSlash: "never" | "ignore" | "always";
811
- server: {
812
- host: string | boolean;
813
- port: number;
814
- allowedHosts: true | string[];
815
- open: string | boolean;
816
- headers?: OutgoingHttpHeaders | undefined;
817
- };
818
- redirects: Record<string, string | {
819
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
820
- destination: string;
821
- }>;
822
- build: {
823
- client: URL;
824
- format: "file" | "directory" | "preserve";
825
- server: URL;
826
- assets: string;
827
- serverEntry: string;
828
- redirects: boolean;
829
- inlineStylesheets: "never" | "always" | "auto";
830
- concurrency: number;
831
- assetsPrefix?: string | ({
832
- fallback: string;
833
- } & Record<string, string>) | undefined;
834
- };
835
- root: URL;
836
- srcDir: URL;
837
- publicDir: URL;
838
- outDir: URL;
839
- cacheDir: URL;
840
- compressHTML: boolean;
841
- base: string;
842
- output: "server" | "static";
843
- scopedStyleStrategy: "where" | "class" | "attribute";
844
- integrations: {
845
- name: string;
846
- hooks: {} & {
847
- [k: string]: unknown;
848
- };
849
- }[];
850
- image: {
851
- endpoint: {
852
- route: string;
853
- entrypoint?: string | undefined;
854
- };
855
- service: {
856
- entrypoint: string;
857
- config: Record<string, any>;
858
- };
859
- domains: string[];
860
- remotePatterns: {
861
- port?: string | undefined;
862
- protocol?: string | undefined;
863
- hostname?: string | undefined;
864
- pathname?: string | undefined;
865
- }[];
866
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
867
- experimentalObjectFit?: string | undefined;
868
- experimentalObjectPosition?: string | undefined;
869
- experimentalBreakpoints?: number[] | undefined;
870
- };
871
- devToolbar: {
872
- enabled: boolean;
873
- };
874
- markdown: {
875
- syntaxHighlight: false | "shiki" | "prism" | {
876
- type: "shiki" | "prism";
877
- excludeLangs: string[];
878
- };
879
- shikiConfig: {
880
- langs: ShikiLang[];
881
- theme: import("shiki").BundledTheme | ShikiTheme;
882
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
883
- langAlias: Record<string, string>;
884
- wrap: boolean | null;
885
- transformers: ShikiTransformer[];
886
- defaultColor?: string | false | undefined;
887
- };
888
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
889
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
890
- remarkRehype: RemarkRehype;
891
- gfm: boolean;
892
- smartypants: boolean;
893
- };
894
- vite: ViteUserConfig;
895
- security: {
896
- checkOrigin: boolean;
897
- };
898
- env: {
899
- validateSecrets: boolean;
900
- schema: Record<string, ({
901
- context: "client";
902
- access: "public";
903
- } | {
904
- context: "server";
905
- access: "public";
906
- } | {
907
- context: "server";
908
- access: "secret";
909
- }) & ({
910
- type: "string";
911
- length?: number | undefined;
912
- includes?: string | undefined;
913
- endsWith?: string | undefined;
914
- startsWith?: string | undefined;
915
- default?: string | undefined;
916
- url?: boolean | undefined;
917
- optional?: boolean | undefined;
918
- max?: number | undefined;
919
- min?: number | undefined;
920
- } | {
921
- type: "number";
922
- default?: number | undefined;
923
- optional?: boolean | undefined;
924
- max?: number | undefined;
925
- min?: number | undefined;
926
- gt?: number | undefined;
927
- lt?: number | undefined;
928
- int?: boolean | undefined;
929
- } | {
930
- type: "boolean";
931
- default?: boolean | undefined;
932
- optional?: boolean | undefined;
933
- } | {
934
- values: string[];
935
- type: "enum";
936
- default?: string | undefined;
937
- optional?: boolean | undefined;
938
- })>;
939
- };
940
- experimental: {
941
- clientPrerender: boolean;
942
- contentIntellisense: boolean;
943
- responsiveImages: boolean;
944
- serializeConfig: boolean;
945
- headingIdCompat: boolean;
946
- preserveScriptOrder: boolean;
947
- svg?: {
948
- mode?: "inline" | "sprite" | undefined;
949
- } | undefined;
950
- session?: boolean | undefined;
951
- };
952
- legacy: {
953
- collections: boolean;
954
- };
955
- session?: {
956
- driver: string;
957
- cookie?: {
958
- domain?: string | undefined;
959
- path?: string | undefined;
960
- maxAge?: number | undefined;
961
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
962
- secure?: boolean | undefined;
963
- name?: string | undefined;
964
- } | undefined;
965
- options?: Record<string, any> | undefined;
966
- ttl?: number | undefined;
967
- } | undefined;
968
- site?: string | undefined;
969
- adapter?: {
970
- name: string;
971
- hooks: {} & {
972
- [k: string]: unknown;
973
- };
974
- } | undefined;
975
- prefetch?: boolean | {
976
- prefetchAll?: boolean | undefined;
977
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
978
- } | undefined;
979
- i18n?: {
980
- defaultLocale: string;
981
- locales: (string | {
982
- path: string;
983
- codes: [string, ...string[]];
984
- })[];
985
- routing: "manual" | {
986
- prefixDefaultLocale: boolean;
987
- redirectToDefaultLocale: boolean;
988
- fallbackType: "redirect" | "rewrite";
989
- };
990
- fallback?: Record<string, string> | undefined;
991
- domains?: Record<string, string> | undefined;
992
- } | undefined;
993
- }, {
994
- trailingSlash?: "never" | "ignore" | "always" | undefined;
995
- server?: unknown;
996
- redirects?: Record<string, string | {
997
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
998
- destination: string;
999
- }> | undefined;
1000
- session?: {
1001
- driver: string;
1002
- cookie?: string | {
1003
- domain?: string | undefined;
1004
- path?: string | undefined;
1005
- maxAge?: number | undefined;
1006
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1007
- secure?: boolean | undefined;
1008
- name?: string | undefined;
1009
- } | undefined;
1010
- options?: Record<string, any> | undefined;
1011
- ttl?: number | undefined;
1012
- } | undefined;
1013
- build?: {
1014
- client?: string | undefined;
1015
- format?: "file" | "directory" | "preserve" | undefined;
1016
- server?: string | undefined;
1017
- assets?: string | undefined;
1018
- serverEntry?: string | undefined;
1019
- redirects?: boolean | undefined;
1020
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
1021
- concurrency?: number | undefined;
1022
- assetsPrefix?: string | ({
1023
- fallback: string;
1024
- } & Record<string, string>) | undefined;
1025
- } | undefined;
1026
- root?: string | undefined;
1027
- srcDir?: string | undefined;
1028
- publicDir?: string | undefined;
1029
- outDir?: string | undefined;
1030
- cacheDir?: string | undefined;
1031
- site?: string | undefined;
1032
- compressHTML?: boolean | undefined;
1033
- base?: string | undefined;
1034
- output?: "server" | "static" | undefined;
1035
- scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
1036
- adapter?: {
1037
- name: string;
1038
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1039
- } | undefined;
1040
- integrations?: unknown;
1041
- prefetch?: boolean | {
1042
- prefetchAll?: boolean | undefined;
1043
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
1044
- } | undefined;
1045
- image?: {
1046
- endpoint?: {
1047
- route?: string | undefined;
1048
- entrypoint?: string | undefined;
1049
- } | undefined;
1050
- service?: {
1051
- entrypoint?: string | undefined;
1052
- config?: Record<string, any> | undefined;
1053
- } | undefined;
1054
- domains?: string[] | undefined;
1055
- remotePatterns?: {
1056
- port?: string | undefined;
1057
- protocol?: string | undefined;
1058
- hostname?: string | undefined;
1059
- pathname?: string | undefined;
1060
- }[] | undefined;
1061
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
1062
- experimentalObjectFit?: string | undefined;
1063
- experimentalObjectPosition?: string | undefined;
1064
- experimentalBreakpoints?: number[] | undefined;
1065
- } | undefined;
1066
- devToolbar?: {
1067
- enabled?: boolean | undefined;
1068
- } | undefined;
1069
- markdown?: {
1070
- syntaxHighlight?: false | "shiki" | "prism" | {
1071
- type?: "shiki" | "prism" | undefined;
1072
- excludeLangs?: string[] | undefined;
1073
- } | undefined;
1074
- shikiConfig?: {
1075
- langs?: ShikiLang[] | undefined;
1076
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
1077
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
1078
- langAlias?: Record<string, string> | undefined;
1079
- defaultColor?: string | false | undefined;
1080
- wrap?: boolean | null | undefined;
1081
- transformers?: ShikiTransformer[] | undefined;
1082
- } | undefined;
1083
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1084
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1085
- remarkRehype?: RemarkRehype | undefined;
1086
- gfm?: boolean | undefined;
1087
- smartypants?: boolean | undefined;
1088
- } | undefined;
1089
- vite?: ViteUserConfig | undefined;
1090
- i18n?: {
1091
- defaultLocale: string;
1092
- locales: (string | {
1093
- path: string;
1094
- codes: [string, ...string[]];
1095
- })[];
1096
- fallback?: Record<string, string> | undefined;
1097
- domains?: Record<string, string> | undefined;
1098
- routing?: "manual" | {
1099
- prefixDefaultLocale?: boolean | undefined;
1100
- redirectToDefaultLocale?: boolean | undefined;
1101
- fallbackType?: "redirect" | "rewrite" | undefined;
1102
- } | undefined;
1103
- } | undefined;
1104
- security?: {
1105
- checkOrigin?: boolean | undefined;
1106
- } | undefined;
1107
- env?: {
1108
- validateSecrets?: boolean | undefined;
1109
- schema?: Record<string, ({
1110
- context: "client";
1111
- access: "public";
1112
- } | {
1113
- context: "server";
1114
- access: "public";
1115
- } | {
1116
- context: "server";
1117
- access: "secret";
1118
- }) & ({
1119
- type: "string";
1120
- length?: number | undefined;
1121
- includes?: string | undefined;
1122
- endsWith?: string | undefined;
1123
- startsWith?: string | undefined;
1124
- default?: string | undefined;
1125
- url?: boolean | undefined;
1126
- optional?: boolean | undefined;
1127
- max?: number | undefined;
1128
- min?: number | undefined;
1129
- } | {
1130
- type: "number";
1131
- default?: number | undefined;
1132
- optional?: boolean | undefined;
1133
- max?: number | undefined;
1134
- min?: number | undefined;
1135
- gt?: number | undefined;
1136
- lt?: number | undefined;
1137
- int?: boolean | undefined;
1138
- } | {
1139
- type: "boolean";
1140
- default?: boolean | undefined;
1141
- optional?: boolean | undefined;
1142
- } | {
1143
- values: string[];
1144
- type: "enum";
1145
- default?: string | undefined;
1146
- optional?: boolean | undefined;
1147
- })> | undefined;
1148
- } | undefined;
1149
- experimental?: {
1150
- clientPrerender?: boolean | undefined;
1151
- contentIntellisense?: boolean | undefined;
1152
- responsiveImages?: boolean | undefined;
1153
- svg?: boolean | {
1154
- mode?: "inline" | "sprite" | undefined;
1155
- } | undefined;
1156
- serializeConfig?: boolean | undefined;
1157
- session?: boolean | undefined;
1158
- headingIdCompat?: boolean | undefined;
1159
- preserveScriptOrder?: boolean | undefined;
1160
- } | undefined;
1161
- legacy?: {
1162
- collections?: boolean | undefined;
1163
- } | undefined;
1164
- }>;
1165
- export type AstroConfigType = z.infer<typeof AstroConfigSchema>;
1166
- export declare function createRelativeSchema(cmd: string, fileProtocolRoot: string): z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1167
- root: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1168
- srcDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1169
- publicDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1170
- outDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1171
- cacheDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1172
- site: z.ZodOptional<z.ZodString>;
1173
- compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1174
- base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1175
- trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
1176
- output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">]>>>;
1177
- scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
1178
- adapter: z.ZodOptional<z.ZodObject<{
1179
- name: z.ZodString;
1180
- hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1181
- }, "strip", z.ZodTypeAny, {
1182
- name: string;
1183
- hooks: {} & {
1184
- [k: string]: unknown;
1185
- };
1186
- }, {
1187
- name: string;
1188
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1189
- }>>;
1190
- integrations: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
1191
- name: z.ZodString;
1192
- hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1193
- }, "strip", z.ZodTypeAny, {
1194
- name: string;
1195
- hooks: {} & {
1196
- [k: string]: unknown;
1197
- };
1198
- }, {
1199
- name: string;
1200
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1201
- }>, "many">>, {
1202
- name: string;
1203
- hooks: {} & {
1204
- [k: string]: unknown;
1205
- };
1206
- }[], unknown>;
1207
- build: z.ZodDefault<z.ZodObject<{
1208
- format: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
1209
- client: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1210
- server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
1211
- assets: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1212
- assetsPrefix: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodIntersection<z.ZodObject<{
1213
- fallback: z.ZodString;
1214
- }, "strip", z.ZodTypeAny, {
1215
- fallback: string;
1216
- }, {
1217
- fallback: string;
1218
- }>, z.ZodRecord<z.ZodString, z.ZodString>>>]>, string | ({
1219
- fallback: string;
1220
- } & Record<string, string>) | undefined, string | ({
1221
- fallback: string;
1222
- } & Record<string, string>) | undefined>;
1223
- serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1224
- redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1225
- inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
1226
- concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1227
- }, "strip", z.ZodTypeAny, {
1228
- client: URL;
1229
- format: "file" | "directory" | "preserve";
1230
- server: URL;
1231
- assets: string;
1232
- serverEntry: string;
1233
- redirects: boolean;
1234
- inlineStylesheets: "never" | "always" | "auto";
1235
- concurrency: number;
1236
- assetsPrefix?: string | ({
1237
- fallback: string;
1238
- } & Record<string, string>) | undefined;
1239
- }, {
1240
- client?: string | undefined;
1241
- format?: "file" | "directory" | "preserve" | undefined;
1242
- server?: string | undefined;
1243
- assets?: string | undefined;
1244
- serverEntry?: string | undefined;
1245
- redirects?: boolean | undefined;
1246
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
1247
- concurrency?: number | undefined;
1248
- assetsPrefix?: string | ({
1249
- fallback: string;
1250
- } & Record<string, string>) | undefined;
1251
- }>>;
1252
- server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
1253
- open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1254
- host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1255
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1256
- headers: z.ZodOptional<z.ZodType<OutgoingHttpHeaders, z.ZodTypeDef, OutgoingHttpHeaders>>;
1257
- allowedHosts: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<true>]>>>;
1258
- }, "strip", z.ZodTypeAny, {
1259
- host: string | boolean;
1260
- port: number;
1261
- allowedHosts: true | string[];
1262
- open: string | boolean;
1263
- headers?: OutgoingHttpHeaders | undefined;
1264
- }, {
1265
- headers?: OutgoingHttpHeaders | undefined;
1266
- host?: string | boolean | undefined;
1267
- port?: number | undefined;
1268
- allowedHosts?: true | string[] | undefined;
1269
- open?: string | boolean | undefined;
1270
- }>>, {
1271
- host: string | boolean;
1272
- port: number;
1273
- allowedHosts: true | string[];
1274
- open: string | boolean;
1275
- headers?: OutgoingHttpHeaders | undefined;
1276
- }, unknown>;
1277
- redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1278
- status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1279
- destination: z.ZodString;
1280
- }, "strip", z.ZodTypeAny, {
1281
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1282
- destination: string;
1283
- }, {
1284
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1285
- destination: string;
1286
- }>]>>>;
1287
- prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1288
- prefetchAll: z.ZodOptional<z.ZodBoolean>;
1289
- defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
1290
- }, "strip", z.ZodTypeAny, {
1291
- prefetchAll?: boolean | undefined;
1292
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
1293
- }, {
1294
- prefetchAll?: boolean | undefined;
1295
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
1296
- }>]>>;
1297
- image: z.ZodDefault<z.ZodObject<{
1298
- endpoint: z.ZodDefault<z.ZodObject<{
1299
- route: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"/_image">, z.ZodString]>>;
1300
- entrypoint: z.ZodOptional<z.ZodString>;
1301
- }, "strip", z.ZodTypeAny, {
1302
- route: string;
1303
- entrypoint?: string | undefined;
1304
- }, {
1305
- route?: string | undefined;
1306
- entrypoint?: string | undefined;
1307
- }>>;
1308
- service: z.ZodDefault<z.ZodObject<{
1309
- entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodString]>>;
1310
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
1311
- }, "strip", z.ZodTypeAny, {
1312
- entrypoint: string;
1313
- config: Record<string, any>;
1314
- }, {
1315
- entrypoint?: string | undefined;
1316
- config?: Record<string, any> | undefined;
1317
- }>>;
1318
- domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1319
- remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
1320
- protocol: z.ZodOptional<z.ZodString>;
1321
- hostname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1322
- port: z.ZodOptional<z.ZodString>;
1323
- pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1324
- }, "strip", z.ZodTypeAny, {
1325
- port?: string | undefined;
1326
- protocol?: string | undefined;
1327
- hostname?: string | undefined;
1328
- pathname?: string | undefined;
1329
- }, {
1330
- port?: string | undefined;
1331
- protocol?: string | undefined;
1332
- hostname?: string | undefined;
1333
- pathname?: string | undefined;
1334
- }>, "many">>;
1335
- experimentalLayout: z.ZodOptional<z.ZodEnum<["responsive", "fixed", "full-width", "none"]>>;
1336
- experimentalObjectFit: z.ZodOptional<z.ZodString>;
1337
- experimentalObjectPosition: z.ZodOptional<z.ZodString>;
1338
- experimentalBreakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1339
- }, "strip", z.ZodTypeAny, {
1340
- endpoint: {
1341
- route: string;
1342
- entrypoint?: string | undefined;
1343
- };
1344
- service: {
1345
- entrypoint: string;
1346
- config: Record<string, any>;
1347
- };
1348
- domains: string[];
1349
- remotePatterns: {
1350
- port?: string | undefined;
1351
- protocol?: string | undefined;
1352
- hostname?: string | undefined;
1353
- pathname?: string | undefined;
1354
- }[];
1355
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
1356
- experimentalObjectFit?: string | undefined;
1357
- experimentalObjectPosition?: string | undefined;
1358
- experimentalBreakpoints?: number[] | undefined;
1359
- }, {
1360
- endpoint?: {
1361
- route?: string | undefined;
1362
- entrypoint?: string | undefined;
1363
- } | undefined;
1364
- service?: {
1365
- entrypoint?: string | undefined;
1366
- config?: Record<string, any> | undefined;
1367
- } | undefined;
1368
- domains?: string[] | undefined;
1369
- remotePatterns?: {
1370
- port?: string | undefined;
1371
- protocol?: string | undefined;
1372
- hostname?: string | undefined;
1373
- pathname?: string | undefined;
1374
- }[] | undefined;
1375
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
1376
- experimentalObjectFit?: string | undefined;
1377
- experimentalObjectPosition?: string | undefined;
1378
- experimentalBreakpoints?: number[] | undefined;
1379
- }>>;
1380
- devToolbar: z.ZodDefault<z.ZodObject<{
1381
- enabled: z.ZodDefault<z.ZodBoolean>;
1382
- }, "strip", z.ZodTypeAny, {
1383
- enabled: boolean;
1384
- }, {
1385
- enabled?: boolean | undefined;
1386
- }>>;
1387
- markdown: z.ZodDefault<z.ZodObject<{
1388
- syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodDefault<z.ZodObject<{
1389
- type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>;
1390
- excludeLangs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1391
- }, "strip", z.ZodTypeAny, {
1392
- type: "shiki" | "prism";
1393
- excludeLangs: string[];
1394
- }, {
1395
- type?: "shiki" | "prism" | undefined;
1396
- excludeLangs?: string[] | undefined;
1397
- }>>, z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>, z.ZodLiteral<false>]>>;
1398
- shikiConfig: z.ZodDefault<z.ZodObject<{
1399
- langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiLang, z.ZodTypeDef, ShikiLang>, "many">, ShikiLang[], ShikiLang[]>>;
1400
- langAlias: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1401
- theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
1402
- themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
1403
- defaultColor: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">, z.ZodString, z.ZodLiteral<false>]>>;
1404
- wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
1405
- transformers: z.ZodDefault<z.ZodArray<z.ZodType<ShikiTransformer, z.ZodTypeDef, ShikiTransformer>, "many">>;
1406
- }, "strip", z.ZodTypeAny, {
1407
- langs: ShikiLang[];
1408
- theme: import("shiki").BundledTheme | ShikiTheme;
1409
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
1410
- langAlias: Record<string, string>;
1411
- wrap: boolean | null;
1412
- transformers: ShikiTransformer[];
1413
- defaultColor?: string | false | undefined;
1414
- }, {
1415
- langs?: ShikiLang[] | undefined;
1416
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
1417
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
1418
- langAlias?: Record<string, string> | undefined;
1419
- defaultColor?: string | false | undefined;
1420
- wrap?: boolean | null | undefined;
1421
- transformers?: ShikiTransformer[] | undefined;
1422
- }>>;
1423
- 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">>;
1424
- 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">>;
1425
- remarkRehype: z.ZodDefault<z.ZodType<RemarkRehype, z.ZodTypeDef, RemarkRehype>>;
1426
- gfm: z.ZodDefault<z.ZodBoolean>;
1427
- smartypants: z.ZodDefault<z.ZodBoolean>;
1428
- }, "strip", z.ZodTypeAny, {
1429
- syntaxHighlight: false | "shiki" | "prism" | {
1430
- type: "shiki" | "prism";
1431
- excludeLangs: string[];
1432
- };
1433
- shikiConfig: {
1434
- langs: ShikiLang[];
1435
- theme: import("shiki").BundledTheme | ShikiTheme;
1436
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
1437
- langAlias: Record<string, string>;
1438
- wrap: boolean | null;
1439
- transformers: ShikiTransformer[];
1440
- defaultColor?: string | false | undefined;
1441
- };
1442
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
1443
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
1444
- remarkRehype: RemarkRehype;
1445
- gfm: boolean;
1446
- smartypants: boolean;
1447
- }, {
1448
- syntaxHighlight?: false | "shiki" | "prism" | {
1449
- type?: "shiki" | "prism" | undefined;
1450
- excludeLangs?: string[] | undefined;
1451
- } | undefined;
1452
- shikiConfig?: {
1453
- langs?: ShikiLang[] | undefined;
1454
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
1455
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
1456
- langAlias?: Record<string, string> | undefined;
1457
- defaultColor?: string | false | undefined;
1458
- wrap?: boolean | null | undefined;
1459
- transformers?: ShikiTransformer[] | undefined;
1460
- } | undefined;
1461
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1462
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1463
- remarkRehype?: RemarkRehype | undefined;
1464
- gfm?: boolean | undefined;
1465
- smartypants?: boolean | undefined;
1466
- }>>;
1467
- vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
1468
- i18n: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodObject<{
1469
- defaultLocale: z.ZodString;
1470
- locales: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1471
- path: z.ZodString;
1472
- codes: z.ZodArray<z.ZodString, "atleastone">;
1473
- }, "strip", z.ZodTypeAny, {
1474
- path: string;
1475
- codes: [string, ...string[]];
1476
- }, {
1477
- path: string;
1478
- codes: [string, ...string[]];
1479
- }>]>, "many">;
1480
- domains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
- fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1482
- routing: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"manual">, z.ZodEffects<z.ZodObject<{
1483
- prefixDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1484
- redirectToDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1485
- fallbackType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["redirect", "rewrite"]>>>;
1486
- }, "strip", z.ZodTypeAny, {
1487
- prefixDefaultLocale: boolean;
1488
- redirectToDefaultLocale: boolean;
1489
- fallbackType: "redirect" | "rewrite";
1490
- }, {
1491
- prefixDefaultLocale?: boolean | undefined;
1492
- redirectToDefaultLocale?: boolean | undefined;
1493
- fallbackType?: "redirect" | "rewrite" | undefined;
1494
- }>, {
1495
- prefixDefaultLocale: boolean;
1496
- redirectToDefaultLocale: boolean;
1497
- fallbackType: "redirect" | "rewrite";
1498
- }, {
1499
- prefixDefaultLocale?: boolean | undefined;
1500
- redirectToDefaultLocale?: boolean | undefined;
1501
- fallbackType?: "redirect" | "rewrite" | undefined;
1502
- }>]>>>;
1503
- }, "strip", z.ZodTypeAny, {
1504
- defaultLocale: string;
1505
- locales: (string | {
1506
- path: string;
1507
- codes: [string, ...string[]];
1508
- })[];
1509
- routing: "manual" | {
1510
- prefixDefaultLocale: boolean;
1511
- redirectToDefaultLocale: boolean;
1512
- fallbackType: "redirect" | "rewrite";
1513
- };
1514
- fallback?: Record<string, string> | undefined;
1515
- domains?: Record<string, string> | undefined;
1516
- }, {
1517
- defaultLocale: string;
1518
- locales: (string | {
1519
- path: string;
1520
- codes: [string, ...string[]];
1521
- })[];
1522
- fallback?: Record<string, string> | undefined;
1523
- domains?: Record<string, string> | undefined;
1524
- routing?: "manual" | {
1525
- prefixDefaultLocale?: boolean | undefined;
1526
- redirectToDefaultLocale?: boolean | undefined;
1527
- fallbackType?: "redirect" | "rewrite" | undefined;
1528
- } | undefined;
1529
- }>>, {
1530
- defaultLocale: string;
1531
- locales: (string | {
1532
- path: string;
1533
- codes: [string, ...string[]];
1534
- })[];
1535
- routing: "manual" | {
1536
- prefixDefaultLocale: boolean;
1537
- redirectToDefaultLocale: boolean;
1538
- fallbackType: "redirect" | "rewrite";
1539
- };
1540
- fallback?: Record<string, string> | undefined;
1541
- domains?: Record<string, string> | undefined;
1542
- } | undefined, {
1543
- defaultLocale: string;
1544
- locales: (string | {
1545
- path: string;
1546
- codes: [string, ...string[]];
1547
- })[];
1548
- fallback?: Record<string, string> | undefined;
1549
- domains?: Record<string, string> | undefined;
1550
- routing?: "manual" | {
1551
- prefixDefaultLocale?: boolean | undefined;
1552
- redirectToDefaultLocale?: boolean | undefined;
1553
- fallbackType?: "redirect" | "rewrite" | undefined;
1554
- } | undefined;
1555
- } | undefined>>;
1556
- security: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1557
- checkOrigin: z.ZodDefault<z.ZodBoolean>;
1558
- }, "strip", z.ZodTypeAny, {
1559
- checkOrigin: boolean;
1560
- }, {
1561
- checkOrigin?: boolean | undefined;
1562
- }>>>;
1563
- env: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1564
- schema: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodIntersection<z.ZodEffects<z.ZodType<{
1565
- context: "client";
1566
- access: "public";
1567
- } | {
1568
- context: "server";
1569
- access: "public";
1570
- } | {
1571
- context: "server";
1572
- access: "secret";
1573
- }, z.ZodTypeDef, {
1574
- context: "client";
1575
- access: "public";
1576
- } | {
1577
- context: "server";
1578
- access: "public";
1579
- } | {
1580
- context: "server";
1581
- access: "secret";
1582
- }>, {
1583
- context: "client";
1584
- access: "public";
1585
- } | {
1586
- context: "server";
1587
- access: "public";
1588
- } | {
1589
- context: "server";
1590
- access: "secret";
1591
- }, {
1592
- context: "client";
1593
- access: "public";
1594
- } | {
1595
- context: "server";
1596
- access: "public";
1597
- } | {
1598
- context: "server";
1599
- access: "secret";
1600
- }>, z.ZodUnion<[z.ZodObject<{
1601
- type: z.ZodLiteral<"string">;
1602
- optional: z.ZodOptional<z.ZodBoolean>;
1603
- default: z.ZodOptional<z.ZodString>;
1604
- max: z.ZodOptional<z.ZodNumber>;
1605
- min: z.ZodOptional<z.ZodNumber>;
1606
- length: z.ZodOptional<z.ZodNumber>;
1607
- url: z.ZodOptional<z.ZodBoolean>;
1608
- includes: z.ZodOptional<z.ZodString>;
1609
- startsWith: z.ZodOptional<z.ZodString>;
1610
- endsWith: z.ZodOptional<z.ZodString>;
1611
- }, "strip", z.ZodTypeAny, {
1612
- type: "string";
1613
- length?: number | undefined;
1614
- includes?: string | undefined;
1615
- endsWith?: string | undefined;
1616
- startsWith?: string | undefined;
1617
- default?: string | undefined;
1618
- url?: boolean | undefined;
1619
- optional?: boolean | undefined;
1620
- max?: number | undefined;
1621
- min?: number | undefined;
1622
- }, {
1623
- type: "string";
1624
- length?: number | undefined;
1625
- includes?: string | undefined;
1626
- endsWith?: string | undefined;
1627
- startsWith?: string | undefined;
1628
- default?: string | undefined;
1629
- url?: boolean | undefined;
1630
- optional?: boolean | undefined;
1631
- max?: number | undefined;
1632
- min?: number | undefined;
1633
- }>, z.ZodObject<{
1634
- type: z.ZodLiteral<"number">;
1635
- optional: z.ZodOptional<z.ZodBoolean>;
1636
- default: z.ZodOptional<z.ZodNumber>;
1637
- gt: z.ZodOptional<z.ZodNumber>;
1638
- min: z.ZodOptional<z.ZodNumber>;
1639
- lt: z.ZodOptional<z.ZodNumber>;
1640
- max: z.ZodOptional<z.ZodNumber>;
1641
- int: z.ZodOptional<z.ZodBoolean>;
1642
- }, "strip", z.ZodTypeAny, {
1643
- type: "number";
1644
- default?: number | undefined;
1645
- optional?: boolean | undefined;
1646
- max?: number | undefined;
1647
- min?: number | undefined;
1648
- gt?: number | undefined;
1649
- lt?: number | undefined;
1650
- int?: boolean | undefined;
1651
- }, {
1652
- type: "number";
1653
- default?: number | undefined;
1654
- optional?: boolean | undefined;
1655
- max?: number | undefined;
1656
- min?: number | undefined;
1657
- gt?: number | undefined;
1658
- lt?: number | undefined;
1659
- int?: boolean | undefined;
1660
- }>, z.ZodObject<{
1661
- type: z.ZodLiteral<"boolean">;
1662
- optional: z.ZodOptional<z.ZodBoolean>;
1663
- default: z.ZodOptional<z.ZodBoolean>;
1664
- }, "strip", z.ZodTypeAny, {
1665
- type: "boolean";
1666
- default?: boolean | undefined;
1667
- optional?: boolean | undefined;
1668
- }, {
1669
- type: "boolean";
1670
- default?: boolean | undefined;
1671
- optional?: boolean | undefined;
1672
- }>, z.ZodEffects<z.ZodObject<{
1673
- type: z.ZodLiteral<"enum">;
1674
- values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1675
- optional: z.ZodOptional<z.ZodBoolean>;
1676
- default: z.ZodOptional<z.ZodString>;
1677
- }, "strip", z.ZodTypeAny, {
1678
- values: string[];
1679
- type: "enum";
1680
- default?: string | undefined;
1681
- optional?: boolean | undefined;
1682
- }, {
1683
- values: string[];
1684
- type: "enum";
1685
- default?: string | undefined;
1686
- optional?: boolean | undefined;
1687
- }>, {
1688
- values: string[];
1689
- type: "enum";
1690
- default?: string | undefined;
1691
- optional?: boolean | undefined;
1692
- }, {
1693
- values: string[];
1694
- type: "enum";
1695
- default?: string | undefined;
1696
- optional?: boolean | undefined;
1697
- }>]>>>>>;
1698
- validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1699
- }, "strict", z.ZodTypeAny, {
1700
- validateSecrets: boolean;
1701
- schema: Record<string, ({
1702
- context: "client";
1703
- access: "public";
1704
- } | {
1705
- context: "server";
1706
- access: "public";
1707
- } | {
1708
- context: "server";
1709
- access: "secret";
1710
- }) & ({
1711
- type: "string";
1712
- length?: number | undefined;
1713
- includes?: string | undefined;
1714
- endsWith?: string | undefined;
1715
- startsWith?: string | undefined;
1716
- default?: string | undefined;
1717
- url?: boolean | undefined;
1718
- optional?: boolean | undefined;
1719
- max?: number | undefined;
1720
- min?: number | undefined;
1721
- } | {
1722
- type: "number";
1723
- default?: number | undefined;
1724
- optional?: boolean | undefined;
1725
- max?: number | undefined;
1726
- min?: number | undefined;
1727
- gt?: number | undefined;
1728
- lt?: number | undefined;
1729
- int?: boolean | undefined;
1730
- } | {
1731
- type: "boolean";
1732
- default?: boolean | undefined;
1733
- optional?: boolean | undefined;
1734
- } | {
1735
- values: string[];
1736
- type: "enum";
1737
- default?: string | undefined;
1738
- optional?: boolean | undefined;
1739
- })>;
1740
- }, {
1741
- validateSecrets?: boolean | undefined;
1742
- schema?: Record<string, ({
1743
- context: "client";
1744
- access: "public";
1745
- } | {
1746
- context: "server";
1747
- access: "public";
1748
- } | {
1749
- context: "server";
1750
- access: "secret";
1751
- }) & ({
1752
- type: "string";
1753
- length?: number | undefined;
1754
- includes?: string | undefined;
1755
- endsWith?: string | undefined;
1756
- startsWith?: string | undefined;
1757
- default?: string | undefined;
1758
- url?: boolean | undefined;
1759
- optional?: boolean | undefined;
1760
- max?: number | undefined;
1761
- min?: number | undefined;
1762
- } | {
1763
- type: "number";
1764
- default?: number | undefined;
1765
- optional?: boolean | undefined;
1766
- max?: number | undefined;
1767
- min?: number | undefined;
1768
- gt?: number | undefined;
1769
- lt?: number | undefined;
1770
- int?: boolean | undefined;
1771
- } | {
1772
- type: "boolean";
1773
- default?: boolean | undefined;
1774
- optional?: boolean | undefined;
1775
- } | {
1776
- values: string[];
1777
- type: "enum";
1778
- default?: string | undefined;
1779
- optional?: boolean | undefined;
1780
- })> | undefined;
1781
- }>>>;
1782
- session: z.ZodOptional<z.ZodObject<{
1783
- driver: z.ZodString;
1784
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1785
- cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
1786
- name: z.ZodOptional<z.ZodString>;
1787
- domain: z.ZodOptional<z.ZodString>;
1788
- path: z.ZodOptional<z.ZodString>;
1789
- maxAge: z.ZodOptional<z.ZodNumber>;
1790
- sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
1791
- secure: z.ZodOptional<z.ZodBoolean>;
1792
- }, "strip", z.ZodTypeAny, {
1793
- domain?: string | undefined;
1794
- path?: string | undefined;
1795
- maxAge?: number | undefined;
1796
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1797
- secure?: boolean | undefined;
1798
- name?: string | undefined;
1799
- }, {
1800
- domain?: string | undefined;
1801
- path?: string | undefined;
1802
- maxAge?: number | undefined;
1803
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1804
- secure?: boolean | undefined;
1805
- name?: string | undefined;
1806
- }>, z.ZodString]>, {
1807
- domain?: string | undefined;
1808
- path?: string | undefined;
1809
- maxAge?: number | undefined;
1810
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1811
- secure?: boolean | undefined;
1812
- name?: string | undefined;
1813
- }, string | {
1814
- domain?: string | undefined;
1815
- path?: string | undefined;
1816
- maxAge?: number | undefined;
1817
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1818
- secure?: boolean | undefined;
1819
- name?: string | undefined;
1820
- }>>;
1821
- ttl: z.ZodOptional<z.ZodNumber>;
1822
- }, "strip", z.ZodTypeAny, {
1823
- driver: string;
1824
- cookie?: {
1825
- domain?: string | undefined;
1826
- path?: string | undefined;
1827
- maxAge?: number | undefined;
1828
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1829
- secure?: boolean | undefined;
1830
- name?: string | undefined;
1831
- } | undefined;
1832
- options?: Record<string, any> | undefined;
1833
- ttl?: number | undefined;
1834
- }, {
1835
- driver: string;
1836
- cookie?: string | {
1837
- domain?: string | undefined;
1838
- path?: string | undefined;
1839
- maxAge?: number | undefined;
1840
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
1841
- secure?: boolean | undefined;
1842
- name?: string | undefined;
1843
- } | undefined;
1844
- options?: Record<string, any> | undefined;
1845
- ttl?: number | undefined;
1846
- }>>;
1847
- experimental: z.ZodDefault<z.ZodObject<{
1848
- clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1849
- contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1850
- responsiveImages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1851
- session: z.ZodOptional<z.ZodBoolean>;
1852
- svg: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodOptional<z.ZodObject<{
1853
- mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"inline">, z.ZodLiteral<"sprite">]>>;
1854
- }, "strip", z.ZodTypeAny, {
1855
- mode?: "inline" | "sprite" | undefined;
1856
- }, {
1857
- mode?: "inline" | "sprite" | undefined;
1858
- }>>]>>>, {
1859
- mode?: "inline" | "sprite" | undefined;
1860
- } | undefined, boolean | {
1861
- mode?: "inline" | "sprite" | undefined;
1862
- } | undefined>;
1863
- serializeConfig: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1864
- headingIdCompat: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1865
- preserveScriptOrder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1866
- }, "strict", z.ZodTypeAny, {
1867
- clientPrerender: boolean;
1868
- contentIntellisense: boolean;
1869
- responsiveImages: boolean;
1870
- serializeConfig: boolean;
1871
- headingIdCompat: boolean;
1872
- preserveScriptOrder: boolean;
1873
- svg?: {
1874
- mode?: "inline" | "sprite" | undefined;
1875
- } | undefined;
1876
- session?: boolean | undefined;
1877
- }, {
1878
- clientPrerender?: boolean | undefined;
1879
- contentIntellisense?: boolean | undefined;
1880
- responsiveImages?: boolean | undefined;
1881
- svg?: boolean | {
1882
- mode?: "inline" | "sprite" | undefined;
1883
- } | undefined;
1884
- serializeConfig?: boolean | undefined;
1885
- session?: boolean | undefined;
1886
- headingIdCompat?: boolean | undefined;
1887
- preserveScriptOrder?: boolean | undefined;
1888
- }>>;
1889
- legacy: z.ZodDefault<z.ZodObject<{
1890
- collections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1891
- }, "strip", z.ZodTypeAny, {
1892
- collections: boolean;
1893
- }, {
1894
- collections?: boolean | undefined;
1895
- }>>;
1896
- }, {
1897
- root: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
1898
- srcDir: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
1899
- compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1900
- publicDir: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
1901
- outDir: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
1902
- cacheDir: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
1903
- build: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1904
- format: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
1905
- client: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, import("url").URL, string | undefined>;
1906
- server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, import("url").URL, string | undefined>;
1907
- assets: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1908
- assetsPrefix: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodIntersection<z.ZodObject<{
1909
- fallback: z.ZodString;
1910
- }, "strip", z.ZodTypeAny, {
1911
- fallback: string;
1912
- }, {
1913
- fallback: string;
1914
- }>, z.ZodRecord<z.ZodString, z.ZodString>>>]>, string | ({
1915
- fallback: string;
1916
- } & Record<string, string>) | undefined, string | ({
1917
- fallback: string;
1918
- } & Record<string, string>) | undefined>;
1919
- serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1920
- redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1921
- inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
1922
- concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1923
- }, "strip", z.ZodTypeAny, {
1924
- client: import("url").URL;
1925
- format: "file" | "directory" | "preserve";
1926
- server: import("url").URL;
1927
- assets: string;
1928
- serverEntry: string;
1929
- redirects: boolean;
1930
- inlineStylesheets: "never" | "always" | "auto";
1931
- concurrency: number;
1932
- assetsPrefix?: string | ({
1933
- fallback: string;
1934
- } & Record<string, string>) | undefined;
1935
- }, {
1936
- client?: string | undefined;
1937
- format?: "file" | "directory" | "preserve" | undefined;
1938
- server?: string | undefined;
1939
- assets?: string | undefined;
1940
- serverEntry?: string | undefined;
1941
- redirects?: boolean | undefined;
1942
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
1943
- concurrency?: number | undefined;
1944
- assetsPrefix?: string | ({
1945
- fallback: string;
1946
- } & Record<string, string>) | undefined;
1947
- }>>>;
1948
- server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodObject<{
1949
- open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1950
- host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1951
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1952
- headers: z.ZodOptional<z.ZodType<OutgoingHttpHeaders, z.ZodTypeDef, OutgoingHttpHeaders>>;
1953
- streaming: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1954
- allowedHosts: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<true>]>>>;
1955
- }, "strip", z.ZodTypeAny, {
1956
- host: string | boolean;
1957
- port: number;
1958
- allowedHosts: true | string[];
1959
- open: string | boolean;
1960
- streaming: boolean;
1961
- headers?: OutgoingHttpHeaders | undefined;
1962
- }, {
1963
- headers?: OutgoingHttpHeaders | undefined;
1964
- host?: string | boolean | undefined;
1965
- port?: number | undefined;
1966
- allowedHosts?: true | string[] | undefined;
1967
- open?: string | boolean | undefined;
1968
- streaming?: boolean | undefined;
1969
- }>>>, {
1970
- host: string | boolean;
1971
- port: number;
1972
- allowedHosts: true | string[];
1973
- open: string | boolean;
1974
- streaming: boolean;
1975
- headers?: OutgoingHttpHeaders | undefined;
1976
- }, unknown>;
1977
- }>, "strip", z.ZodTypeAny, {
1978
- trailingSlash: "never" | "ignore" | "always";
1979
- server: {
1980
- host: string | boolean;
1981
- port: number;
1982
- allowedHosts: true | string[];
1983
- open: string | boolean;
1984
- streaming: boolean;
1985
- headers?: OutgoingHttpHeaders | undefined;
1986
- };
1987
- redirects: Record<string, string | {
1988
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1989
- destination: string;
1990
- }>;
1991
- build: {
1992
- client: import("url").URL;
1993
- format: "file" | "directory" | "preserve";
1994
- server: import("url").URL;
1995
- assets: string;
1996
- serverEntry: string;
1997
- redirects: boolean;
1998
- inlineStylesheets: "never" | "always" | "auto";
1999
- concurrency: number;
2000
- assetsPrefix?: string | ({
2001
- fallback: string;
2002
- } & Record<string, string>) | undefined;
2003
- };
2004
- root: import("url").URL;
2005
- srcDir: import("url").URL;
2006
- publicDir: import("url").URL;
2007
- outDir: import("url").URL;
2008
- cacheDir: import("url").URL;
2009
- compressHTML: boolean;
2010
- base: string;
2011
- output: "server" | "static";
2012
- scopedStyleStrategy: "where" | "class" | "attribute";
2013
- integrations: {
2014
- name: string;
2015
- hooks: {} & {
2016
- [k: string]: unknown;
2017
- };
2018
- }[];
2019
- image: {
2020
- endpoint: {
2021
- route: string;
2022
- entrypoint?: string | undefined;
2023
- };
2024
- service: {
2025
- entrypoint: string;
2026
- config: Record<string, any>;
2027
- };
2028
- domains: string[];
2029
- remotePatterns: {
2030
- port?: string | undefined;
2031
- protocol?: string | undefined;
2032
- hostname?: string | undefined;
2033
- pathname?: string | undefined;
2034
- }[];
2035
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2036
- experimentalObjectFit?: string | undefined;
2037
- experimentalObjectPosition?: string | undefined;
2038
- experimentalBreakpoints?: number[] | undefined;
2039
- };
2040
- devToolbar: {
2041
- enabled: boolean;
2042
- };
2043
- markdown: {
2044
- syntaxHighlight: false | "shiki" | "prism" | {
2045
- type: "shiki" | "prism";
2046
- excludeLangs: string[];
2047
- };
2048
- shikiConfig: {
2049
- langs: ShikiLang[];
2050
- theme: import("shiki").BundledTheme | ShikiTheme;
2051
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
2052
- langAlias: Record<string, string>;
2053
- wrap: boolean | null;
2054
- transformers: ShikiTransformer[];
2055
- defaultColor?: string | false | undefined;
2056
- };
2057
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
2058
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
2059
- remarkRehype: RemarkRehype;
2060
- gfm: boolean;
2061
- smartypants: boolean;
2062
- };
2063
- vite: ViteUserConfig;
2064
- security: {
2065
- checkOrigin: boolean;
2066
- };
2067
- env: {
2068
- validateSecrets: boolean;
2069
- schema: Record<string, ({
2070
- context: "client";
2071
- access: "public";
2072
- } | {
2073
- context: "server";
2074
- access: "public";
2075
- } | {
2076
- context: "server";
2077
- access: "secret";
2078
- }) & ({
2079
- type: "string";
2080
- length?: number | undefined;
2081
- includes?: string | undefined;
2082
- endsWith?: string | undefined;
2083
- startsWith?: string | undefined;
2084
- default?: string | undefined;
2085
- url?: boolean | undefined;
2086
- optional?: boolean | undefined;
2087
- max?: number | undefined;
2088
- min?: number | undefined;
2089
- } | {
2090
- type: "number";
2091
- default?: number | undefined;
2092
- optional?: boolean | undefined;
2093
- max?: number | undefined;
2094
- min?: number | undefined;
2095
- gt?: number | undefined;
2096
- lt?: number | undefined;
2097
- int?: boolean | undefined;
2098
- } | {
2099
- type: "boolean";
2100
- default?: boolean | undefined;
2101
- optional?: boolean | undefined;
2102
- } | {
2103
- values: string[];
2104
- type: "enum";
2105
- default?: string | undefined;
2106
- optional?: boolean | undefined;
2107
- })>;
2108
- };
2109
- experimental: {
2110
- clientPrerender: boolean;
2111
- contentIntellisense: boolean;
2112
- responsiveImages: boolean;
2113
- serializeConfig: boolean;
2114
- headingIdCompat: boolean;
2115
- preserveScriptOrder: boolean;
2116
- svg?: {
2117
- mode?: "inline" | "sprite" | undefined;
2118
- } | undefined;
2119
- session?: boolean | undefined;
2120
- };
2121
- legacy: {
2122
- collections: boolean;
2123
- };
2124
- session?: {
2125
- driver: string;
2126
- cookie?: {
2127
- domain?: string | undefined;
2128
- path?: string | undefined;
2129
- maxAge?: number | undefined;
2130
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2131
- secure?: boolean | undefined;
2132
- name?: string | undefined;
2133
- } | undefined;
2134
- options?: Record<string, any> | undefined;
2135
- ttl?: number | undefined;
2136
- } | undefined;
2137
- site?: string | undefined;
2138
- adapter?: {
2139
- name: string;
2140
- hooks: {} & {
2141
- [k: string]: unknown;
2142
- };
2143
- } | undefined;
2144
- prefetch?: boolean | {
2145
- prefetchAll?: boolean | undefined;
2146
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2147
- } | undefined;
2148
- i18n?: {
2149
- defaultLocale: string;
2150
- locales: (string | {
2151
- path: string;
2152
- codes: [string, ...string[]];
2153
- })[];
2154
- routing: "manual" | {
2155
- prefixDefaultLocale: boolean;
2156
- redirectToDefaultLocale: boolean;
2157
- fallbackType: "redirect" | "rewrite";
2158
- };
2159
- fallback?: Record<string, string> | undefined;
2160
- domains?: Record<string, string> | undefined;
2161
- } | undefined;
2162
- }, {
2163
- trailingSlash?: "never" | "ignore" | "always" | undefined;
2164
- server?: unknown;
2165
- redirects?: Record<string, string | {
2166
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
2167
- destination: string;
2168
- }> | undefined;
2169
- session?: {
2170
- driver: string;
2171
- cookie?: string | {
2172
- domain?: string | undefined;
2173
- path?: string | undefined;
2174
- maxAge?: number | undefined;
2175
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2176
- secure?: boolean | undefined;
2177
- name?: string | undefined;
2178
- } | undefined;
2179
- options?: Record<string, any> | undefined;
2180
- ttl?: number | undefined;
2181
- } | undefined;
2182
- build?: {
2183
- client?: string | undefined;
2184
- format?: "file" | "directory" | "preserve" | undefined;
2185
- server?: string | undefined;
2186
- assets?: string | undefined;
2187
- serverEntry?: string | undefined;
2188
- redirects?: boolean | undefined;
2189
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
2190
- concurrency?: number | undefined;
2191
- assetsPrefix?: string | ({
2192
- fallback: string;
2193
- } & Record<string, string>) | undefined;
2194
- } | undefined;
2195
- root?: string | undefined;
2196
- srcDir?: string | undefined;
2197
- publicDir?: string | undefined;
2198
- outDir?: string | undefined;
2199
- cacheDir?: string | undefined;
2200
- site?: string | undefined;
2201
- compressHTML?: boolean | undefined;
2202
- base?: string | undefined;
2203
- output?: "server" | "static" | undefined;
2204
- scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
2205
- adapter?: {
2206
- name: string;
2207
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2208
- } | undefined;
2209
- integrations?: unknown;
2210
- prefetch?: boolean | {
2211
- prefetchAll?: boolean | undefined;
2212
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2213
- } | undefined;
2214
- image?: {
2215
- endpoint?: {
2216
- route?: string | undefined;
2217
- entrypoint?: string | undefined;
2218
- } | undefined;
2219
- service?: {
2220
- entrypoint?: string | undefined;
2221
- config?: Record<string, any> | undefined;
2222
- } | undefined;
2223
- domains?: string[] | undefined;
2224
- remotePatterns?: {
2225
- port?: string | undefined;
2226
- protocol?: string | undefined;
2227
- hostname?: string | undefined;
2228
- pathname?: string | undefined;
2229
- }[] | undefined;
2230
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2231
- experimentalObjectFit?: string | undefined;
2232
- experimentalObjectPosition?: string | undefined;
2233
- experimentalBreakpoints?: number[] | undefined;
2234
- } | undefined;
2235
- devToolbar?: {
2236
- enabled?: boolean | undefined;
2237
- } | undefined;
2238
- markdown?: {
2239
- syntaxHighlight?: false | "shiki" | "prism" | {
2240
- type?: "shiki" | "prism" | undefined;
2241
- excludeLangs?: string[] | undefined;
2242
- } | undefined;
2243
- shikiConfig?: {
2244
- langs?: ShikiLang[] | undefined;
2245
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
2246
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
2247
- langAlias?: Record<string, string> | undefined;
2248
- defaultColor?: string | false | undefined;
2249
- wrap?: boolean | null | undefined;
2250
- transformers?: ShikiTransformer[] | undefined;
2251
- } | undefined;
2252
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
2253
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
2254
- remarkRehype?: RemarkRehype | undefined;
2255
- gfm?: boolean | undefined;
2256
- smartypants?: boolean | undefined;
2257
- } | undefined;
2258
- vite?: ViteUserConfig | undefined;
2259
- i18n?: {
2260
- defaultLocale: string;
2261
- locales: (string | {
2262
- path: string;
2263
- codes: [string, ...string[]];
2264
- })[];
2265
- fallback?: Record<string, string> | undefined;
2266
- domains?: Record<string, string> | undefined;
2267
- routing?: "manual" | {
2268
- prefixDefaultLocale?: boolean | undefined;
2269
- redirectToDefaultLocale?: boolean | undefined;
2270
- fallbackType?: "redirect" | "rewrite" | undefined;
2271
- } | undefined;
2272
- } | undefined;
2273
- security?: {
2274
- checkOrigin?: boolean | undefined;
2275
- } | undefined;
2276
- env?: {
2277
- validateSecrets?: boolean | undefined;
2278
- schema?: Record<string, ({
2279
- context: "client";
2280
- access: "public";
2281
- } | {
2282
- context: "server";
2283
- access: "public";
2284
- } | {
2285
- context: "server";
2286
- access: "secret";
2287
- }) & ({
2288
- type: "string";
2289
- length?: number | undefined;
2290
- includes?: string | undefined;
2291
- endsWith?: string | undefined;
2292
- startsWith?: string | undefined;
2293
- default?: string | undefined;
2294
- url?: boolean | undefined;
2295
- optional?: boolean | undefined;
2296
- max?: number | undefined;
2297
- min?: number | undefined;
2298
- } | {
2299
- type: "number";
2300
- default?: number | undefined;
2301
- optional?: boolean | undefined;
2302
- max?: number | undefined;
2303
- min?: number | undefined;
2304
- gt?: number | undefined;
2305
- lt?: number | undefined;
2306
- int?: boolean | undefined;
2307
- } | {
2308
- type: "boolean";
2309
- default?: boolean | undefined;
2310
- optional?: boolean | undefined;
2311
- } | {
2312
- values: string[];
2313
- type: "enum";
2314
- default?: string | undefined;
2315
- optional?: boolean | undefined;
2316
- })> | undefined;
2317
- } | undefined;
2318
- experimental?: {
2319
- clientPrerender?: boolean | undefined;
2320
- contentIntellisense?: boolean | undefined;
2321
- responsiveImages?: boolean | undefined;
2322
- svg?: boolean | {
2323
- mode?: "inline" | "sprite" | undefined;
2324
- } | undefined;
2325
- serializeConfig?: boolean | undefined;
2326
- session?: boolean | undefined;
2327
- headingIdCompat?: boolean | undefined;
2328
- preserveScriptOrder?: boolean | undefined;
2329
- } | undefined;
2330
- legacy?: {
2331
- collections?: boolean | undefined;
2332
- } | undefined;
2333
- }>, {
2334
- trailingSlash: "never" | "ignore" | "always";
2335
- server: {
2336
- host: string | boolean;
2337
- port: number;
2338
- allowedHosts: true | string[];
2339
- open: string | boolean;
2340
- streaming: boolean;
2341
- headers?: OutgoingHttpHeaders | undefined;
2342
- };
2343
- redirects: Record<string, string | {
2344
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
2345
- destination: string;
2346
- }>;
2347
- build: {
2348
- client: import("url").URL;
2349
- format: "file" | "directory" | "preserve";
2350
- server: import("url").URL;
2351
- assets: string;
2352
- serverEntry: string;
2353
- redirects: boolean;
2354
- inlineStylesheets: "never" | "always" | "auto";
2355
- concurrency: number;
2356
- assetsPrefix?: string | ({
2357
- fallback: string;
2358
- } & Record<string, string>) | undefined;
2359
- };
2360
- root: import("url").URL;
2361
- srcDir: import("url").URL;
2362
- publicDir: import("url").URL;
2363
- outDir: import("url").URL;
2364
- cacheDir: import("url").URL;
2365
- compressHTML: boolean;
2366
- base: string;
2367
- output: "server" | "static";
2368
- scopedStyleStrategy: "where" | "class" | "attribute";
2369
- integrations: {
2370
- name: string;
2371
- hooks: {} & {
2372
- [k: string]: unknown;
2373
- };
2374
- }[];
2375
- image: {
2376
- endpoint: {
2377
- route: string;
2378
- entrypoint?: string | undefined;
2379
- };
2380
- service: {
2381
- entrypoint: string;
2382
- config: Record<string, any>;
2383
- };
2384
- domains: string[];
2385
- remotePatterns: {
2386
- port?: string | undefined;
2387
- protocol?: string | undefined;
2388
- hostname?: string | undefined;
2389
- pathname?: string | undefined;
2390
- }[];
2391
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2392
- experimentalObjectFit?: string | undefined;
2393
- experimentalObjectPosition?: string | undefined;
2394
- experimentalBreakpoints?: number[] | undefined;
2395
- };
2396
- devToolbar: {
2397
- enabled: boolean;
2398
- };
2399
- markdown: {
2400
- syntaxHighlight: false | "shiki" | "prism" | {
2401
- type: "shiki" | "prism";
2402
- excludeLangs: string[];
2403
- };
2404
- shikiConfig: {
2405
- langs: ShikiLang[];
2406
- theme: import("shiki").BundledTheme | ShikiTheme;
2407
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
2408
- langAlias: Record<string, string>;
2409
- wrap: boolean | null;
2410
- transformers: ShikiTransformer[];
2411
- defaultColor?: string | false | undefined;
2412
- };
2413
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
2414
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
2415
- remarkRehype: RemarkRehype;
2416
- gfm: boolean;
2417
- smartypants: boolean;
2418
- };
2419
- vite: ViteUserConfig;
2420
- security: {
2421
- checkOrigin: boolean;
2422
- };
2423
- env: {
2424
- validateSecrets: boolean;
2425
- schema: Record<string, ({
2426
- context: "client";
2427
- access: "public";
2428
- } | {
2429
- context: "server";
2430
- access: "public";
2431
- } | {
2432
- context: "server";
2433
- access: "secret";
2434
- }) & ({
2435
- type: "string";
2436
- length?: number | undefined;
2437
- includes?: string | undefined;
2438
- endsWith?: string | undefined;
2439
- startsWith?: string | undefined;
2440
- default?: string | undefined;
2441
- url?: boolean | undefined;
2442
- optional?: boolean | undefined;
2443
- max?: number | undefined;
2444
- min?: number | undefined;
2445
- } | {
2446
- type: "number";
2447
- default?: number | undefined;
2448
- optional?: boolean | undefined;
2449
- max?: number | undefined;
2450
- min?: number | undefined;
2451
- gt?: number | undefined;
2452
- lt?: number | undefined;
2453
- int?: boolean | undefined;
2454
- } | {
2455
- type: "boolean";
2456
- default?: boolean | undefined;
2457
- optional?: boolean | undefined;
2458
- } | {
2459
- values: string[];
2460
- type: "enum";
2461
- default?: string | undefined;
2462
- optional?: boolean | undefined;
2463
- })>;
2464
- };
2465
- experimental: {
2466
- clientPrerender: boolean;
2467
- contentIntellisense: boolean;
2468
- responsiveImages: boolean;
2469
- serializeConfig: boolean;
2470
- headingIdCompat: boolean;
2471
- preserveScriptOrder: boolean;
2472
- svg?: {
2473
- mode?: "inline" | "sprite" | undefined;
2474
- } | undefined;
2475
- session?: boolean | undefined;
2476
- };
2477
- legacy: {
2478
- collections: boolean;
2479
- };
2480
- session?: {
2481
- driver: string;
2482
- cookie?: {
2483
- domain?: string | undefined;
2484
- path?: string | undefined;
2485
- maxAge?: number | undefined;
2486
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2487
- secure?: boolean | undefined;
2488
- name?: string | undefined;
2489
- } | undefined;
2490
- options?: Record<string, any> | undefined;
2491
- ttl?: number | undefined;
2492
- } | undefined;
2493
- site?: string | undefined;
2494
- adapter?: {
2495
- name: string;
2496
- hooks: {} & {
2497
- [k: string]: unknown;
2498
- };
2499
- } | undefined;
2500
- prefetch?: boolean | {
2501
- prefetchAll?: boolean | undefined;
2502
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2503
- } | undefined;
2504
- i18n?: {
2505
- defaultLocale: string;
2506
- locales: (string | {
2507
- path: string;
2508
- codes: [string, ...string[]];
2509
- })[];
2510
- routing: "manual" | {
2511
- prefixDefaultLocale: boolean;
2512
- redirectToDefaultLocale: boolean;
2513
- fallbackType: "redirect" | "rewrite";
2514
- };
2515
- fallback?: Record<string, string> | undefined;
2516
- domains?: Record<string, string> | undefined;
2517
- } | undefined;
2518
- }, {
2519
- trailingSlash?: "never" | "ignore" | "always" | undefined;
2520
- server?: unknown;
2521
- redirects?: Record<string, string | {
2522
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
2523
- destination: string;
2524
- }> | undefined;
2525
- session?: {
2526
- driver: string;
2527
- cookie?: string | {
2528
- domain?: string | undefined;
2529
- path?: string | undefined;
2530
- maxAge?: number | undefined;
2531
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2532
- secure?: boolean | undefined;
2533
- name?: string | undefined;
2534
- } | undefined;
2535
- options?: Record<string, any> | undefined;
2536
- ttl?: number | undefined;
2537
- } | undefined;
2538
- build?: {
2539
- client?: string | undefined;
2540
- format?: "file" | "directory" | "preserve" | undefined;
2541
- server?: string | undefined;
2542
- assets?: string | undefined;
2543
- serverEntry?: string | undefined;
2544
- redirects?: boolean | undefined;
2545
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
2546
- concurrency?: number | undefined;
2547
- assetsPrefix?: string | ({
2548
- fallback: string;
2549
- } & Record<string, string>) | undefined;
2550
- } | undefined;
2551
- root?: string | undefined;
2552
- srcDir?: string | undefined;
2553
- publicDir?: string | undefined;
2554
- outDir?: string | undefined;
2555
- cacheDir?: string | undefined;
2556
- site?: string | undefined;
2557
- compressHTML?: boolean | undefined;
2558
- base?: string | undefined;
2559
- output?: "server" | "static" | undefined;
2560
- scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
2561
- adapter?: {
2562
- name: string;
2563
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2564
- } | undefined;
2565
- integrations?: unknown;
2566
- prefetch?: boolean | {
2567
- prefetchAll?: boolean | undefined;
2568
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2569
- } | undefined;
2570
- image?: {
2571
- endpoint?: {
2572
- route?: string | undefined;
2573
- entrypoint?: string | undefined;
2574
- } | undefined;
2575
- service?: {
2576
- entrypoint?: string | undefined;
2577
- config?: Record<string, any> | undefined;
2578
- } | undefined;
2579
- domains?: string[] | undefined;
2580
- remotePatterns?: {
2581
- port?: string | undefined;
2582
- protocol?: string | undefined;
2583
- hostname?: string | undefined;
2584
- pathname?: string | undefined;
2585
- }[] | undefined;
2586
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2587
- experimentalObjectFit?: string | undefined;
2588
- experimentalObjectPosition?: string | undefined;
2589
- experimentalBreakpoints?: number[] | undefined;
2590
- } | undefined;
2591
- devToolbar?: {
2592
- enabled?: boolean | undefined;
2593
- } | undefined;
2594
- markdown?: {
2595
- syntaxHighlight?: false | "shiki" | "prism" | {
2596
- type?: "shiki" | "prism" | undefined;
2597
- excludeLangs?: string[] | undefined;
2598
- } | undefined;
2599
- shikiConfig?: {
2600
- langs?: ShikiLang[] | undefined;
2601
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
2602
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
2603
- langAlias?: Record<string, string> | undefined;
2604
- defaultColor?: string | false | undefined;
2605
- wrap?: boolean | null | undefined;
2606
- transformers?: ShikiTransformer[] | undefined;
2607
- } | undefined;
2608
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
2609
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
2610
- remarkRehype?: RemarkRehype | undefined;
2611
- gfm?: boolean | undefined;
2612
- smartypants?: boolean | undefined;
2613
- } | undefined;
2614
- vite?: ViteUserConfig | undefined;
2615
- i18n?: {
2616
- defaultLocale: string;
2617
- locales: (string | {
2618
- path: string;
2619
- codes: [string, ...string[]];
2620
- })[];
2621
- fallback?: Record<string, string> | undefined;
2622
- domains?: Record<string, string> | undefined;
2623
- routing?: "manual" | {
2624
- prefixDefaultLocale?: boolean | undefined;
2625
- redirectToDefaultLocale?: boolean | undefined;
2626
- fallbackType?: "redirect" | "rewrite" | undefined;
2627
- } | undefined;
2628
- } | undefined;
2629
- security?: {
2630
- checkOrigin?: boolean | undefined;
2631
- } | undefined;
2632
- env?: {
2633
- validateSecrets?: boolean | undefined;
2634
- schema?: Record<string, ({
2635
- context: "client";
2636
- access: "public";
2637
- } | {
2638
- context: "server";
2639
- access: "public";
2640
- } | {
2641
- context: "server";
2642
- access: "secret";
2643
- }) & ({
2644
- type: "string";
2645
- length?: number | undefined;
2646
- includes?: string | undefined;
2647
- endsWith?: string | undefined;
2648
- startsWith?: string | undefined;
2649
- default?: string | undefined;
2650
- url?: boolean | undefined;
2651
- optional?: boolean | undefined;
2652
- max?: number | undefined;
2653
- min?: number | undefined;
2654
- } | {
2655
- type: "number";
2656
- default?: number | undefined;
2657
- optional?: boolean | undefined;
2658
- max?: number | undefined;
2659
- min?: number | undefined;
2660
- gt?: number | undefined;
2661
- lt?: number | undefined;
2662
- int?: boolean | undefined;
2663
- } | {
2664
- type: "boolean";
2665
- default?: boolean | undefined;
2666
- optional?: boolean | undefined;
2667
- } | {
2668
- values: string[];
2669
- type: "enum";
2670
- default?: string | undefined;
2671
- optional?: boolean | undefined;
2672
- })> | undefined;
2673
- } | undefined;
2674
- experimental?: {
2675
- clientPrerender?: boolean | undefined;
2676
- contentIntellisense?: boolean | undefined;
2677
- responsiveImages?: boolean | undefined;
2678
- svg?: boolean | {
2679
- mode?: "inline" | "sprite" | undefined;
2680
- } | undefined;
2681
- serializeConfig?: boolean | undefined;
2682
- session?: boolean | undefined;
2683
- headingIdCompat?: boolean | undefined;
2684
- preserveScriptOrder?: boolean | undefined;
2685
- } | undefined;
2686
- legacy?: {
2687
- collections?: boolean | undefined;
2688
- } | undefined;
2689
- }>, {
2690
- trailingSlash: "never" | "ignore" | "always";
2691
- server: {
2692
- host: string | boolean;
2693
- port: number;
2694
- allowedHosts: true | string[];
2695
- open: string | boolean;
2696
- streaming: boolean;
2697
- headers?: OutgoingHttpHeaders | undefined;
2698
- };
2699
- redirects: Record<string, string | {
2700
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
2701
- destination: string;
2702
- }>;
2703
- build: {
2704
- client: import("url").URL;
2705
- format: "file" | "directory" | "preserve";
2706
- server: import("url").URL;
2707
- assets: string;
2708
- serverEntry: string;
2709
- redirects: boolean;
2710
- inlineStylesheets: "never" | "always" | "auto";
2711
- concurrency: number;
2712
- assetsPrefix?: string | ({
2713
- fallback: string;
2714
- } & Record<string, string>) | undefined;
2715
- };
2716
- root: import("url").URL;
2717
- srcDir: import("url").URL;
2718
- publicDir: import("url").URL;
2719
- outDir: import("url").URL;
2720
- cacheDir: import("url").URL;
2721
- compressHTML: boolean;
2722
- base: string;
2723
- output: "server" | "static";
2724
- scopedStyleStrategy: "where" | "class" | "attribute";
2725
- integrations: {
2726
- name: string;
2727
- hooks: {} & {
2728
- [k: string]: unknown;
2729
- };
2730
- }[];
2731
- image: {
2732
- endpoint: {
2733
- route: string;
2734
- entrypoint?: string | undefined;
2735
- };
2736
- service: {
2737
- entrypoint: string;
2738
- config: Record<string, any>;
2739
- };
2740
- domains: string[];
2741
- remotePatterns: {
2742
- port?: string | undefined;
2743
- protocol?: string | undefined;
2744
- hostname?: string | undefined;
2745
- pathname?: string | undefined;
2746
- }[];
2747
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2748
- experimentalObjectFit?: string | undefined;
2749
- experimentalObjectPosition?: string | undefined;
2750
- experimentalBreakpoints?: number[] | undefined;
2751
- };
2752
- devToolbar: {
2753
- enabled: boolean;
2754
- };
2755
- markdown: {
2756
- syntaxHighlight: false | "shiki" | "prism" | {
2757
- type: "shiki" | "prism";
2758
- excludeLangs: string[];
2759
- };
2760
- shikiConfig: {
2761
- langs: ShikiLang[];
2762
- theme: import("shiki").BundledTheme | ShikiTheme;
2763
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
2764
- langAlias: Record<string, string>;
2765
- wrap: boolean | null;
2766
- transformers: ShikiTransformer[];
2767
- defaultColor?: string | false | undefined;
2768
- };
2769
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
2770
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
2771
- remarkRehype: RemarkRehype;
2772
- gfm: boolean;
2773
- smartypants: boolean;
2774
- };
2775
- vite: ViteUserConfig;
2776
- security: {
2777
- checkOrigin: boolean;
2778
- };
2779
- env: {
2780
- validateSecrets: boolean;
2781
- schema: Record<string, ({
2782
- context: "client";
2783
- access: "public";
2784
- } | {
2785
- context: "server";
2786
- access: "public";
2787
- } | {
2788
- context: "server";
2789
- access: "secret";
2790
- }) & ({
2791
- type: "string";
2792
- length?: number | undefined;
2793
- includes?: string | undefined;
2794
- endsWith?: string | undefined;
2795
- startsWith?: string | undefined;
2796
- default?: string | undefined;
2797
- url?: boolean | undefined;
2798
- optional?: boolean | undefined;
2799
- max?: number | undefined;
2800
- min?: number | undefined;
2801
- } | {
2802
- type: "number";
2803
- default?: number | undefined;
2804
- optional?: boolean | undefined;
2805
- max?: number | undefined;
2806
- min?: number | undefined;
2807
- gt?: number | undefined;
2808
- lt?: number | undefined;
2809
- int?: boolean | undefined;
2810
- } | {
2811
- type: "boolean";
2812
- default?: boolean | undefined;
2813
- optional?: boolean | undefined;
2814
- } | {
2815
- values: string[];
2816
- type: "enum";
2817
- default?: string | undefined;
2818
- optional?: boolean | undefined;
2819
- })>;
2820
- };
2821
- experimental: {
2822
- clientPrerender: boolean;
2823
- contentIntellisense: boolean;
2824
- responsiveImages: boolean;
2825
- serializeConfig: boolean;
2826
- headingIdCompat: boolean;
2827
- preserveScriptOrder: boolean;
2828
- svg?: {
2829
- mode?: "inline" | "sprite" | undefined;
2830
- } | undefined;
2831
- session?: boolean | undefined;
2832
- };
2833
- legacy: {
2834
- collections: boolean;
2835
- };
2836
- session?: {
2837
- driver: string;
2838
- cookie?: {
2839
- domain?: string | undefined;
2840
- path?: string | undefined;
2841
- maxAge?: number | undefined;
2842
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2843
- secure?: boolean | undefined;
2844
- name?: string | undefined;
2845
- } | undefined;
2846
- options?: Record<string, any> | undefined;
2847
- ttl?: number | undefined;
2848
- } | undefined;
2849
- site?: string | undefined;
2850
- adapter?: {
2851
- name: string;
2852
- hooks: {} & {
2853
- [k: string]: unknown;
2854
- };
2855
- } | undefined;
2856
- prefetch?: boolean | {
2857
- prefetchAll?: boolean | undefined;
2858
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2859
- } | undefined;
2860
- i18n?: {
2861
- defaultLocale: string;
2862
- locales: (string | {
2863
- path: string;
2864
- codes: [string, ...string[]];
2865
- })[];
2866
- routing: "manual" | {
2867
- prefixDefaultLocale: boolean;
2868
- redirectToDefaultLocale: boolean;
2869
- fallbackType: "redirect" | "rewrite";
2870
- };
2871
- fallback?: Record<string, string> | undefined;
2872
- domains?: Record<string, string> | undefined;
2873
- } | undefined;
2874
- }, {
2875
- trailingSlash?: "never" | "ignore" | "always" | undefined;
2876
- server?: unknown;
2877
- redirects?: Record<string, string | {
2878
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
2879
- destination: string;
2880
- }> | undefined;
2881
- session?: {
2882
- driver: string;
2883
- cookie?: string | {
2884
- domain?: string | undefined;
2885
- path?: string | undefined;
2886
- maxAge?: number | undefined;
2887
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
2888
- secure?: boolean | undefined;
2889
- name?: string | undefined;
2890
- } | undefined;
2891
- options?: Record<string, any> | undefined;
2892
- ttl?: number | undefined;
2893
- } | undefined;
2894
- build?: {
2895
- client?: string | undefined;
2896
- format?: "file" | "directory" | "preserve" | undefined;
2897
- server?: string | undefined;
2898
- assets?: string | undefined;
2899
- serverEntry?: string | undefined;
2900
- redirects?: boolean | undefined;
2901
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
2902
- concurrency?: number | undefined;
2903
- assetsPrefix?: string | ({
2904
- fallback: string;
2905
- } & Record<string, string>) | undefined;
2906
- } | undefined;
2907
- root?: string | undefined;
2908
- srcDir?: string | undefined;
2909
- publicDir?: string | undefined;
2910
- outDir?: string | undefined;
2911
- cacheDir?: string | undefined;
2912
- site?: string | undefined;
2913
- compressHTML?: boolean | undefined;
2914
- base?: string | undefined;
2915
- output?: "server" | "static" | undefined;
2916
- scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
2917
- adapter?: {
2918
- name: string;
2919
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2920
- } | undefined;
2921
- integrations?: unknown;
2922
- prefetch?: boolean | {
2923
- prefetchAll?: boolean | undefined;
2924
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
2925
- } | undefined;
2926
- image?: {
2927
- endpoint?: {
2928
- route?: string | undefined;
2929
- entrypoint?: string | undefined;
2930
- } | undefined;
2931
- service?: {
2932
- entrypoint?: string | undefined;
2933
- config?: Record<string, any> | undefined;
2934
- } | undefined;
2935
- domains?: string[] | undefined;
2936
- remotePatterns?: {
2937
- port?: string | undefined;
2938
- protocol?: string | undefined;
2939
- hostname?: string | undefined;
2940
- pathname?: string | undefined;
2941
- }[] | undefined;
2942
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
2943
- experimentalObjectFit?: string | undefined;
2944
- experimentalObjectPosition?: string | undefined;
2945
- experimentalBreakpoints?: number[] | undefined;
2946
- } | undefined;
2947
- devToolbar?: {
2948
- enabled?: boolean | undefined;
2949
- } | undefined;
2950
- markdown?: {
2951
- syntaxHighlight?: false | "shiki" | "prism" | {
2952
- type?: "shiki" | "prism" | undefined;
2953
- excludeLangs?: string[] | undefined;
2954
- } | undefined;
2955
- shikiConfig?: {
2956
- langs?: ShikiLang[] | undefined;
2957
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
2958
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
2959
- langAlias?: Record<string, string> | undefined;
2960
- defaultColor?: string | false | undefined;
2961
- wrap?: boolean | null | undefined;
2962
- transformers?: ShikiTransformer[] | undefined;
2963
- } | undefined;
2964
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
2965
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
2966
- remarkRehype?: RemarkRehype | undefined;
2967
- gfm?: boolean | undefined;
2968
- smartypants?: boolean | undefined;
2969
- } | undefined;
2970
- vite?: ViteUserConfig | undefined;
2971
- i18n?: {
2972
- defaultLocale: string;
2973
- locales: (string | {
2974
- path: string;
2975
- codes: [string, ...string[]];
2976
- })[];
2977
- fallback?: Record<string, string> | undefined;
2978
- domains?: Record<string, string> | undefined;
2979
- routing?: "manual" | {
2980
- prefixDefaultLocale?: boolean | undefined;
2981
- redirectToDefaultLocale?: boolean | undefined;
2982
- fallbackType?: "redirect" | "rewrite" | undefined;
2983
- } | undefined;
2984
- } | undefined;
2985
- security?: {
2986
- checkOrigin?: boolean | undefined;
2987
- } | undefined;
2988
- env?: {
2989
- validateSecrets?: boolean | undefined;
2990
- schema?: Record<string, ({
2991
- context: "client";
2992
- access: "public";
2993
- } | {
2994
- context: "server";
2995
- access: "public";
2996
- } | {
2997
- context: "server";
2998
- access: "secret";
2999
- }) & ({
3000
- type: "string";
3001
- length?: number | undefined;
3002
- includes?: string | undefined;
3003
- endsWith?: string | undefined;
3004
- startsWith?: string | undefined;
3005
- default?: string | undefined;
3006
- url?: boolean | undefined;
3007
- optional?: boolean | undefined;
3008
- max?: number | undefined;
3009
- min?: number | undefined;
3010
- } | {
3011
- type: "number";
3012
- default?: number | undefined;
3013
- optional?: boolean | undefined;
3014
- max?: number | undefined;
3015
- min?: number | undefined;
3016
- gt?: number | undefined;
3017
- lt?: number | undefined;
3018
- int?: boolean | undefined;
3019
- } | {
3020
- type: "boolean";
3021
- default?: boolean | undefined;
3022
- optional?: boolean | undefined;
3023
- } | {
3024
- values: string[];
3025
- type: "enum";
3026
- default?: string | undefined;
3027
- optional?: boolean | undefined;
3028
- })> | undefined;
3029
- } | undefined;
3030
- experimental?: {
3031
- clientPrerender?: boolean | undefined;
3032
- contentIntellisense?: boolean | undefined;
3033
- responsiveImages?: boolean | undefined;
3034
- svg?: boolean | {
3035
- mode?: "inline" | "sprite" | undefined;
3036
- } | undefined;
3037
- serializeConfig?: boolean | undefined;
3038
- session?: boolean | undefined;
3039
- headingIdCompat?: boolean | undefined;
3040
- preserveScriptOrder?: boolean | undefined;
3041
- } | undefined;
3042
- legacy?: {
3043
- collections?: boolean | undefined;
3044
- } | undefined;
3045
- }>, {
3046
- trailingSlash: "never" | "ignore" | "always";
3047
- server: {
3048
- host: string | boolean;
3049
- port: number;
3050
- allowedHosts: true | string[];
3051
- open: string | boolean;
3052
- streaming: boolean;
3053
- headers?: OutgoingHttpHeaders | undefined;
3054
- };
3055
- redirects: Record<string, string | {
3056
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
3057
- destination: string;
3058
- }>;
3059
- build: {
3060
- client: import("url").URL;
3061
- format: "file" | "directory" | "preserve";
3062
- server: import("url").URL;
3063
- assets: string;
3064
- serverEntry: string;
3065
- redirects: boolean;
3066
- inlineStylesheets: "never" | "always" | "auto";
3067
- concurrency: number;
3068
- assetsPrefix?: string | ({
3069
- fallback: string;
3070
- } & Record<string, string>) | undefined;
3071
- };
3072
- root: import("url").URL;
3073
- srcDir: import("url").URL;
3074
- publicDir: import("url").URL;
3075
- outDir: import("url").URL;
3076
- cacheDir: import("url").URL;
3077
- compressHTML: boolean;
3078
- base: string;
3079
- output: "server" | "static";
3080
- scopedStyleStrategy: "where" | "class" | "attribute";
3081
- integrations: {
3082
- name: string;
3083
- hooks: {} & {
3084
- [k: string]: unknown;
3085
- };
3086
- }[];
3087
- image: {
3088
- endpoint: {
3089
- route: string;
3090
- entrypoint?: string | undefined;
3091
- };
3092
- service: {
3093
- entrypoint: string;
3094
- config: Record<string, any>;
3095
- };
3096
- domains: string[];
3097
- remotePatterns: {
3098
- port?: string | undefined;
3099
- protocol?: string | undefined;
3100
- hostname?: string | undefined;
3101
- pathname?: string | undefined;
3102
- }[];
3103
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
3104
- experimentalObjectFit?: string | undefined;
3105
- experimentalObjectPosition?: string | undefined;
3106
- experimentalBreakpoints?: number[] | undefined;
3107
- };
3108
- devToolbar: {
3109
- enabled: boolean;
3110
- };
3111
- markdown: {
3112
- syntaxHighlight: false | "shiki" | "prism" | {
3113
- type: "shiki" | "prism";
3114
- excludeLangs: string[];
3115
- };
3116
- shikiConfig: {
3117
- langs: ShikiLang[];
3118
- theme: import("shiki").BundledTheme | ShikiTheme;
3119
- themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
3120
- langAlias: Record<string, string>;
3121
- wrap: boolean | null;
3122
- transformers: ShikiTransformer[];
3123
- defaultColor?: string | false | undefined;
3124
- };
3125
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
3126
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
3127
- remarkRehype: RemarkRehype;
3128
- gfm: boolean;
3129
- smartypants: boolean;
3130
- };
3131
- vite: ViteUserConfig;
3132
- security: {
3133
- checkOrigin: boolean;
3134
- };
3135
- env: {
3136
- validateSecrets: boolean;
3137
- schema: Record<string, ({
3138
- context: "client";
3139
- access: "public";
3140
- } | {
3141
- context: "server";
3142
- access: "public";
3143
- } | {
3144
- context: "server";
3145
- access: "secret";
3146
- }) & ({
3147
- type: "string";
3148
- length?: number | undefined;
3149
- includes?: string | undefined;
3150
- endsWith?: string | undefined;
3151
- startsWith?: string | undefined;
3152
- default?: string | undefined;
3153
- url?: boolean | undefined;
3154
- optional?: boolean | undefined;
3155
- max?: number | undefined;
3156
- min?: number | undefined;
3157
- } | {
3158
- type: "number";
3159
- default?: number | undefined;
3160
- optional?: boolean | undefined;
3161
- max?: number | undefined;
3162
- min?: number | undefined;
3163
- gt?: number | undefined;
3164
- lt?: number | undefined;
3165
- int?: boolean | undefined;
3166
- } | {
3167
- type: "boolean";
3168
- default?: boolean | undefined;
3169
- optional?: boolean | undefined;
3170
- } | {
3171
- values: string[];
3172
- type: "enum";
3173
- default?: string | undefined;
3174
- optional?: boolean | undefined;
3175
- })>;
3176
- };
3177
- experimental: {
3178
- clientPrerender: boolean;
3179
- contentIntellisense: boolean;
3180
- responsiveImages: boolean;
3181
- serializeConfig: boolean;
3182
- headingIdCompat: boolean;
3183
- preserveScriptOrder: boolean;
3184
- svg?: {
3185
- mode?: "inline" | "sprite" | undefined;
3186
- } | undefined;
3187
- session?: boolean | undefined;
3188
- };
3189
- legacy: {
3190
- collections: boolean;
3191
- };
3192
- session?: {
3193
- driver: string;
3194
- cookie?: {
3195
- domain?: string | undefined;
3196
- path?: string | undefined;
3197
- maxAge?: number | undefined;
3198
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
3199
- secure?: boolean | undefined;
3200
- name?: string | undefined;
3201
- } | undefined;
3202
- options?: Record<string, any> | undefined;
3203
- ttl?: number | undefined;
3204
- } | undefined;
3205
- site?: string | undefined;
3206
- adapter?: {
3207
- name: string;
3208
- hooks: {} & {
3209
- [k: string]: unknown;
3210
- };
3211
- } | undefined;
3212
- prefetch?: boolean | {
3213
- prefetchAll?: boolean | undefined;
3214
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
3215
- } | undefined;
3216
- i18n?: {
3217
- defaultLocale: string;
3218
- locales: (string | {
3219
- path: string;
3220
- codes: [string, ...string[]];
3221
- })[];
3222
- routing: "manual" | {
3223
- prefixDefaultLocale: boolean;
3224
- redirectToDefaultLocale: boolean;
3225
- fallbackType: "redirect" | "rewrite";
3226
- };
3227
- fallback?: Record<string, string> | undefined;
3228
- domains?: Record<string, string> | undefined;
3229
- } | undefined;
3230
- }, {
3231
- trailingSlash?: "never" | "ignore" | "always" | undefined;
3232
- server?: unknown;
3233
- redirects?: Record<string, string | {
3234
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
3235
- destination: string;
3236
- }> | undefined;
3237
- session?: {
3238
- driver: string;
3239
- cookie?: string | {
3240
- domain?: string | undefined;
3241
- path?: string | undefined;
3242
- maxAge?: number | undefined;
3243
- sameSite?: boolean | "lax" | "strict" | "none" | undefined;
3244
- secure?: boolean | undefined;
3245
- name?: string | undefined;
3246
- } | undefined;
3247
- options?: Record<string, any> | undefined;
3248
- ttl?: number | undefined;
3249
- } | undefined;
3250
- build?: {
3251
- client?: string | undefined;
3252
- format?: "file" | "directory" | "preserve" | undefined;
3253
- server?: string | undefined;
3254
- assets?: string | undefined;
3255
- serverEntry?: string | undefined;
3256
- redirects?: boolean | undefined;
3257
- inlineStylesheets?: "never" | "always" | "auto" | undefined;
3258
- concurrency?: number | undefined;
3259
- assetsPrefix?: string | ({
3260
- fallback: string;
3261
- } & Record<string, string>) | undefined;
3262
- } | undefined;
3263
- root?: string | undefined;
3264
- srcDir?: string | undefined;
3265
- publicDir?: string | undefined;
3266
- outDir?: string | undefined;
3267
- cacheDir?: string | undefined;
3268
- site?: string | undefined;
3269
- compressHTML?: boolean | undefined;
3270
- base?: string | undefined;
3271
- output?: "server" | "static" | undefined;
3272
- scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
3273
- adapter?: {
3274
- name: string;
3275
- hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3276
- } | undefined;
3277
- integrations?: unknown;
3278
- prefetch?: boolean | {
3279
- prefetchAll?: boolean | undefined;
3280
- defaultStrategy?: "load" | "tap" | "hover" | "viewport" | undefined;
3281
- } | undefined;
3282
- image?: {
3283
- endpoint?: {
3284
- route?: string | undefined;
3285
- entrypoint?: string | undefined;
3286
- } | undefined;
3287
- service?: {
3288
- entrypoint?: string | undefined;
3289
- config?: Record<string, any> | undefined;
3290
- } | undefined;
3291
- domains?: string[] | undefined;
3292
- remotePatterns?: {
3293
- port?: string | undefined;
3294
- protocol?: string | undefined;
3295
- hostname?: string | undefined;
3296
- pathname?: string | undefined;
3297
- }[] | undefined;
3298
- experimentalLayout?: "fixed" | "none" | "responsive" | "full-width" | undefined;
3299
- experimentalObjectFit?: string | undefined;
3300
- experimentalObjectPosition?: string | undefined;
3301
- experimentalBreakpoints?: number[] | undefined;
3302
- } | undefined;
3303
- devToolbar?: {
3304
- enabled?: boolean | undefined;
3305
- } | undefined;
3306
- markdown?: {
3307
- syntaxHighlight?: false | "shiki" | "prism" | {
3308
- type?: "shiki" | "prism" | undefined;
3309
- excludeLangs?: string[] | undefined;
3310
- } | undefined;
3311
- shikiConfig?: {
3312
- langs?: ShikiLang[] | undefined;
3313
- theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
3314
- themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
3315
- langAlias?: Record<string, string> | undefined;
3316
- defaultColor?: string | false | undefined;
3317
- wrap?: boolean | null | undefined;
3318
- transformers?: ShikiTransformer[] | undefined;
3319
- } | undefined;
3320
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
3321
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
3322
- remarkRehype?: RemarkRehype | undefined;
3323
- gfm?: boolean | undefined;
3324
- smartypants?: boolean | undefined;
3325
- } | undefined;
3326
- vite?: ViteUserConfig | undefined;
3327
- i18n?: {
3328
- defaultLocale: string;
3329
- locales: (string | {
3330
- path: string;
3331
- codes: [string, ...string[]];
3332
- })[];
3333
- fallback?: Record<string, string> | undefined;
3334
- domains?: Record<string, string> | undefined;
3335
- routing?: "manual" | {
3336
- prefixDefaultLocale?: boolean | undefined;
3337
- redirectToDefaultLocale?: boolean | undefined;
3338
- fallbackType?: "redirect" | "rewrite" | undefined;
3339
- } | undefined;
3340
- } | undefined;
3341
- security?: {
3342
- checkOrigin?: boolean | undefined;
3343
- } | undefined;
3344
- env?: {
3345
- validateSecrets?: boolean | undefined;
3346
- schema?: Record<string, ({
3347
- context: "client";
3348
- access: "public";
3349
- } | {
3350
- context: "server";
3351
- access: "public";
3352
- } | {
3353
- context: "server";
3354
- access: "secret";
3355
- }) & ({
3356
- type: "string";
3357
- length?: number | undefined;
3358
- includes?: string | undefined;
3359
- endsWith?: string | undefined;
3360
- startsWith?: string | undefined;
3361
- default?: string | undefined;
3362
- url?: boolean | undefined;
3363
- optional?: boolean | undefined;
3364
- max?: number | undefined;
3365
- min?: number | undefined;
3366
- } | {
3367
- type: "number";
3368
- default?: number | undefined;
3369
- optional?: boolean | undefined;
3370
- max?: number | undefined;
3371
- min?: number | undefined;
3372
- gt?: number | undefined;
3373
- lt?: number | undefined;
3374
- int?: boolean | undefined;
3375
- } | {
3376
- type: "boolean";
3377
- default?: boolean | undefined;
3378
- optional?: boolean | undefined;
3379
- } | {
3380
- values: string[];
3381
- type: "enum";
3382
- default?: string | undefined;
3383
- optional?: boolean | undefined;
3384
- })> | undefined;
3385
- } | undefined;
3386
- experimental?: {
3387
- clientPrerender?: boolean | undefined;
3388
- contentIntellisense?: boolean | undefined;
3389
- responsiveImages?: boolean | undefined;
3390
- svg?: boolean | {
3391
- mode?: "inline" | "sprite" | undefined;
3392
- } | undefined;
3393
- serializeConfig?: boolean | undefined;
3394
- session?: boolean | undefined;
3395
- headingIdCompat?: boolean | undefined;
3396
- preserveScriptOrder?: boolean | undefined;
3397
- } | undefined;
3398
- legacy?: {
3399
- collections?: boolean | undefined;
3400
- } | undefined;
3401
- }>;
3402
- export {};