astro 4.6.3 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ViewTransitions.astro +9 -2
- package/dist/@types/astro.d.ts +48 -6
- package/dist/assets/endpoint/generic.js +2 -2
- package/dist/assets/endpoint/node.js +2 -2
- package/dist/assets/utils/emitAsset.d.ts +6 -1
- package/dist/assets/utils/emitAsset.js +15 -9
- package/dist/assets/vite-plugin-assets.js +6 -1
- package/dist/cli/add/index.js +1 -41
- package/dist/cli/install-package.d.ts +9 -0
- package/dist/cli/install-package.js +64 -1
- package/dist/config/index.js +2 -2
- package/dist/content/runtime-assets.d.ts +1 -1
- package/dist/content/runtime-assets.js +2 -2
- package/dist/content/runtime.d.ts +1 -1
- package/dist/content/utils.d.ts +1 -1
- package/dist/content/utils.js +2 -2
- package/dist/content/vite-plugin-content-imports.js +10 -2
- package/dist/core/app/createOutgoingHttpHeaders.d.ts +1 -0
- package/dist/core/build/static-build.js +4 -0
- package/dist/core/config/schema.d.ts +332 -289
- package/dist/core/config/settings.js +3 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/create-vite.js +1 -1
- package/dist/core/dev/dev.js +34 -2
- package/dist/core/dev/restart.js +5 -1
- package/dist/core/dev/update-check.d.ts +4 -0
- package/dist/core/dev/update-check.js +36 -0
- package/dist/core/logger/core.d.ts +1 -1
- package/dist/core/messages.d.ts +3 -0
- package/dist/core/messages.js +11 -2
- package/dist/integrations/index.d.ts +28 -0
- package/dist/integrations/index.js +40 -1
- package/dist/preferences/defaults.d.ts +9 -0
- package/dist/preferences/defaults.js +9 -0
- package/dist/preferences/index.d.ts +12 -4
- package/dist/preferences/index.js +11 -4
- package/dist/runtime/client/dev-toolbar/apps/astro.d.ts +1 -1
- package/dist/runtime/client/dev-toolbar/apps/astro.js +3 -0
- package/dist/runtime/client/dev-toolbar/apps/audit/index.d.ts +1 -1
- package/dist/runtime/client/dev-toolbar/apps/settings.d.ts +1 -1
- package/dist/runtime/client/dev-toolbar/apps/xray.d.ts +1 -1
- package/dist/runtime/client/dev-toolbar/entrypoint.js +3 -2
- package/dist/runtime/client/dev-toolbar/helpers.d.ts +61 -0
- package/dist/runtime/client/dev-toolbar/helpers.js +87 -0
- package/dist/runtime/client/dev-toolbar/toolbar.d.ts +3 -2
- package/dist/runtime/client/dev-toolbar/toolbar.js +2 -1
- package/dist/runtime/server/astro-island.js +132 -137
- package/dist/runtime/server/astro-island.prebuilt-dev.d.ts +1 -1
- package/dist/runtime/server/astro-island.prebuilt-dev.js +1 -1
- package/dist/runtime/server/astro-island.prebuilt.d.ts +1 -1
- package/dist/runtime/server/astro-island.prebuilt.js +1 -1
- package/dist/toolbar/index.d.ts +2 -0
- package/dist/toolbar/index.js +6 -0
- package/dist/{vite-plugin-dev-toolbar → toolbar}/vite-plugin-dev-toolbar.js +33 -12
- package/dist/transitions/router.js +0 -1
- package/dist/vite-plugin-astro-server/pipeline.js +1 -0
- package/dist/vite-plugin-markdown/images.d.ts +0 -1
- package/dist/vite-plugin-markdown/images.js +1 -4
- package/dist/vite-plugin-markdown/index.js +8 -2
- package/package.json +48 -50
- package/tsconfigs/strictest.json +1 -3
- /package/dist/{vite-plugin-dev-toolbar → toolbar}/vite-plugin-dev-toolbar.d.ts +0 -0
|
@@ -90,12 +90,12 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
90
90
|
client?: string | undefined;
|
|
91
91
|
server?: string | undefined;
|
|
92
92
|
assets?: string | undefined;
|
|
93
|
-
assetsPrefix?: string | ({
|
|
94
|
-
fallback: string;
|
|
95
|
-
} & Record<string, string>) | undefined;
|
|
96
93
|
serverEntry?: string | undefined;
|
|
97
94
|
redirects?: boolean | undefined;
|
|
98
95
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
96
|
+
assetsPrefix?: string | ({
|
|
97
|
+
fallback: string;
|
|
98
|
+
} & Record<string, string>) | undefined;
|
|
99
99
|
}>>;
|
|
100
100
|
server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
101
101
|
open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -108,10 +108,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
108
108
|
open: string | boolean;
|
|
109
109
|
headers?: OutgoingHttpHeaders | undefined;
|
|
110
110
|
}, {
|
|
111
|
-
open?: string | boolean | undefined;
|
|
112
111
|
host?: string | boolean | undefined;
|
|
113
112
|
port?: number | undefined;
|
|
114
113
|
headers?: OutgoingHttpHeaders | undefined;
|
|
114
|
+
open?: string | boolean | undefined;
|
|
115
115
|
}>>, {
|
|
116
116
|
host: string | boolean;
|
|
117
117
|
port: number;
|
|
@@ -157,14 +157,14 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
157
157
|
port: z.ZodOptional<z.ZodString>;
|
|
158
158
|
pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
port?: string | undefined;
|
|
160
161
|
protocol?: string | undefined;
|
|
161
162
|
hostname?: string | undefined;
|
|
162
|
-
port?: string | undefined;
|
|
163
163
|
pathname?: string | undefined;
|
|
164
164
|
}, {
|
|
165
|
+
port?: string | undefined;
|
|
165
166
|
protocol?: string | undefined;
|
|
166
167
|
hostname?: string | undefined;
|
|
167
|
-
port?: string | undefined;
|
|
168
168
|
pathname?: string | undefined;
|
|
169
169
|
}>, "many">>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -174,9 +174,9 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
174
174
|
};
|
|
175
175
|
domains: string[];
|
|
176
176
|
remotePatterns: {
|
|
177
|
+
port?: string | undefined;
|
|
177
178
|
protocol?: string | undefined;
|
|
178
179
|
hostname?: string | undefined;
|
|
179
|
-
port?: string | undefined;
|
|
180
180
|
pathname?: string | undefined;
|
|
181
181
|
}[];
|
|
182
182
|
endpoint?: string | undefined;
|
|
@@ -188,9 +188,9 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
188
188
|
} | undefined;
|
|
189
189
|
domains?: string[] | undefined;
|
|
190
190
|
remotePatterns?: {
|
|
191
|
+
port?: string | undefined;
|
|
191
192
|
protocol?: string | undefined;
|
|
192
193
|
hostname?: string | undefined;
|
|
193
|
-
port?: string | undefined;
|
|
194
194
|
pathname?: string | undefined;
|
|
195
195
|
}[] | undefined;
|
|
196
196
|
}>>;
|
|
@@ -205,20 +205,20 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
205
205
|
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
206
206
|
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
207
207
|
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiLang, z.ZodTypeDef, ShikiLang>, "many">, ShikiLang[], ShikiLang[]>>;
|
|
208
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki
|
|
209
|
-
themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki
|
|
208
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
209
|
+
themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
210
210
|
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
211
211
|
transformers: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiTransformer, z.ZodTypeDef, ShikiTransformer>, "many">, ShikiTransformer[], ShikiTransformer[]>>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
langs: ShikiLang[];
|
|
214
|
-
theme:
|
|
215
|
-
themes: Record<string, import("shiki
|
|
214
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
215
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
216
216
|
wrap: boolean | null;
|
|
217
217
|
transformers: ShikiTransformer[];
|
|
218
218
|
}, {
|
|
219
219
|
langs?: ShikiLang[] | undefined;
|
|
220
|
-
theme?: import("shiki
|
|
221
|
-
themes?: Record<string, import("shiki
|
|
220
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
221
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
222
222
|
wrap?: boolean | null | undefined;
|
|
223
223
|
transformers?: ShikiTransformer[] | undefined;
|
|
224
224
|
}>>;
|
|
@@ -231,8 +231,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
231
231
|
syntaxHighlight: false | "shiki" | "prism";
|
|
232
232
|
shikiConfig: {
|
|
233
233
|
langs: ShikiLang[];
|
|
234
|
-
theme:
|
|
235
|
-
themes: Record<string, import("shiki
|
|
234
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
235
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
236
236
|
wrap: boolean | null;
|
|
237
237
|
transformers: ShikiTransformer[];
|
|
238
238
|
};
|
|
@@ -245,8 +245,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
245
245
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
246
246
|
shikiConfig?: {
|
|
247
247
|
langs?: ShikiLang[] | undefined;
|
|
248
|
-
theme?: import("shiki
|
|
249
|
-
themes?: Record<string, import("shiki
|
|
248
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
249
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
250
250
|
wrap?: boolean | null | undefined;
|
|
251
251
|
transformers?: ShikiTransformer[] | undefined;
|
|
252
252
|
} | undefined;
|
|
@@ -293,23 +293,20 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
293
293
|
path: string;
|
|
294
294
|
codes: [string, ...string[]];
|
|
295
295
|
})[];
|
|
296
|
-
routing:
|
|
296
|
+
routing: "manual" | {
|
|
297
297
|
prefixDefaultLocale: boolean;
|
|
298
298
|
redirectToDefaultLocale: boolean;
|
|
299
|
-
}
|
|
300
|
-
prefixDefaultLocale: boolean;
|
|
301
|
-
redirectToDefaultLocale: boolean;
|
|
302
|
-
} | undefined);
|
|
303
|
-
domains?: Record<string, string> | undefined;
|
|
299
|
+
};
|
|
304
300
|
fallback?: Record<string, string> | undefined;
|
|
301
|
+
domains?: Record<string, string> | undefined;
|
|
305
302
|
}, {
|
|
306
303
|
defaultLocale: string;
|
|
307
304
|
locales: (string | {
|
|
308
305
|
path: string;
|
|
309
306
|
codes: [string, ...string[]];
|
|
310
307
|
})[];
|
|
311
|
-
domains?: Record<string, string> | undefined;
|
|
312
308
|
fallback?: Record<string, string> | undefined;
|
|
309
|
+
domains?: Record<string, string> | undefined;
|
|
313
310
|
routing?: "manual" | {
|
|
314
311
|
prefixDefaultLocale?: boolean | undefined;
|
|
315
312
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -320,23 +317,20 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
320
317
|
path: string;
|
|
321
318
|
codes: [string, ...string[]];
|
|
322
319
|
})[];
|
|
323
|
-
routing:
|
|
324
|
-
prefixDefaultLocale: boolean;
|
|
325
|
-
redirectToDefaultLocale: boolean;
|
|
326
|
-
}) & ("manual" | {
|
|
320
|
+
routing: "manual" | {
|
|
327
321
|
prefixDefaultLocale: boolean;
|
|
328
322
|
redirectToDefaultLocale: boolean;
|
|
329
|
-
}
|
|
330
|
-
domains?: Record<string, string> | undefined;
|
|
323
|
+
};
|
|
331
324
|
fallback?: Record<string, string> | undefined;
|
|
325
|
+
domains?: Record<string, string> | undefined;
|
|
332
326
|
} | undefined, {
|
|
333
327
|
defaultLocale: string;
|
|
334
328
|
locales: (string | {
|
|
335
329
|
path: string;
|
|
336
330
|
codes: [string, ...string[]];
|
|
337
331
|
})[];
|
|
338
|
-
domains?: Record<string, string> | undefined;
|
|
339
332
|
fallback?: Record<string, string> | undefined;
|
|
333
|
+
domains?: Record<string, string> | undefined;
|
|
340
334
|
routing?: "manual" | {
|
|
341
335
|
prefixDefaultLocale?: boolean | undefined;
|
|
342
336
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -384,12 +378,12 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
384
378
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
385
379
|
clientPrerender?: boolean | undefined;
|
|
386
380
|
globalRoutePriority?: boolean | undefined;
|
|
381
|
+
i18nDomains?: boolean | undefined;
|
|
387
382
|
security?: {
|
|
388
383
|
csrfProtection?: {
|
|
389
384
|
origin?: boolean | undefined;
|
|
390
385
|
} | undefined;
|
|
391
386
|
} | undefined;
|
|
392
|
-
i18nDomains?: boolean | undefined;
|
|
393
387
|
}>>;
|
|
394
388
|
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
395
389
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -400,9 +394,9 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
400
394
|
};
|
|
401
395
|
domains: string[];
|
|
402
396
|
remotePatterns: {
|
|
397
|
+
port?: string | undefined;
|
|
403
398
|
protocol?: string | undefined;
|
|
404
399
|
hostname?: string | undefined;
|
|
405
|
-
port?: string | undefined;
|
|
406
400
|
pathname?: string | undefined;
|
|
407
401
|
}[];
|
|
408
402
|
endpoint?: string | undefined;
|
|
@@ -452,8 +446,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
452
446
|
syntaxHighlight: false | "shiki" | "prism";
|
|
453
447
|
shikiConfig: {
|
|
454
448
|
langs: ShikiLang[];
|
|
455
|
-
theme:
|
|
456
|
-
themes: Record<string, import("shiki
|
|
449
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
450
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
457
451
|
wrap: boolean | null;
|
|
458
452
|
transformers: ShikiTransformer[];
|
|
459
453
|
};
|
|
@@ -495,17 +489,33 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
495
489
|
path: string;
|
|
496
490
|
codes: [string, ...string[]];
|
|
497
491
|
})[];
|
|
498
|
-
routing:
|
|
499
|
-
prefixDefaultLocale: boolean;
|
|
500
|
-
redirectToDefaultLocale: boolean;
|
|
501
|
-
}) & ("manual" | {
|
|
492
|
+
routing: "manual" | {
|
|
502
493
|
prefixDefaultLocale: boolean;
|
|
503
494
|
redirectToDefaultLocale: boolean;
|
|
504
|
-
}
|
|
505
|
-
domains?: Record<string, string> | undefined;
|
|
495
|
+
};
|
|
506
496
|
fallback?: Record<string, string> | undefined;
|
|
497
|
+
domains?: Record<string, string> | undefined;
|
|
507
498
|
} | undefined;
|
|
508
499
|
}, {
|
|
500
|
+
image?: {
|
|
501
|
+
endpoint?: string | undefined;
|
|
502
|
+
service?: {
|
|
503
|
+
entrypoint?: string | undefined;
|
|
504
|
+
config?: Record<string, any> | undefined;
|
|
505
|
+
} | undefined;
|
|
506
|
+
domains?: string[] | undefined;
|
|
507
|
+
remotePatterns?: {
|
|
508
|
+
port?: string | undefined;
|
|
509
|
+
protocol?: string | undefined;
|
|
510
|
+
hostname?: string | undefined;
|
|
511
|
+
pathname?: string | undefined;
|
|
512
|
+
}[] | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
server?: unknown;
|
|
515
|
+
redirects?: Record<string, string | {
|
|
516
|
+
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
517
|
+
destination: string;
|
|
518
|
+
}> | undefined;
|
|
509
519
|
root?: string | undefined;
|
|
510
520
|
srcDir?: string | undefined;
|
|
511
521
|
publicDir?: string | undefined;
|
|
@@ -527,36 +537,17 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
527
537
|
client?: string | undefined;
|
|
528
538
|
server?: string | undefined;
|
|
529
539
|
assets?: string | undefined;
|
|
530
|
-
assetsPrefix?: string | ({
|
|
531
|
-
fallback: string;
|
|
532
|
-
} & Record<string, string>) | undefined;
|
|
533
540
|
serverEntry?: string | undefined;
|
|
534
541
|
redirects?: boolean | undefined;
|
|
535
542
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
543
|
+
assetsPrefix?: string | ({
|
|
544
|
+
fallback: string;
|
|
545
|
+
} & Record<string, string>) | undefined;
|
|
536
546
|
} | undefined;
|
|
537
|
-
server?: unknown;
|
|
538
|
-
redirects?: Record<string, string | {
|
|
539
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
540
|
-
destination: string;
|
|
541
|
-
}> | undefined;
|
|
542
547
|
prefetch?: boolean | {
|
|
543
548
|
prefetchAll?: boolean | undefined;
|
|
544
549
|
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
545
550
|
} | undefined;
|
|
546
|
-
image?: {
|
|
547
|
-
endpoint?: string | undefined;
|
|
548
|
-
service?: {
|
|
549
|
-
entrypoint?: string | undefined;
|
|
550
|
-
config?: Record<string, any> | undefined;
|
|
551
|
-
} | undefined;
|
|
552
|
-
domains?: string[] | undefined;
|
|
553
|
-
remotePatterns?: {
|
|
554
|
-
protocol?: string | undefined;
|
|
555
|
-
hostname?: string | undefined;
|
|
556
|
-
port?: string | undefined;
|
|
557
|
-
pathname?: string | undefined;
|
|
558
|
-
}[] | undefined;
|
|
559
|
-
} | undefined;
|
|
560
551
|
devToolbar?: {
|
|
561
552
|
enabled?: boolean | undefined;
|
|
562
553
|
} | undefined;
|
|
@@ -564,8 +555,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
564
555
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
565
556
|
shikiConfig?: {
|
|
566
557
|
langs?: ShikiLang[] | undefined;
|
|
567
|
-
theme?: import("shiki
|
|
568
|
-
themes?: Record<string, import("shiki
|
|
558
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
559
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
569
560
|
wrap?: boolean | null | undefined;
|
|
570
561
|
transformers?: ShikiTransformer[] | undefined;
|
|
571
562
|
} | undefined;
|
|
@@ -582,8 +573,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
582
573
|
path: string;
|
|
583
574
|
codes: [string, ...string[]];
|
|
584
575
|
})[];
|
|
585
|
-
domains?: Record<string, string> | undefined;
|
|
586
576
|
fallback?: Record<string, string> | undefined;
|
|
577
|
+
domains?: Record<string, string> | undefined;
|
|
587
578
|
routing?: "manual" | {
|
|
588
579
|
prefixDefaultLocale?: boolean | undefined;
|
|
589
580
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -595,17 +586,140 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
595
586
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
596
587
|
clientPrerender?: boolean | undefined;
|
|
597
588
|
globalRoutePriority?: boolean | undefined;
|
|
589
|
+
i18nDomains?: boolean | undefined;
|
|
598
590
|
security?: {
|
|
599
591
|
csrfProtection?: {
|
|
600
592
|
origin?: boolean | undefined;
|
|
601
593
|
} | undefined;
|
|
602
594
|
} | undefined;
|
|
603
|
-
i18nDomains?: boolean | undefined;
|
|
604
595
|
} | undefined;
|
|
605
596
|
legacy?: {} | undefined;
|
|
606
597
|
}>;
|
|
607
598
|
export type AstroConfigType = z.infer<typeof AstroConfigSchema>;
|
|
608
|
-
export declare function createRelativeSchema(cmd: string, fileProtocolRoot: string): z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
599
|
+
export declare function createRelativeSchema(cmd: string, fileProtocolRoot: string): z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
600
|
+
root: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
601
|
+
srcDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
602
|
+
publicDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
603
|
+
outDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
604
|
+
cacheDir: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
605
|
+
site: z.ZodOptional<z.ZodString>;
|
|
606
|
+
compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
607
|
+
base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
608
|
+
trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
|
|
609
|
+
output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
|
|
610
|
+
scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
|
|
611
|
+
adapter: z.ZodOptional<z.ZodObject<{
|
|
612
|
+
name: z.ZodString;
|
|
613
|
+
hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
614
|
+
}, "strip", z.ZodTypeAny, {
|
|
615
|
+
name: string;
|
|
616
|
+
hooks: {} & {
|
|
617
|
+
[k: string]: unknown;
|
|
618
|
+
};
|
|
619
|
+
}, {
|
|
620
|
+
name: string;
|
|
621
|
+
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
622
|
+
}>>;
|
|
623
|
+
integrations: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
624
|
+
name: z.ZodString;
|
|
625
|
+
hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
626
|
+
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
name: string;
|
|
628
|
+
hooks: {} & {
|
|
629
|
+
[k: string]: unknown;
|
|
630
|
+
};
|
|
631
|
+
}, {
|
|
632
|
+
name: string;
|
|
633
|
+
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
634
|
+
}>, "many">>, {
|
|
635
|
+
name: string;
|
|
636
|
+
hooks: {} & {
|
|
637
|
+
[k: string]: unknown;
|
|
638
|
+
};
|
|
639
|
+
}[], unknown>;
|
|
640
|
+
build: z.ZodDefault<z.ZodObject<{
|
|
641
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
|
|
642
|
+
client: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
643
|
+
server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
644
|
+
assets: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
645
|
+
assetsPrefix: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
646
|
+
fallback: z.ZodString;
|
|
647
|
+
}, "strip", z.ZodTypeAny, {
|
|
648
|
+
fallback: string;
|
|
649
|
+
}, {
|
|
650
|
+
fallback: string;
|
|
651
|
+
}>, z.ZodRecord<z.ZodString, z.ZodString>>>]>, string | ({
|
|
652
|
+
fallback: string;
|
|
653
|
+
} & Record<string, string>) | undefined, string | ({
|
|
654
|
+
fallback: string;
|
|
655
|
+
} & Record<string, string>) | undefined>;
|
|
656
|
+
serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
657
|
+
redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
658
|
+
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
|
|
659
|
+
}, "strip", z.ZodTypeAny, {
|
|
660
|
+
format: "file" | "directory" | "preserve";
|
|
661
|
+
client: URL;
|
|
662
|
+
server: URL;
|
|
663
|
+
assets: string;
|
|
664
|
+
serverEntry: string;
|
|
665
|
+
redirects: boolean;
|
|
666
|
+
inlineStylesheets: "always" | "never" | "auto";
|
|
667
|
+
assetsPrefix?: string | ({
|
|
668
|
+
fallback: string;
|
|
669
|
+
} & Record<string, string>) | undefined;
|
|
670
|
+
}, {
|
|
671
|
+
format?: "file" | "directory" | "preserve" | undefined;
|
|
672
|
+
client?: string | undefined;
|
|
673
|
+
server?: string | undefined;
|
|
674
|
+
assets?: string | undefined;
|
|
675
|
+
serverEntry?: string | undefined;
|
|
676
|
+
redirects?: boolean | undefined;
|
|
677
|
+
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
678
|
+
assetsPrefix?: string | ({
|
|
679
|
+
fallback: string;
|
|
680
|
+
} & Record<string, string>) | undefined;
|
|
681
|
+
}>>;
|
|
682
|
+
server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
683
|
+
open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
684
|
+
host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
685
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
686
|
+
headers: z.ZodOptional<z.ZodType<OutgoingHttpHeaders, z.ZodTypeDef, OutgoingHttpHeaders>>;
|
|
687
|
+
}, "strip", z.ZodTypeAny, {
|
|
688
|
+
host: string | boolean;
|
|
689
|
+
port: number;
|
|
690
|
+
open: string | boolean;
|
|
691
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
692
|
+
}, {
|
|
693
|
+
host?: string | boolean | undefined;
|
|
694
|
+
port?: number | undefined;
|
|
695
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
696
|
+
open?: string | boolean | undefined;
|
|
697
|
+
}>>, {
|
|
698
|
+
host: string | boolean;
|
|
699
|
+
port: number;
|
|
700
|
+
open: string | boolean;
|
|
701
|
+
headers?: OutgoingHttpHeaders | undefined;
|
|
702
|
+
}, unknown>;
|
|
703
|
+
redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
704
|
+
status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
705
|
+
destination: z.ZodString;
|
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
708
|
+
destination: string;
|
|
709
|
+
}, {
|
|
710
|
+
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
711
|
+
destination: string;
|
|
712
|
+
}>]>>>;
|
|
713
|
+
prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
714
|
+
prefetchAll: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
+
defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
prefetchAll?: boolean | undefined;
|
|
718
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
719
|
+
}, {
|
|
720
|
+
prefetchAll?: boolean | undefined;
|
|
721
|
+
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
722
|
+
}>]>>;
|
|
609
723
|
image: z.ZodDefault<z.ZodObject<{
|
|
610
724
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
611
725
|
service: z.ZodDefault<z.ZodObject<{
|
|
@@ -625,14 +739,14 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
625
739
|
port: z.ZodOptional<z.ZodString>;
|
|
626
740
|
pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
627
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
port?: string | undefined;
|
|
628
743
|
protocol?: string | undefined;
|
|
629
744
|
hostname?: string | undefined;
|
|
630
|
-
port?: string | undefined;
|
|
631
745
|
pathname?: string | undefined;
|
|
632
746
|
}, {
|
|
747
|
+
port?: string | undefined;
|
|
633
748
|
protocol?: string | undefined;
|
|
634
749
|
hostname?: string | undefined;
|
|
635
|
-
port?: string | undefined;
|
|
636
750
|
pathname?: string | undefined;
|
|
637
751
|
}>, "many">>;
|
|
638
752
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -642,9 +756,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
642
756
|
};
|
|
643
757
|
domains: string[];
|
|
644
758
|
remotePatterns: {
|
|
759
|
+
port?: string | undefined;
|
|
645
760
|
protocol?: string | undefined;
|
|
646
761
|
hostname?: string | undefined;
|
|
647
|
-
port?: string | undefined;
|
|
648
762
|
pathname?: string | undefined;
|
|
649
763
|
}[];
|
|
650
764
|
endpoint?: string | undefined;
|
|
@@ -656,66 +770,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
656
770
|
} | undefined;
|
|
657
771
|
domains?: string[] | undefined;
|
|
658
772
|
remotePatterns?: {
|
|
773
|
+
port?: string | undefined;
|
|
659
774
|
protocol?: string | undefined;
|
|
660
775
|
hostname?: string | undefined;
|
|
661
|
-
port?: string | undefined;
|
|
662
776
|
pathname?: string | undefined;
|
|
663
777
|
}[] | undefined;
|
|
664
778
|
}>>;
|
|
665
|
-
redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
666
|
-
status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
667
|
-
destination: z.ZodString;
|
|
668
|
-
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
670
|
-
destination: string;
|
|
671
|
-
}, {
|
|
672
|
-
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
673
|
-
destination: string;
|
|
674
|
-
}>]>>>;
|
|
675
|
-
site: z.ZodOptional<z.ZodString>;
|
|
676
|
-
base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
677
|
-
trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
|
|
678
|
-
output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
|
|
679
|
-
scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
|
|
680
|
-
adapter: z.ZodOptional<z.ZodObject<{
|
|
681
|
-
name: z.ZodString;
|
|
682
|
-
hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
683
|
-
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
name: string;
|
|
685
|
-
hooks: {} & {
|
|
686
|
-
[k: string]: unknown;
|
|
687
|
-
};
|
|
688
|
-
}, {
|
|
689
|
-
name: string;
|
|
690
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
691
|
-
}>>;
|
|
692
|
-
integrations: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
693
|
-
name: z.ZodString;
|
|
694
|
-
hooks: z.ZodDefault<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
695
|
-
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
name: string;
|
|
697
|
-
hooks: {} & {
|
|
698
|
-
[k: string]: unknown;
|
|
699
|
-
};
|
|
700
|
-
}, {
|
|
701
|
-
name: string;
|
|
702
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
703
|
-
}>, "many">>, {
|
|
704
|
-
name: string;
|
|
705
|
-
hooks: {} & {
|
|
706
|
-
[k: string]: unknown;
|
|
707
|
-
};
|
|
708
|
-
}[], unknown>;
|
|
709
|
-
prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
710
|
-
prefetchAll: z.ZodOptional<z.ZodBoolean>;
|
|
711
|
-
defaultStrategy: z.ZodOptional<z.ZodEnum<["tap", "hover", "viewport", "load"]>>;
|
|
712
|
-
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
prefetchAll?: boolean | undefined;
|
|
714
|
-
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
715
|
-
}, {
|
|
716
|
-
prefetchAll?: boolean | undefined;
|
|
717
|
-
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
718
|
-
}>]>>;
|
|
719
779
|
devToolbar: z.ZodDefault<z.ZodObject<{
|
|
720
780
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
721
781
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -727,20 +787,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
727
787
|
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
728
788
|
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
729
789
|
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiLang, z.ZodTypeDef, ShikiLang>, "many">, ShikiLang[], ShikiLang[]>>;
|
|
730
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki
|
|
731
|
-
themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki
|
|
790
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
791
|
+
themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<[import("shiki").BundledTheme, ...import("shiki").BundledTheme[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
732
792
|
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
733
793
|
transformers: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiTransformer, z.ZodTypeDef, ShikiTransformer>, "many">, ShikiTransformer[], ShikiTransformer[]>>;
|
|
734
794
|
}, "strip", z.ZodTypeAny, {
|
|
735
795
|
langs: ShikiLang[];
|
|
736
|
-
theme:
|
|
737
|
-
themes: Record<string, import("shiki
|
|
796
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
797
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
738
798
|
wrap: boolean | null;
|
|
739
799
|
transformers: ShikiTransformer[];
|
|
740
800
|
}, {
|
|
741
801
|
langs?: ShikiLang[] | undefined;
|
|
742
|
-
theme?: import("shiki
|
|
743
|
-
themes?: Record<string, import("shiki
|
|
802
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
803
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
744
804
|
wrap?: boolean | null | undefined;
|
|
745
805
|
transformers?: ShikiTransformer[] | undefined;
|
|
746
806
|
}>>;
|
|
@@ -753,8 +813,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
753
813
|
syntaxHighlight: false | "shiki" | "prism";
|
|
754
814
|
shikiConfig: {
|
|
755
815
|
langs: ShikiLang[];
|
|
756
|
-
theme:
|
|
757
|
-
themes: Record<string, import("shiki
|
|
816
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
817
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
758
818
|
wrap: boolean | null;
|
|
759
819
|
transformers: ShikiTransformer[];
|
|
760
820
|
};
|
|
@@ -767,8 +827,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
767
827
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
768
828
|
shikiConfig?: {
|
|
769
829
|
langs?: ShikiLang[] | undefined;
|
|
770
|
-
theme?: import("shiki
|
|
771
|
-
themes?: Record<string, import("shiki
|
|
830
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
831
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
772
832
|
wrap?: boolean | null | undefined;
|
|
773
833
|
transformers?: ShikiTransformer[] | undefined;
|
|
774
834
|
} | undefined;
|
|
@@ -815,23 +875,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
815
875
|
path: string;
|
|
816
876
|
codes: [string, ...string[]];
|
|
817
877
|
})[];
|
|
818
|
-
routing:
|
|
819
|
-
prefixDefaultLocale: boolean;
|
|
820
|
-
redirectToDefaultLocale: boolean;
|
|
821
|
-
}) & ("manual" | {
|
|
878
|
+
routing: "manual" | {
|
|
822
879
|
prefixDefaultLocale: boolean;
|
|
823
880
|
redirectToDefaultLocale: boolean;
|
|
824
|
-
}
|
|
825
|
-
domains?: Record<string, string> | undefined;
|
|
881
|
+
};
|
|
826
882
|
fallback?: Record<string, string> | undefined;
|
|
883
|
+
domains?: Record<string, string> | undefined;
|
|
827
884
|
}, {
|
|
828
885
|
defaultLocale: string;
|
|
829
886
|
locales: (string | {
|
|
830
887
|
path: string;
|
|
831
888
|
codes: [string, ...string[]];
|
|
832
889
|
})[];
|
|
833
|
-
domains?: Record<string, string> | undefined;
|
|
834
890
|
fallback?: Record<string, string> | undefined;
|
|
891
|
+
domains?: Record<string, string> | undefined;
|
|
835
892
|
routing?: "manual" | {
|
|
836
893
|
prefixDefaultLocale?: boolean | undefined;
|
|
837
894
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -842,23 +899,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
842
899
|
path: string;
|
|
843
900
|
codes: [string, ...string[]];
|
|
844
901
|
})[];
|
|
845
|
-
routing:
|
|
902
|
+
routing: "manual" | {
|
|
846
903
|
prefixDefaultLocale: boolean;
|
|
847
904
|
redirectToDefaultLocale: boolean;
|
|
848
|
-
}
|
|
849
|
-
prefixDefaultLocale: boolean;
|
|
850
|
-
redirectToDefaultLocale: boolean;
|
|
851
|
-
} | undefined);
|
|
852
|
-
domains?: Record<string, string> | undefined;
|
|
905
|
+
};
|
|
853
906
|
fallback?: Record<string, string> | undefined;
|
|
907
|
+
domains?: Record<string, string> | undefined;
|
|
854
908
|
} | undefined, {
|
|
855
909
|
defaultLocale: string;
|
|
856
910
|
locales: (string | {
|
|
857
911
|
path: string;
|
|
858
912
|
codes: [string, ...string[]];
|
|
859
913
|
})[];
|
|
860
|
-
domains?: Record<string, string> | undefined;
|
|
861
914
|
fallback?: Record<string, string> | undefined;
|
|
915
|
+
domains?: Record<string, string> | undefined;
|
|
862
916
|
routing?: "manual" | {
|
|
863
917
|
prefixDefaultLocale?: boolean | undefined;
|
|
864
918
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -906,14 +960,15 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
906
960
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
907
961
|
clientPrerender?: boolean | undefined;
|
|
908
962
|
globalRoutePriority?: boolean | undefined;
|
|
963
|
+
i18nDomains?: boolean | undefined;
|
|
909
964
|
security?: {
|
|
910
965
|
csrfProtection?: {
|
|
911
966
|
origin?: boolean | undefined;
|
|
912
967
|
} | undefined;
|
|
913
968
|
} | undefined;
|
|
914
|
-
i18nDomains?: boolean | undefined;
|
|
915
969
|
}>>;
|
|
916
970
|
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
971
|
+
}, {
|
|
917
972
|
root: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
|
|
918
973
|
srcDir: z.ZodEffects<z.ZodDefault<z.ZodString>, import("url").URL, string | undefined>;
|
|
919
974
|
compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -955,12 +1010,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
955
1010
|
client?: string | undefined;
|
|
956
1011
|
server?: string | undefined;
|
|
957
1012
|
assets?: string | undefined;
|
|
958
|
-
assetsPrefix?: string | ({
|
|
959
|
-
fallback: string;
|
|
960
|
-
} & Record<string, string>) | undefined;
|
|
961
1013
|
serverEntry?: string | undefined;
|
|
962
1014
|
redirects?: boolean | undefined;
|
|
963
1015
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1016
|
+
assetsPrefix?: string | ({
|
|
1017
|
+
fallback: string;
|
|
1018
|
+
} & Record<string, string>) | undefined;
|
|
964
1019
|
}>>>;
|
|
965
1020
|
server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
966
1021
|
open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -975,10 +1030,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
975
1030
|
streaming: boolean;
|
|
976
1031
|
headers?: OutgoingHttpHeaders | undefined;
|
|
977
1032
|
}, {
|
|
978
|
-
open?: string | boolean | undefined;
|
|
979
1033
|
host?: string | boolean | undefined;
|
|
980
1034
|
port?: number | undefined;
|
|
981
1035
|
headers?: OutgoingHttpHeaders | undefined;
|
|
1036
|
+
open?: string | boolean | undefined;
|
|
982
1037
|
streaming?: boolean | undefined;
|
|
983
1038
|
}>>>, {
|
|
984
1039
|
host: string | boolean;
|
|
@@ -987,7 +1042,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
987
1042
|
streaming: boolean;
|
|
988
1043
|
headers?: OutgoingHttpHeaders | undefined;
|
|
989
1044
|
}, unknown>;
|
|
990
|
-
}
|
|
1045
|
+
}>, "strip", z.ZodTypeAny, {
|
|
991
1046
|
image: {
|
|
992
1047
|
service: {
|
|
993
1048
|
entrypoint: string;
|
|
@@ -995,9 +1050,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
995
1050
|
};
|
|
996
1051
|
domains: string[];
|
|
997
1052
|
remotePatterns: {
|
|
1053
|
+
port?: string | undefined;
|
|
998
1054
|
protocol?: string | undefined;
|
|
999
1055
|
hostname?: string | undefined;
|
|
1000
|
-
port?: string | undefined;
|
|
1001
1056
|
pathname?: string | undefined;
|
|
1002
1057
|
}[];
|
|
1003
1058
|
endpoint?: string | undefined;
|
|
@@ -1048,8 +1103,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1048
1103
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1049
1104
|
shikiConfig: {
|
|
1050
1105
|
langs: ShikiLang[];
|
|
1051
|
-
theme:
|
|
1052
|
-
themes: Record<string, import("shiki
|
|
1106
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
1107
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
1053
1108
|
wrap: boolean | null;
|
|
1054
1109
|
transformers: ShikiTransformer[];
|
|
1055
1110
|
};
|
|
@@ -1091,15 +1146,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1091
1146
|
path: string;
|
|
1092
1147
|
codes: [string, ...string[]];
|
|
1093
1148
|
})[];
|
|
1094
|
-
routing:
|
|
1095
|
-
prefixDefaultLocale: boolean;
|
|
1096
|
-
redirectToDefaultLocale: boolean;
|
|
1097
|
-
}) & ("manual" | {
|
|
1149
|
+
routing: "manual" | {
|
|
1098
1150
|
prefixDefaultLocale: boolean;
|
|
1099
1151
|
redirectToDefaultLocale: boolean;
|
|
1100
|
-
}
|
|
1101
|
-
domains?: Record<string, string> | undefined;
|
|
1152
|
+
};
|
|
1102
1153
|
fallback?: Record<string, string> | undefined;
|
|
1154
|
+
domains?: Record<string, string> | undefined;
|
|
1103
1155
|
} | undefined;
|
|
1104
1156
|
}, {
|
|
1105
1157
|
image?: {
|
|
@@ -1110,17 +1162,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1110
1162
|
} | undefined;
|
|
1111
1163
|
domains?: string[] | undefined;
|
|
1112
1164
|
remotePatterns?: {
|
|
1165
|
+
port?: string | undefined;
|
|
1113
1166
|
protocol?: string | undefined;
|
|
1114
1167
|
hostname?: string | undefined;
|
|
1115
|
-
port?: string | undefined;
|
|
1116
1168
|
pathname?: string | undefined;
|
|
1117
1169
|
}[] | undefined;
|
|
1118
1170
|
} | undefined;
|
|
1171
|
+
server?: unknown;
|
|
1119
1172
|
redirects?: Record<string, string | {
|
|
1120
1173
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1121
1174
|
destination: string;
|
|
1122
1175
|
}> | undefined;
|
|
1176
|
+
root?: string | undefined;
|
|
1177
|
+
srcDir?: string | undefined;
|
|
1178
|
+
publicDir?: string | undefined;
|
|
1179
|
+
outDir?: string | undefined;
|
|
1180
|
+
cacheDir?: string | undefined;
|
|
1123
1181
|
site?: string | undefined;
|
|
1182
|
+
compressHTML?: boolean | undefined;
|
|
1124
1183
|
base?: string | undefined;
|
|
1125
1184
|
trailingSlash?: "ignore" | "always" | "never" | undefined;
|
|
1126
1185
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
@@ -1130,6 +1189,18 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1130
1189
|
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1131
1190
|
} | undefined;
|
|
1132
1191
|
integrations?: unknown;
|
|
1192
|
+
build?: {
|
|
1193
|
+
format?: "file" | "directory" | "preserve" | undefined;
|
|
1194
|
+
client?: string | undefined;
|
|
1195
|
+
server?: string | undefined;
|
|
1196
|
+
assets?: string | undefined;
|
|
1197
|
+
serverEntry?: string | undefined;
|
|
1198
|
+
redirects?: boolean | undefined;
|
|
1199
|
+
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1200
|
+
assetsPrefix?: string | ({
|
|
1201
|
+
fallback: string;
|
|
1202
|
+
} & Record<string, string>) | undefined;
|
|
1203
|
+
} | undefined;
|
|
1133
1204
|
prefetch?: boolean | {
|
|
1134
1205
|
prefetchAll?: boolean | undefined;
|
|
1135
1206
|
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
@@ -1141,8 +1212,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1141
1212
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1142
1213
|
shikiConfig?: {
|
|
1143
1214
|
langs?: ShikiLang[] | undefined;
|
|
1144
|
-
theme?: import("shiki
|
|
1145
|
-
themes?: Record<string, import("shiki
|
|
1215
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
1216
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
1146
1217
|
wrap?: boolean | null | undefined;
|
|
1147
1218
|
transformers?: ShikiTransformer[] | undefined;
|
|
1148
1219
|
} | undefined;
|
|
@@ -1159,8 +1230,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1159
1230
|
path: string;
|
|
1160
1231
|
codes: [string, ...string[]];
|
|
1161
1232
|
})[];
|
|
1162
|
-
domains?: Record<string, string> | undefined;
|
|
1163
1233
|
fallback?: Record<string, string> | undefined;
|
|
1234
|
+
domains?: Record<string, string> | undefined;
|
|
1164
1235
|
routing?: "manual" | {
|
|
1165
1236
|
prefixDefaultLocale?: boolean | undefined;
|
|
1166
1237
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -1172,33 +1243,14 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1172
1243
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
1173
1244
|
clientPrerender?: boolean | undefined;
|
|
1174
1245
|
globalRoutePriority?: boolean | undefined;
|
|
1246
|
+
i18nDomains?: boolean | undefined;
|
|
1175
1247
|
security?: {
|
|
1176
1248
|
csrfProtection?: {
|
|
1177
1249
|
origin?: boolean | undefined;
|
|
1178
1250
|
} | undefined;
|
|
1179
1251
|
} | undefined;
|
|
1180
|
-
i18nDomains?: boolean | undefined;
|
|
1181
1252
|
} | undefined;
|
|
1182
1253
|
legacy?: {} | undefined;
|
|
1183
|
-
root?: string | undefined;
|
|
1184
|
-
srcDir?: string | undefined;
|
|
1185
|
-
compressHTML?: boolean | undefined;
|
|
1186
|
-
publicDir?: string | undefined;
|
|
1187
|
-
outDir?: string | undefined;
|
|
1188
|
-
cacheDir?: string | undefined;
|
|
1189
|
-
build?: {
|
|
1190
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1191
|
-
client?: string | undefined;
|
|
1192
|
-
server?: string | undefined;
|
|
1193
|
-
assets?: string | undefined;
|
|
1194
|
-
assetsPrefix?: string | ({
|
|
1195
|
-
fallback: string;
|
|
1196
|
-
} & Record<string, string>) | undefined;
|
|
1197
|
-
serverEntry?: string | undefined;
|
|
1198
|
-
redirects?: boolean | undefined;
|
|
1199
|
-
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1200
|
-
} | undefined;
|
|
1201
|
-
server?: unknown;
|
|
1202
1254
|
}>, {
|
|
1203
1255
|
image: {
|
|
1204
1256
|
service: {
|
|
@@ -1207,9 +1259,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1207
1259
|
};
|
|
1208
1260
|
domains: string[];
|
|
1209
1261
|
remotePatterns: {
|
|
1262
|
+
port?: string | undefined;
|
|
1210
1263
|
protocol?: string | undefined;
|
|
1211
1264
|
hostname?: string | undefined;
|
|
1212
|
-
port?: string | undefined;
|
|
1213
1265
|
pathname?: string | undefined;
|
|
1214
1266
|
}[];
|
|
1215
1267
|
endpoint?: string | undefined;
|
|
@@ -1260,8 +1312,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1260
1312
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1261
1313
|
shikiConfig: {
|
|
1262
1314
|
langs: ShikiLang[];
|
|
1263
|
-
theme:
|
|
1264
|
-
themes: Record<string, import("shiki
|
|
1315
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
1316
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
1265
1317
|
wrap: boolean | null;
|
|
1266
1318
|
transformers: ShikiTransformer[];
|
|
1267
1319
|
};
|
|
@@ -1303,15 +1355,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1303
1355
|
path: string;
|
|
1304
1356
|
codes: [string, ...string[]];
|
|
1305
1357
|
})[];
|
|
1306
|
-
routing:
|
|
1307
|
-
prefixDefaultLocale: boolean;
|
|
1308
|
-
redirectToDefaultLocale: boolean;
|
|
1309
|
-
}) & ("manual" | {
|
|
1358
|
+
routing: "manual" | {
|
|
1310
1359
|
prefixDefaultLocale: boolean;
|
|
1311
1360
|
redirectToDefaultLocale: boolean;
|
|
1312
|
-
}
|
|
1313
|
-
domains?: Record<string, string> | undefined;
|
|
1361
|
+
};
|
|
1314
1362
|
fallback?: Record<string, string> | undefined;
|
|
1363
|
+
domains?: Record<string, string> | undefined;
|
|
1315
1364
|
} | undefined;
|
|
1316
1365
|
}, {
|
|
1317
1366
|
image?: {
|
|
@@ -1322,17 +1371,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1322
1371
|
} | undefined;
|
|
1323
1372
|
domains?: string[] | undefined;
|
|
1324
1373
|
remotePatterns?: {
|
|
1374
|
+
port?: string | undefined;
|
|
1325
1375
|
protocol?: string | undefined;
|
|
1326
1376
|
hostname?: string | undefined;
|
|
1327
|
-
port?: string | undefined;
|
|
1328
1377
|
pathname?: string | undefined;
|
|
1329
1378
|
}[] | undefined;
|
|
1330
1379
|
} | undefined;
|
|
1380
|
+
server?: unknown;
|
|
1331
1381
|
redirects?: Record<string, string | {
|
|
1332
1382
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1333
1383
|
destination: string;
|
|
1334
1384
|
}> | undefined;
|
|
1385
|
+
root?: string | undefined;
|
|
1386
|
+
srcDir?: string | undefined;
|
|
1387
|
+
publicDir?: string | undefined;
|
|
1388
|
+
outDir?: string | undefined;
|
|
1389
|
+
cacheDir?: string | undefined;
|
|
1335
1390
|
site?: string | undefined;
|
|
1391
|
+
compressHTML?: boolean | undefined;
|
|
1336
1392
|
base?: string | undefined;
|
|
1337
1393
|
trailingSlash?: "ignore" | "always" | "never" | undefined;
|
|
1338
1394
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
@@ -1342,6 +1398,18 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1342
1398
|
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1343
1399
|
} | undefined;
|
|
1344
1400
|
integrations?: unknown;
|
|
1401
|
+
build?: {
|
|
1402
|
+
format?: "file" | "directory" | "preserve" | undefined;
|
|
1403
|
+
client?: string | undefined;
|
|
1404
|
+
server?: string | undefined;
|
|
1405
|
+
assets?: string | undefined;
|
|
1406
|
+
serverEntry?: string | undefined;
|
|
1407
|
+
redirects?: boolean | undefined;
|
|
1408
|
+
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1409
|
+
assetsPrefix?: string | ({
|
|
1410
|
+
fallback: string;
|
|
1411
|
+
} & Record<string, string>) | undefined;
|
|
1412
|
+
} | undefined;
|
|
1345
1413
|
prefetch?: boolean | {
|
|
1346
1414
|
prefetchAll?: boolean | undefined;
|
|
1347
1415
|
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
@@ -1353,8 +1421,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1353
1421
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1354
1422
|
shikiConfig?: {
|
|
1355
1423
|
langs?: ShikiLang[] | undefined;
|
|
1356
|
-
theme?: import("shiki
|
|
1357
|
-
themes?: Record<string, import("shiki
|
|
1424
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
1425
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
1358
1426
|
wrap?: boolean | null | undefined;
|
|
1359
1427
|
transformers?: ShikiTransformer[] | undefined;
|
|
1360
1428
|
} | undefined;
|
|
@@ -1371,8 +1439,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1371
1439
|
path: string;
|
|
1372
1440
|
codes: [string, ...string[]];
|
|
1373
1441
|
})[];
|
|
1374
|
-
domains?: Record<string, string> | undefined;
|
|
1375
1442
|
fallback?: Record<string, string> | undefined;
|
|
1443
|
+
domains?: Record<string, string> | undefined;
|
|
1376
1444
|
routing?: "manual" | {
|
|
1377
1445
|
prefixDefaultLocale?: boolean | undefined;
|
|
1378
1446
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -1384,33 +1452,14 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1384
1452
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
1385
1453
|
clientPrerender?: boolean | undefined;
|
|
1386
1454
|
globalRoutePriority?: boolean | undefined;
|
|
1455
|
+
i18nDomains?: boolean | undefined;
|
|
1387
1456
|
security?: {
|
|
1388
1457
|
csrfProtection?: {
|
|
1389
1458
|
origin?: boolean | undefined;
|
|
1390
1459
|
} | undefined;
|
|
1391
1460
|
} | undefined;
|
|
1392
|
-
i18nDomains?: boolean | undefined;
|
|
1393
1461
|
} | undefined;
|
|
1394
1462
|
legacy?: {} | undefined;
|
|
1395
|
-
root?: string | undefined;
|
|
1396
|
-
srcDir?: string | undefined;
|
|
1397
|
-
compressHTML?: boolean | undefined;
|
|
1398
|
-
publicDir?: string | undefined;
|
|
1399
|
-
outDir?: string | undefined;
|
|
1400
|
-
cacheDir?: string | undefined;
|
|
1401
|
-
build?: {
|
|
1402
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1403
|
-
client?: string | undefined;
|
|
1404
|
-
server?: string | undefined;
|
|
1405
|
-
assets?: string | undefined;
|
|
1406
|
-
assetsPrefix?: string | ({
|
|
1407
|
-
fallback: string;
|
|
1408
|
-
} & Record<string, string>) | undefined;
|
|
1409
|
-
serverEntry?: string | undefined;
|
|
1410
|
-
redirects?: boolean | undefined;
|
|
1411
|
-
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1412
|
-
} | undefined;
|
|
1413
|
-
server?: unknown;
|
|
1414
1463
|
}>, {
|
|
1415
1464
|
image: {
|
|
1416
1465
|
service: {
|
|
@@ -1419,9 +1468,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1419
1468
|
};
|
|
1420
1469
|
domains: string[];
|
|
1421
1470
|
remotePatterns: {
|
|
1471
|
+
port?: string | undefined;
|
|
1422
1472
|
protocol?: string | undefined;
|
|
1423
1473
|
hostname?: string | undefined;
|
|
1424
|
-
port?: string | undefined;
|
|
1425
1474
|
pathname?: string | undefined;
|
|
1426
1475
|
}[];
|
|
1427
1476
|
endpoint?: string | undefined;
|
|
@@ -1472,8 +1521,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1472
1521
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1473
1522
|
shikiConfig: {
|
|
1474
1523
|
langs: ShikiLang[];
|
|
1475
|
-
theme:
|
|
1476
|
-
themes: Record<string, import("shiki
|
|
1524
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
1525
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
1477
1526
|
wrap: boolean | null;
|
|
1478
1527
|
transformers: ShikiTransformer[];
|
|
1479
1528
|
};
|
|
@@ -1515,15 +1564,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1515
1564
|
path: string;
|
|
1516
1565
|
codes: [string, ...string[]];
|
|
1517
1566
|
})[];
|
|
1518
|
-
routing:
|
|
1519
|
-
prefixDefaultLocale: boolean;
|
|
1520
|
-
redirectToDefaultLocale: boolean;
|
|
1521
|
-
}) & ("manual" | {
|
|
1567
|
+
routing: "manual" | {
|
|
1522
1568
|
prefixDefaultLocale: boolean;
|
|
1523
1569
|
redirectToDefaultLocale: boolean;
|
|
1524
|
-
}
|
|
1525
|
-
domains?: Record<string, string> | undefined;
|
|
1570
|
+
};
|
|
1526
1571
|
fallback?: Record<string, string> | undefined;
|
|
1572
|
+
domains?: Record<string, string> | undefined;
|
|
1527
1573
|
} | undefined;
|
|
1528
1574
|
}, {
|
|
1529
1575
|
image?: {
|
|
@@ -1534,17 +1580,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1534
1580
|
} | undefined;
|
|
1535
1581
|
domains?: string[] | undefined;
|
|
1536
1582
|
remotePatterns?: {
|
|
1583
|
+
port?: string | undefined;
|
|
1537
1584
|
protocol?: string | undefined;
|
|
1538
1585
|
hostname?: string | undefined;
|
|
1539
|
-
port?: string | undefined;
|
|
1540
1586
|
pathname?: string | undefined;
|
|
1541
1587
|
}[] | undefined;
|
|
1542
1588
|
} | undefined;
|
|
1589
|
+
server?: unknown;
|
|
1543
1590
|
redirects?: Record<string, string | {
|
|
1544
1591
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1545
1592
|
destination: string;
|
|
1546
1593
|
}> | undefined;
|
|
1594
|
+
root?: string | undefined;
|
|
1595
|
+
srcDir?: string | undefined;
|
|
1596
|
+
publicDir?: string | undefined;
|
|
1597
|
+
outDir?: string | undefined;
|
|
1598
|
+
cacheDir?: string | undefined;
|
|
1547
1599
|
site?: string | undefined;
|
|
1600
|
+
compressHTML?: boolean | undefined;
|
|
1548
1601
|
base?: string | undefined;
|
|
1549
1602
|
trailingSlash?: "ignore" | "always" | "never" | undefined;
|
|
1550
1603
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
@@ -1554,6 +1607,18 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1554
1607
|
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1555
1608
|
} | undefined;
|
|
1556
1609
|
integrations?: unknown;
|
|
1610
|
+
build?: {
|
|
1611
|
+
format?: "file" | "directory" | "preserve" | undefined;
|
|
1612
|
+
client?: string | undefined;
|
|
1613
|
+
server?: string | undefined;
|
|
1614
|
+
assets?: string | undefined;
|
|
1615
|
+
serverEntry?: string | undefined;
|
|
1616
|
+
redirects?: boolean | undefined;
|
|
1617
|
+
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1618
|
+
assetsPrefix?: string | ({
|
|
1619
|
+
fallback: string;
|
|
1620
|
+
} & Record<string, string>) | undefined;
|
|
1621
|
+
} | undefined;
|
|
1557
1622
|
prefetch?: boolean | {
|
|
1558
1623
|
prefetchAll?: boolean | undefined;
|
|
1559
1624
|
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
@@ -1565,8 +1630,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1565
1630
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1566
1631
|
shikiConfig?: {
|
|
1567
1632
|
langs?: ShikiLang[] | undefined;
|
|
1568
|
-
theme?: import("shiki
|
|
1569
|
-
themes?: Record<string, import("shiki
|
|
1633
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
1634
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
1570
1635
|
wrap?: boolean | null | undefined;
|
|
1571
1636
|
transformers?: ShikiTransformer[] | undefined;
|
|
1572
1637
|
} | undefined;
|
|
@@ -1583,8 +1648,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1583
1648
|
path: string;
|
|
1584
1649
|
codes: [string, ...string[]];
|
|
1585
1650
|
})[];
|
|
1586
|
-
domains?: Record<string, string> | undefined;
|
|
1587
1651
|
fallback?: Record<string, string> | undefined;
|
|
1652
|
+
domains?: Record<string, string> | undefined;
|
|
1588
1653
|
routing?: "manual" | {
|
|
1589
1654
|
prefixDefaultLocale?: boolean | undefined;
|
|
1590
1655
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -1596,33 +1661,14 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1596
1661
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
1597
1662
|
clientPrerender?: boolean | undefined;
|
|
1598
1663
|
globalRoutePriority?: boolean | undefined;
|
|
1664
|
+
i18nDomains?: boolean | undefined;
|
|
1599
1665
|
security?: {
|
|
1600
1666
|
csrfProtection?: {
|
|
1601
1667
|
origin?: boolean | undefined;
|
|
1602
1668
|
} | undefined;
|
|
1603
1669
|
} | undefined;
|
|
1604
|
-
i18nDomains?: boolean | undefined;
|
|
1605
1670
|
} | undefined;
|
|
1606
1671
|
legacy?: {} | undefined;
|
|
1607
|
-
root?: string | undefined;
|
|
1608
|
-
srcDir?: string | undefined;
|
|
1609
|
-
compressHTML?: boolean | undefined;
|
|
1610
|
-
publicDir?: string | undefined;
|
|
1611
|
-
outDir?: string | undefined;
|
|
1612
|
-
cacheDir?: string | undefined;
|
|
1613
|
-
build?: {
|
|
1614
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1615
|
-
client?: string | undefined;
|
|
1616
|
-
server?: string | undefined;
|
|
1617
|
-
assets?: string | undefined;
|
|
1618
|
-
assetsPrefix?: string | ({
|
|
1619
|
-
fallback: string;
|
|
1620
|
-
} & Record<string, string>) | undefined;
|
|
1621
|
-
serverEntry?: string | undefined;
|
|
1622
|
-
redirects?: boolean | undefined;
|
|
1623
|
-
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1624
|
-
} | undefined;
|
|
1625
|
-
server?: unknown;
|
|
1626
1672
|
}>, {
|
|
1627
1673
|
image: {
|
|
1628
1674
|
service: {
|
|
@@ -1631,9 +1677,9 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1631
1677
|
};
|
|
1632
1678
|
domains: string[];
|
|
1633
1679
|
remotePatterns: {
|
|
1680
|
+
port?: string | undefined;
|
|
1634
1681
|
protocol?: string | undefined;
|
|
1635
1682
|
hostname?: string | undefined;
|
|
1636
|
-
port?: string | undefined;
|
|
1637
1683
|
pathname?: string | undefined;
|
|
1638
1684
|
}[];
|
|
1639
1685
|
endpoint?: string | undefined;
|
|
@@ -1684,8 +1730,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1684
1730
|
syntaxHighlight: false | "shiki" | "prism";
|
|
1685
1731
|
shikiConfig: {
|
|
1686
1732
|
langs: ShikiLang[];
|
|
1687
|
-
theme:
|
|
1688
|
-
themes: Record<string, import("shiki
|
|
1733
|
+
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
1734
|
+
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
1689
1735
|
wrap: boolean | null;
|
|
1690
1736
|
transformers: ShikiTransformer[];
|
|
1691
1737
|
};
|
|
@@ -1727,15 +1773,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1727
1773
|
path: string;
|
|
1728
1774
|
codes: [string, ...string[]];
|
|
1729
1775
|
})[];
|
|
1730
|
-
routing:
|
|
1731
|
-
prefixDefaultLocale: boolean;
|
|
1732
|
-
redirectToDefaultLocale: boolean;
|
|
1733
|
-
}) & ("manual" | {
|
|
1776
|
+
routing: "manual" | {
|
|
1734
1777
|
prefixDefaultLocale: boolean;
|
|
1735
1778
|
redirectToDefaultLocale: boolean;
|
|
1736
|
-
}
|
|
1737
|
-
domains?: Record<string, string> | undefined;
|
|
1779
|
+
};
|
|
1738
1780
|
fallback?: Record<string, string> | undefined;
|
|
1781
|
+
domains?: Record<string, string> | undefined;
|
|
1739
1782
|
} | undefined;
|
|
1740
1783
|
}, {
|
|
1741
1784
|
image?: {
|
|
@@ -1746,17 +1789,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1746
1789
|
} | undefined;
|
|
1747
1790
|
domains?: string[] | undefined;
|
|
1748
1791
|
remotePatterns?: {
|
|
1792
|
+
port?: string | undefined;
|
|
1749
1793
|
protocol?: string | undefined;
|
|
1750
1794
|
hostname?: string | undefined;
|
|
1751
|
-
port?: string | undefined;
|
|
1752
1795
|
pathname?: string | undefined;
|
|
1753
1796
|
}[] | undefined;
|
|
1754
1797
|
} | undefined;
|
|
1798
|
+
server?: unknown;
|
|
1755
1799
|
redirects?: Record<string, string | {
|
|
1756
1800
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
1757
1801
|
destination: string;
|
|
1758
1802
|
}> | undefined;
|
|
1803
|
+
root?: string | undefined;
|
|
1804
|
+
srcDir?: string | undefined;
|
|
1805
|
+
publicDir?: string | undefined;
|
|
1806
|
+
outDir?: string | undefined;
|
|
1807
|
+
cacheDir?: string | undefined;
|
|
1759
1808
|
site?: string | undefined;
|
|
1809
|
+
compressHTML?: boolean | undefined;
|
|
1760
1810
|
base?: string | undefined;
|
|
1761
1811
|
trailingSlash?: "ignore" | "always" | "never" | undefined;
|
|
1762
1812
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
@@ -1766,6 +1816,18 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1766
1816
|
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1767
1817
|
} | undefined;
|
|
1768
1818
|
integrations?: unknown;
|
|
1819
|
+
build?: {
|
|
1820
|
+
format?: "file" | "directory" | "preserve" | undefined;
|
|
1821
|
+
client?: string | undefined;
|
|
1822
|
+
server?: string | undefined;
|
|
1823
|
+
assets?: string | undefined;
|
|
1824
|
+
serverEntry?: string | undefined;
|
|
1825
|
+
redirects?: boolean | undefined;
|
|
1826
|
+
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1827
|
+
assetsPrefix?: string | ({
|
|
1828
|
+
fallback: string;
|
|
1829
|
+
} & Record<string, string>) | undefined;
|
|
1830
|
+
} | undefined;
|
|
1769
1831
|
prefetch?: boolean | {
|
|
1770
1832
|
prefetchAll?: boolean | undefined;
|
|
1771
1833
|
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
@@ -1777,8 +1839,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1777
1839
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1778
1840
|
shikiConfig?: {
|
|
1779
1841
|
langs?: ShikiLang[] | undefined;
|
|
1780
|
-
theme?: import("shiki
|
|
1781
|
-
themes?: Record<string, import("shiki
|
|
1842
|
+
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
1843
|
+
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
1782
1844
|
wrap?: boolean | null | undefined;
|
|
1783
1845
|
transformers?: ShikiTransformer[] | undefined;
|
|
1784
1846
|
} | undefined;
|
|
@@ -1795,8 +1857,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1795
1857
|
path: string;
|
|
1796
1858
|
codes: [string, ...string[]];
|
|
1797
1859
|
})[];
|
|
1798
|
-
domains?: Record<string, string> | undefined;
|
|
1799
1860
|
fallback?: Record<string, string> | undefined;
|
|
1861
|
+
domains?: Record<string, string> | undefined;
|
|
1800
1862
|
routing?: "manual" | {
|
|
1801
1863
|
prefixDefaultLocale?: boolean | undefined;
|
|
1802
1864
|
redirectToDefaultLocale?: boolean | undefined;
|
|
@@ -1808,32 +1870,13 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1808
1870
|
contentCollectionJsonSchema?: boolean | undefined;
|
|
1809
1871
|
clientPrerender?: boolean | undefined;
|
|
1810
1872
|
globalRoutePriority?: boolean | undefined;
|
|
1873
|
+
i18nDomains?: boolean | undefined;
|
|
1811
1874
|
security?: {
|
|
1812
1875
|
csrfProtection?: {
|
|
1813
1876
|
origin?: boolean | undefined;
|
|
1814
1877
|
} | undefined;
|
|
1815
1878
|
} | undefined;
|
|
1816
|
-
i18nDomains?: boolean | undefined;
|
|
1817
1879
|
} | undefined;
|
|
1818
1880
|
legacy?: {} | undefined;
|
|
1819
|
-
root?: string | undefined;
|
|
1820
|
-
srcDir?: string | undefined;
|
|
1821
|
-
compressHTML?: boolean | undefined;
|
|
1822
|
-
publicDir?: string | undefined;
|
|
1823
|
-
outDir?: string | undefined;
|
|
1824
|
-
cacheDir?: string | undefined;
|
|
1825
|
-
build?: {
|
|
1826
|
-
format?: "file" | "directory" | "preserve" | undefined;
|
|
1827
|
-
client?: string | undefined;
|
|
1828
|
-
server?: string | undefined;
|
|
1829
|
-
assets?: string | undefined;
|
|
1830
|
-
assetsPrefix?: string | ({
|
|
1831
|
-
fallback: string;
|
|
1832
|
-
} & Record<string, string>) | undefined;
|
|
1833
|
-
serverEntry?: string | undefined;
|
|
1834
|
-
redirects?: boolean | undefined;
|
|
1835
|
-
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1836
|
-
} | undefined;
|
|
1837
|
-
server?: unknown;
|
|
1838
1881
|
}>;
|
|
1839
1882
|
export {};
|