Variable AstroConfigSchemaConst
AstroConfigSchema: ZodObject<{ adapter: ZodOptional<ZodObject<{ hooks: ZodDefault<ZodObject<{}, "passthrough", ZodTypeAny, objectOutputType<{}, ZodTypeAny, "passthrough">, objectInputType<{}, ZodTypeAny, "passthrough">>>; name: ZodString; }, "strip", ZodTypeAny, { hooks: {} & { [
k:
string]
: unknown; }; name: string; }, { hooks?: objectInputType<{}, ZodTypeAny, "passthrough">; name: string; }>>; base: ZodDefault<ZodOptional<ZodString>>; build: ZodDefault<ZodObject<{ assets: ZodDefault<ZodOptional<ZodString>>; assetsPrefix: ZodEffects<ZodUnion<[ZodOptional<ZodString>, ZodOptional<ZodIntersection<ZodObject<(...
), (...
), (...
), (...
), (...
)>, ZodRecord<(...
), (...
)>>>]>, string | { fallback: string; } & Record<string, string> | undefined, string | { fallback: string; } & Record<string, string> | undefined>; client: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; format: ZodDefault<ZodOptional<ZodUnion<[ZodLiteral<"file">, ZodLiteral<"directory">, ZodLiteral<"preserve">]>>>; inlineStylesheets: ZodDefault<ZodOptional<ZodEnum<["always", "auto", "never"]>>>; redirects: ZodDefault<ZodOptional<ZodBoolean>>; server: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; serverEntry: ZodDefault<ZodOptional<ZodString>>; }, "strip", ZodTypeAny, { assets: string; assetsPrefix?: string | { fallback: string; } & Record<string, string>; client: URL; format: "file" | "directory" | "preserve"; inlineStylesheets: "always" | "never" | "auto"; redirects: boolean; server: URL; serverEntry: string; }, { assets?: string; assetsPrefix?: string | { fallback: string; } & Record<string, string>; client?: string; format?: "file" | "directory" | "preserve"; inlineStylesheets?: "always" | "never" | "auto"; redirects?: boolean; server?: string; serverEntry?: string; }>>; cacheDir: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; compressHTML: ZodDefault<ZodOptional<ZodBoolean>>; devToolbar: ZodDefault<ZodObject<{ enabled: ZodDefault<ZodBoolean>; }, "strip", ZodTypeAny, { enabled: boolean; }, { enabled?: boolean; }>>; experimental: ZodDefault<ZodObject<{ actions: ZodDefault<ZodOptional<ZodBoolean>>; clientPrerender: ZodDefault<ZodOptional<ZodBoolean>>; contentCollectionCache: ZodDefault<ZodOptional<ZodBoolean>>; contentCollectionJsonSchema: ZodDefault<ZodOptional<ZodBoolean>>; directRenderScript: ZodDefault<ZodOptional<ZodBoolean>>; env: ZodOptional<ZodObject<{ schema: ZodOptional<ZodEffects<ZodRecord<(...
), (...
)>, Record<(...
), (...
)>, Record<(...
), (...
)>>>; }, "strict", ZodTypeAny, { schema?: Record<string, (...
) & (...
)>; }, { schema?: Record<string, (...
) & (...
)>; }>>; globalRoutePriority: ZodDefault<ZodOptional<ZodBoolean>>; rewriting: ZodDefault<ZodOptional<ZodBoolean>>; }, "strict", ZodTypeAny, { actions: boolean; clientPrerender: boolean; contentCollectionCache: boolean; contentCollectionJsonSchema: boolean; directRenderScript: boolean; env?: { schema?: Record<string, (...
) & (...
)>; }; globalRoutePriority: boolean; rewriting: boolean; }, { actions?: boolean; clientPrerender?: boolean; contentCollectionCache?: boolean; contentCollectionJsonSchema?: boolean; directRenderScript?: boolean; env?: { schema?: Record<string, (...
) & (...
)>; }; globalRoutePriority?: boolean; rewriting?: boolean; }>>; i18n: ZodOptional<ZodEffects<ZodOptional<ZodObject<{ defaultLocale: ZodString; domains: ZodOptional<ZodRecord<ZodString, ZodString>>; fallback: ZodOptional<ZodRecord<ZodString, ZodString>>; locales: ZodArray<ZodUnion<[ZodString, ZodObject<(...
), (...
), (...
), (...
), (...
)>]>, "many">; routing: ZodDefault<ZodOptional<ZodUnion<[(...
), (...
)]>>>; }, "strip", ZodTypeAny, { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: ...
; path: ...
; })[]; routing: "manual" | { prefixDefaultLocale: boolean; redirectToDefaultLocale: boolean; }; }, { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: ...
; path: ...
; })[]; routing?: "manual" | { prefixDefaultLocale?: boolean; redirectToDefaultLocale?: boolean; }; }>>, { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: [(...
), (...
)]; path: string; })[]; routing: "manual" | { prefixDefaultLocale: boolean; redirectToDefaultLocale: boolean; }; } | undefined, { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: [(...
), (...
)]; path: string; })[]; routing?: "manual" | { prefixDefaultLocale?: boolean; redirectToDefaultLocale?: boolean; }; } | undefined>>; image: ZodDefault<ZodObject<{ domains: ZodDefault<ZodArray<ZodString, "many">>; endpoint: ZodOptional<ZodString>; remotePatterns: ZodDefault<ZodArray<ZodObject<{ hostname: ZodOptional<ZodEffects<(...
), (...
), (...
)>>; pathname: ZodOptional<ZodEffects<(...
), (...
), (...
)>>; port: ZodOptional<ZodString>; protocol: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { hostname?: string; pathname?: string; port?: string; protocol?: string; }, { hostname?: string; pathname?: string; port?: string; protocol?: string; }>, "many">>; service: ZodDefault<ZodObject<{ config: ZodDefault<ZodRecord<ZodString, ZodAny>>; entrypoint: ZodDefault<ZodUnion<[(...
), (...
), (...
)]>>; }, "strip", ZodTypeAny, { config: Record<string, any>; entrypoint: string; }, { config?: Record<string, any>; entrypoint?: string; }>>; }, "strip", ZodTypeAny, { domains: string[]; endpoint?: string; remotePatterns: { hostname?: string; pathname?: string; port?: string; protocol?: string; }[]; service: { config: Record<string, any>; entrypoint: string; }; }, { domains?: string[]; endpoint?: string; remotePatterns?: { hostname?: string; pathname?: string; port?: string; protocol?: string; }[]; service?: { config?: Record<string, any>; entrypoint?: string; }; }>>; integrations: ZodEffects<ZodDefault<ZodArray<ZodObject<{ hooks: ZodDefault<ZodObject<{}, "passthrough", ZodTypeAny, objectOutputType<{}, ZodTypeAny, "passthrough">, objectInputType<{}, ZodTypeAny, "passthrough">>>; name: ZodString; }, "strip", ZodTypeAny, { hooks: {} & { [
k:
string]
: unknown; }; name: string; }, { hooks?: objectInputType<{}, ZodTypeAny, "passthrough">; name: string; }>, "many">>, { hooks: {} & { [
k:
string]
: unknown; }; name: string; }[], unknown>; legacy: ZodDefault<ZodObject<{}, "strip", ZodTypeAny, {}, {}>>; markdown: ZodDefault<ZodObject<{ gfm: ZodDefault<ZodBoolean>; rehypePlugins: ZodDefault<ZodArray<ZodUnion<[ZodString, ZodTuple<[(...
), (...
)], null>, ZodType<RehypePlugin, ZodTypeDef, RehypePlugin>, ZodTuple<[(...
), (...
)], null>]>, "many">>; remarkPlugins: ZodDefault<ZodArray<ZodUnion<[ZodString, ZodTuple<[(...
), (...
)], null>, ZodType<RemarkPlugin, ZodTypeDef, RemarkPlugin>, ZodTuple<[(...
), (...
)], null>]>, "many">>; remarkRehype: ZodDefault<ZodType<RemarkRehype, ZodTypeDef, RemarkRehype>>; shikiConfig: ZodDefault<ZodObject<{ langs: ZodDefault<ZodEffects<ZodArray<(...
), (...
)>, (...
)[], (...
)[]>>; theme: ZodDefault<ZodUnion<[(...
), (...
)]>>; themes: ZodDefault<ZodRecord<ZodString, ZodUnion<(...
)>>>; transformers: ZodDefault<ZodEffects<ZodArray<(...
), (...
)>, (...
)[], (...
)[]>>; wrap: ZodDefault<ZodUnion<[(...
), (...
)]>>; }, "strip", ZodTypeAny, { langs: ShikiLang[]; theme: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes: Record<string, "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme>; transformers: ShikiTransformer[]; wrap: boolean | null; }, { langs?: ShikiLang[]; theme?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes?: Record<string, (...
) | (...
)>; transformers?: ShikiTransformer[]; wrap?: boolean | null; }>>; smartypants: ZodDefault<ZodBoolean>; syntaxHighlight: ZodDefault<ZodUnion<[ZodLiteral<"shiki">, ZodLiteral<"prism">, ZodLiteral<false>]>>; }, "strip", ZodTypeAny, { gfm: boolean; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; remarkRehype: RemarkRehype; shikiConfig: { langs: ShikiLang[]; theme: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes: Record<string, "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme>; transformers: ShikiTransformer[]; wrap: boolean | null; }; smartypants: boolean; syntaxHighlight: false | "shiki" | "prism"; }, { gfm?: boolean; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; remarkRehype?: RemarkRehype; shikiConfig?: { langs?: ShikiLang[]; theme?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes?: Record<string, "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme>; transformers?: ShikiTransformer[]; wrap?: boolean | null; }; smartypants?: boolean; syntaxHighlight?: false | "shiki" | "prism"; }>>; outDir: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; output: ZodDefault<ZodOptional<ZodUnion<[ZodLiteral<"static">, ZodLiteral<"server">, ZodLiteral<"hybrid">]>>>; prefetch: ZodOptional<ZodUnion<[ZodBoolean, ZodObject<{ defaultStrategy: ZodOptional<ZodEnum<["tap", "hover", "viewport", "load"]>>; prefetchAll: ZodOptional<ZodBoolean>; }, "strip", ZodTypeAny, { defaultStrategy?: "tap" | "hover" | "viewport" | "load"; prefetchAll?: boolean; }, { defaultStrategy?: "tap" | "hover" | "viewport" | "load"; prefetchAll?: boolean; }>]>>; publicDir: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; redirects: ZodDefault<ZodRecord<ZodString, ZodUnion<[ZodString, ZodObject<{ destination: ZodString; status: ZodUnion<[ZodLiteral<(...
)>, ZodLiteral<(...
)>, ZodLiteral<(...
)>, ZodLiteral<(...
)>, ZodLiteral<(...
)>, ZodLiteral<(...
)>, ZodLiteral<(...
)>]>; }, "strip", ZodTypeAny, { destination: string; status: 300 | 301 | 302 | 303 | 304 | 307 | 308; }, { destination: string; status: 300 | 301 | 302 | 303 | 304 | 307 | 308; }>]>>>; root: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; scopedStyleStrategy: ZodDefault<ZodOptional<ZodUnion<[ZodLiteral<"where">, ZodLiteral<"class">, ZodLiteral<"attribute">]>>>; security: ZodDefault<ZodOptional<ZodObject<{ checkOrigin: ZodDefault<ZodBoolean>; }, "strip", ZodTypeAny, { checkOrigin: boolean; }, { checkOrigin?: boolean; }>>>; server: ZodEffects<ZodDefault<ZodObject<{ headers: ZodOptional<ZodType<OutgoingHttpHeaders, ZodTypeDef, OutgoingHttpHeaders>>; host: ZodDefault<ZodOptional<ZodUnion<[ZodString, ZodBoolean]>>>; open: ZodDefault<ZodOptional<ZodUnion<[ZodString, ZodBoolean]>>>; port: ZodDefault<ZodOptional<ZodNumber>>; }, "strip", ZodTypeAny, { headers?: OutgoingHttpHeaders; host: string | boolean; open: string | boolean; port: number; }, { headers?: OutgoingHttpHeaders; host?: string | boolean; open?: string | boolean; port?: number; }>>, { headers?: OutgoingHttpHeaders; host: string | boolean; open: string | boolean; port: number; }, unknown>; site: ZodOptional<ZodString>; srcDir: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>; trailingSlash: ZodDefault<ZodOptional<ZodUnion<[ZodLiteral<"always">, ZodLiteral<"never">, ZodLiteral<"ignore">]>>>; vite: ZodDefault<ZodType<ViteUserConfig, ZodTypeDef, ViteUserConfig>>; }, "strip", ZodTypeAny, { adapter?: { hooks: {} & { [
k:
string]
: unknown; }; name: string; }; base: string; build: { assets: string; assetsPrefix?: string | { fallback: string; } & Record<string, string>; client: URL; format: "file" | "directory" | "preserve"; inlineStylesheets: "always" | "never" | "auto"; redirects: boolean; server: URL; serverEntry: string; }; cacheDir: URL; compressHTML: boolean; devToolbar: { enabled: boolean; }; experimental: { actions: boolean; clientPrerender: boolean; contentCollectionCache: boolean; contentCollectionJsonSchema: boolean; directRenderScript: boolean; env?: { schema?: Record<string, ({ access: ...
; context: ...
; } | { access: ...
; context: ...
; } | { access: ...
; context: ...
; }) & ({ default?: ...
; optional?: ...
; type: ...
; } | { default?: ...
; optional?: ...
; type: ...
; } | { default?: ...
; optional?: ...
; type: ...
; })>; }; globalRoutePriority: boolean; rewriting: boolean; }; i18n?: { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: [string, ...(...
)[]]; path: string; })[]; routing: "manual" | { prefixDefaultLocale: boolean; redirectToDefaultLocale: boolean; }; }; image: { domains: string[]; endpoint?: string; remotePatterns: { hostname?: string; pathname?: string; port?: string; protocol?: string; }[]; service: { config: Record<string, any>; entrypoint: string; }; }; integrations: { hooks: {} & { [
k:
string]
: unknown; }; name: string; }[]; legacy: {}; markdown: { gfm: boolean; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; remarkRehype: RemarkRehype; shikiConfig: { langs: ShikiLang[]; theme: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes: Record<string, "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme>; transformers: ShikiTransformer[]; wrap: boolean | null; }; smartypants: boolean; syntaxHighlight: false | "shiki" | "prism"; }; outDir: URL; output: "server" | "static" | "hybrid"; prefetch?: boolean | { defaultStrategy?: "tap" | "hover" | "viewport" | "load"; prefetchAll?: boolean; }; publicDir: URL; redirects: Record<string, string | { destination: string; status: 300 | 301 | 302 | 303 | 304 | 307 | 308; }>; root: URL; scopedStyleStrategy: "where" | "class" | "attribute"; security: { checkOrigin: boolean; }; server: { headers?: OutgoingHttpHeaders; host: string | boolean; open: string | boolean; port: number; }; site?: string; srcDir: URL; trailingSlash: "ignore" | "always" | "never"; vite: ViteUserConfig; }, { adapter?: { hooks?: objectInputType<{}, ZodTypeAny, "passthrough">; name: string; }; base?: string; build?: { assets?: string; assetsPrefix?: string | { fallback: string; } & Record<string, string>; client?: string; format?: "file" | "directory" | "preserve"; inlineStylesheets?: "always" | "never" | "auto"; redirects?: boolean; server?: string; serverEntry?: string; }; cacheDir?: string; compressHTML?: boolean; devToolbar?: { enabled?: boolean; }; experimental?: { actions?: boolean; clientPrerender?: boolean; contentCollectionCache?: boolean; contentCollectionJsonSchema?: boolean; directRenderScript?: boolean; env?: { schema?: Record<string, ((...
) | (...
) | (...
)) & ((...
) | (...
) | (...
))>; }; globalRoutePriority?: boolean; rewriting?: boolean; }; i18n?: { defaultLocale: string; domains?: Record<string, string>; fallback?: Record<string, string>; locales: (string | { codes: [string, ...(...
)[]]; path: string; })[]; routing?: "manual" | { prefixDefaultLocale?: boolean; redirectToDefaultLocale?: boolean; }; }; image?: { domains?: string[]; endpoint?: string; remotePatterns?: { hostname?: string; pathname?: string; port?: string; protocol?: string; }[]; service?: { config?: Record<string, any>; entrypoint?: string; }; }; integrations?: unknown; legacy?: {}; markdown?: { gfm?: boolean; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; remarkRehype?: RemarkRehype; shikiConfig?: { langs?: ShikiLang[]; theme?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme; themes?: Record<string, "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/shiki/dist/index" | ShikiTheme>; transformers?: ShikiTransformer[]; wrap?: boolean | null; }; smartypants?: boolean; syntaxHighlight?: false | "shiki" | "prism"; }; outDir?: string; output?: "server" | "static" | "hybrid"; prefetch?: boolean | { defaultStrategy?: "tap" | "hover" | "viewport" | "load"; prefetchAll?: boolean; }; publicDir?: string; redirects?: Record<string, string | { destination: string; status: 300 | 301 | 302 | 303 | 304 | 307 | 308; }>; root?: string; scopedStyleStrategy?: "where" | "class" | "attribute"; security?: { checkOrigin?: boolean; }; server?: unknown; site?: string; srcDir?: string; trailingSlash?: "ignore" | "always" | "never"; vite?: ViteUserConfig; }> Type declaration
build: ZodDefault<ZodObject<{
assets: ZodDefault<ZodOptional<ZodString>>;
assetsPrefix: ZodEffects<ZodUnion<[ZodOptional<ZodString>, ZodOptional<ZodIntersection<ZodObject<(...), (...), (...), (...), (...)>, ZodRecord<(...), (...)>>>]>, string | {
fallback: string;
} & Record<string, string> | undefined, string | {
fallback: string;
} & Record<string, string> | undefined>;
client: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>;
format: ZodDefault<ZodOptional<ZodUnion<[ZodLiteral<"file">, ZodLiteral<"directory">, ZodLiteral<"preserve">]>>>;
inlineStylesheets: ZodDefault<ZodOptional<ZodEnum<["always", "auto", "never"]>>>;
redirects: ZodDefault<ZodOptional<ZodBoolean>>;
server: ZodEffects<ZodDefault<ZodOptional<ZodString>>, URL, string | undefined>;
serverEntry: ZodDefault<ZodOptional<ZodString>>;
}, "strip", ZodTypeAny, {
assets: string;
assetsPrefix?: string | {
fallback: string;
} & Record<string, string>;
client: URL;
format: "file" | "directory" | "preserve";
inlineStylesheets: "always" | "never" | "auto";
redirects: boolean;
server: URL;
serverEntry: string;
}, {
assets?: string;
assetsPrefix?: string | {
fallback: string;
} & Record<string, string>;
client?: string;
format?: "file" | "directory" | "preserve";
inlineStylesheets?: "always" | "never" | "auto";
redirects?: boolean;
server?: string;
serverEntry?: string;
}>>
experimental: ZodDefault<ZodObject<{
actions: ZodDefault<ZodOptional<ZodBoolean>>;
clientPrerender: ZodDefault<ZodOptional<ZodBoolean>>;
contentCollectionCache: ZodDefault<ZodOptional<ZodBoolean>>;
contentCollectionJsonSchema: ZodDefault<ZodOptional<ZodBoolean>>;
directRenderScript: ZodDefault<ZodOptional<ZodBoolean>>;
env: ZodOptional<ZodObject<{
schema: ZodOptional<ZodEffects<ZodRecord<(...), (...)>, Record<(...), (...)>, Record<(...), (...)>>>;
}, "strict", ZodTypeAny, {
schema?: Record<string, (...) & (...)>;
}, {
schema?: Record<string, (...) & (...)>;
}>>;
globalRoutePriority: ZodDefault<ZodOptional<ZodBoolean>>;
rewriting: ZodDefault<ZodOptional<ZodBoolean>>;
}, "strict", ZodTypeAny, {
actions: boolean;
clientPrerender: boolean;
contentCollectionCache: boolean;
contentCollectionJsonSchema: boolean;
directRenderScript: boolean;
env?: {
schema?: Record<string, (...) & (...)>;
};
globalRoutePriority: boolean;
rewriting: boolean;
}, {
actions?: boolean;
clientPrerender?: boolean;
contentCollectionCache?: boolean;
contentCollectionJsonSchema?: boolean;
directRenderScript?: boolean;
env?: {
schema?: Record<string, (...) & (...)>;
};
globalRoutePriority?: boolean;
rewriting?: boolean;
}>>
i18n: ZodOptional<ZodEffects<ZodOptional<ZodObject<{
defaultLocale: ZodString;
domains: ZodOptional<ZodRecord<ZodString, ZodString>>;
fallback: ZodOptional<ZodRecord<ZodString, ZodString>>;
locales: ZodArray<ZodUnion<[ZodString, ZodObject<(...), (...), (...), (...), (...)>]>, "many">;
routing: ZodDefault<ZodOptional<ZodUnion<[(...), (...)]>>>;
}, "strip", ZodTypeAny, {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: ...;
path: ...;
})[];
routing: "manual" | {
prefixDefaultLocale: boolean;
redirectToDefaultLocale: boolean;
};
}, {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: ...;
path: ...;
})[];
routing?: "manual" | {
prefixDefaultLocale?: boolean;
redirectToDefaultLocale?: boolean;
};
}>>, {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: [(...), (...)];
path: string;
})[];
routing: "manual" | {
prefixDefaultLocale: boolean;
redirectToDefaultLocale: boolean;
};
} | undefined, {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: [(...), (...)];
path: string;
})[];
routing?: "manual" | {
prefixDefaultLocale?: boolean;
redirectToDefaultLocale?: boolean;
};
} | undefined>>
image: ZodDefault<ZodObject<{
domains: ZodDefault<ZodArray<ZodString, "many">>;
endpoint: ZodOptional<ZodString>;
remotePatterns: ZodDefault<ZodArray<ZodObject<{
hostname: ZodOptional<ZodEffects<(...), (...), (...)>>;
pathname: ZodOptional<ZodEffects<(...), (...), (...)>>;
port: ZodOptional<ZodString>;
protocol: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}, {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}>, "many">>;
service: ZodDefault<ZodObject<{
config: ZodDefault<ZodRecord<ZodString, ZodAny>>;
entrypoint: ZodDefault<ZodUnion<[(...), (...), (...)]>>;
}, "strip", ZodTypeAny, {
config: Record<string, any>;
entrypoint: string;
}, {
config?: Record<string, any>;
entrypoint?: string;
}>>;
}, "strip", ZodTypeAny, {
domains: string[];
endpoint?: string;
remotePatterns: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[];
service: {
config: Record<string, any>;
entrypoint: string;
};
}, {
domains?: string[];
endpoint?: string;
remotePatterns?: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[];
service?: {
config?: Record<string, any>;
entrypoint?: string;
};
}>>
prefetch: ZodOptional<ZodUnion<[ZodBoolean, ZodObject<{
defaultStrategy: ZodOptional<ZodEnum<["tap", "hover", "viewport", "load"]>>;
prefetchAll: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
defaultStrategy?: "tap" | "hover" | "viewport" | "load";
prefetchAll?: boolean;
}, {
defaultStrategy?: "tap" | "hover" | "viewport" | "load";
prefetchAll?: boolean;
}>]>>
Type declaration
Optional adapter?: {
hooks: {} & {
[k: string]: unknown;
};
name: string;
}
hooks: {} & {
[k: string]: unknown;
}
name: string
base: string
build: {
assets: string;
assetsPrefix?: string | {
fallback: string;
} & Record<string, string>;
client: URL;
format: "file" | "directory" | "preserve";
inlineStylesheets: "always" | "never" | "auto";
redirects: boolean;
server: URL;
serverEntry: string;
}
assets: string
Optional assetsPrefix?: string | {
fallback: string;
} & Record<string, string>
client: URL
format: "file" | "directory" | "preserve"
inlineStylesheets: "always" | "never" | "auto"
redirects: boolean
server: URL
serverEntry: string
cacheDir: URL
compressHTML: boolean
devToolbar: {
enabled: boolean;
}
experimental: {
actions: boolean;
clientPrerender: boolean;
contentCollectionCache: boolean;
contentCollectionJsonSchema: boolean;
directRenderScript: boolean;
env?: {
schema?: Record<string, ({
access: ...;
context: ...;
} | {
access: ...;
context: ...;
} | {
access: ...;
context: ...;
}) & ({
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
})>;
};
globalRoutePriority: boolean;
rewriting: boolean;
}
actions: boolean
clientPrerender: boolean
contentCollectionCache: boolean
contentCollectionJsonSchema: boolean
directRenderScript: boolean
Optional env?: {
schema?: Record<string, ({
access: ...;
context: ...;
} | {
access: ...;
context: ...;
} | {
access: ...;
context: ...;
}) & ({
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
})>;
}
Optional schema?: Record<string, ({
access: ...;
context: ...;
} | {
access: ...;
context: ...;
} | {
access: ...;
context: ...;
}) & ({
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
} | {
default?: ...;
optional?: ...;
type: ...;
})>
globalRoutePriority: boolean
rewriting: boolean
Optional i18n?: {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: [string, ...(...)[]];
path: string;
})[];
routing: "manual" | {
prefixDefaultLocale: boolean;
redirectToDefaultLocale: boolean;
};
}
defaultLocale: string
Optional domains?: Record<string, string>
Optional fallback?: Record<string, string>
locales: (string | {
codes: [string, ...(...)[]];
path: string;
})[]
routing: "manual" | {
prefixDefaultLocale: boolean;
redirectToDefaultLocale: boolean;
}
image: {
domains: string[];
endpoint?: string;
remotePatterns: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[];
service: {
config: Record<string, any>;
entrypoint: string;
};
}
domains: string[]
Optional endpoint?: string
remotePatterns: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[]
service: {
config: Record<string, any>;
entrypoint: string;
}
config: Record<string, any>
entrypoint: string
integrations: {
hooks: {} & {
[k: string]: unknown;
};
name: string;
}[]
legacy: {}
outDir: URL
output: "server" | "static" | "hybrid"
Optional prefetch?: boolean | {
defaultStrategy?: "tap" | "hover" | "viewport" | "load";
prefetchAll?: boolean;
}
publicDir: URL
redirects: Record<string, string | {
destination: string;
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
}>
scopedStyleStrategy: "where" | "class" | "attribute"
security: {
checkOrigin: boolean;
}
server: {
headers?: OutgoingHttpHeaders;
host: string | boolean;
open: string | boolean;
port: number;
}
host: string | boolean
open: string | boolean
port: number
Optional site?: string
srcDir: URL
trailingSlash: "ignore" | "always" | "never"
Type declaration
Optional adapter?: {
hooks?: objectInputType<{}, ZodTypeAny, "passthrough">;
name: string;
}
Optional base?: string
Optional build?: {
assets?: string;
assetsPrefix?: string | {
fallback: string;
} & Record<string, string>;
client?: string;
format?: "file" | "directory" | "preserve";
inlineStylesheets?: "always" | "never" | "auto";
redirects?: boolean;
server?: string;
serverEntry?: string;
}
Optional assets?: string
Optional assetsPrefix?: string | {
fallback: string;
} & Record<string, string>
Optional client?: string
Optional format?: "file" | "directory" | "preserve"
Optional inlineStylesheets?: "always" | "never" | "auto"
Optional redirects?: boolean
Optional server?: string
Optional serverEntry?: string
Optional cacheDir?: string
Optional compressHTML?: boolean
Optional devToolbar?: {
enabled?: boolean;
}
Optional enabled?: boolean
Optional experimental?: {
actions?: boolean;
clientPrerender?: boolean;
contentCollectionCache?: boolean;
contentCollectionJsonSchema?: boolean;
directRenderScript?: boolean;
env?: {
schema?: Record<string, ((...) | (...) | (...)) & ((...) | (...) | (...))>;
};
globalRoutePriority?: boolean;
rewriting?: boolean;
}
Optional actions?: boolean
Optional clientPrerender?: boolean
Optional contentCollectionCache?: boolean
Optional contentCollectionJsonSchema?: boolean
Optional directRenderScript?: boolean
Optional env?: {
schema?: Record<string, ((...) | (...) | (...)) & ((...) | (...) | (...))>;
}
Optional schema?: Record<string, ((...) | (...) | (...)) & ((...) | (...) | (...))>
Optional globalRoutePriority?: boolean
Optional rewriting?: boolean
Optional i18n?: {
defaultLocale: string;
domains?: Record<string, string>;
fallback?: Record<string, string>;
locales: (string | {
codes: [string, ...(...)[]];
path: string;
})[];
routing?: "manual" | {
prefixDefaultLocale?: boolean;
redirectToDefaultLocale?: boolean;
};
}
defaultLocale: string
Optional domains?: Record<string, string>
Optional fallback?: Record<string, string>
locales: (string | {
codes: [string, ...(...)[]];
path: string;
})[]
Optional routing?: "manual" | {
prefixDefaultLocale?: boolean;
redirectToDefaultLocale?: boolean;
}
Optional image?: {
domains?: string[];
endpoint?: string;
remotePatterns?: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[];
service?: {
config?: Record<string, any>;
entrypoint?: string;
};
}
Optional domains?: string[]
Optional endpoint?: string
Optional remotePatterns?: {
hostname?: string;
pathname?: string;
port?: string;
protocol?: string;
}[]
Optional service?: {
config?: Record<string, any>;
entrypoint?: string;
}
Optional config?: Record<string, any>
Optional entrypoint?: string
Optional integrations?: unknown
Optional legacy?: {}
Optional gfm?: boolean
Optional rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]
Optional remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]
Optional langs?: ShikiLang[]
Optional wrap?: boolean | null
Optional smartypants?: boolean
Optional syntaxHighlight?: false | "shiki" | "prism"
Optional outDir?: string
Optional output?: "server" | "static" | "hybrid"
Optional prefetch?: boolean | {
defaultStrategy?: "tap" | "hover" | "viewport" | "load";
prefetchAll?: boolean;
}
Optional publicDir?: string
Optional redirects?: Record<string, string | {
destination: string;
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
}>
Optional root?: string
Optional scopedStyleStrategy?: "where" | "class" | "attribute"
Optional security?: {
checkOrigin?: boolean;
}
Optional checkOrigin?: boolean
Optional server?: unknown
Optional site?: string
Optional srcDir?: string
Optional trailingSlash?: "ignore" | "always" | "never"