astro 3.6.2 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.ts +19 -20
- package/components/Code.astro +0 -20
- package/components/ViewTransitions.astro +2 -2
- package/dist/@types/astro.d.ts +19 -81
- package/dist/assets/build/generate.js +2 -2
- package/dist/assets/internal.js +1 -1
- package/dist/assets/services/vendor/squoosh/avif/avif_node_dec.js +3 -3
- package/dist/assets/services/vendor/squoosh/avif/avif_node_enc.js +3 -3
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_dec.js +3 -3
- package/dist/assets/services/vendor/squoosh/mozjpeg/mozjpeg_node_enc.js +3 -3
- package/dist/assets/services/vendor/squoosh/webp/webp_node_dec.js +3 -3
- package/dist/assets/services/vendor/squoosh/webp/webp_node_enc.js +3 -3
- package/dist/cli/add/babel.d.ts +1 -1
- package/dist/cli/build/index.js +0 -1
- package/dist/cli/flags.js +0 -3
- package/dist/cli/info/index.d.ts +5 -0
- package/dist/cli/info/index.js +16 -7
- package/dist/cli/install-package.js +1 -1
- package/dist/cli/telemetry/index.js +6 -6
- package/dist/content/server-listeners.js +7 -7
- package/dist/content/types-generator.d.ts +1 -4
- package/dist/content/types-generator.js +31 -51
- package/dist/core/app/index.js +2 -4
- package/dist/core/build/buildPipeline.js +3 -3
- package/dist/core/build/generate.js +18 -39
- package/dist/core/build/index.js +10 -32
- package/dist/core/build/internal.js +3 -3
- package/dist/core/build/plugin.d.ts +2 -2
- package/dist/core/build/plugins/plugin-manifest.js +1 -4
- package/dist/core/build/plugins/plugin-pages.js +0 -3
- package/dist/core/build/plugins/plugin-renderers.d.ts +1 -1
- package/dist/core/build/plugins/plugin-ssr.js +5 -6
- package/dist/core/build/static-build.js +4 -7
- package/dist/core/build/types.d.ts +1 -1
- package/dist/core/build/util.js +1 -1
- package/dist/core/config/config.js +1 -2
- package/dist/core/config/schema.d.ts +209 -277
- package/dist/core/config/schema.js +5 -38
- package/dist/core/constants.js +1 -1
- package/dist/core/create-vite.d.ts +2 -2
- package/dist/core/create-vite.js +12 -1
- package/dist/core/dev/dev.js +6 -4
- package/dist/core/dev/restart.js +7 -7
- package/dist/core/endpoint/index.d.ts +2 -7
- package/dist/core/endpoint/index.js +3 -87
- package/dist/core/errors/dev/vite.js +0 -1
- package/dist/core/logger/console.d.ts +2 -4
- package/dist/core/logger/console.js +4 -28
- package/dist/core/logger/core.d.ts +17 -5
- package/dist/core/logger/core.js +27 -2
- package/dist/core/logger/node.d.ts +2 -32
- package/dist/core/logger/node.js +8 -69
- package/dist/core/messages.d.ts +4 -11
- package/dist/core/messages.js +43 -59
- package/dist/core/middleware/callMiddleware.d.ts +1 -2
- package/dist/core/middleware/callMiddleware.js +1 -12
- package/dist/core/middleware/index.d.ts +2 -2
- package/dist/core/middleware/sequence.d.ts +2 -2
- package/dist/core/pipeline.d.ts +2 -2
- package/dist/core/pipeline.js +8 -13
- package/dist/core/preview/static-preview-server.js +2 -4
- package/dist/core/preview/vite-plugin-astro-preview.js +31 -21
- package/dist/core/render/core.js +0 -6
- package/dist/core/render/index.d.ts +1 -1
- package/dist/core/render/result.js +1 -1
- package/dist/core/render/route-cache.js +2 -5
- package/dist/core/request.js +3 -3
- package/dist/core/routing/manifest/create.js +14 -12
- package/dist/core/routing/validation.js +4 -4
- package/dist/core/sync/index.js +2 -2
- package/dist/i18n/middleware.d.ts +2 -2
- package/dist/i18n/vite-plugin-i18n.js +1 -1
- package/dist/integrations/astroFeaturesValidation.d.ts +1 -1
- package/dist/integrations/astroFeaturesValidation.js +12 -18
- package/dist/integrations/index.js +28 -6
- package/dist/prefetch/vite-plugin-prefetch.js +3 -3
- package/dist/runtime/client/dev-overlay/entrypoint.js +14 -10
- package/dist/runtime/client/dev-overlay/overlay.js +1 -1
- package/dist/runtime/client/dev-overlay/plugins/astro.d.ts +14 -1
- package/dist/runtime/client/dev-overlay/plugins/astro.js +326 -15
- package/dist/runtime/client/dev-overlay/plugins/settings.js +26 -2
- package/dist/runtime/client/dev-overlay/plugins/utils/icons.d.ts +3 -0
- package/dist/runtime/client/dev-overlay/plugins/utils/icons.js +37 -0
- package/dist/runtime/client/dev-overlay/plugins/utils/window.d.ts +1 -2
- package/dist/runtime/client/dev-overlay/plugins/utils/window.js +25 -29
- package/dist/runtime/client/dev-overlay/ui-library/badge.d.ts +9 -0
- package/dist/runtime/client/dev-overlay/ui-library/badge.js +67 -0
- package/dist/runtime/client/dev-overlay/ui-library/button.d.ts +9 -0
- package/dist/runtime/client/dev-overlay/ui-library/button.js +83 -0
- package/dist/runtime/client/dev-overlay/ui-library/card.d.ts +1 -3
- package/dist/runtime/client/dev-overlay/ui-library/card.js +17 -25
- package/dist/runtime/client/dev-overlay/ui-library/highlight.js +1 -0
- package/dist/runtime/client/dev-overlay/ui-library/icon.d.ts +10 -0
- package/dist/runtime/client/dev-overlay/ui-library/icon.js +36 -0
- package/dist/runtime/client/dev-overlay/ui-library/icons.d.ts +21 -6
- package/dist/runtime/client/dev-overlay/ui-library/icons.js +22 -7
- package/dist/runtime/client/dev-overlay/ui-library/index.d.ts +8 -0
- package/dist/runtime/client/dev-overlay/ui-library/index.js +18 -0
- package/dist/runtime/client/dev-overlay/ui-library/window.d.ts +0 -4
- package/dist/runtime/client/dev-overlay/ui-library/window.js +0 -33
- package/dist/runtime/server/endpoint.d.ts +1 -1
- package/dist/runtime/server/endpoint.js +11 -22
- package/dist/transitions/vite-plugin-transitions.js +4 -4
- package/dist/virtual-modules/i18n.d.ts +1 -0
- package/dist/virtual-modules/i18n.js +1 -0
- package/dist/virtual-modules/middleware.d.ts +1 -0
- package/dist/virtual-modules/middleware.js +5 -0
- package/dist/virtual-modules/prefetch.d.ts +1 -0
- package/dist/virtual-modules/prefetch.js +1 -0
- package/dist/virtual-modules/transitions-events.d.ts +1 -0
- package/dist/virtual-modules/transitions-events.js +1 -0
- package/dist/virtual-modules/transitions-router.d.ts +1 -0
- package/dist/virtual-modules/transitions-router.js +1 -0
- package/dist/virtual-modules/transitions-types.d.ts +1 -0
- package/dist/virtual-modules/transitions-types.js +1 -0
- package/dist/virtual-modules/transitions.d.ts +1 -0
- package/dist/virtual-modules/transitions.js +1 -0
- package/dist/vite-plugin-astro/hmr.js +8 -14
- package/dist/vite-plugin-astro/index.js +28 -6
- package/dist/vite-plugin-astro-server/base.js +5 -5
- package/dist/vite-plugin-astro-server/response.js +1 -1
- package/dist/vite-plugin-astro-server/route.js +30 -6
- package/dist/vite-plugin-inject-env-ts/index.js +3 -3
- package/dist/vite-plugin-integrations-container/index.js +1 -1
- package/dist/vite-plugin-load-fallback/index.js +1 -3
- package/dist/vite-plugin-scanner/index.js +3 -6
- package/dist/vite-plugin-scripts/index.js +1 -1
- package/dist/vite-plugin-utils/index.d.ts +1 -0
- package/dist/vite-plugin-utils/index.js +5 -0
- package/package.json +56 -68
- package/dist/core/middleware/namespace.d.ts +0 -1
- package/dist/core/middleware/namespace.js +0 -5
- package/dist/vite-plugin-astro-server/common.d.ts +0 -2
- package/dist/vite-plugin-astro-server/common.js +0 -7
- package/import-meta.d.ts +0 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
import type { RehypePlugin, RemarkPlugin,
|
|
3
|
+
import type { RehypePlugin, RemarkPlugin, ShikiConfig } from '@astrojs/markdown-remark';
|
|
4
4
|
import type { ViteUserConfig } from '../../@types/astro.js';
|
|
5
5
|
import type { OutgoingHttpHeaders } from 'node:http';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -56,18 +56,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
56
56
|
serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
57
57
|
redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
58
58
|
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated
|
|
61
|
-
* Use the adapter feature instead
|
|
62
|
-
*/
|
|
63
|
-
split: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated
|
|
66
|
-
* Use the adapter feature instead
|
|
67
|
-
*/
|
|
68
|
-
excludeMiddleware: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
69
59
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
split: boolean;
|
|
71
60
|
format: "file" | "directory";
|
|
72
61
|
client: URL;
|
|
73
62
|
server: URL;
|
|
@@ -75,7 +64,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
75
64
|
serverEntry: string;
|
|
76
65
|
redirects: boolean;
|
|
77
66
|
inlineStylesheets: "always" | "never" | "auto";
|
|
78
|
-
excludeMiddleware: boolean;
|
|
79
67
|
assetsPrefix?: string | undefined;
|
|
80
68
|
}, {
|
|
81
69
|
format?: "file" | "directory" | undefined;
|
|
@@ -86,8 +74,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
86
74
|
serverEntry?: string | undefined;
|
|
87
75
|
redirects?: boolean | undefined;
|
|
88
76
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
89
|
-
split?: boolean | undefined;
|
|
90
|
-
excludeMiddleware?: boolean | undefined;
|
|
91
77
|
}>>;
|
|
92
78
|
server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
93
79
|
open: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -136,8 +122,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
136
122
|
entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>>;
|
|
137
123
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
138
124
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
entrypoint: string;
|
|
140
125
|
config: Record<string, any>;
|
|
126
|
+
entrypoint: string;
|
|
141
127
|
}, {
|
|
142
128
|
entrypoint?: string | undefined;
|
|
143
129
|
config?: Record<string, any> | undefined;
|
|
@@ -161,8 +147,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
161
147
|
}>, "many">>;
|
|
162
148
|
}, "strip", z.ZodTypeAny, {
|
|
163
149
|
service: {
|
|
164
|
-
entrypoint: string;
|
|
165
150
|
config: Record<string, any>;
|
|
151
|
+
entrypoint: string;
|
|
166
152
|
};
|
|
167
153
|
domains: string[];
|
|
168
154
|
remotePatterns: {
|
|
@@ -187,7 +173,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
187
173
|
}[] | undefined;
|
|
188
174
|
}>>;
|
|
189
175
|
markdown: z.ZodDefault<z.ZodObject<{
|
|
190
|
-
drafts: z.ZodDefault<z.ZodBoolean>;
|
|
191
176
|
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
192
177
|
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
193
178
|
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types/langs.mjs").p, z.ZodTypeDef, import("shikiji/dist/types/langs.mjs").p>, "many">, import("shikiji/dist/types/langs.mjs").p[], import("shikiji/dist/types/langs.mjs").p[]>>;
|
|
@@ -207,11 +192,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
207
192
|
}>>;
|
|
208
193
|
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">>;
|
|
209
194
|
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">>;
|
|
210
|
-
remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<
|
|
195
|
+
remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<import("mdast-util-to-hast").Options, z.ZodTypeDef, import("mdast-util-to-hast").Options>>>;
|
|
211
196
|
gfm: z.ZodDefault<z.ZodBoolean>;
|
|
212
197
|
smartypants: z.ZodDefault<z.ZodBoolean>;
|
|
213
198
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
drafts: boolean;
|
|
215
199
|
syntaxHighlight: false | "shiki" | "prism";
|
|
216
200
|
shikiConfig: {
|
|
217
201
|
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
@@ -221,14 +205,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
221
205
|
};
|
|
222
206
|
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
223
207
|
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
224
|
-
remarkRehype:
|
|
225
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
226
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
227
|
-
};
|
|
208
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
228
209
|
gfm: boolean;
|
|
229
210
|
smartypants: boolean;
|
|
230
211
|
}, {
|
|
231
|
-
drafts?: boolean | undefined;
|
|
232
212
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
233
213
|
shikiConfig?: {
|
|
234
214
|
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
@@ -238,7 +218,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
238
218
|
} | undefined;
|
|
239
219
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
240
220
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
241
|
-
remarkRehype?:
|
|
221
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
242
222
|
gfm?: boolean | undefined;
|
|
243
223
|
smartypants?: boolean | undefined;
|
|
244
224
|
}>>;
|
|
@@ -296,6 +276,31 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
296
276
|
}>>;
|
|
297
277
|
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
298
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
build: {
|
|
280
|
+
format: "file" | "directory";
|
|
281
|
+
client: URL;
|
|
282
|
+
server: URL;
|
|
283
|
+
assets: string;
|
|
284
|
+
serverEntry: string;
|
|
285
|
+
redirects: boolean;
|
|
286
|
+
inlineStylesheets: "always" | "never" | "auto";
|
|
287
|
+
assetsPrefix?: string | undefined;
|
|
288
|
+
};
|
|
289
|
+
markdown: {
|
|
290
|
+
syntaxHighlight: false | "shiki" | "prism";
|
|
291
|
+
shikiConfig: {
|
|
292
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
293
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
294
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
295
|
+
wrap: boolean | null;
|
|
296
|
+
};
|
|
297
|
+
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
298
|
+
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
299
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
300
|
+
gfm: boolean;
|
|
301
|
+
smartypants: boolean;
|
|
302
|
+
};
|
|
303
|
+
vite: ViteUserConfig;
|
|
299
304
|
output: "server" | "static" | "hybrid";
|
|
300
305
|
server: {
|
|
301
306
|
host: string | boolean;
|
|
@@ -322,22 +327,10 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
322
327
|
[k: string]: unknown;
|
|
323
328
|
};
|
|
324
329
|
}[];
|
|
325
|
-
build: {
|
|
326
|
-
split: boolean;
|
|
327
|
-
format: "file" | "directory";
|
|
328
|
-
client: URL;
|
|
329
|
-
server: URL;
|
|
330
|
-
assets: string;
|
|
331
|
-
serverEntry: string;
|
|
332
|
-
redirects: boolean;
|
|
333
|
-
inlineStylesheets: "always" | "never" | "auto";
|
|
334
|
-
excludeMiddleware: boolean;
|
|
335
|
-
assetsPrefix?: string | undefined;
|
|
336
|
-
};
|
|
337
330
|
image: {
|
|
338
331
|
service: {
|
|
339
|
-
entrypoint: string;
|
|
340
332
|
config: Record<string, any>;
|
|
333
|
+
entrypoint: string;
|
|
341
334
|
};
|
|
342
335
|
domains: string[];
|
|
343
336
|
remotePatterns: {
|
|
@@ -348,25 +341,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
348
341
|
}[];
|
|
349
342
|
endpoint?: string | undefined;
|
|
350
343
|
};
|
|
351
|
-
markdown: {
|
|
352
|
-
drafts: boolean;
|
|
353
|
-
syntaxHighlight: false | "shiki" | "prism";
|
|
354
|
-
shikiConfig: {
|
|
355
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
356
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
357
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
358
|
-
wrap: boolean | null;
|
|
359
|
-
};
|
|
360
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
361
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
362
|
-
remarkRehype: Omit<import("mdast-util-to-hast").Options, "handlers" | "unknownHandler"> & {
|
|
363
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
364
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
365
|
-
};
|
|
366
|
-
gfm: boolean;
|
|
367
|
-
smartypants: boolean;
|
|
368
|
-
};
|
|
369
|
-
vite: ViteUserConfig;
|
|
370
344
|
experimental: {
|
|
371
345
|
optimizeHoistedScript: boolean;
|
|
372
346
|
devOverlay: boolean;
|
|
@@ -416,8 +390,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
416
390
|
serverEntry?: string | undefined;
|
|
417
391
|
redirects?: boolean | undefined;
|
|
418
392
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
419
|
-
split?: boolean | undefined;
|
|
420
|
-
excludeMiddleware?: boolean | undefined;
|
|
421
393
|
} | undefined;
|
|
422
394
|
server?: unknown;
|
|
423
395
|
redirects?: Record<string, string | {
|
|
@@ -443,7 +415,6 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
443
415
|
}[] | undefined;
|
|
444
416
|
} | undefined;
|
|
445
417
|
markdown?: {
|
|
446
|
-
drafts?: boolean | undefined;
|
|
447
418
|
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
448
419
|
shikiConfig?: {
|
|
449
420
|
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
@@ -453,7 +424,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
453
424
|
} | undefined;
|
|
454
425
|
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
455
426
|
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
456
|
-
remarkRehype?:
|
|
427
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
457
428
|
gfm?: boolean | undefined;
|
|
458
429
|
smartypants?: boolean | undefined;
|
|
459
430
|
} | undefined;
|
|
@@ -473,6 +444,57 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
473
444
|
}>;
|
|
474
445
|
export type AstroConfigType = z.infer<typeof AstroConfigSchema>;
|
|
475
446
|
export declare function createRelativeSchema(cmd: string, fileProtocolRoot: string): z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
447
|
+
markdown: z.ZodDefault<z.ZodObject<{
|
|
448
|
+
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
449
|
+
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
450
|
+
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types/langs.mjs").p, z.ZodTypeDef, import("shikiji/dist/types/langs.mjs").p>, "many">, import("shikiji/dist/types/langs.mjs").p[], import("shikiji/dist/types/langs.mjs").p[]>>;
|
|
451
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
452
|
+
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
453
|
+
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
456
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
457
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
458
|
+
wrap: boolean | null;
|
|
459
|
+
}, {
|
|
460
|
+
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
461
|
+
theme?: ShikiTheme | undefined;
|
|
462
|
+
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
463
|
+
wrap?: boolean | null | undefined;
|
|
464
|
+
}>>;
|
|
465
|
+
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">>;
|
|
466
|
+
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">>;
|
|
467
|
+
remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<import("mdast-util-to-hast").Options, z.ZodTypeDef, import("mdast-util-to-hast").Options>>>;
|
|
468
|
+
gfm: z.ZodDefault<z.ZodBoolean>;
|
|
469
|
+
smartypants: z.ZodDefault<z.ZodBoolean>;
|
|
470
|
+
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
syntaxHighlight: false | "shiki" | "prism";
|
|
472
|
+
shikiConfig: {
|
|
473
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
474
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
475
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
476
|
+
wrap: boolean | null;
|
|
477
|
+
};
|
|
478
|
+
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
479
|
+
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
480
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
481
|
+
gfm: boolean;
|
|
482
|
+
smartypants: boolean;
|
|
483
|
+
}, {
|
|
484
|
+
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
485
|
+
shikiConfig?: {
|
|
486
|
+
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
487
|
+
theme?: ShikiTheme | undefined;
|
|
488
|
+
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
489
|
+
wrap?: boolean | null | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
492
|
+
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
493
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
494
|
+
gfm?: boolean | undefined;
|
|
495
|
+
smartypants?: boolean | undefined;
|
|
496
|
+
}>>;
|
|
497
|
+
vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
|
|
476
498
|
output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
|
|
477
499
|
redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
478
500
|
status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
@@ -533,8 +555,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
533
555
|
entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>>;
|
|
534
556
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
535
557
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
entrypoint: string;
|
|
537
558
|
config: Record<string, any>;
|
|
559
|
+
entrypoint: string;
|
|
538
560
|
}, {
|
|
539
561
|
entrypoint?: string | undefined;
|
|
540
562
|
config?: Record<string, any> | undefined;
|
|
@@ -558,8 +580,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
558
580
|
}>, "many">>;
|
|
559
581
|
}, "strip", z.ZodTypeAny, {
|
|
560
582
|
service: {
|
|
561
|
-
entrypoint: string;
|
|
562
583
|
config: Record<string, any>;
|
|
584
|
+
entrypoint: string;
|
|
563
585
|
};
|
|
564
586
|
domains: string[];
|
|
565
587
|
remotePatterns: {
|
|
@@ -583,63 +605,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
583
605
|
pathname?: string | undefined;
|
|
584
606
|
}[] | undefined;
|
|
585
607
|
}>>;
|
|
586
|
-
markdown: z.ZodDefault<z.ZodObject<{
|
|
587
|
-
drafts: z.ZodDefault<z.ZodBoolean>;
|
|
588
|
-
syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
|
|
589
|
-
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
590
|
-
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types/langs.mjs").p, z.ZodTypeDef, import("shikiji/dist/types/langs.mjs").p>, "many">, import("shikiji/dist/types/langs.mjs").p[], import("shikiji/dist/types/langs.mjs").p[]>>;
|
|
591
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
|
|
592
|
-
experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
|
|
593
|
-
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
594
|
-
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
596
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
597
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
598
|
-
wrap: boolean | null;
|
|
599
|
-
}, {
|
|
600
|
-
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
601
|
-
theme?: ShikiTheme | undefined;
|
|
602
|
-
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
603
|
-
wrap?: boolean | null | undefined;
|
|
604
|
-
}>>;
|
|
605
|
-
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">>;
|
|
606
|
-
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">>;
|
|
607
|
-
remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<RemarkRehype, z.ZodTypeDef, RemarkRehype>>>;
|
|
608
|
-
gfm: z.ZodDefault<z.ZodBoolean>;
|
|
609
|
-
smartypants: z.ZodDefault<z.ZodBoolean>;
|
|
610
|
-
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
drafts: boolean;
|
|
612
|
-
syntaxHighlight: false | "shiki" | "prism";
|
|
613
|
-
shikiConfig: {
|
|
614
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
615
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
616
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
617
|
-
wrap: boolean | null;
|
|
618
|
-
};
|
|
619
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
620
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
621
|
-
remarkRehype: Omit<import("mdast-util-to-hast").Options, "handlers" | "unknownHandler"> & {
|
|
622
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
623
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
624
|
-
};
|
|
625
|
-
gfm: boolean;
|
|
626
|
-
smartypants: boolean;
|
|
627
|
-
}, {
|
|
628
|
-
drafts?: boolean | undefined;
|
|
629
|
-
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
630
|
-
shikiConfig?: {
|
|
631
|
-
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
632
|
-
theme?: ShikiTheme | undefined;
|
|
633
|
-
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
634
|
-
wrap?: boolean | null | undefined;
|
|
635
|
-
} | undefined;
|
|
636
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
637
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
638
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
639
|
-
gfm?: boolean | undefined;
|
|
640
|
-
smartypants?: boolean | undefined;
|
|
641
|
-
}>>;
|
|
642
|
-
vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
|
|
643
608
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
644
609
|
optimizeHoistedScript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
645
610
|
devOverlay: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -707,10 +672,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
707
672
|
serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
708
673
|
redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
709
674
|
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
|
|
710
|
-
split: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
711
|
-
excludeMiddleware: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
712
675
|
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
split: boolean;
|
|
714
676
|
format: "file" | "directory";
|
|
715
677
|
client: import("url").URL;
|
|
716
678
|
server: import("url").URL;
|
|
@@ -718,7 +680,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
718
680
|
serverEntry: string;
|
|
719
681
|
redirects: boolean;
|
|
720
682
|
inlineStylesheets: "always" | "never" | "auto";
|
|
721
|
-
excludeMiddleware: boolean;
|
|
722
683
|
assetsPrefix?: string | undefined;
|
|
723
684
|
}, {
|
|
724
685
|
format?: "file" | "directory" | undefined;
|
|
@@ -729,8 +690,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
729
690
|
serverEntry?: string | undefined;
|
|
730
691
|
redirects?: boolean | undefined;
|
|
731
692
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
732
|
-
split?: boolean | undefined;
|
|
733
|
-
excludeMiddleware?: boolean | undefined;
|
|
734
693
|
}>>>;
|
|
735
694
|
server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
736
695
|
host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -758,6 +717,31 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
758
717
|
headers?: OutgoingHttpHeaders | undefined;
|
|
759
718
|
}, unknown>;
|
|
760
719
|
}, "strip", z.ZodTypeAny, {
|
|
720
|
+
build: {
|
|
721
|
+
format: "file" | "directory";
|
|
722
|
+
client: import("url").URL;
|
|
723
|
+
server: import("url").URL;
|
|
724
|
+
assets: string;
|
|
725
|
+
serverEntry: string;
|
|
726
|
+
redirects: boolean;
|
|
727
|
+
inlineStylesheets: "always" | "never" | "auto";
|
|
728
|
+
assetsPrefix?: string | undefined;
|
|
729
|
+
};
|
|
730
|
+
markdown: {
|
|
731
|
+
syntaxHighlight: false | "shiki" | "prism";
|
|
732
|
+
shikiConfig: {
|
|
733
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
734
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
735
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
736
|
+
wrap: boolean | null;
|
|
737
|
+
};
|
|
738
|
+
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
739
|
+
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
740
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
741
|
+
gfm: boolean;
|
|
742
|
+
smartypants: boolean;
|
|
743
|
+
};
|
|
744
|
+
vite: ViteUserConfig;
|
|
761
745
|
output: "server" | "static" | "hybrid";
|
|
762
746
|
server: {
|
|
763
747
|
host: string | boolean;
|
|
@@ -785,22 +769,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
785
769
|
[k: string]: unknown;
|
|
786
770
|
};
|
|
787
771
|
}[];
|
|
788
|
-
build: {
|
|
789
|
-
split: boolean;
|
|
790
|
-
format: "file" | "directory";
|
|
791
|
-
client: import("url").URL;
|
|
792
|
-
server: import("url").URL;
|
|
793
|
-
assets: string;
|
|
794
|
-
serverEntry: string;
|
|
795
|
-
redirects: boolean;
|
|
796
|
-
inlineStylesheets: "always" | "never" | "auto";
|
|
797
|
-
excludeMiddleware: boolean;
|
|
798
|
-
assetsPrefix?: string | undefined;
|
|
799
|
-
};
|
|
800
772
|
image: {
|
|
801
773
|
service: {
|
|
802
|
-
entrypoint: string;
|
|
803
774
|
config: Record<string, any>;
|
|
775
|
+
entrypoint: string;
|
|
804
776
|
};
|
|
805
777
|
domains: string[];
|
|
806
778
|
remotePatterns: {
|
|
@@ -811,25 +783,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
811
783
|
}[];
|
|
812
784
|
endpoint?: string | undefined;
|
|
813
785
|
};
|
|
814
|
-
markdown: {
|
|
815
|
-
drafts: boolean;
|
|
816
|
-
syntaxHighlight: false | "shiki" | "prism";
|
|
817
|
-
shikiConfig: {
|
|
818
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
819
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
820
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
821
|
-
wrap: boolean | null;
|
|
822
|
-
};
|
|
823
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
824
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
825
|
-
remarkRehype: Omit<import("mdast-util-to-hast").Options, "handlers" | "unknownHandler"> & {
|
|
826
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
827
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
828
|
-
};
|
|
829
|
-
gfm: boolean;
|
|
830
|
-
smartypants: boolean;
|
|
831
|
-
};
|
|
832
|
-
vite: ViteUserConfig;
|
|
833
786
|
experimental: {
|
|
834
787
|
optimizeHoistedScript: boolean;
|
|
835
788
|
devOverlay: boolean;
|
|
@@ -854,6 +807,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
854
807
|
defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
|
|
855
808
|
} | undefined;
|
|
856
809
|
}, {
|
|
810
|
+
markdown?: {
|
|
811
|
+
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
812
|
+
shikiConfig?: {
|
|
813
|
+
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
814
|
+
theme?: ShikiTheme | undefined;
|
|
815
|
+
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
816
|
+
wrap?: boolean | null | undefined;
|
|
817
|
+
} | undefined;
|
|
818
|
+
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
819
|
+
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
820
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
821
|
+
gfm?: boolean | undefined;
|
|
822
|
+
smartypants?: boolean | undefined;
|
|
823
|
+
} | undefined;
|
|
824
|
+
vite?: ViteUserConfig | undefined;
|
|
857
825
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
858
826
|
redirects?: Record<string, string | {
|
|
859
827
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
@@ -886,22 +854,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
886
854
|
pathname?: string | undefined;
|
|
887
855
|
}[] | undefined;
|
|
888
856
|
} | undefined;
|
|
889
|
-
markdown?: {
|
|
890
|
-
drafts?: boolean | undefined;
|
|
891
|
-
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
892
|
-
shikiConfig?: {
|
|
893
|
-
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
894
|
-
theme?: ShikiTheme | undefined;
|
|
895
|
-
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
896
|
-
wrap?: boolean | null | undefined;
|
|
897
|
-
} | undefined;
|
|
898
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
899
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
900
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
901
|
-
gfm?: boolean | undefined;
|
|
902
|
-
smartypants?: boolean | undefined;
|
|
903
|
-
} | undefined;
|
|
904
|
-
vite?: ViteUserConfig | undefined;
|
|
905
857
|
experimental?: {
|
|
906
858
|
optimizeHoistedScript?: boolean | undefined;
|
|
907
859
|
devOverlay?: boolean | undefined;
|
|
@@ -929,11 +881,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
929
881
|
serverEntry?: string | undefined;
|
|
930
882
|
redirects?: boolean | undefined;
|
|
931
883
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
932
|
-
split?: boolean | undefined;
|
|
933
|
-
excludeMiddleware?: boolean | undefined;
|
|
934
884
|
} | undefined;
|
|
935
885
|
server?: unknown;
|
|
936
886
|
}>, {
|
|
887
|
+
build: {
|
|
888
|
+
format: "file" | "directory";
|
|
889
|
+
client: import("url").URL;
|
|
890
|
+
server: import("url").URL;
|
|
891
|
+
assets: string;
|
|
892
|
+
serverEntry: string;
|
|
893
|
+
redirects: boolean;
|
|
894
|
+
inlineStylesheets: "always" | "never" | "auto";
|
|
895
|
+
assetsPrefix?: string | undefined;
|
|
896
|
+
};
|
|
897
|
+
markdown: {
|
|
898
|
+
syntaxHighlight: false | "shiki" | "prism";
|
|
899
|
+
shikiConfig: {
|
|
900
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
901
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
902
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
903
|
+
wrap: boolean | null;
|
|
904
|
+
};
|
|
905
|
+
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
906
|
+
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
907
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
908
|
+
gfm: boolean;
|
|
909
|
+
smartypants: boolean;
|
|
910
|
+
};
|
|
911
|
+
vite: ViteUserConfig;
|
|
937
912
|
output: "server" | "static" | "hybrid";
|
|
938
913
|
server: {
|
|
939
914
|
host: string | boolean;
|
|
@@ -961,22 +936,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
961
936
|
[k: string]: unknown;
|
|
962
937
|
};
|
|
963
938
|
}[];
|
|
964
|
-
build: {
|
|
965
|
-
split: boolean;
|
|
966
|
-
format: "file" | "directory";
|
|
967
|
-
client: import("url").URL;
|
|
968
|
-
server: import("url").URL;
|
|
969
|
-
assets: string;
|
|
970
|
-
serverEntry: string;
|
|
971
|
-
redirects: boolean;
|
|
972
|
-
inlineStylesheets: "always" | "never" | "auto";
|
|
973
|
-
excludeMiddleware: boolean;
|
|
974
|
-
assetsPrefix?: string | undefined;
|
|
975
|
-
};
|
|
976
939
|
image: {
|
|
977
940
|
service: {
|
|
978
|
-
entrypoint: string;
|
|
979
941
|
config: Record<string, any>;
|
|
942
|
+
entrypoint: string;
|
|
980
943
|
};
|
|
981
944
|
domains: string[];
|
|
982
945
|
remotePatterns: {
|
|
@@ -987,25 +950,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
987
950
|
}[];
|
|
988
951
|
endpoint?: string | undefined;
|
|
989
952
|
};
|
|
990
|
-
markdown: {
|
|
991
|
-
drafts: boolean;
|
|
992
|
-
syntaxHighlight: false | "shiki" | "prism";
|
|
993
|
-
shikiConfig: {
|
|
994
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
995
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
996
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
997
|
-
wrap: boolean | null;
|
|
998
|
-
};
|
|
999
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1000
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
1001
|
-
remarkRehype: Omit<import("mdast-util-to-hast").Options, "handlers" | "unknownHandler"> & {
|
|
1002
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
1003
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
1004
|
-
};
|
|
1005
|
-
gfm: boolean;
|
|
1006
|
-
smartypants: boolean;
|
|
1007
|
-
};
|
|
1008
|
-
vite: ViteUserConfig;
|
|
1009
953
|
experimental: {
|
|
1010
954
|
optimizeHoistedScript: boolean;
|
|
1011
955
|
devOverlay: boolean;
|
|
@@ -1030,6 +974,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1030
974
|
defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
|
|
1031
975
|
} | undefined;
|
|
1032
976
|
}, {
|
|
977
|
+
markdown?: {
|
|
978
|
+
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
979
|
+
shikiConfig?: {
|
|
980
|
+
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
981
|
+
theme?: ShikiTheme | undefined;
|
|
982
|
+
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
983
|
+
wrap?: boolean | null | undefined;
|
|
984
|
+
} | undefined;
|
|
985
|
+
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
986
|
+
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
987
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
988
|
+
gfm?: boolean | undefined;
|
|
989
|
+
smartypants?: boolean | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
vite?: ViteUserConfig | undefined;
|
|
1033
992
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
1034
993
|
redirects?: Record<string, string | {
|
|
1035
994
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
@@ -1062,22 +1021,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1062
1021
|
pathname?: string | undefined;
|
|
1063
1022
|
}[] | undefined;
|
|
1064
1023
|
} | undefined;
|
|
1065
|
-
markdown?: {
|
|
1066
|
-
drafts?: boolean | undefined;
|
|
1067
|
-
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1068
|
-
shikiConfig?: {
|
|
1069
|
-
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
1070
|
-
theme?: ShikiTheme | undefined;
|
|
1071
|
-
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
1072
|
-
wrap?: boolean | null | undefined;
|
|
1073
|
-
} | undefined;
|
|
1074
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1075
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
1076
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
1077
|
-
gfm?: boolean | undefined;
|
|
1078
|
-
smartypants?: boolean | undefined;
|
|
1079
|
-
} | undefined;
|
|
1080
|
-
vite?: ViteUserConfig | undefined;
|
|
1081
1024
|
experimental?: {
|
|
1082
1025
|
optimizeHoistedScript?: boolean | undefined;
|
|
1083
1026
|
devOverlay?: boolean | undefined;
|
|
@@ -1105,11 +1048,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1105
1048
|
serverEntry?: string | undefined;
|
|
1106
1049
|
redirects?: boolean | undefined;
|
|
1107
1050
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1108
|
-
split?: boolean | undefined;
|
|
1109
|
-
excludeMiddleware?: boolean | undefined;
|
|
1110
1051
|
} | undefined;
|
|
1111
1052
|
server?: unknown;
|
|
1112
1053
|
}>, {
|
|
1054
|
+
build: {
|
|
1055
|
+
format: "file" | "directory";
|
|
1056
|
+
client: import("url").URL;
|
|
1057
|
+
server: import("url").URL;
|
|
1058
|
+
assets: string;
|
|
1059
|
+
serverEntry: string;
|
|
1060
|
+
redirects: boolean;
|
|
1061
|
+
inlineStylesheets: "always" | "never" | "auto";
|
|
1062
|
+
assetsPrefix?: string | undefined;
|
|
1063
|
+
};
|
|
1064
|
+
markdown: {
|
|
1065
|
+
syntaxHighlight: false | "shiki" | "prism";
|
|
1066
|
+
shikiConfig: {
|
|
1067
|
+
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
1068
|
+
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
1069
|
+
experimentalThemes: Record<string, ShikiTheme>;
|
|
1070
|
+
wrap: boolean | null;
|
|
1071
|
+
};
|
|
1072
|
+
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1073
|
+
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
1074
|
+
remarkRehype: import("mdast-util-to-hast").Options;
|
|
1075
|
+
gfm: boolean;
|
|
1076
|
+
smartypants: boolean;
|
|
1077
|
+
};
|
|
1078
|
+
vite: ViteUserConfig;
|
|
1113
1079
|
output: "server" | "static" | "hybrid";
|
|
1114
1080
|
server: {
|
|
1115
1081
|
host: string | boolean;
|
|
@@ -1137,22 +1103,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1137
1103
|
[k: string]: unknown;
|
|
1138
1104
|
};
|
|
1139
1105
|
}[];
|
|
1140
|
-
build: {
|
|
1141
|
-
split: boolean;
|
|
1142
|
-
format: "file" | "directory";
|
|
1143
|
-
client: import("url").URL;
|
|
1144
|
-
server: import("url").URL;
|
|
1145
|
-
assets: string;
|
|
1146
|
-
serverEntry: string;
|
|
1147
|
-
redirects: boolean;
|
|
1148
|
-
inlineStylesheets: "always" | "never" | "auto";
|
|
1149
|
-
excludeMiddleware: boolean;
|
|
1150
|
-
assetsPrefix?: string | undefined;
|
|
1151
|
-
};
|
|
1152
1106
|
image: {
|
|
1153
1107
|
service: {
|
|
1154
|
-
entrypoint: string;
|
|
1155
1108
|
config: Record<string, any>;
|
|
1109
|
+
entrypoint: string;
|
|
1156
1110
|
};
|
|
1157
1111
|
domains: string[];
|
|
1158
1112
|
remotePatterns: {
|
|
@@ -1163,25 +1117,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1163
1117
|
}[];
|
|
1164
1118
|
endpoint?: string | undefined;
|
|
1165
1119
|
};
|
|
1166
|
-
markdown: {
|
|
1167
|
-
drafts: boolean;
|
|
1168
|
-
syntaxHighlight: false | "shiki" | "prism";
|
|
1169
|
-
shikiConfig: {
|
|
1170
|
-
langs: import("shikiji/dist/types/langs.mjs").p[];
|
|
1171
|
-
theme: ShikiTheme & (ShikiTheme | undefined);
|
|
1172
|
-
experimentalThemes: Record<string, ShikiTheme>;
|
|
1173
|
-
wrap: boolean | null;
|
|
1174
|
-
};
|
|
1175
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1176
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
1177
|
-
remarkRehype: Omit<import("mdast-util-to-hast").Options, "handlers" | "unknownHandler"> & {
|
|
1178
|
-
handlers?: typeof import("mdast-util-to-hast").all | undefined;
|
|
1179
|
-
handler?: typeof import("mdast-util-to-hast").one | undefined;
|
|
1180
|
-
};
|
|
1181
|
-
gfm: boolean;
|
|
1182
|
-
smartypants: boolean;
|
|
1183
|
-
};
|
|
1184
|
-
vite: ViteUserConfig;
|
|
1185
1120
|
experimental: {
|
|
1186
1121
|
optimizeHoistedScript: boolean;
|
|
1187
1122
|
devOverlay: boolean;
|
|
@@ -1206,6 +1141,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1206
1141
|
defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
|
|
1207
1142
|
} | undefined;
|
|
1208
1143
|
}, {
|
|
1144
|
+
markdown?: {
|
|
1145
|
+
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1146
|
+
shikiConfig?: {
|
|
1147
|
+
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
1148
|
+
theme?: ShikiTheme | undefined;
|
|
1149
|
+
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
1150
|
+
wrap?: boolean | null | undefined;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1153
|
+
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
1154
|
+
remarkRehype?: import("mdast-util-to-hast").Options | undefined;
|
|
1155
|
+
gfm?: boolean | undefined;
|
|
1156
|
+
smartypants?: boolean | undefined;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
vite?: ViteUserConfig | undefined;
|
|
1209
1159
|
output?: "server" | "static" | "hybrid" | undefined;
|
|
1210
1160
|
redirects?: Record<string, string | {
|
|
1211
1161
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
@@ -1238,22 +1188,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1238
1188
|
pathname?: string | undefined;
|
|
1239
1189
|
}[] | undefined;
|
|
1240
1190
|
} | undefined;
|
|
1241
|
-
markdown?: {
|
|
1242
|
-
drafts?: boolean | undefined;
|
|
1243
|
-
syntaxHighlight?: false | "shiki" | "prism" | undefined;
|
|
1244
|
-
shikiConfig?: {
|
|
1245
|
-
langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
|
|
1246
|
-
theme?: ShikiTheme | undefined;
|
|
1247
|
-
experimentalThemes?: Record<string, ShikiTheme> | undefined;
|
|
1248
|
-
wrap?: boolean | null | undefined;
|
|
1249
|
-
} | undefined;
|
|
1250
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1251
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
1252
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
1253
|
-
gfm?: boolean | undefined;
|
|
1254
|
-
smartypants?: boolean | undefined;
|
|
1255
|
-
} | undefined;
|
|
1256
|
-
vite?: ViteUserConfig | undefined;
|
|
1257
1191
|
experimental?: {
|
|
1258
1192
|
optimizeHoistedScript?: boolean | undefined;
|
|
1259
1193
|
devOverlay?: boolean | undefined;
|
|
@@ -1281,8 +1215,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1281
1215
|
serverEntry?: string | undefined;
|
|
1282
1216
|
redirects?: boolean | undefined;
|
|
1283
1217
|
inlineStylesheets?: "always" | "never" | "auto" | undefined;
|
|
1284
|
-
split?: boolean | undefined;
|
|
1285
|
-
excludeMiddleware?: boolean | undefined;
|
|
1286
1218
|
} | undefined;
|
|
1287
1219
|
server?: unknown;
|
|
1288
1220
|
}>;
|