astro 6.0.0-alpha.0 → 6.0.0-alpha.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/astro-jsx.d.ts +11 -0
- package/client.d.ts +17 -41
- package/components/Code.astro +2 -2
- package/components/Image.astro +2 -2
- package/components/Picture.astro +1 -1
- package/dist/actions/consts.d.ts +2 -5
- package/dist/actions/consts.js +4 -8
- package/dist/actions/integration.js +2 -4
- package/dist/actions/runtime/client.d.ts +84 -3
- package/dist/actions/runtime/client.js +238 -7
- package/dist/actions/runtime/entrypoints/client.d.ts +7 -0
- package/dist/actions/runtime/entrypoints/client.js +91 -0
- package/dist/actions/runtime/entrypoints/route.d.ts +2 -0
- package/dist/actions/runtime/{route.js → entrypoints/route.js} +1 -1
- package/dist/actions/runtime/entrypoints/server.d.ts +6 -0
- package/dist/actions/runtime/entrypoints/server.js +33 -0
- package/dist/actions/runtime/server.d.ts +11 -18
- package/dist/actions/runtime/server.js +162 -82
- package/dist/actions/runtime/types.d.ts +64 -0
- package/dist/actions/utils.d.ts +2 -2
- package/dist/actions/utils.js +2 -2
- package/dist/actions/vite-plugin-actions.js +18 -21
- package/dist/assets/build/generate.d.ts +2 -2
- package/dist/assets/build/generate.js +12 -10
- package/dist/assets/endpoint/config.js +2 -2
- package/dist/assets/endpoint/dev.js +7 -6
- package/dist/assets/fonts/config.d.ts +91 -350
- package/dist/assets/fonts/config.js +35 -136
- package/dist/assets/fonts/constants.js +1 -1
- package/dist/assets/fonts/core/dedupe-font-faces.d.ts +2 -0
- package/dist/assets/fonts/core/dedupe-font-faces.js +30 -0
- package/dist/assets/fonts/definitions.d.ts +9 -22
- package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.d.ts +4 -0
- package/dist/assets/fonts/infra/build-remote-font-provider-mod-resolver.js +8 -0
- package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.d.ts +15 -0
- package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.js +20 -0
- package/dist/assets/fonts/infra/build-url-resolver.d.ts +12 -0
- package/dist/assets/fonts/infra/build-url-resolver.js +40 -0
- package/dist/assets/fonts/infra/cached-font-fetcher.d.ts +11 -0
- package/dist/assets/fonts/infra/cached-font-fetcher.js +42 -0
- package/dist/assets/fonts/infra/capsize-font-metrics-resolver.d.ts +18 -0
- package/dist/assets/fonts/infra/capsize-font-metrics-resolver.js +71 -0
- package/dist/assets/fonts/infra/data-collector.d.ts +10 -0
- package/dist/assets/fonts/infra/data-collector.js +35 -0
- package/dist/assets/fonts/infra/dev-remote-font-provider-mod-resolver.d.ts +9 -0
- package/dist/assets/fonts/infra/dev-remote-font-provider-mod-resolver.js +14 -0
- package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.d.ts +15 -0
- package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.js +37 -0
- package/dist/assets/fonts/infra/dev-url-resolver.d.ts +10 -0
- package/dist/assets/fonts/infra/dev-url-resolver.js +29 -0
- package/dist/assets/fonts/infra/font-type-extractor.d.ts +5 -0
- package/dist/assets/fonts/infra/font-type-extractor.js +21 -0
- package/dist/assets/fonts/infra/fontace-font-file-reader.d.ts +11 -0
- package/dist/assets/fonts/infra/fontace-font-file-reader.js +25 -0
- package/dist/assets/fonts/infra/levenshtein-string-matcher.d.ts +5 -0
- package/dist/assets/fonts/infra/levenshtein-string-matcher.js +145 -0
- package/dist/assets/fonts/infra/local-url-proxy-content-resolver.d.ts +4 -0
- package/dist/assets/fonts/infra/local-url-proxy-content-resolver.js +14 -0
- package/dist/assets/fonts/{implementations/css-renderer.d.ts → infra/minifiable-css-renderer.d.ts} +8 -3
- package/dist/assets/fonts/{implementations/css-renderer.js → infra/minifiable-css-renderer.js} +12 -10
- package/dist/assets/fonts/infra/remote-font-provider-resolver.d.ts +10 -0
- package/dist/assets/fonts/infra/remote-font-provider-resolver.js +49 -0
- package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.d.ts +4 -0
- package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.js +9 -0
- package/dist/assets/fonts/infra/require-local-provider-url-resolver.d.ts +9 -0
- package/dist/assets/fonts/infra/require-local-provider-url-resolver.js +22 -0
- package/dist/assets/fonts/infra/system-fallbacks-provider.d.ts +6 -0
- package/dist/assets/fonts/{implementations → infra}/system-fallbacks-provider.js +8 -11
- package/dist/assets/fonts/infra/unstorage-fs-storage.d.ts +11 -0
- package/dist/assets/fonts/infra/unstorage-fs-storage.js +26 -0
- package/dist/assets/fonts/infra/url-proxy.d.ts +16 -0
- package/dist/assets/fonts/infra/url-proxy.js +50 -0
- package/dist/assets/fonts/infra/xxhash-hasher.d.ts +7 -0
- package/dist/assets/fonts/infra/xxhash-hasher.js +18 -0
- package/dist/assets/fonts/orchestrate.d.ts +1 -2
- package/dist/assets/fonts/orchestrate.js +50 -17
- package/dist/assets/fonts/providers/index.d.ts +6 -24
- package/dist/assets/fonts/types.d.ts +138 -8
- package/dist/assets/fonts/utils.d.ts +1 -2
- package/dist/assets/fonts/vite-plugin-fonts.js +56 -61
- package/dist/assets/services/noop.js +5 -0
- package/dist/assets/utils/index.d.ts +0 -2
- package/dist/assets/utils/index.js +0 -5
- package/dist/assets/utils/{transformToPath.d.ts → node.d.ts} +15 -1
- package/dist/assets/utils/{node/emitAsset.js → node.js} +34 -6
- package/dist/assets/utils/remotePattern.d.ts +1 -3
- package/dist/assets/utils/svg.d.ts +2 -1
- package/dist/assets/utils/svg.js +30 -4
- package/dist/assets/vite-plugin-assets.js +10 -8
- package/dist/cli/add/index.js +21 -13
- package/dist/cli/create-key/infra/crypto-key-generator.d.ts +3 -1
- package/dist/cli/create-key/infra/crypto-key-generator.js +7 -9
- package/dist/cli/definitions.d.ts +19 -2
- package/dist/cli/dev/index.js +1 -1
- package/dist/cli/docs/core/open-docs.d.ts +5 -3
- package/dist/cli/docs/core/open-docs.js +2 -9
- package/dist/cli/docs/definitions.d.ts +3 -11
- package/dist/cli/docs/domain/cloud-ide.d.ts +1 -0
- package/dist/cli/docs/domain/cloud-ide.js +0 -0
- package/dist/cli/docs/infra/process-cloud-ide-provider.d.ts +5 -0
- package/dist/cli/docs/infra/process-cloud-ide-provider.js +6 -0
- package/dist/cli/flags.d.ts +1 -0
- package/dist/cli/index.js +78 -21
- package/dist/cli/info/core/get-package-manager.d.ts +8 -0
- package/dist/cli/info/core/get-package-manager.js +37 -0
- package/dist/cli/info/core/info.d.ts +21 -0
- package/dist/cli/info/core/info.js +21 -0
- package/dist/cli/info/definitions.d.ts +30 -0
- package/dist/cli/info/definitions.js +0 -0
- package/dist/cli/info/domain/debug-info.d.ts +1 -0
- package/dist/cli/info/domain/debug-info.js +0 -0
- package/dist/cli/info/infra/bun-package-manager.d.ts +5 -0
- package/dist/cli/info/infra/bun-package-manager.js +9 -0
- package/dist/cli/info/infra/cli-astro-config-resolver.d.ts +10 -0
- package/dist/cli/info/infra/cli-astro-config-resolver.js +36 -0
- package/dist/cli/info/infra/cli-clipboard.d.ts +13 -0
- package/dist/cli/info/infra/cli-clipboard.js +78 -0
- package/dist/cli/info/infra/cli-debug-info-provider.d.ts +15 -0
- package/dist/cli/info/infra/cli-debug-info-provider.js +57 -0
- package/dist/cli/info/infra/dev-debug-info-provider.d.ts +18 -0
- package/dist/cli/info/infra/dev-debug-info-provider.js +36 -0
- package/dist/cli/info/infra/noop-package-manager.d.ts +5 -0
- package/dist/cli/info/infra/noop-package-manager.js +9 -0
- package/dist/cli/info/infra/npm-package-manager.d.ts +10 -0
- package/dist/cli/info/infra/npm-package-manager.js +32 -0
- package/dist/cli/info/infra/pnpm-package-manager.d.ts +10 -0
- package/dist/cli/info/infra/pnpm-package-manager.js +33 -0
- package/dist/cli/info/infra/process-node-version-provider.d.ts +4 -0
- package/dist/cli/info/infra/process-node-version-provider.js +6 -0
- package/dist/cli/info/infra/process-package-manager-user-agent-provider.d.ts +4 -0
- package/dist/cli/info/infra/process-package-manager-user-agent-provider.js +7 -0
- package/dist/cli/info/infra/prompts-prompt.d.ts +11 -0
- package/dist/cli/info/infra/prompts-prompt.js +25 -0
- package/dist/cli/info/infra/styled-debug-info-formatter.d.ts +10 -0
- package/dist/cli/info/infra/styled-debug-info-formatter.js +29 -0
- package/dist/cli/info/infra/yarn-package-manager.d.ts +10 -0
- package/dist/cli/info/infra/yarn-package-manager.js +34 -0
- package/dist/cli/infra/build-time-astro-version-provider.d.ts +3 -1
- package/dist/cli/infra/build-time-astro-version-provider.js +4 -8
- package/dist/cli/infra/cli-command-runner.d.ts +7 -4
- package/dist/cli/infra/cli-command-runner.js +14 -10
- package/dist/cli/infra/logger-help-display.d.ts +11 -7
- package/dist/cli/infra/logger-help-display.js +62 -50
- package/dist/cli/infra/passthrough-text-styler.d.ts +9 -0
- package/dist/cli/infra/passthrough-text-styler.js +23 -0
- package/dist/cli/infra/piccolore-text-styler.d.ts +2 -0
- package/dist/cli/infra/piccolore-text-styler.js +5 -0
- package/dist/cli/infra/process-operating-system-provider.d.ts +6 -0
- package/dist/cli/infra/process-operating-system-provider.js +12 -0
- package/dist/cli/infra/tinyexec-command-executor.d.ts +6 -0
- package/dist/cli/infra/tinyexec-command-executor.js +34 -0
- package/dist/cli/install-package.js +1 -1
- package/dist/cli/preferences/index.js +6 -2
- package/dist/cli/preview/index.js +1 -1
- package/dist/cli/utils/format-version.js +1 -1
- package/dist/config/index.js +9 -5
- package/dist/container/index.js +19 -13
- package/dist/container/pipeline.d.ts +2 -1
- package/dist/container/pipeline.js +4 -11
- package/dist/content/config.d.ts +34 -40
- package/dist/content/content-layer.js +13 -18
- package/dist/content/loaders/errors.d.ts +3 -3
- package/dist/content/loaders/errors.js +5 -2
- package/dist/content/loaders/glob.js +6 -1
- package/dist/content/loaders/types.d.ts +11 -4
- package/dist/content/runtime-assets.d.ts +4 -4
- package/dist/content/runtime-assets.js +2 -2
- package/dist/content/runtime.d.ts +21 -20
- package/dist/content/runtime.js +14 -16
- package/dist/content/types-generator.js +81 -54
- package/dist/content/utils.d.ts +46 -338
- package/dist/content/utils.js +43 -48
- package/dist/content/vite-plugin-content-assets.d.ts +12 -4
- package/dist/content/vite-plugin-content-assets.js +100 -56
- package/dist/content/vite-plugin-content-imports.js +10 -4
- package/dist/content/vite-plugin-content-virtual-mod.js +10 -7
- package/dist/core/app/app.d.ts +5 -0
- package/dist/core/app/app.js +13 -0
- package/dist/core/app/base.d.ts +132 -0
- package/dist/core/app/base.js +448 -0
- package/dist/core/app/common.d.ts +6 -2
- package/dist/core/app/common.js +60 -33
- package/dist/core/app/dev/app.d.ts +15 -0
- package/dist/core/app/dev/app.js +86 -0
- package/dist/core/app/dev/pipeline.d.ts +13 -0
- package/dist/core/app/dev/pipeline.js +123 -0
- package/dist/core/app/entrypoint.d.ts +2 -0
- package/dist/core/app/entrypoint.js +15 -0
- package/dist/core/app/index.d.ts +7 -99
- package/dist/core/app/index.js +20 -486
- package/dist/core/app/logging.d.ts +3 -0
- package/dist/core/app/logging.js +11 -0
- package/dist/core/app/manifest.d.ts +9 -0
- package/dist/core/app/manifest.js +107 -0
- package/dist/core/app/middlewares.js +1 -1
- package/dist/core/app/node.js +14 -13
- package/dist/core/app/pipeline.d.ts +6 -5
- package/dist/core/app/pipeline.js +65 -49
- package/dist/core/app/types.d.ts +58 -22
- package/dist/core/app/validate-forwarded-headers.d.ts +16 -0
- package/dist/core/app/validate-forwarded-headers.js +60 -0
- package/dist/core/base-pipeline.d.ts +22 -14
- package/dist/core/base-pipeline.js +54 -6
- package/dist/core/build/app.d.ts +13 -0
- package/dist/core/build/app.js +38 -0
- package/dist/core/build/common.d.ts +1 -1
- package/dist/core/build/common.js +2 -2
- package/dist/core/build/generate.d.ts +1 -1
- package/dist/core/build/generate.js +96 -204
- package/dist/core/build/graph.js +2 -2
- package/dist/core/build/index.js +11 -16
- package/dist/core/build/internal.d.ts +2 -27
- package/dist/core/build/internal.js +1 -44
- package/dist/core/build/page-data.js +1 -1
- package/dist/core/build/pipeline.d.ts +15 -26
- package/dist/core/build/pipeline.js +106 -170
- package/dist/core/build/plugins/index.d.ts +4 -2
- package/dist/core/build/plugins/index.js +17 -23
- package/dist/core/build/plugins/plugin-analyzer.d.ts +2 -2
- package/dist/core/build/plugins/plugin-analyzer.js +5 -13
- package/dist/core/build/plugins/plugin-component-entry.d.ts +7 -2
- package/dist/core/build/plugins/plugin-component-entry.js +5 -13
- package/dist/core/build/plugins/plugin-css.d.ts +2 -2
- package/dist/core/build/plugins/plugin-css.js +86 -41
- package/dist/core/build/plugins/plugin-internals.d.ts +2 -2
- package/dist/core/build/plugins/plugin-internals.js +24 -18
- package/dist/core/build/plugins/plugin-manifest.d.ts +33 -5
- package/dist/core/build/plugins/plugin-manifest.js +89 -129
- package/dist/core/build/plugins/plugin-middleware.d.ts +2 -2
- package/dist/core/build/plugins/plugin-middleware.js +5 -7
- package/dist/core/build/plugins/plugin-noop.d.ts +3 -0
- package/dist/core/build/plugins/plugin-noop.js +29 -0
- package/dist/core/build/plugins/plugin-prerender.d.ts +2 -2
- package/dist/core/build/plugins/plugin-prerender.js +7 -64
- package/dist/core/build/plugins/plugin-scripts.d.ts +5 -2
- package/dist/core/build/plugins/plugin-scripts.js +5 -13
- package/dist/core/build/plugins/plugin-ssr.d.ts +2 -2
- package/dist/core/build/plugins/plugin-ssr.js +60 -132
- package/dist/core/build/plugins/util.d.ts +1 -25
- package/dist/core/build/plugins/util.js +0 -47
- package/dist/core/build/runtime.d.ts +26 -0
- package/dist/core/build/runtime.js +45 -0
- package/dist/core/build/static-build.d.ts +2 -2
- package/dist/core/build/static-build.js +181 -155
- package/dist/core/build/types.d.ts +1 -2
- package/dist/core/build/util.d.ts +0 -1
- package/dist/core/build/util.js +0 -7
- package/dist/core/compile/compile.d.ts +2 -3
- package/dist/core/compile/compile.js +2 -2
- package/dist/core/config/config.js +3 -3
- package/dist/core/config/index.d.ts +0 -1
- package/dist/core/config/index.js +0 -2
- package/dist/core/config/schemas/base.d.ts +336 -1434
- package/dist/core/config/schemas/base.js +42 -41
- package/dist/core/config/schemas/refined.d.ts +2 -2
- package/dist/core/config/schemas/refined.js +1 -1
- package/dist/core/config/schemas/relative.d.ts +672 -1761
- package/dist/core/config/schemas/relative.js +4 -4
- package/dist/core/config/settings.d.ts +3 -3
- package/dist/core/config/settings.js +5 -6
- package/dist/core/config/validate.js +13 -2
- package/dist/core/config/vite-load.js +12 -3
- package/dist/core/constants.d.ts +11 -0
- package/dist/core/constants.js +20 -1
- package/dist/core/create-vite.d.ts +2 -6
- package/dist/core/create-vite.js +35 -43
- package/dist/core/csp/common.d.ts +1 -1
- package/dist/core/csp/common.js +1 -1
- package/dist/core/csp/config.d.ts +8 -4
- package/dist/core/csp/config.js +1 -1
- package/dist/core/csp/runtime.d.ts +11 -0
- package/dist/core/csp/runtime.js +35 -0
- package/dist/core/dev/container.js +13 -7
- package/dist/core/dev/dev.js +2 -2
- package/dist/core/dev/restart.js +15 -6
- package/dist/core/errors/dev/runtime.d.ts +6 -0
- package/dist/core/errors/dev/runtime.js +27 -0
- package/dist/core/errors/dev/utils.js +1 -1
- package/dist/core/errors/dev/vite.js +1 -1
- package/dist/core/errors/errors-data.d.ts +27 -7
- package/dist/core/errors/errors-data.js +17 -4
- package/dist/core/errors/errors.d.ts +3 -3
- package/dist/core/errors/errors.js +8 -8
- package/dist/core/errors/zod-error-map.d.ts +2 -2
- package/dist/core/errors/zod-error-map.js +26 -24
- package/dist/core/logger/core.js +1 -1
- package/dist/core/messages.d.ts +2 -2
- package/dist/core/messages.js +3 -3
- package/dist/core/middleware/callMiddleware.js +1 -1
- package/dist/core/middleware/defineMiddleware.d.ts +2 -0
- package/dist/core/middleware/defineMiddleware.js +6 -0
- package/dist/core/middleware/index.d.ts +3 -3
- package/dist/core/middleware/index.js +1 -3
- package/dist/core/middleware/sequence.js +4 -4
- package/dist/core/middleware/vite-plugin.d.ts +1 -1
- package/dist/core/middleware/vite-plugin.js +18 -7
- package/dist/core/module-loader/index.d.ts +2 -2
- package/dist/core/module-loader/index.js +1 -1
- package/dist/core/module-loader/{loader.d.ts → runner.d.ts} +6 -17
- package/dist/core/module-loader/{loader.js → runner.js} +3 -0
- package/dist/core/module-loader/vite.d.ts +3 -2
- package/dist/core/module-loader/vite.js +17 -13
- package/dist/core/preview/index.js +20 -3
- package/dist/core/preview/static-preview-server.js +11 -0
- package/dist/core/redirects/component.js +1 -2
- package/dist/core/redirects/index.d.ts +0 -1
- package/dist/core/redirects/index.js +1 -3
- package/dist/core/redirects/render.js +5 -2
- package/dist/core/render/paginate.d.ts +1 -1
- package/dist/core/render/paginate.js +8 -6
- package/dist/core/render/params-and-props.d.ts +2 -0
- package/dist/core/render/params-and-props.js +19 -6
- package/dist/core/render/route-cache.d.ts +3 -2
- package/dist/core/render/route-cache.js +6 -5
- package/dist/core/render-context.d.ts +6 -4
- package/dist/core/render-context.js +66 -25
- package/dist/core/routing/astro-designed-error-pages.js +2 -2
- package/dist/core/routing/default.js +1 -1
- package/dist/core/routing/helpers.d.ts +22 -0
- package/dist/core/routing/helpers.js +25 -0
- package/dist/core/routing/index.d.ts +1 -1
- package/dist/core/routing/index.js +2 -2
- package/dist/core/routing/manifest/create.d.ts +6 -1
- package/dist/core/routing/manifest/create.js +11 -14
- package/dist/core/routing/manifest/generator.d.ts +3 -1
- package/dist/core/routing/params.d.ts +2 -1
- package/dist/core/routing/params.js +3 -2
- package/dist/core/server-islands/endpoint.js +40 -19
- package/dist/core/server-islands/vite-plugin-server-islands.d.ts +1 -1
- package/dist/core/server-islands/vite-plugin-server-islands.js +89 -44
- package/dist/core/session/vite-plugin.d.ts +6 -0
- package/dist/core/session/vite-plugin.js +53 -0
- package/dist/core/session.d.ts +4 -2
- package/dist/core/session.js +8 -48
- package/dist/core/sync/index.d.ts +2 -5
- package/dist/core/sync/index.js +34 -22
- package/dist/core/util/pathname.d.ts +10 -0
- package/dist/core/util/pathname.js +17 -0
- package/dist/core/util.d.ts +2 -2
- package/dist/core/util.js +3 -3
- package/dist/entrypoints/legacy.d.ts +2 -0
- package/dist/entrypoints/legacy.js +12 -0
- package/dist/entrypoints/prerender.d.ts +4 -0
- package/dist/entrypoints/prerender.js +7 -0
- package/dist/env/schema.d.ts +21 -251
- package/dist/env/schema.js +6 -3
- package/dist/env/vite-plugin-env.js +15 -10
- package/dist/env/vite-plugin-import-meta-env.js +3 -2
- package/dist/environments.d.ts +3 -0
- package/dist/environments.js +11 -0
- package/dist/events/error.d.ts +2 -2
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/utils.d.ts +1 -6
- package/dist/i18n/utils.js +1 -63
- package/dist/i18n/vite-plugin-i18n.d.ts +0 -5
- package/dist/i18n/vite-plugin-i18n.js +1 -22
- package/dist/integrations/hooks.d.ts +1 -1
- package/dist/integrations/hooks.js +10 -7
- package/dist/manifest/serialized.d.ts +9 -0
- package/dist/manifest/serialized.js +144 -0
- package/dist/manifest/virtual-module.d.ts +1 -4
- package/dist/manifest/virtual-module.js +77 -80
- package/dist/preferences/index.d.ts +1 -2
- package/dist/prerender/routing.d.ts +5 -7
- package/dist/prerender/routing.js +6 -17
- package/dist/runtime/client/dev-toolbar/ui-library/badge.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/button.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/card.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/highlight.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/radio-checkbox.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/select.d.ts +2 -2
- package/dist/runtime/client/dev-toolbar/ui-library/toggle.d.ts +2 -2
- package/dist/runtime/server/endpoint.js +1 -1
- package/dist/runtime/server/render/server-islands.js +5 -4
- package/dist/runtime/server/transition.d.ts +1 -0
- package/dist/template/4xx.js +3 -1
- package/dist/transitions/events.d.ts +7 -0
- package/dist/transitions/router.js +7 -3
- package/dist/transitions/swap-functions.js +4 -0
- package/dist/types/astro.d.ts +8 -6
- package/dist/types/public/config.d.ts +404 -288
- package/dist/types/public/context.d.ts +3 -4
- package/dist/types/public/index.d.ts +2 -1
- package/dist/types/public/integrations.d.ts +23 -1
- package/dist/types/public/internal.d.ts +1 -16
- package/dist/types/public/preview.d.ts +6 -0
- package/dist/virtual-modules/i18n.d.ts +10 -2
- package/dist/virtual-modules/i18n.js +16 -7
- package/dist/virtual-modules/live-config.d.ts +1 -1
- package/dist/virtual-modules/live-config.js +1 -1
- package/dist/virtual-modules/middleware.d.ts +2 -1
- package/dist/virtual-modules/middleware.js +2 -1
- package/dist/vite-plugin-adapter-config/index.js +3 -2
- package/dist/vite-plugin-app/app.d.ts +47 -0
- package/dist/vite-plugin-app/app.js +410 -0
- package/dist/vite-plugin-app/createAstroServerApp.d.ts +8 -0
- package/dist/vite-plugin-app/createAstroServerApp.js +56 -0
- package/dist/vite-plugin-app/index.d.ts +3 -0
- package/dist/vite-plugin-app/index.js +16 -0
- package/dist/{vite-plugin-astro-server → vite-plugin-app}/pipeline.d.ts +6 -7
- package/dist/vite-plugin-app/pipeline.js +166 -0
- package/dist/vite-plugin-astro/index.js +21 -7
- package/dist/vite-plugin-astro-server/base.js +1 -1
- package/dist/vite-plugin-astro-server/controller.d.ts +1 -1
- package/dist/vite-plugin-astro-server/error.d.ts +3 -4
- package/dist/vite-plugin-astro-server/error.js +2 -5
- package/dist/vite-plugin-astro-server/index.d.ts +1 -2
- package/dist/vite-plugin-astro-server/index.js +6 -4
- package/dist/vite-plugin-astro-server/metadata.js +1 -1
- package/dist/vite-plugin-astro-server/plugin.d.ts +4 -7
- package/dist/vite-plugin-astro-server/plugin.js +54 -65
- package/dist/vite-plugin-astro-server/server-state.d.ts +1 -1
- package/dist/vite-plugin-astro-server/util.d.ts +0 -2
- package/dist/vite-plugin-astro-server/util.js +1 -2
- package/dist/vite-plugin-astro-server/vite.d.ts +2 -2
- package/dist/vite-plugin-astro-server/vite.js +7 -7
- package/dist/vite-plugin-config-alias/index.js +40 -32
- package/dist/vite-plugin-css/index.d.ts +18 -0
- package/dist/vite-plugin-css/index.js +134 -0
- package/dist/vite-plugin-css/util.d.ts +5 -0
- package/dist/vite-plugin-css/util.js +8 -0
- package/dist/vite-plugin-environment/index.d.ts +15 -0
- package/dist/vite-plugin-environment/index.js +77 -0
- package/dist/vite-plugin-head/index.d.ts +1 -2
- package/dist/vite-plugin-head/index.js +42 -58
- package/dist/vite-plugin-hmr-reload/index.js +2 -1
- package/dist/vite-plugin-pages/const.d.ts +2 -0
- package/dist/vite-plugin-pages/const.js +6 -0
- package/dist/vite-plugin-pages/index.d.ts +2 -0
- package/dist/vite-plugin-pages/index.js +7 -0
- package/dist/vite-plugin-pages/page.d.ts +7 -0
- package/dist/vite-plugin-pages/page.js +48 -0
- package/dist/vite-plugin-pages/pages.d.ts +8 -0
- package/dist/vite-plugin-pages/pages.js +57 -0
- package/dist/vite-plugin-pages/util.d.ts +8 -0
- package/dist/vite-plugin-pages/util.js +15 -0
- package/dist/vite-plugin-renderers/index.d.ts +9 -0
- package/dist/vite-plugin-renderers/index.js +40 -0
- package/dist/vite-plugin-routes/index.d.ts +14 -0
- package/dist/vite-plugin-routes/index.js +177 -0
- package/dist/vite-plugin-scripts/index.js +2 -6
- package/dist/vite-plugin-scripts/page-ssr.js +3 -2
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +2 -2
- package/package.json +34 -31
- package/templates/content/module.mjs +1 -0
- package/templates/content/types.d.ts +24 -11
- package/types/actions.d.ts +1 -5
- package/types/content.d.ts +9 -11
- package/types/transitions.d.ts +25 -0
- package/dist/actions/loadActions.d.ts +0 -8
- package/dist/actions/loadActions.js +0 -13
- package/dist/actions/runtime/route.d.ts +0 -2
- package/dist/actions/runtime/shared.d.ts +0 -60
- package/dist/actions/runtime/shared.js +0 -296
- package/dist/actions/runtime/utils.d.ts +0 -25
- package/dist/actions/runtime/utils.js +0 -16
- package/dist/actions/runtime/virtual.d.ts +0 -4
- package/dist/actions/runtime/virtual.js +0 -127
- package/dist/assets/fonts/implementations/data-collector.d.ts +0 -3
- package/dist/assets/fonts/implementations/data-collector.js +0 -21
- package/dist/assets/fonts/implementations/error-handler.d.ts +0 -2
- package/dist/assets/fonts/implementations/error-handler.js +0 -41
- package/dist/assets/fonts/implementations/font-fetcher.d.ts +0 -8
- package/dist/assets/fonts/implementations/font-fetcher.js +0 -34
- package/dist/assets/fonts/implementations/font-file-reader.d.ts +0 -4
- package/dist/assets/fonts/implementations/font-file-reader.js +0 -26
- package/dist/assets/fonts/implementations/font-metrics-resolver.d.ts +0 -5
- package/dist/assets/fonts/implementations/font-metrics-resolver.js +0 -66
- package/dist/assets/fonts/implementations/font-type-extractor.d.ts +0 -4
- package/dist/assets/fonts/implementations/font-type-extractor.js +0 -22
- package/dist/assets/fonts/implementations/hasher.d.ts +0 -2
- package/dist/assets/fonts/implementations/hasher.js +0 -14
- package/dist/assets/fonts/implementations/levenshtein-string-matcher.d.ts +0 -2
- package/dist/assets/fonts/implementations/levenshtein-string-matcher.js +0 -147
- package/dist/assets/fonts/implementations/local-provider-url-resolver.d.ts +0 -5
- package/dist/assets/fonts/implementations/local-provider-url-resolver.js +0 -17
- package/dist/assets/fonts/implementations/remote-font-provider-mod-resolver.d.ts +0 -6
- package/dist/assets/fonts/implementations/remote-font-provider-mod-resolver.js +0 -20
- package/dist/assets/fonts/implementations/remote-font-provider-resolver.d.ts +0 -6
- package/dist/assets/fonts/implementations/remote-font-provider-resolver.js +0 -47
- package/dist/assets/fonts/implementations/storage.d.ts +0 -4
- package/dist/assets/fonts/implementations/storage.js +0 -14
- package/dist/assets/fonts/implementations/system-fallbacks-provider.d.ts +0 -11
- package/dist/assets/fonts/implementations/url-proxy-content-resolver.d.ts +0 -5
- package/dist/assets/fonts/implementations/url-proxy-content-resolver.js +0 -28
- package/dist/assets/fonts/implementations/url-proxy-hash-resolver.d.ts +0 -8
- package/dist/assets/fonts/implementations/url-proxy-hash-resolver.js +0 -39
- package/dist/assets/fonts/implementations/url-proxy.d.ts +0 -7
- package/dist/assets/fonts/implementations/url-proxy.js +0 -31
- package/dist/assets/fonts/implementations/url-resolver.d.ts +0 -11
- package/dist/assets/fonts/implementations/url-resolver.js +0 -55
- package/dist/assets/utils/node/emitAsset.d.ts +0 -15
- package/dist/assets/utils/transformToPath.js +0 -32
- package/dist/cli/docs/domains/platform.d.ts +0 -1
- package/dist/cli/docs/infra/process-platform-provider.d.ts +0 -2
- package/dist/cli/docs/infra/process-platform-provider.js +0 -11
- package/dist/cli/docs/infra/tinyexec-command-executor.d.ts +0 -2
- package/dist/cli/docs/infra/tinyexec-command-executor.js +0 -30
- package/dist/cli/info/index.d.ts +0 -12
- package/dist/cli/info/index.js +0 -267
- package/dist/cli/infra/picocolors-text-styler.d.ts +0 -2
- package/dist/cli/infra/picocolors-text-styler.js +0 -7
- package/dist/core/build/css-asset-name.d.ts +0 -9
- package/dist/core/build/css-asset-name.js +0 -89
- package/dist/core/build/plugin.d.ts +0 -43
- package/dist/core/build/plugin.js +0 -61
- package/dist/core/build/plugins/plugin-actions.d.ts +0 -4
- package/dist/core/build/plugins/plugin-actions.js +0 -16
- package/dist/core/build/plugins/plugin-chunks.d.ts +0 -2
- package/dist/core/build/plugins/plugin-chunks.js +0 -33
- package/dist/core/build/plugins/plugin-pages.d.ts +0 -6
- package/dist/core/build/plugins/plugin-pages.js +0 -66
- package/dist/core/build/plugins/plugin-renderers.d.ts +0 -5
- package/dist/core/build/plugins/plugin-renderers.js +0 -54
- package/dist/core/middleware/loadMiddleware.d.ts +0 -7
- package/dist/core/middleware/loadMiddleware.js +0 -14
- package/dist/core/redirects/helpers.d.ts +0 -7
- package/dist/core/redirects/helpers.js +0 -10
- package/dist/core/routing/manifest/serialization.d.ts +0 -5
- package/dist/core/routing/manifest/serialization.js +0 -37
- package/dist/prerender/metadata.d.ts +0 -8
- package/dist/prerender/metadata.js +0 -18
- package/dist/vite-plugin-astro-server/css.d.ts +0 -13
- package/dist/vite-plugin-astro-server/css.js +0 -48
- package/dist/vite-plugin-astro-server/pipeline.js +0 -161
- package/dist/vite-plugin-astro-server/request.d.ts +0 -14
- package/dist/vite-plugin-astro-server/request.js +0 -66
- package/dist/vite-plugin-astro-server/route.d.ts +0 -25
- package/dist/vite-plugin-astro-server/route.js +0 -283
- package/dist/vite-plugin-scanner/index.d.ts +0 -10
- package/dist/vite-plugin-scanner/index.js +0 -87
- package/dist/vite-plugin-ssr-manifest/index.d.ts +0 -2
- package/dist/vite-plugin-ssr-manifest/index.js +0 -26
- /package/dist/{cli/docs/domains/platform.js → actions/runtime/types.js} +0 -0
- /package/dist/assets/fonts/{logic → core}/extract-unifont-providers.d.ts +0 -0
- /package/dist/assets/fonts/{logic → core}/extract-unifont-providers.js +0 -0
- /package/dist/assets/fonts/{logic → core}/normalize-remote-font-faces.d.ts +0 -0
- /package/dist/assets/fonts/{logic → core}/normalize-remote-font-faces.js +0 -0
- /package/dist/assets/fonts/{logic → core}/optimize-fallbacks.d.ts +0 -0
- /package/dist/assets/fonts/{logic → core}/optimize-fallbacks.js +0 -0
- /package/dist/assets/fonts/{logic → core}/resolve-families.d.ts +0 -0
- /package/dist/assets/fonts/{logic → core}/resolve-families.js +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { OutgoingHttpHeaders } from 'node:http';
|
|
2
2
|
import type { RehypePlugin as _RehypePlugin, RemarkPlugin as _RemarkPlugin, RemarkRehype as _RemarkRehype, ShikiConfig } from '@astrojs/markdown-remark';
|
|
3
|
-
import {
|
|
3
|
+
import type { Config as SvgoConfig } from 'svgo';
|
|
4
|
+
import * as z from 'zod/v4';
|
|
4
5
|
import type { ViteUserConfig } from '../../../types/public/config.js';
|
|
5
6
|
/** @lintignore */
|
|
6
7
|
export interface ComplexifyUnionObj {
|
|
@@ -61,425 +62,295 @@ export declare const ASTRO_CONFIG_DEFAULTS: {
|
|
|
61
62
|
security: {
|
|
62
63
|
checkOrigin: true;
|
|
63
64
|
allowedDomains: never[];
|
|
65
|
+
csp: false;
|
|
64
66
|
};
|
|
65
67
|
env: {
|
|
66
68
|
schema: {};
|
|
67
69
|
validateSecrets: false;
|
|
68
70
|
};
|
|
69
71
|
session: undefined;
|
|
72
|
+
prerenderConflictBehavior: "warn";
|
|
70
73
|
experimental: {
|
|
71
74
|
clientPrerender: false;
|
|
72
75
|
contentIntellisense: false;
|
|
73
|
-
csp: false;
|
|
74
76
|
chromeDevtoolsWorkspace: false;
|
|
75
|
-
|
|
77
|
+
svgo: false;
|
|
76
78
|
};
|
|
77
79
|
};
|
|
78
80
|
export declare const AstroConfigSchema: z.ZodObject<{
|
|
79
|
-
root: z.
|
|
80
|
-
srcDir: z.
|
|
81
|
-
publicDir: z.
|
|
82
|
-
outDir: z.
|
|
83
|
-
cacheDir: z.
|
|
81
|
+
root: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
82
|
+
srcDir: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
83
|
+
publicDir: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
84
|
+
outDir: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
85
|
+
cacheDir: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
84
86
|
site: z.ZodOptional<z.ZodString>;
|
|
85
87
|
compressHTML: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
86
88
|
base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
87
|
-
trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
|
|
88
|
-
output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">]>>>;
|
|
89
|
-
scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
|
|
89
|
+
trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
|
|
90
|
+
output: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
|
|
91
|
+
scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
|
|
90
92
|
adapter: z.ZodOptional<z.ZodObject<{
|
|
91
93
|
name: z.ZodString;
|
|
92
|
-
hooks: z.ZodDefault<z.ZodObject<{},
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
hooks: {} & {
|
|
96
|
-
[k: string]: unknown;
|
|
97
|
-
};
|
|
98
|
-
}, {
|
|
99
|
-
name: string;
|
|
100
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
101
|
-
}>>;
|
|
102
|
-
integrations: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
94
|
+
hooks: z.ZodDefault<z.ZodObject<{}, z.core.$loose>>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
integrations: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
103
97
|
name: z.ZodString;
|
|
104
|
-
hooks: z.ZodDefault<z.ZodObject<{},
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}, {
|
|
111
|
-
name: string;
|
|
112
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
113
|
-
}>, "many">>, {
|
|
114
|
-
name: string;
|
|
115
|
-
hooks: {} & {
|
|
116
|
-
[k: string]: unknown;
|
|
117
|
-
};
|
|
118
|
-
}[], unknown>;
|
|
119
|
-
build: z.ZodDefault<z.ZodObject<{
|
|
120
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
|
|
121
|
-
client: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
122
|
-
server: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, URL, string | undefined>;
|
|
98
|
+
hooks: z.ZodDefault<z.ZodObject<{}, z.core.$loose>>;
|
|
99
|
+
}, z.core.$strip>>>>;
|
|
100
|
+
build: z.ZodPrefault<z.ZodObject<{
|
|
101
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"file">, z.ZodLiteral<"directory">, z.ZodLiteral<"preserve">]>>>;
|
|
102
|
+
client: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
103
|
+
server: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodString>>, z.ZodTransform<URL, string>>;
|
|
123
104
|
assets: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
124
|
-
assetsPrefix: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.
|
|
105
|
+
assetsPrefix: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodIntersection<z.ZodObject<{
|
|
125
106
|
fallback: z.ZodString;
|
|
126
|
-
},
|
|
127
|
-
fallback: string;
|
|
128
|
-
}, {
|
|
129
|
-
fallback: string;
|
|
130
|
-
}>, z.ZodRecord<z.ZodString, z.ZodString>>>]>;
|
|
107
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodString>>]>>;
|
|
131
108
|
serverEntry: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
132
109
|
redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
133
|
-
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
110
|
+
inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
never: "never";
|
|
112
|
+
auto: "auto";
|
|
113
|
+
always: "always";
|
|
114
|
+
}>>>;
|
|
134
115
|
concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
client: URL;
|
|
140
|
-
server: URL;
|
|
141
|
-
serverEntry: string;
|
|
142
|
-
inlineStylesheets: "auto" | "never" | "always";
|
|
143
|
-
concurrency: number;
|
|
144
|
-
assetsPrefix?: string | ({
|
|
145
|
-
fallback: string;
|
|
146
|
-
} & Record<string, string>) | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
format?: "preserve" | "file" | "directory" | undefined;
|
|
149
|
-
redirects?: boolean | undefined;
|
|
150
|
-
assets?: string | undefined;
|
|
151
|
-
client?: string | undefined;
|
|
152
|
-
server?: string | undefined;
|
|
153
|
-
serverEntry?: string | undefined;
|
|
154
|
-
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
155
|
-
concurrency?: number | undefined;
|
|
156
|
-
assetsPrefix?: string | ({
|
|
157
|
-
fallback: string;
|
|
158
|
-
} & Record<string, string>) | undefined;
|
|
159
|
-
}>>;
|
|
160
|
-
server: z.ZodEffects<z.ZodDefault<z.ZodObject<{
|
|
161
|
-
open: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
162
|
-
host: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
server: z.ZodPipe<z.ZodTransform<any, unknown>, z.ZodPrefault<z.ZodObject<{
|
|
118
|
+
open: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
119
|
+
host: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
163
120
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
164
|
-
headers: z.ZodOptional<z.
|
|
165
|
-
allowedHosts: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString
|
|
166
|
-
},
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
allowedHosts: true | string[];
|
|
170
|
-
open: string | boolean;
|
|
171
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
172
|
-
}, {
|
|
173
|
-
host?: string | boolean | undefined;
|
|
174
|
-
port?: number | undefined;
|
|
175
|
-
allowedHosts?: true | string[] | undefined;
|
|
176
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
177
|
-
open?: string | boolean | undefined;
|
|
178
|
-
}>>, {
|
|
179
|
-
host: string | boolean;
|
|
180
|
-
port: number;
|
|
181
|
-
allowedHosts: true | string[];
|
|
182
|
-
open: string | boolean;
|
|
183
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
184
|
-
}, unknown>;
|
|
185
|
-
redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
186
|
-
status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
121
|
+
headers: z.ZodOptional<z.ZodCustom<OutgoingHttpHeaders, OutgoingHttpHeaders>>;
|
|
122
|
+
allowedHosts: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<true>]>>>;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
125
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
187
126
|
destination: z.ZodString;
|
|
188
|
-
},
|
|
189
|
-
|
|
190
|
-
destination: string;
|
|
191
|
-
}, {
|
|
192
|
-
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
193
|
-
destination: string;
|
|
194
|
-
}>]>>>;
|
|
195
|
-
prefetch: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
127
|
+
}, z.core.$strip>]>>>;
|
|
128
|
+
prefetch: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
196
129
|
prefetchAll: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
-
defaultStrategy: z.ZodOptional<z.ZodEnum<
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
image: z.ZodDefault<z.ZodObject<{
|
|
130
|
+
defaultStrategy: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
load: "load";
|
|
132
|
+
tap: "tap";
|
|
133
|
+
hover: "hover";
|
|
134
|
+
viewport: "viewport";
|
|
135
|
+
}>>;
|
|
136
|
+
}, z.core.$strip>]>>;
|
|
137
|
+
image: z.ZodPrefault<z.ZodObject<{
|
|
206
138
|
endpoint: z.ZodDefault<z.ZodObject<{
|
|
207
139
|
route: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"/_image">, z.ZodString]>>;
|
|
208
140
|
entrypoint: z.ZodOptional<z.ZodString>;
|
|
209
|
-
},
|
|
210
|
-
route: string;
|
|
211
|
-
entrypoint?: string | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
entrypoint?: string | undefined;
|
|
214
|
-
route?: string | undefined;
|
|
215
|
-
}>>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
216
142
|
service: z.ZodDefault<z.ZodObject<{
|
|
217
|
-
entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodString]>>;
|
|
143
|
+
entrypoint: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"astro/assets/services/sharp">, z.ZodString]>>;
|
|
218
144
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
config: Record<string, any>;
|
|
222
|
-
}, {
|
|
223
|
-
entrypoint?: string | undefined;
|
|
224
|
-
config?: Record<string, any> | undefined;
|
|
225
|
-
}>>;
|
|
226
|
-
domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
227
147
|
remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
148
|
protocol: z.ZodOptional<z.ZodString>;
|
|
229
149
|
hostname: z.ZodOptional<z.ZodString>;
|
|
230
150
|
port: z.ZodOptional<z.ZodString>;
|
|
231
151
|
pathname: z.ZodOptional<z.ZodString>;
|
|
232
|
-
},
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
protocol?: string | undefined;
|
|
240
|
-
hostname?: string | undefined;
|
|
241
|
-
pathname?: string | undefined;
|
|
242
|
-
}>, "many">>;
|
|
243
|
-
layout: z.ZodOptional<z.ZodEnum<["constrained", "fixed", "full-width", "none"]>>;
|
|
152
|
+
}, z.core.$strip>>>;
|
|
153
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
154
|
+
fixed: "fixed";
|
|
155
|
+
constrained: "constrained";
|
|
156
|
+
"full-width": "full-width";
|
|
157
|
+
none: "none";
|
|
158
|
+
}>>;
|
|
244
159
|
objectFit: z.ZodOptional<z.ZodString>;
|
|
245
160
|
objectPosition: z.ZodOptional<z.ZodString>;
|
|
246
|
-
breakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber
|
|
161
|
+
breakpoints: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
247
162
|
responsiveStyles: z.ZodDefault<z.ZodBoolean>;
|
|
248
|
-
},
|
|
249
|
-
responsiveStyles: boolean;
|
|
250
|
-
endpoint: {
|
|
251
|
-
route: string;
|
|
252
|
-
entrypoint?: string | undefined;
|
|
253
|
-
};
|
|
254
|
-
service: {
|
|
255
|
-
entrypoint: string;
|
|
256
|
-
config: Record<string, any>;
|
|
257
|
-
};
|
|
258
|
-
domains: string[];
|
|
259
|
-
remotePatterns: {
|
|
260
|
-
port?: string | undefined;
|
|
261
|
-
protocol?: string | undefined;
|
|
262
|
-
hostname?: string | undefined;
|
|
263
|
-
pathname?: string | undefined;
|
|
264
|
-
}[];
|
|
265
|
-
layout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
266
|
-
objectFit?: string | undefined;
|
|
267
|
-
objectPosition?: string | undefined;
|
|
268
|
-
breakpoints?: number[] | undefined;
|
|
269
|
-
}, {
|
|
270
|
-
responsiveStyles?: boolean | undefined;
|
|
271
|
-
endpoint?: {
|
|
272
|
-
entrypoint?: string | undefined;
|
|
273
|
-
route?: string | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
service?: {
|
|
276
|
-
entrypoint?: string | undefined;
|
|
277
|
-
config?: Record<string, any> | undefined;
|
|
278
|
-
} | undefined;
|
|
279
|
-
domains?: string[] | undefined;
|
|
280
|
-
remotePatterns?: {
|
|
281
|
-
port?: string | undefined;
|
|
282
|
-
protocol?: string | undefined;
|
|
283
|
-
hostname?: string | undefined;
|
|
284
|
-
pathname?: string | undefined;
|
|
285
|
-
}[] | undefined;
|
|
286
|
-
layout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
287
|
-
objectFit?: string | undefined;
|
|
288
|
-
objectPosition?: string | undefined;
|
|
289
|
-
breakpoints?: number[] | undefined;
|
|
290
|
-
}>>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
291
164
|
devToolbar: z.ZodDefault<z.ZodObject<{
|
|
292
165
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
-
},
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
excludeLangs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
302
|
-
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
type: "shiki" | "prism";
|
|
304
|
-
excludeLangs: string[];
|
|
305
|
-
}, {
|
|
306
|
-
type?: "shiki" | "prism" | undefined;
|
|
307
|
-
excludeLangs?: string[] | undefined;
|
|
308
|
-
}>>, z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>, z.ZodLiteral<false>]>>;
|
|
309
|
-
shikiConfig: z.ZodDefault<z.ZodObject<{
|
|
310
|
-
langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<ShikiLang, z.ZodTypeDef, ShikiLang>, "many">, ShikiLang[], ShikiLang[]>>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
markdown: z.ZodPrefault<z.ZodObject<{
|
|
168
|
+
syntaxHighlight: z.ZodDefault<z.ZodUnion<readonly [z.ZodDefault<z.ZodObject<{
|
|
169
|
+
type: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>;
|
|
170
|
+
excludeLangs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
171
|
+
}, z.core.$strip>>, z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">]>>, z.ZodLiteral<false>]>>;
|
|
172
|
+
shikiConfig: z.ZodPrefault<z.ZodObject<{
|
|
173
|
+
langs: z.ZodDefault<z.ZodPipe<z.ZodArray<z.ZodCustom<ShikiLang, ShikiLang>>, z.ZodTransform<ShikiLang[], ShikiLang[]>>>;
|
|
311
174
|
langAlias: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
312
|
-
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<
|
|
313
|
-
|
|
314
|
-
|
|
175
|
+
theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
176
|
+
andromeeda: "andromeeda";
|
|
177
|
+
"aurora-x": "aurora-x";
|
|
178
|
+
"ayu-dark": "ayu-dark";
|
|
179
|
+
"catppuccin-frappe": "catppuccin-frappe";
|
|
180
|
+
"catppuccin-latte": "catppuccin-latte";
|
|
181
|
+
"catppuccin-macchiato": "catppuccin-macchiato";
|
|
182
|
+
"catppuccin-mocha": "catppuccin-mocha";
|
|
183
|
+
"dark-plus": "dark-plus";
|
|
184
|
+
dracula: "dracula";
|
|
185
|
+
"dracula-soft": "dracula-soft";
|
|
186
|
+
"everforest-dark": "everforest-dark";
|
|
187
|
+
"everforest-light": "everforest-light";
|
|
188
|
+
"github-dark": "github-dark";
|
|
189
|
+
"github-dark-default": "github-dark-default";
|
|
190
|
+
"github-dark-dimmed": "github-dark-dimmed";
|
|
191
|
+
"github-dark-high-contrast": "github-dark-high-contrast";
|
|
192
|
+
"github-light": "github-light";
|
|
193
|
+
"github-light-default": "github-light-default";
|
|
194
|
+
"github-light-high-contrast": "github-light-high-contrast";
|
|
195
|
+
"gruvbox-dark-hard": "gruvbox-dark-hard";
|
|
196
|
+
"gruvbox-dark-medium": "gruvbox-dark-medium";
|
|
197
|
+
"gruvbox-dark-soft": "gruvbox-dark-soft";
|
|
198
|
+
"gruvbox-light-hard": "gruvbox-light-hard";
|
|
199
|
+
"gruvbox-light-medium": "gruvbox-light-medium";
|
|
200
|
+
"gruvbox-light-soft": "gruvbox-light-soft";
|
|
201
|
+
houston: "houston";
|
|
202
|
+
"kanagawa-dragon": "kanagawa-dragon";
|
|
203
|
+
"kanagawa-lotus": "kanagawa-lotus";
|
|
204
|
+
"kanagawa-wave": "kanagawa-wave";
|
|
205
|
+
laserwave: "laserwave";
|
|
206
|
+
"light-plus": "light-plus";
|
|
207
|
+
"material-theme": "material-theme";
|
|
208
|
+
"material-theme-darker": "material-theme-darker";
|
|
209
|
+
"material-theme-lighter": "material-theme-lighter";
|
|
210
|
+
"material-theme-ocean": "material-theme-ocean";
|
|
211
|
+
"material-theme-palenight": "material-theme-palenight";
|
|
212
|
+
"min-dark": "min-dark";
|
|
213
|
+
"min-light": "min-light";
|
|
214
|
+
monokai: "monokai";
|
|
215
|
+
"night-owl": "night-owl";
|
|
216
|
+
nord: "nord";
|
|
217
|
+
"one-dark-pro": "one-dark-pro";
|
|
218
|
+
"one-light": "one-light";
|
|
219
|
+
plastic: "plastic";
|
|
220
|
+
poimandres: "poimandres";
|
|
221
|
+
red: "red";
|
|
222
|
+
"rose-pine": "rose-pine";
|
|
223
|
+
"rose-pine-dawn": "rose-pine-dawn";
|
|
224
|
+
"rose-pine-moon": "rose-pine-moon";
|
|
225
|
+
"slack-dark": "slack-dark";
|
|
226
|
+
"slack-ochin": "slack-ochin";
|
|
227
|
+
"snazzy-light": "snazzy-light";
|
|
228
|
+
"solarized-dark": "solarized-dark";
|
|
229
|
+
"solarized-light": "solarized-light";
|
|
230
|
+
"synthwave-84": "synthwave-84";
|
|
231
|
+
"tokyo-night": "tokyo-night";
|
|
232
|
+
vesper: "vesper";
|
|
233
|
+
"vitesse-black": "vitesse-black";
|
|
234
|
+
"vitesse-dark": "vitesse-dark";
|
|
235
|
+
"vitesse-light": "vitesse-light";
|
|
236
|
+
}>, z.ZodCustom<ShikiTheme, ShikiTheme>]>>;
|
|
237
|
+
themes: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<{
|
|
238
|
+
andromeeda: "andromeeda";
|
|
239
|
+
"aurora-x": "aurora-x";
|
|
240
|
+
"ayu-dark": "ayu-dark";
|
|
241
|
+
"catppuccin-frappe": "catppuccin-frappe";
|
|
242
|
+
"catppuccin-latte": "catppuccin-latte";
|
|
243
|
+
"catppuccin-macchiato": "catppuccin-macchiato";
|
|
244
|
+
"catppuccin-mocha": "catppuccin-mocha";
|
|
245
|
+
"dark-plus": "dark-plus";
|
|
246
|
+
dracula: "dracula";
|
|
247
|
+
"dracula-soft": "dracula-soft";
|
|
248
|
+
"everforest-dark": "everforest-dark";
|
|
249
|
+
"everforest-light": "everforest-light";
|
|
250
|
+
"github-dark": "github-dark";
|
|
251
|
+
"github-dark-default": "github-dark-default";
|
|
252
|
+
"github-dark-dimmed": "github-dark-dimmed";
|
|
253
|
+
"github-dark-high-contrast": "github-dark-high-contrast";
|
|
254
|
+
"github-light": "github-light";
|
|
255
|
+
"github-light-default": "github-light-default";
|
|
256
|
+
"github-light-high-contrast": "github-light-high-contrast";
|
|
257
|
+
"gruvbox-dark-hard": "gruvbox-dark-hard";
|
|
258
|
+
"gruvbox-dark-medium": "gruvbox-dark-medium";
|
|
259
|
+
"gruvbox-dark-soft": "gruvbox-dark-soft";
|
|
260
|
+
"gruvbox-light-hard": "gruvbox-light-hard";
|
|
261
|
+
"gruvbox-light-medium": "gruvbox-light-medium";
|
|
262
|
+
"gruvbox-light-soft": "gruvbox-light-soft";
|
|
263
|
+
houston: "houston";
|
|
264
|
+
"kanagawa-dragon": "kanagawa-dragon";
|
|
265
|
+
"kanagawa-lotus": "kanagawa-lotus";
|
|
266
|
+
"kanagawa-wave": "kanagawa-wave";
|
|
267
|
+
laserwave: "laserwave";
|
|
268
|
+
"light-plus": "light-plus";
|
|
269
|
+
"material-theme": "material-theme";
|
|
270
|
+
"material-theme-darker": "material-theme-darker";
|
|
271
|
+
"material-theme-lighter": "material-theme-lighter";
|
|
272
|
+
"material-theme-ocean": "material-theme-ocean";
|
|
273
|
+
"material-theme-palenight": "material-theme-palenight";
|
|
274
|
+
"min-dark": "min-dark";
|
|
275
|
+
"min-light": "min-light";
|
|
276
|
+
monokai: "monokai";
|
|
277
|
+
"night-owl": "night-owl";
|
|
278
|
+
nord: "nord";
|
|
279
|
+
"one-dark-pro": "one-dark-pro";
|
|
280
|
+
"one-light": "one-light";
|
|
281
|
+
plastic: "plastic";
|
|
282
|
+
poimandres: "poimandres";
|
|
283
|
+
red: "red";
|
|
284
|
+
"rose-pine": "rose-pine";
|
|
285
|
+
"rose-pine-dawn": "rose-pine-dawn";
|
|
286
|
+
"rose-pine-moon": "rose-pine-moon";
|
|
287
|
+
"slack-dark": "slack-dark";
|
|
288
|
+
"slack-ochin": "slack-ochin";
|
|
289
|
+
"snazzy-light": "snazzy-light";
|
|
290
|
+
"solarized-dark": "solarized-dark";
|
|
291
|
+
"solarized-light": "solarized-light";
|
|
292
|
+
"synthwave-84": "synthwave-84";
|
|
293
|
+
"tokyo-night": "tokyo-night";
|
|
294
|
+
vesper: "vesper";
|
|
295
|
+
"vitesse-black": "vitesse-black";
|
|
296
|
+
"vitesse-dark": "vitesse-dark";
|
|
297
|
+
"vitesse-light": "vitesse-light";
|
|
298
|
+
}>, z.ZodCustom<ShikiTheme, ShikiTheme>]>>>>;
|
|
299
|
+
defaultColor: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"light">, z.ZodLiteral<"dark">, z.ZodString, z.ZodLiteral<false>]>>;
|
|
315
300
|
wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
316
|
-
transformers: z.ZodDefault<z.ZodArray<z.
|
|
317
|
-
},
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
langAlias: Record<string, string>;
|
|
322
|
-
wrap: boolean | null;
|
|
323
|
-
transformers: ShikiTransformer[];
|
|
324
|
-
defaultColor?: string | false | undefined;
|
|
325
|
-
}, {
|
|
326
|
-
langs?: ShikiLang[] | undefined;
|
|
327
|
-
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
328
|
-
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
329
|
-
langAlias?: Record<string, string> | undefined;
|
|
330
|
-
defaultColor?: string | false | undefined;
|
|
331
|
-
wrap?: boolean | null | undefined;
|
|
332
|
-
transformers?: ShikiTransformer[] | undefined;
|
|
333
|
-
}>>;
|
|
334
|
-
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">>;
|
|
335
|
-
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">>;
|
|
336
|
-
remarkRehype: z.ZodDefault<z.ZodType<RemarkRehype, z.ZodTypeDef, RemarkRehype>>;
|
|
301
|
+
transformers: z.ZodDefault<z.ZodArray<z.ZodCustom<ShikiTransformer, ShikiTransformer>>>;
|
|
302
|
+
}, z.core.$strip>>;
|
|
303
|
+
remarkPlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodCustom<RemarkPlugin, RemarkPlugin>, z.ZodTuple<[z.ZodCustom<RemarkPlugin, RemarkPlugin>, z.ZodAny], null>]>>>;
|
|
304
|
+
rehypePlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodCustom<RehypePlugin, RehypePlugin>, z.ZodTuple<[z.ZodCustom<RehypePlugin, RehypePlugin>, z.ZodAny], null>]>>>;
|
|
305
|
+
remarkRehype: z.ZodDefault<z.ZodCustom<RemarkRehype, RemarkRehype>>;
|
|
337
306
|
gfm: z.ZodDefault<z.ZodBoolean>;
|
|
338
307
|
smartypants: z.ZodDefault<z.ZodBoolean>;
|
|
339
|
-
},
|
|
340
|
-
|
|
341
|
-
type: "shiki" | "prism";
|
|
342
|
-
excludeLangs: string[];
|
|
343
|
-
};
|
|
344
|
-
shikiConfig: {
|
|
345
|
-
langs: ShikiLang[];
|
|
346
|
-
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
347
|
-
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
348
|
-
langAlias: Record<string, string>;
|
|
349
|
-
wrap: boolean | null;
|
|
350
|
-
transformers: ShikiTransformer[];
|
|
351
|
-
defaultColor?: string | false | undefined;
|
|
352
|
-
};
|
|
353
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
354
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
355
|
-
remarkRehype: RemarkRehype;
|
|
356
|
-
gfm: boolean;
|
|
357
|
-
smartypants: boolean;
|
|
358
|
-
}, {
|
|
359
|
-
syntaxHighlight?: false | "shiki" | "prism" | {
|
|
360
|
-
type?: "shiki" | "prism" | undefined;
|
|
361
|
-
excludeLangs?: string[] | undefined;
|
|
362
|
-
} | undefined;
|
|
363
|
-
shikiConfig?: {
|
|
364
|
-
langs?: ShikiLang[] | undefined;
|
|
365
|
-
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
366
|
-
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
367
|
-
langAlias?: Record<string, string> | undefined;
|
|
368
|
-
defaultColor?: string | false | undefined;
|
|
369
|
-
wrap?: boolean | null | undefined;
|
|
370
|
-
transformers?: ShikiTransformer[] | undefined;
|
|
371
|
-
} | undefined;
|
|
372
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
373
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
374
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
375
|
-
gfm?: boolean | undefined;
|
|
376
|
-
smartypants?: boolean | undefined;
|
|
377
|
-
}>>;
|
|
378
|
-
vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
vite: z.ZodDefault<z.ZodCustom<ViteUserConfig, ViteUserConfig>>;
|
|
379
310
|
i18n: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
380
311
|
defaultLocale: z.ZodString;
|
|
381
|
-
locales: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
312
|
+
locales: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
382
313
|
path: z.ZodString;
|
|
383
|
-
codes: z.
|
|
384
|
-
},
|
|
385
|
-
path: string;
|
|
386
|
-
codes: [string, ...string[]];
|
|
387
|
-
}, {
|
|
388
|
-
path: string;
|
|
389
|
-
codes: [string, ...string[]];
|
|
390
|
-
}>]>, "many">;
|
|
314
|
+
codes: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
315
|
+
}, z.core.$strip>]>>;
|
|
391
316
|
domains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
392
317
|
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
393
|
-
routing: z.
|
|
318
|
+
routing: z.ZodPrefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"manual">, z.ZodObject<{
|
|
394
319
|
prefixDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
395
320
|
redirectToDefaultLocale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
396
|
-
fallbackType: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
prefixDefaultLocale?: boolean | undefined;
|
|
403
|
-
redirectToDefaultLocale?: boolean | undefined;
|
|
404
|
-
fallbackType?: "redirect" | "rewrite" | undefined;
|
|
405
|
-
}>]>>>;
|
|
406
|
-
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
defaultLocale: string;
|
|
408
|
-
locales: (string | {
|
|
409
|
-
path: string;
|
|
410
|
-
codes: [string, ...string[]];
|
|
411
|
-
})[];
|
|
412
|
-
routing: "manual" | {
|
|
413
|
-
prefixDefaultLocale: boolean;
|
|
414
|
-
redirectToDefaultLocale: boolean;
|
|
415
|
-
fallbackType: "redirect" | "rewrite";
|
|
416
|
-
};
|
|
417
|
-
fallback?: Record<string, string> | undefined;
|
|
418
|
-
domains?: Record<string, string> | undefined;
|
|
419
|
-
}, {
|
|
420
|
-
defaultLocale: string;
|
|
421
|
-
locales: (string | {
|
|
422
|
-
path: string;
|
|
423
|
-
codes: [string, ...string[]];
|
|
424
|
-
})[];
|
|
425
|
-
fallback?: Record<string, string> | undefined;
|
|
426
|
-
domains?: Record<string, string> | undefined;
|
|
427
|
-
routing?: "manual" | {
|
|
428
|
-
prefixDefaultLocale?: boolean | undefined;
|
|
429
|
-
redirectToDefaultLocale?: boolean | undefined;
|
|
430
|
-
fallbackType?: "redirect" | "rewrite" | undefined;
|
|
431
|
-
} | undefined;
|
|
432
|
-
}>>>;
|
|
321
|
+
fallbackType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
redirect: "redirect";
|
|
323
|
+
rewrite: "rewrite";
|
|
324
|
+
}>>>;
|
|
325
|
+
}, z.core.$strip>]>>>;
|
|
326
|
+
}, z.core.$strip>>>;
|
|
433
327
|
security: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
434
328
|
checkOrigin: z.ZodDefault<z.ZodBoolean>;
|
|
435
329
|
allowedDomains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
436
330
|
hostname: z.ZodOptional<z.ZodString>;
|
|
437
331
|
protocol: z.ZodOptional<z.ZodString>;
|
|
438
332
|
port: z.ZodOptional<z.ZodString>;
|
|
439
|
-
},
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
port?: string | undefined;
|
|
459
|
-
protocol?: string | undefined;
|
|
460
|
-
hostname?: string | undefined;
|
|
461
|
-
}[] | undefined;
|
|
462
|
-
}>>>;
|
|
333
|
+
}, z.core.$strip>>>>;
|
|
334
|
+
csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
|
|
335
|
+
algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
"SHA-256": "SHA-256";
|
|
337
|
+
"SHA-384": "SHA-384";
|
|
338
|
+
"SHA-512": "SHA-512";
|
|
339
|
+
}>>>;
|
|
340
|
+
directives: z.ZodOptional<z.ZodArray<z.ZodCustom<`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`, `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`>>>;
|
|
341
|
+
styleDirective: z.ZodOptional<z.ZodObject<{
|
|
342
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
343
|
+
hashes: z.ZodOptional<z.ZodArray<z.ZodCustom<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>>>;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
scriptDirective: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
347
|
+
hashes: z.ZodOptional<z.ZodArray<z.ZodCustom<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>>>;
|
|
348
|
+
strictDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$strip>]>>>;
|
|
351
|
+
}, z.core.$strip>>>;
|
|
463
352
|
env: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
464
|
-
schema: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.
|
|
465
|
-
context: "client";
|
|
466
|
-
access: "public";
|
|
467
|
-
} | {
|
|
468
|
-
context: "server";
|
|
469
|
-
access: "public";
|
|
470
|
-
} | {
|
|
471
|
-
context: "server";
|
|
472
|
-
access: "secret";
|
|
473
|
-
}, z.ZodTypeDef, {
|
|
474
|
-
context: "client";
|
|
475
|
-
access: "public";
|
|
476
|
-
} | {
|
|
477
|
-
context: "server";
|
|
478
|
-
access: "public";
|
|
479
|
-
} | {
|
|
480
|
-
context: "server";
|
|
481
|
-
access: "secret";
|
|
482
|
-
}>, {
|
|
353
|
+
schema: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodCustom<{
|
|
483
354
|
context: "client";
|
|
484
355
|
access: "public";
|
|
485
356
|
} | {
|
|
@@ -497,7 +368,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
497
368
|
} | {
|
|
498
369
|
context: "server";
|
|
499
370
|
access: "secret";
|
|
500
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
371
|
+
}>, z.ZodUnion<readonly [z.ZodObject<{
|
|
501
372
|
type: z.ZodLiteral<"string">;
|
|
502
373
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
503
374
|
default: z.ZodOptional<z.ZodString>;
|
|
@@ -508,29 +379,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
508
379
|
includes: z.ZodOptional<z.ZodString>;
|
|
509
380
|
startsWith: z.ZodOptional<z.ZodString>;
|
|
510
381
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
511
|
-
},
|
|
512
|
-
type: "string";
|
|
513
|
-
length?: number | undefined;
|
|
514
|
-
includes?: string | undefined;
|
|
515
|
-
optional?: boolean | undefined;
|
|
516
|
-
url?: boolean | undefined;
|
|
517
|
-
endsWith?: string | undefined;
|
|
518
|
-
startsWith?: string | undefined;
|
|
519
|
-
default?: string | undefined;
|
|
520
|
-
max?: number | undefined;
|
|
521
|
-
min?: number | undefined;
|
|
522
|
-
}, {
|
|
523
|
-
type: "string";
|
|
524
|
-
length?: number | undefined;
|
|
525
|
-
includes?: string | undefined;
|
|
526
|
-
optional?: boolean | undefined;
|
|
527
|
-
url?: boolean | undefined;
|
|
528
|
-
endsWith?: string | undefined;
|
|
529
|
-
startsWith?: string | undefined;
|
|
530
|
-
default?: string | undefined;
|
|
531
|
-
max?: number | undefined;
|
|
532
|
-
min?: number | undefined;
|
|
533
|
-
}>, z.ZodObject<{
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
383
|
type: z.ZodLiteral<"number">;
|
|
535
384
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
536
385
|
default: z.ZodOptional<z.ZodNumber>;
|
|
@@ -539,1097 +388,150 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
539
388
|
lt: z.ZodOptional<z.ZodNumber>;
|
|
540
389
|
max: z.ZodOptional<z.ZodNumber>;
|
|
541
390
|
int: z.ZodOptional<z.ZodBoolean>;
|
|
542
|
-
},
|
|
543
|
-
type: "number";
|
|
544
|
-
optional?: boolean | undefined;
|
|
545
|
-
default?: number | undefined;
|
|
546
|
-
max?: number | undefined;
|
|
547
|
-
min?: number | undefined;
|
|
548
|
-
gt?: number | undefined;
|
|
549
|
-
lt?: number | undefined;
|
|
550
|
-
int?: boolean | undefined;
|
|
551
|
-
}, {
|
|
552
|
-
type: "number";
|
|
553
|
-
optional?: boolean | undefined;
|
|
554
|
-
default?: number | undefined;
|
|
555
|
-
max?: number | undefined;
|
|
556
|
-
min?: number | undefined;
|
|
557
|
-
gt?: number | undefined;
|
|
558
|
-
lt?: number | undefined;
|
|
559
|
-
int?: boolean | undefined;
|
|
560
|
-
}>, z.ZodObject<{
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
561
392
|
type: z.ZodLiteral<"boolean">;
|
|
562
393
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
563
394
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
564
|
-
},
|
|
565
|
-
type: "boolean";
|
|
566
|
-
optional?: boolean | undefined;
|
|
567
|
-
default?: boolean | undefined;
|
|
568
|
-
}, {
|
|
569
|
-
type: "boolean";
|
|
570
|
-
optional?: boolean | undefined;
|
|
571
|
-
default?: boolean | undefined;
|
|
572
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
573
396
|
type: z.ZodLiteral<"enum">;
|
|
574
|
-
values: z.ZodArray<z.
|
|
397
|
+
values: z.ZodArray<z.ZodString>;
|
|
575
398
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
576
399
|
default: z.ZodOptional<z.ZodString>;
|
|
577
|
-
},
|
|
578
|
-
type: "enum";
|
|
579
|
-
values: string[];
|
|
580
|
-
optional?: boolean | undefined;
|
|
581
|
-
default?: string | undefined;
|
|
582
|
-
}, {
|
|
583
|
-
type: "enum";
|
|
584
|
-
values: string[];
|
|
585
|
-
optional?: boolean | undefined;
|
|
586
|
-
default?: string | undefined;
|
|
587
|
-
}>, {
|
|
588
|
-
type: "enum";
|
|
589
|
-
values: string[];
|
|
590
|
-
optional?: boolean | undefined;
|
|
591
|
-
default?: string | undefined;
|
|
592
|
-
}, {
|
|
593
|
-
type: "enum";
|
|
594
|
-
values: string[];
|
|
595
|
-
optional?: boolean | undefined;
|
|
596
|
-
default?: string | undefined;
|
|
597
|
-
}>]>>>>>;
|
|
400
|
+
}, z.core.$strip>]>>>>>;
|
|
598
401
|
validateSecrets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
599
|
-
},
|
|
600
|
-
validateSecrets: boolean;
|
|
601
|
-
schema: Record<string, ({
|
|
602
|
-
context: "client";
|
|
603
|
-
access: "public";
|
|
604
|
-
} | {
|
|
605
|
-
context: "server";
|
|
606
|
-
access: "public";
|
|
607
|
-
} | {
|
|
608
|
-
context: "server";
|
|
609
|
-
access: "secret";
|
|
610
|
-
}) & ({
|
|
611
|
-
type: "string";
|
|
612
|
-
length?: number | undefined;
|
|
613
|
-
includes?: string | undefined;
|
|
614
|
-
optional?: boolean | undefined;
|
|
615
|
-
url?: boolean | undefined;
|
|
616
|
-
endsWith?: string | undefined;
|
|
617
|
-
startsWith?: string | undefined;
|
|
618
|
-
default?: string | undefined;
|
|
619
|
-
max?: number | undefined;
|
|
620
|
-
min?: number | undefined;
|
|
621
|
-
} | {
|
|
622
|
-
type: "number";
|
|
623
|
-
optional?: boolean | undefined;
|
|
624
|
-
default?: number | undefined;
|
|
625
|
-
max?: number | undefined;
|
|
626
|
-
min?: number | undefined;
|
|
627
|
-
gt?: number | undefined;
|
|
628
|
-
lt?: number | undefined;
|
|
629
|
-
int?: boolean | undefined;
|
|
630
|
-
} | {
|
|
631
|
-
type: "boolean";
|
|
632
|
-
optional?: boolean | undefined;
|
|
633
|
-
default?: boolean | undefined;
|
|
634
|
-
} | {
|
|
635
|
-
type: "enum";
|
|
636
|
-
values: string[];
|
|
637
|
-
optional?: boolean | undefined;
|
|
638
|
-
default?: string | undefined;
|
|
639
|
-
})>;
|
|
640
|
-
}, {
|
|
641
|
-
validateSecrets?: boolean | undefined;
|
|
642
|
-
schema?: Record<string, ({
|
|
643
|
-
context: "client";
|
|
644
|
-
access: "public";
|
|
645
|
-
} | {
|
|
646
|
-
context: "server";
|
|
647
|
-
access: "public";
|
|
648
|
-
} | {
|
|
649
|
-
context: "server";
|
|
650
|
-
access: "secret";
|
|
651
|
-
}) & ({
|
|
652
|
-
type: "string";
|
|
653
|
-
length?: number | undefined;
|
|
654
|
-
includes?: string | undefined;
|
|
655
|
-
optional?: boolean | undefined;
|
|
656
|
-
url?: boolean | undefined;
|
|
657
|
-
endsWith?: string | undefined;
|
|
658
|
-
startsWith?: string | undefined;
|
|
659
|
-
default?: string | undefined;
|
|
660
|
-
max?: number | undefined;
|
|
661
|
-
min?: number | undefined;
|
|
662
|
-
} | {
|
|
663
|
-
type: "number";
|
|
664
|
-
optional?: boolean | undefined;
|
|
665
|
-
default?: number | undefined;
|
|
666
|
-
max?: number | undefined;
|
|
667
|
-
min?: number | undefined;
|
|
668
|
-
gt?: number | undefined;
|
|
669
|
-
lt?: number | undefined;
|
|
670
|
-
int?: boolean | undefined;
|
|
671
|
-
} | {
|
|
672
|
-
type: "boolean";
|
|
673
|
-
optional?: boolean | undefined;
|
|
674
|
-
default?: boolean | undefined;
|
|
675
|
-
} | {
|
|
676
|
-
type: "enum";
|
|
677
|
-
values: string[];
|
|
678
|
-
optional?: boolean | undefined;
|
|
679
|
-
default?: string | undefined;
|
|
680
|
-
})> | undefined;
|
|
681
|
-
}>>>;
|
|
402
|
+
}, z.core.$strict>>>;
|
|
682
403
|
session: z.ZodOptional<z.ZodObject<{
|
|
683
404
|
driver: z.ZodOptional<z.ZodString>;
|
|
684
405
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
685
|
-
cookie: z.ZodOptional<z.
|
|
406
|
+
cookie: z.ZodOptional<z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
686
407
|
name: z.ZodOptional<z.ZodString>;
|
|
687
408
|
domain: z.ZodOptional<z.ZodString>;
|
|
688
409
|
path: z.ZodOptional<z.ZodString>;
|
|
689
410
|
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
690
|
-
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<
|
|
411
|
+
sameSite: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
412
|
+
strict: "strict";
|
|
413
|
+
none: "none";
|
|
414
|
+
lax: "lax";
|
|
415
|
+
}>, z.ZodBoolean]>>;
|
|
691
416
|
secure: z.ZodOptional<z.ZodBoolean>;
|
|
692
|
-
},
|
|
417
|
+
}, z.core.$strip>, z.ZodString]>, z.ZodTransform<{
|
|
693
418
|
name?: string | undefined;
|
|
694
|
-
path?: string | undefined;
|
|
695
419
|
domain?: string | undefined;
|
|
696
|
-
maxAge?: number | undefined;
|
|
697
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
698
|
-
secure?: boolean | undefined;
|
|
699
|
-
}, {
|
|
700
|
-
name?: string | undefined;
|
|
701
420
|
path?: string | undefined;
|
|
702
|
-
domain?: string | undefined;
|
|
703
|
-
maxAge?: number | undefined;
|
|
704
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
705
|
-
secure?: boolean | undefined;
|
|
706
|
-
}>, z.ZodString]>, {
|
|
707
|
-
name?: string | undefined;
|
|
708
|
-
path?: string | undefined;
|
|
709
|
-
domain?: string | undefined;
|
|
710
421
|
maxAge?: number | undefined;
|
|
711
422
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
712
423
|
secure?: boolean | undefined;
|
|
713
424
|
}, string | {
|
|
714
425
|
name?: string | undefined;
|
|
715
|
-
path?: string | undefined;
|
|
716
|
-
domain?: string | undefined;
|
|
717
|
-
maxAge?: number | undefined;
|
|
718
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
719
|
-
secure?: boolean | undefined;
|
|
720
|
-
}>>;
|
|
721
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
722
|
-
}, "strip", z.ZodTypeAny, {
|
|
723
|
-
options?: Record<string, any> | undefined;
|
|
724
|
-
driver?: string | undefined;
|
|
725
|
-
cookie?: {
|
|
726
|
-
name?: string | undefined;
|
|
727
|
-
path?: string | undefined;
|
|
728
426
|
domain?: string | undefined;
|
|
729
|
-
maxAge?: number | undefined;
|
|
730
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
731
|
-
secure?: boolean | undefined;
|
|
732
|
-
} | undefined;
|
|
733
|
-
ttl?: number | undefined;
|
|
734
|
-
}, {
|
|
735
|
-
options?: Record<string, any> | undefined;
|
|
736
|
-
driver?: string | undefined;
|
|
737
|
-
cookie?: string | {
|
|
738
|
-
name?: string | undefined;
|
|
739
427
|
path?: string | undefined;
|
|
740
|
-
domain?: string | undefined;
|
|
741
428
|
maxAge?: number | undefined;
|
|
742
429
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
743
430
|
secure?: boolean | undefined;
|
|
744
|
-
}
|
|
745
|
-
ttl
|
|
746
|
-
}>>;
|
|
747
|
-
|
|
431
|
+
}>>>;
|
|
432
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
prerenderConflictBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
error: "error";
|
|
436
|
+
ignore: "ignore";
|
|
437
|
+
warn: "warn";
|
|
438
|
+
}>>>;
|
|
439
|
+
experimental: z.ZodPrefault<z.ZodObject<{
|
|
748
440
|
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
749
441
|
contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
750
|
-
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
751
|
-
name: z.ZodString;
|
|
752
|
-
cssVariable: z.ZodString;
|
|
753
|
-
} & {
|
|
754
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
755
|
-
optimizedFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
-
} & {
|
|
442
|
+
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
757
443
|
provider: z.ZodLiteral<"local">;
|
|
758
|
-
variants: z.
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
444
|
+
variants: z.ZodTuple<[z.ZodObject<{
|
|
445
|
+
src: z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodObject<{
|
|
446
|
+
url: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>;
|
|
447
|
+
tech: z.ZodOptional<z.ZodString>;
|
|
448
|
+
}, z.core.$strict>]>], z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodObject<{
|
|
449
|
+
url: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>;
|
|
450
|
+
tech: z.ZodOptional<z.ZodString>;
|
|
451
|
+
}, z.core.$strict>]>>;
|
|
452
|
+
weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
453
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
normal: "normal";
|
|
455
|
+
italic: "italic";
|
|
456
|
+
oblique: "oblique";
|
|
457
|
+
}>>;
|
|
458
|
+
display: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
optional: "optional";
|
|
460
|
+
auto: "auto";
|
|
461
|
+
block: "block";
|
|
462
|
+
swap: "swap";
|
|
463
|
+
fallback: "fallback";
|
|
464
|
+
}>>;
|
|
762
465
|
stretch: z.ZodOptional<z.ZodString>;
|
|
763
466
|
featureSettings: z.ZodOptional<z.ZodString>;
|
|
764
467
|
variationSettings: z.ZodOptional<z.ZodString>;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
468
|
+
unicodeRange: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
469
|
+
}, z.core.$strict>], z.ZodObject<{
|
|
470
|
+
src: z.ZodTuple<[z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodObject<{
|
|
471
|
+
url: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>;
|
|
768
472
|
tech: z.ZodOptional<z.ZodString>;
|
|
769
|
-
},
|
|
770
|
-
url:
|
|
771
|
-
tech
|
|
772
|
-
},
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
src: [string | URL | {
|
|
794
|
-
url: string | URL;
|
|
795
|
-
tech?: string | undefined;
|
|
796
|
-
}, ...(string | URL | {
|
|
797
|
-
url: string | URL;
|
|
798
|
-
tech?: string | undefined;
|
|
799
|
-
})[]];
|
|
800
|
-
weight?: string | number | undefined;
|
|
801
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
802
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
803
|
-
stretch?: string | undefined;
|
|
804
|
-
featureSettings?: string | undefined;
|
|
805
|
-
variationSettings?: string | undefined;
|
|
806
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
807
|
-
}>, "atleastone">;
|
|
808
|
-
}, "strict", z.ZodTypeAny, {
|
|
809
|
-
name: string;
|
|
810
|
-
cssVariable: string;
|
|
811
|
-
provider: "local";
|
|
812
|
-
variants: [{
|
|
813
|
-
src: [string | URL | {
|
|
814
|
-
url: string | URL;
|
|
815
|
-
tech?: string | undefined;
|
|
816
|
-
}, ...(string | URL | {
|
|
817
|
-
url: string | URL;
|
|
818
|
-
tech?: string | undefined;
|
|
819
|
-
})[]];
|
|
820
|
-
weight?: string | number | undefined;
|
|
821
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
822
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
823
|
-
stretch?: string | undefined;
|
|
824
|
-
featureSettings?: string | undefined;
|
|
825
|
-
variationSettings?: string | undefined;
|
|
826
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
827
|
-
}, ...{
|
|
828
|
-
src: [string | URL | {
|
|
829
|
-
url: string | URL;
|
|
830
|
-
tech?: string | undefined;
|
|
831
|
-
}, ...(string | URL | {
|
|
832
|
-
url: string | URL;
|
|
833
|
-
tech?: string | undefined;
|
|
834
|
-
})[]];
|
|
835
|
-
weight?: string | number | undefined;
|
|
836
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
837
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
838
|
-
stretch?: string | undefined;
|
|
839
|
-
featureSettings?: string | undefined;
|
|
840
|
-
variationSettings?: string | undefined;
|
|
841
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
842
|
-
}[]];
|
|
843
|
-
fallbacks?: string[] | undefined;
|
|
844
|
-
optimizedFallbacks?: boolean | undefined;
|
|
845
|
-
}, {
|
|
846
|
-
name: string;
|
|
847
|
-
cssVariable: string;
|
|
848
|
-
provider: "local";
|
|
849
|
-
variants: [{
|
|
850
|
-
src: [string | URL | {
|
|
851
|
-
url: string | URL;
|
|
852
|
-
tech?: string | undefined;
|
|
853
|
-
}, ...(string | URL | {
|
|
854
|
-
url: string | URL;
|
|
855
|
-
tech?: string | undefined;
|
|
856
|
-
})[]];
|
|
857
|
-
weight?: string | number | undefined;
|
|
858
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
859
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
860
|
-
stretch?: string | undefined;
|
|
861
|
-
featureSettings?: string | undefined;
|
|
862
|
-
variationSettings?: string | undefined;
|
|
863
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
864
|
-
}, ...{
|
|
865
|
-
src: [string | URL | {
|
|
866
|
-
url: string | URL;
|
|
867
|
-
tech?: string | undefined;
|
|
868
|
-
}, ...(string | URL | {
|
|
869
|
-
url: string | URL;
|
|
870
|
-
tech?: string | undefined;
|
|
871
|
-
})[]];
|
|
872
|
-
weight?: string | number | undefined;
|
|
873
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
874
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
875
|
-
stretch?: string | undefined;
|
|
876
|
-
featureSettings?: string | undefined;
|
|
877
|
-
variationSettings?: string | undefined;
|
|
878
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
879
|
-
}[]];
|
|
880
|
-
fallbacks?: string[] | undefined;
|
|
881
|
-
optimizedFallbacks?: boolean | undefined;
|
|
882
|
-
}>, z.ZodObject<{
|
|
473
|
+
}, z.core.$strict>]>], z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodObject<{
|
|
474
|
+
url: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>;
|
|
475
|
+
tech: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strict>]>>;
|
|
477
|
+
weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
478
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
normal: "normal";
|
|
480
|
+
italic: "italic";
|
|
481
|
+
oblique: "oblique";
|
|
482
|
+
}>>;
|
|
483
|
+
display: z.ZodOptional<z.ZodEnum<{
|
|
484
|
+
optional: "optional";
|
|
485
|
+
auto: "auto";
|
|
486
|
+
block: "block";
|
|
487
|
+
swap: "swap";
|
|
488
|
+
fallback: "fallback";
|
|
489
|
+
}>>;
|
|
490
|
+
stretch: z.ZodOptional<z.ZodString>;
|
|
491
|
+
featureSettings: z.ZodOptional<z.ZodString>;
|
|
492
|
+
variationSettings: z.ZodOptional<z.ZodString>;
|
|
493
|
+
unicodeRange: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
494
|
+
}, z.core.$strict>>;
|
|
495
|
+
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
496
|
+
optimizedFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
883
497
|
name: z.ZodString;
|
|
884
498
|
cssVariable: z.ZodString;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
499
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
500
|
+
provider: z.ZodObject<{
|
|
501
|
+
entrypoint: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>;
|
|
502
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
503
|
+
}, z.core.$strict>;
|
|
504
|
+
weights: z.ZodOptional<z.ZodTuple<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>], z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
505
|
+
styles: z.ZodOptional<z.ZodTuple<[z.ZodEnum<{
|
|
506
|
+
normal: "normal";
|
|
507
|
+
italic: "italic";
|
|
508
|
+
oblique: "oblique";
|
|
509
|
+
}>], z.ZodEnum<{
|
|
510
|
+
normal: "normal";
|
|
511
|
+
italic: "italic";
|
|
512
|
+
oblique: "oblique";
|
|
513
|
+
}>>>;
|
|
514
|
+
subsets: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
515
|
+
display: z.ZodOptional<z.ZodEnum<{
|
|
516
|
+
optional: "optional";
|
|
517
|
+
auto: "auto";
|
|
518
|
+
block: "block";
|
|
519
|
+
swap: "swap";
|
|
520
|
+
fallback: "fallback";
|
|
521
|
+
}>>;
|
|
889
522
|
stretch: z.ZodOptional<z.ZodString>;
|
|
890
523
|
featureSettings: z.ZodOptional<z.ZodString>;
|
|
891
524
|
variationSettings: z.ZodOptional<z.ZodString>;
|
|
892
|
-
|
|
893
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString
|
|
525
|
+
unicodeRange: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
526
|
+
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
894
527
|
optimizedFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
899
|
-
}, "strict", z.ZodTypeAny, {
|
|
900
|
-
entrypoint: string | URL;
|
|
901
|
-
config?: Record<string, any> | undefined;
|
|
902
|
-
}, {
|
|
903
|
-
entrypoint: string | URL;
|
|
904
|
-
config?: Record<string, any> | undefined;
|
|
905
|
-
}>;
|
|
906
|
-
weights: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "atleastone">>;
|
|
907
|
-
styles: z.ZodOptional<z.ZodArray<z.ZodEnum<["normal", "italic", "oblique"]>, "atleastone">>;
|
|
908
|
-
subsets: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
909
|
-
unicodeRange: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
910
|
-
}, "strict", z.ZodTypeAny, {
|
|
911
|
-
name: string;
|
|
912
|
-
cssVariable: string;
|
|
913
|
-
provider: {
|
|
914
|
-
entrypoint: string | URL;
|
|
915
|
-
config?: Record<string, any> | undefined;
|
|
916
|
-
};
|
|
917
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
918
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
919
|
-
subsets?: [string, ...string[]] | undefined;
|
|
920
|
-
fallbacks?: string[] | undefined;
|
|
921
|
-
optimizedFallbacks?: boolean | undefined;
|
|
922
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
923
|
-
stretch?: string | undefined;
|
|
924
|
-
featureSettings?: string | undefined;
|
|
925
|
-
variationSettings?: string | undefined;
|
|
926
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
927
|
-
}, {
|
|
928
|
-
name: string;
|
|
929
|
-
cssVariable: string;
|
|
930
|
-
provider: {
|
|
931
|
-
entrypoint: string | URL;
|
|
932
|
-
config?: Record<string, any> | undefined;
|
|
933
|
-
};
|
|
934
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
935
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
936
|
-
subsets?: [string, ...string[]] | undefined;
|
|
937
|
-
fallbacks?: string[] | undefined;
|
|
938
|
-
optimizedFallbacks?: boolean | undefined;
|
|
939
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
940
|
-
stretch?: string | undefined;
|
|
941
|
-
featureSettings?: string | undefined;
|
|
942
|
-
variationSettings?: string | undefined;
|
|
943
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
944
|
-
}>]>, "many">>;
|
|
945
|
-
csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
|
|
946
|
-
algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
|
|
947
|
-
directives: z.ZodOptional<z.ZodArray<z.ZodType<`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`, z.ZodTypeDef, `base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`>, "many">>;
|
|
948
|
-
styleDirective: z.ZodOptional<z.ZodObject<{
|
|
949
|
-
resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
950
|
-
hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
|
|
951
|
-
}, "strip", z.ZodTypeAny, {
|
|
952
|
-
resources?: string[] | undefined;
|
|
953
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
954
|
-
}, {
|
|
955
|
-
resources?: string[] | undefined;
|
|
956
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
957
|
-
}>>;
|
|
958
|
-
scriptDirective: z.ZodOptional<z.ZodObject<{
|
|
959
|
-
resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
960
|
-
hashes: z.ZodOptional<z.ZodArray<z.ZodType<`sha256-${string}` | `sha384-${string}` | `sha512-${string}`, z.ZodTypeDef, `sha256-${string}` | `sha384-${string}` | `sha512-${string}`>, "many">>;
|
|
961
|
-
strictDynamic: z.ZodOptional<z.ZodBoolean>;
|
|
962
|
-
}, "strip", z.ZodTypeAny, {
|
|
963
|
-
resources?: string[] | undefined;
|
|
964
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
965
|
-
strictDynamic?: boolean | undefined;
|
|
966
|
-
}, {
|
|
967
|
-
resources?: string[] | undefined;
|
|
968
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
969
|
-
strictDynamic?: boolean | undefined;
|
|
970
|
-
}>>;
|
|
971
|
-
}, "strip", z.ZodTypeAny, {
|
|
972
|
-
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
973
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
974
|
-
styleDirective?: {
|
|
975
|
-
resources?: string[] | undefined;
|
|
976
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
977
|
-
} | undefined;
|
|
978
|
-
scriptDirective?: {
|
|
979
|
-
resources?: string[] | undefined;
|
|
980
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
981
|
-
strictDynamic?: boolean | undefined;
|
|
982
|
-
} | undefined;
|
|
983
|
-
}, {
|
|
984
|
-
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
985
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
986
|
-
styleDirective?: {
|
|
987
|
-
resources?: string[] | undefined;
|
|
988
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
989
|
-
} | undefined;
|
|
990
|
-
scriptDirective?: {
|
|
991
|
-
resources?: string[] | undefined;
|
|
992
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
993
|
-
strictDynamic?: boolean | undefined;
|
|
994
|
-
} | undefined;
|
|
995
|
-
}>]>>>;
|
|
528
|
+
name: z.ZodString;
|
|
529
|
+
cssVariable: z.ZodString;
|
|
530
|
+
}, z.core.$strict>]>>>;
|
|
996
531
|
chromeDevtoolsWorkspace: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
997
|
-
|
|
998
|
-
},
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
csp: boolean | {
|
|
1002
|
-
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1003
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1004
|
-
styleDirective?: {
|
|
1005
|
-
resources?: string[] | undefined;
|
|
1006
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1007
|
-
} | undefined;
|
|
1008
|
-
scriptDirective?: {
|
|
1009
|
-
resources?: string[] | undefined;
|
|
1010
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1011
|
-
strictDynamic?: boolean | undefined;
|
|
1012
|
-
} | undefined;
|
|
1013
|
-
};
|
|
1014
|
-
chromeDevtoolsWorkspace: boolean;
|
|
1015
|
-
failOnPrerenderConflict: boolean;
|
|
1016
|
-
fonts?: ({
|
|
1017
|
-
name: string;
|
|
1018
|
-
cssVariable: string;
|
|
1019
|
-
provider: {
|
|
1020
|
-
entrypoint: string | URL;
|
|
1021
|
-
config?: Record<string, any> | undefined;
|
|
1022
|
-
};
|
|
1023
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1024
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1025
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1026
|
-
fallbacks?: string[] | undefined;
|
|
1027
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1028
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1029
|
-
stretch?: string | undefined;
|
|
1030
|
-
featureSettings?: string | undefined;
|
|
1031
|
-
variationSettings?: string | undefined;
|
|
1032
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1033
|
-
} | {
|
|
1034
|
-
name: string;
|
|
1035
|
-
cssVariable: string;
|
|
1036
|
-
provider: "local";
|
|
1037
|
-
variants: [{
|
|
1038
|
-
src: [string | URL | {
|
|
1039
|
-
url: string | URL;
|
|
1040
|
-
tech?: string | undefined;
|
|
1041
|
-
}, ...(string | URL | {
|
|
1042
|
-
url: string | URL;
|
|
1043
|
-
tech?: string | undefined;
|
|
1044
|
-
})[]];
|
|
1045
|
-
weight?: string | number | undefined;
|
|
1046
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1047
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1048
|
-
stretch?: string | undefined;
|
|
1049
|
-
featureSettings?: string | undefined;
|
|
1050
|
-
variationSettings?: string | undefined;
|
|
1051
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1052
|
-
}, ...{
|
|
1053
|
-
src: [string | URL | {
|
|
1054
|
-
url: string | URL;
|
|
1055
|
-
tech?: string | undefined;
|
|
1056
|
-
}, ...(string | URL | {
|
|
1057
|
-
url: string | URL;
|
|
1058
|
-
tech?: string | undefined;
|
|
1059
|
-
})[]];
|
|
1060
|
-
weight?: string | number | undefined;
|
|
1061
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1062
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1063
|
-
stretch?: string | undefined;
|
|
1064
|
-
featureSettings?: string | undefined;
|
|
1065
|
-
variationSettings?: string | undefined;
|
|
1066
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1067
|
-
}[]];
|
|
1068
|
-
fallbacks?: string[] | undefined;
|
|
1069
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1070
|
-
})[] | undefined;
|
|
1071
|
-
}, {
|
|
1072
|
-
fonts?: ({
|
|
1073
|
-
name: string;
|
|
1074
|
-
cssVariable: string;
|
|
1075
|
-
provider: {
|
|
1076
|
-
entrypoint: string | URL;
|
|
1077
|
-
config?: Record<string, any> | undefined;
|
|
1078
|
-
};
|
|
1079
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1080
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1081
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1082
|
-
fallbacks?: string[] | undefined;
|
|
1083
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1084
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1085
|
-
stretch?: string | undefined;
|
|
1086
|
-
featureSettings?: string | undefined;
|
|
1087
|
-
variationSettings?: string | undefined;
|
|
1088
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1089
|
-
} | {
|
|
1090
|
-
name: string;
|
|
1091
|
-
cssVariable: string;
|
|
1092
|
-
provider: "local";
|
|
1093
|
-
variants: [{
|
|
1094
|
-
src: [string | URL | {
|
|
1095
|
-
url: string | URL;
|
|
1096
|
-
tech?: string | undefined;
|
|
1097
|
-
}, ...(string | URL | {
|
|
1098
|
-
url: string | URL;
|
|
1099
|
-
tech?: string | undefined;
|
|
1100
|
-
})[]];
|
|
1101
|
-
weight?: string | number | undefined;
|
|
1102
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1103
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1104
|
-
stretch?: string | undefined;
|
|
1105
|
-
featureSettings?: string | undefined;
|
|
1106
|
-
variationSettings?: string | undefined;
|
|
1107
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1108
|
-
}, ...{
|
|
1109
|
-
src: [string | URL | {
|
|
1110
|
-
url: string | URL;
|
|
1111
|
-
tech?: string | undefined;
|
|
1112
|
-
}, ...(string | URL | {
|
|
1113
|
-
url: string | URL;
|
|
1114
|
-
tech?: string | undefined;
|
|
1115
|
-
})[]];
|
|
1116
|
-
weight?: string | number | undefined;
|
|
1117
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1118
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1119
|
-
stretch?: string | undefined;
|
|
1120
|
-
featureSettings?: string | undefined;
|
|
1121
|
-
variationSettings?: string | undefined;
|
|
1122
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1123
|
-
}[]];
|
|
1124
|
-
fallbacks?: string[] | undefined;
|
|
1125
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1126
|
-
})[] | undefined;
|
|
1127
|
-
clientPrerender?: boolean | undefined;
|
|
1128
|
-
contentIntellisense?: boolean | undefined;
|
|
1129
|
-
csp?: boolean | {
|
|
1130
|
-
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
1131
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1132
|
-
styleDirective?: {
|
|
1133
|
-
resources?: string[] | undefined;
|
|
1134
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1135
|
-
} | undefined;
|
|
1136
|
-
scriptDirective?: {
|
|
1137
|
-
resources?: string[] | undefined;
|
|
1138
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1139
|
-
strictDynamic?: boolean | undefined;
|
|
1140
|
-
} | undefined;
|
|
1141
|
-
} | undefined;
|
|
1142
|
-
chromeDevtoolsWorkspace?: boolean | undefined;
|
|
1143
|
-
failOnPrerenderConflict?: boolean | undefined;
|
|
1144
|
-
}>>;
|
|
1145
|
-
legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
1146
|
-
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
outDir: URL;
|
|
1148
|
-
root: URL;
|
|
1149
|
-
build: {
|
|
1150
|
-
format: "preserve" | "file" | "directory";
|
|
1151
|
-
redirects: boolean;
|
|
1152
|
-
assets: string;
|
|
1153
|
-
client: URL;
|
|
1154
|
-
server: URL;
|
|
1155
|
-
serverEntry: string;
|
|
1156
|
-
inlineStylesheets: "auto" | "never" | "always";
|
|
1157
|
-
concurrency: number;
|
|
1158
|
-
assetsPrefix?: string | ({
|
|
1159
|
-
fallback: string;
|
|
1160
|
-
} & Record<string, string>) | undefined;
|
|
1161
|
-
};
|
|
1162
|
-
markdown: {
|
|
1163
|
-
syntaxHighlight: false | "shiki" | "prism" | {
|
|
1164
|
-
type: "shiki" | "prism";
|
|
1165
|
-
excludeLangs: string[];
|
|
1166
|
-
};
|
|
1167
|
-
shikiConfig: {
|
|
1168
|
-
langs: ShikiLang[];
|
|
1169
|
-
theme: import("shiki").BundledTheme | ShikiTheme;
|
|
1170
|
-
themes: Record<string, import("shiki").BundledTheme | ShikiTheme>;
|
|
1171
|
-
langAlias: Record<string, string>;
|
|
1172
|
-
wrap: boolean | null;
|
|
1173
|
-
transformers: ShikiTransformer[];
|
|
1174
|
-
defaultColor?: string | false | undefined;
|
|
1175
|
-
};
|
|
1176
|
-
remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
|
|
1177
|
-
rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
|
|
1178
|
-
remarkRehype: RemarkRehype;
|
|
1179
|
-
gfm: boolean;
|
|
1180
|
-
smartypants: boolean;
|
|
1181
|
-
};
|
|
1182
|
-
vite: ViteUserConfig;
|
|
1183
|
-
redirects: Record<string, string | {
|
|
1184
|
-
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1185
|
-
destination: string;
|
|
1186
|
-
}>;
|
|
1187
|
-
env: {
|
|
1188
|
-
validateSecrets: boolean;
|
|
1189
|
-
schema: Record<string, ({
|
|
1190
|
-
context: "client";
|
|
1191
|
-
access: "public";
|
|
1192
|
-
} | {
|
|
1193
|
-
context: "server";
|
|
1194
|
-
access: "public";
|
|
1195
|
-
} | {
|
|
1196
|
-
context: "server";
|
|
1197
|
-
access: "secret";
|
|
1198
|
-
}) & ({
|
|
1199
|
-
type: "string";
|
|
1200
|
-
length?: number | undefined;
|
|
1201
|
-
includes?: string | undefined;
|
|
1202
|
-
optional?: boolean | undefined;
|
|
1203
|
-
url?: boolean | undefined;
|
|
1204
|
-
endsWith?: string | undefined;
|
|
1205
|
-
startsWith?: string | undefined;
|
|
1206
|
-
default?: string | undefined;
|
|
1207
|
-
max?: number | undefined;
|
|
1208
|
-
min?: number | undefined;
|
|
1209
|
-
} | {
|
|
1210
|
-
type: "number";
|
|
1211
|
-
optional?: boolean | undefined;
|
|
1212
|
-
default?: number | undefined;
|
|
1213
|
-
max?: number | undefined;
|
|
1214
|
-
min?: number | undefined;
|
|
1215
|
-
gt?: number | undefined;
|
|
1216
|
-
lt?: number | undefined;
|
|
1217
|
-
int?: boolean | undefined;
|
|
1218
|
-
} | {
|
|
1219
|
-
type: "boolean";
|
|
1220
|
-
optional?: boolean | undefined;
|
|
1221
|
-
default?: boolean | undefined;
|
|
1222
|
-
} | {
|
|
1223
|
-
type: "enum";
|
|
1224
|
-
values: string[];
|
|
1225
|
-
optional?: boolean | undefined;
|
|
1226
|
-
default?: string | undefined;
|
|
1227
|
-
})>;
|
|
1228
|
-
};
|
|
1229
|
-
devToolbar: {
|
|
1230
|
-
enabled: boolean;
|
|
1231
|
-
};
|
|
1232
|
-
server: {
|
|
1233
|
-
host: string | boolean;
|
|
1234
|
-
port: number;
|
|
1235
|
-
allowedHosts: true | string[];
|
|
1236
|
-
open: string | boolean;
|
|
1237
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
1238
|
-
};
|
|
1239
|
-
srcDir: URL;
|
|
1240
|
-
publicDir: URL;
|
|
1241
|
-
cacheDir: URL;
|
|
1242
|
-
compressHTML: boolean;
|
|
1243
|
-
base: string;
|
|
1244
|
-
trailingSlash: "never" | "ignore" | "always";
|
|
1245
|
-
output: "server" | "static";
|
|
1246
|
-
scopedStyleStrategy: "where" | "class" | "attribute";
|
|
1247
|
-
integrations: {
|
|
1248
|
-
name: string;
|
|
1249
|
-
hooks: {} & {
|
|
1250
|
-
[k: string]: unknown;
|
|
1251
|
-
};
|
|
1252
|
-
}[];
|
|
1253
|
-
image: {
|
|
1254
|
-
responsiveStyles: boolean;
|
|
1255
|
-
endpoint: {
|
|
1256
|
-
route: string;
|
|
1257
|
-
entrypoint?: string | undefined;
|
|
1258
|
-
};
|
|
1259
|
-
service: {
|
|
1260
|
-
entrypoint: string;
|
|
1261
|
-
config: Record<string, any>;
|
|
1262
|
-
};
|
|
1263
|
-
domains: string[];
|
|
1264
|
-
remotePatterns: {
|
|
1265
|
-
port?: string | undefined;
|
|
1266
|
-
protocol?: string | undefined;
|
|
1267
|
-
hostname?: string | undefined;
|
|
1268
|
-
pathname?: string | undefined;
|
|
1269
|
-
}[];
|
|
1270
|
-
layout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1271
|
-
objectFit?: string | undefined;
|
|
1272
|
-
objectPosition?: string | undefined;
|
|
1273
|
-
breakpoints?: number[] | undefined;
|
|
1274
|
-
};
|
|
1275
|
-
security: {
|
|
1276
|
-
checkOrigin: boolean;
|
|
1277
|
-
allowedDomains: {
|
|
1278
|
-
port?: string | undefined;
|
|
1279
|
-
protocol?: string | undefined;
|
|
1280
|
-
hostname?: string | undefined;
|
|
1281
|
-
}[];
|
|
1282
|
-
};
|
|
1283
|
-
experimental: {
|
|
1284
|
-
clientPrerender: boolean;
|
|
1285
|
-
contentIntellisense: boolean;
|
|
1286
|
-
csp: boolean | {
|
|
1287
|
-
algorithm: "SHA-256" | "SHA-384" | "SHA-512";
|
|
1288
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1289
|
-
styleDirective?: {
|
|
1290
|
-
resources?: string[] | undefined;
|
|
1291
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1292
|
-
} | undefined;
|
|
1293
|
-
scriptDirective?: {
|
|
1294
|
-
resources?: string[] | undefined;
|
|
1295
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1296
|
-
strictDynamic?: boolean | undefined;
|
|
1297
|
-
} | undefined;
|
|
1298
|
-
};
|
|
1299
|
-
chromeDevtoolsWorkspace: boolean;
|
|
1300
|
-
failOnPrerenderConflict: boolean;
|
|
1301
|
-
fonts?: ({
|
|
1302
|
-
name: string;
|
|
1303
|
-
cssVariable: string;
|
|
1304
|
-
provider: {
|
|
1305
|
-
entrypoint: string | URL;
|
|
1306
|
-
config?: Record<string, any> | undefined;
|
|
1307
|
-
};
|
|
1308
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1309
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1310
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1311
|
-
fallbacks?: string[] | undefined;
|
|
1312
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1313
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1314
|
-
stretch?: string | undefined;
|
|
1315
|
-
featureSettings?: string | undefined;
|
|
1316
|
-
variationSettings?: string | undefined;
|
|
1317
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1318
|
-
} | {
|
|
1319
|
-
name: string;
|
|
1320
|
-
cssVariable: string;
|
|
1321
|
-
provider: "local";
|
|
1322
|
-
variants: [{
|
|
1323
|
-
src: [string | URL | {
|
|
1324
|
-
url: string | URL;
|
|
1325
|
-
tech?: string | undefined;
|
|
1326
|
-
}, ...(string | URL | {
|
|
1327
|
-
url: string | URL;
|
|
1328
|
-
tech?: string | undefined;
|
|
1329
|
-
})[]];
|
|
1330
|
-
weight?: string | number | undefined;
|
|
1331
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1332
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1333
|
-
stretch?: string | undefined;
|
|
1334
|
-
featureSettings?: string | undefined;
|
|
1335
|
-
variationSettings?: string | undefined;
|
|
1336
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1337
|
-
}, ...{
|
|
1338
|
-
src: [string | URL | {
|
|
1339
|
-
url: string | URL;
|
|
1340
|
-
tech?: string | undefined;
|
|
1341
|
-
}, ...(string | URL | {
|
|
1342
|
-
url: string | URL;
|
|
1343
|
-
tech?: string | undefined;
|
|
1344
|
-
})[]];
|
|
1345
|
-
weight?: string | number | undefined;
|
|
1346
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1347
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1348
|
-
stretch?: string | undefined;
|
|
1349
|
-
featureSettings?: string | undefined;
|
|
1350
|
-
variationSettings?: string | undefined;
|
|
1351
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1352
|
-
}[]];
|
|
1353
|
-
fallbacks?: string[] | undefined;
|
|
1354
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1355
|
-
})[] | undefined;
|
|
1356
|
-
};
|
|
1357
|
-
legacy: {};
|
|
1358
|
-
session?: {
|
|
1359
|
-
options?: Record<string, any> | undefined;
|
|
1360
|
-
driver?: string | undefined;
|
|
1361
|
-
cookie?: {
|
|
1362
|
-
name?: string | undefined;
|
|
1363
|
-
path?: string | undefined;
|
|
1364
|
-
domain?: string | undefined;
|
|
1365
|
-
maxAge?: number | undefined;
|
|
1366
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1367
|
-
secure?: boolean | undefined;
|
|
1368
|
-
} | undefined;
|
|
1369
|
-
ttl?: number | undefined;
|
|
1370
|
-
} | undefined;
|
|
1371
|
-
adapter?: {
|
|
1372
|
-
name: string;
|
|
1373
|
-
hooks: {} & {
|
|
1374
|
-
[k: string]: unknown;
|
|
1375
|
-
};
|
|
1376
|
-
} | undefined;
|
|
1377
|
-
site?: string | undefined;
|
|
1378
|
-
prefetch?: boolean | {
|
|
1379
|
-
prefetchAll?: boolean | undefined;
|
|
1380
|
-
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1381
|
-
} | undefined;
|
|
1382
|
-
i18n?: {
|
|
1383
|
-
defaultLocale: string;
|
|
1384
|
-
locales: (string | {
|
|
1385
|
-
path: string;
|
|
1386
|
-
codes: [string, ...string[]];
|
|
1387
|
-
})[];
|
|
1388
|
-
routing: "manual" | {
|
|
1389
|
-
prefixDefaultLocale: boolean;
|
|
1390
|
-
redirectToDefaultLocale: boolean;
|
|
1391
|
-
fallbackType: "redirect" | "rewrite";
|
|
1392
|
-
};
|
|
1393
|
-
fallback?: Record<string, string> | undefined;
|
|
1394
|
-
domains?: Record<string, string> | undefined;
|
|
1395
|
-
} | undefined;
|
|
1396
|
-
}, {
|
|
1397
|
-
outDir?: string | undefined;
|
|
1398
|
-
root?: string | undefined;
|
|
1399
|
-
build?: {
|
|
1400
|
-
format?: "preserve" | "file" | "directory" | undefined;
|
|
1401
|
-
redirects?: boolean | undefined;
|
|
1402
|
-
assets?: string | undefined;
|
|
1403
|
-
client?: string | undefined;
|
|
1404
|
-
server?: string | undefined;
|
|
1405
|
-
serverEntry?: string | undefined;
|
|
1406
|
-
inlineStylesheets?: "auto" | "never" | "always" | undefined;
|
|
1407
|
-
concurrency?: number | undefined;
|
|
1408
|
-
assetsPrefix?: string | ({
|
|
1409
|
-
fallback: string;
|
|
1410
|
-
} & Record<string, string>) | undefined;
|
|
1411
|
-
} | undefined;
|
|
1412
|
-
markdown?: {
|
|
1413
|
-
syntaxHighlight?: false | "shiki" | "prism" | {
|
|
1414
|
-
type?: "shiki" | "prism" | undefined;
|
|
1415
|
-
excludeLangs?: string[] | undefined;
|
|
1416
|
-
} | undefined;
|
|
1417
|
-
shikiConfig?: {
|
|
1418
|
-
langs?: ShikiLang[] | undefined;
|
|
1419
|
-
theme?: import("shiki").BundledTheme | ShikiTheme | undefined;
|
|
1420
|
-
themes?: Record<string, import("shiki").BundledTheme | ShikiTheme> | undefined;
|
|
1421
|
-
langAlias?: Record<string, string> | undefined;
|
|
1422
|
-
defaultColor?: string | false | undefined;
|
|
1423
|
-
wrap?: boolean | null | undefined;
|
|
1424
|
-
transformers?: ShikiTransformer[] | undefined;
|
|
1425
|
-
} | undefined;
|
|
1426
|
-
remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
|
|
1427
|
-
rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
|
|
1428
|
-
remarkRehype?: RemarkRehype | undefined;
|
|
1429
|
-
gfm?: boolean | undefined;
|
|
1430
|
-
smartypants?: boolean | undefined;
|
|
1431
|
-
} | undefined;
|
|
1432
|
-
vite?: ViteUserConfig | undefined;
|
|
1433
|
-
redirects?: Record<string, string | {
|
|
1434
|
-
status: 301 | 302 | 303 | 307 | 308 | 300 | 304;
|
|
1435
|
-
destination: string;
|
|
1436
|
-
}> | undefined;
|
|
1437
|
-
session?: {
|
|
1438
|
-
options?: Record<string, any> | undefined;
|
|
1439
|
-
driver?: string | undefined;
|
|
1440
|
-
cookie?: string | {
|
|
1441
|
-
name?: string | undefined;
|
|
1442
|
-
path?: string | undefined;
|
|
1443
|
-
domain?: string | undefined;
|
|
1444
|
-
maxAge?: number | undefined;
|
|
1445
|
-
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
1446
|
-
secure?: boolean | undefined;
|
|
1447
|
-
} | undefined;
|
|
1448
|
-
ttl?: number | undefined;
|
|
1449
|
-
} | undefined;
|
|
1450
|
-
env?: {
|
|
1451
|
-
validateSecrets?: boolean | undefined;
|
|
1452
|
-
schema?: Record<string, ({
|
|
1453
|
-
context: "client";
|
|
1454
|
-
access: "public";
|
|
1455
|
-
} | {
|
|
1456
|
-
context: "server";
|
|
1457
|
-
access: "public";
|
|
1458
|
-
} | {
|
|
1459
|
-
context: "server";
|
|
1460
|
-
access: "secret";
|
|
1461
|
-
}) & ({
|
|
1462
|
-
type: "string";
|
|
1463
|
-
length?: number | undefined;
|
|
1464
|
-
includes?: string | undefined;
|
|
1465
|
-
optional?: boolean | undefined;
|
|
1466
|
-
url?: boolean | undefined;
|
|
1467
|
-
endsWith?: string | undefined;
|
|
1468
|
-
startsWith?: string | undefined;
|
|
1469
|
-
default?: string | undefined;
|
|
1470
|
-
max?: number | undefined;
|
|
1471
|
-
min?: number | undefined;
|
|
1472
|
-
} | {
|
|
1473
|
-
type: "number";
|
|
1474
|
-
optional?: boolean | undefined;
|
|
1475
|
-
default?: number | undefined;
|
|
1476
|
-
max?: number | undefined;
|
|
1477
|
-
min?: number | undefined;
|
|
1478
|
-
gt?: number | undefined;
|
|
1479
|
-
lt?: number | undefined;
|
|
1480
|
-
int?: boolean | undefined;
|
|
1481
|
-
} | {
|
|
1482
|
-
type: "boolean";
|
|
1483
|
-
optional?: boolean | undefined;
|
|
1484
|
-
default?: boolean | undefined;
|
|
1485
|
-
} | {
|
|
1486
|
-
type: "enum";
|
|
1487
|
-
values: string[];
|
|
1488
|
-
optional?: boolean | undefined;
|
|
1489
|
-
default?: string | undefined;
|
|
1490
|
-
})> | undefined;
|
|
1491
|
-
} | undefined;
|
|
1492
|
-
adapter?: {
|
|
1493
|
-
name: string;
|
|
1494
|
-
hooks?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1495
|
-
} | undefined;
|
|
1496
|
-
devToolbar?: {
|
|
1497
|
-
enabled?: boolean | undefined;
|
|
1498
|
-
} | undefined;
|
|
1499
|
-
server?: unknown;
|
|
1500
|
-
srcDir?: string | undefined;
|
|
1501
|
-
publicDir?: string | undefined;
|
|
1502
|
-
cacheDir?: string | undefined;
|
|
1503
|
-
site?: string | undefined;
|
|
1504
|
-
compressHTML?: boolean | undefined;
|
|
1505
|
-
base?: string | undefined;
|
|
1506
|
-
trailingSlash?: "never" | "ignore" | "always" | undefined;
|
|
1507
|
-
output?: "server" | "static" | undefined;
|
|
1508
|
-
scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
|
|
1509
|
-
integrations?: unknown;
|
|
1510
|
-
prefetch?: boolean | {
|
|
1511
|
-
prefetchAll?: boolean | undefined;
|
|
1512
|
-
defaultStrategy?: "tap" | "hover" | "viewport" | "load" | undefined;
|
|
1513
|
-
} | undefined;
|
|
1514
|
-
image?: {
|
|
1515
|
-
responsiveStyles?: boolean | undefined;
|
|
1516
|
-
endpoint?: {
|
|
1517
|
-
entrypoint?: string | undefined;
|
|
1518
|
-
route?: string | undefined;
|
|
1519
|
-
} | undefined;
|
|
1520
|
-
service?: {
|
|
1521
|
-
entrypoint?: string | undefined;
|
|
1522
|
-
config?: Record<string, any> | undefined;
|
|
1523
|
-
} | undefined;
|
|
1524
|
-
domains?: string[] | undefined;
|
|
1525
|
-
remotePatterns?: {
|
|
1526
|
-
port?: string | undefined;
|
|
1527
|
-
protocol?: string | undefined;
|
|
1528
|
-
hostname?: string | undefined;
|
|
1529
|
-
pathname?: string | undefined;
|
|
1530
|
-
}[] | undefined;
|
|
1531
|
-
layout?: "fixed" | "constrained" | "full-width" | "none" | undefined;
|
|
1532
|
-
objectFit?: string | undefined;
|
|
1533
|
-
objectPosition?: string | undefined;
|
|
1534
|
-
breakpoints?: number[] | undefined;
|
|
1535
|
-
} | undefined;
|
|
1536
|
-
i18n?: {
|
|
1537
|
-
defaultLocale: string;
|
|
1538
|
-
locales: (string | {
|
|
1539
|
-
path: string;
|
|
1540
|
-
codes: [string, ...string[]];
|
|
1541
|
-
})[];
|
|
1542
|
-
fallback?: Record<string, string> | undefined;
|
|
1543
|
-
domains?: Record<string, string> | undefined;
|
|
1544
|
-
routing?: "manual" | {
|
|
1545
|
-
prefixDefaultLocale?: boolean | undefined;
|
|
1546
|
-
redirectToDefaultLocale?: boolean | undefined;
|
|
1547
|
-
fallbackType?: "redirect" | "rewrite" | undefined;
|
|
1548
|
-
} | undefined;
|
|
1549
|
-
} | undefined;
|
|
1550
|
-
security?: {
|
|
1551
|
-
checkOrigin?: boolean | undefined;
|
|
1552
|
-
allowedDomains?: {
|
|
1553
|
-
port?: string | undefined;
|
|
1554
|
-
protocol?: string | undefined;
|
|
1555
|
-
hostname?: string | undefined;
|
|
1556
|
-
}[] | undefined;
|
|
1557
|
-
} | undefined;
|
|
1558
|
-
experimental?: {
|
|
1559
|
-
fonts?: ({
|
|
1560
|
-
name: string;
|
|
1561
|
-
cssVariable: string;
|
|
1562
|
-
provider: {
|
|
1563
|
-
entrypoint: string | URL;
|
|
1564
|
-
config?: Record<string, any> | undefined;
|
|
1565
|
-
};
|
|
1566
|
-
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1567
|
-
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1568
|
-
subsets?: [string, ...string[]] | undefined;
|
|
1569
|
-
fallbacks?: string[] | undefined;
|
|
1570
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1571
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1572
|
-
stretch?: string | undefined;
|
|
1573
|
-
featureSettings?: string | undefined;
|
|
1574
|
-
variationSettings?: string | undefined;
|
|
1575
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1576
|
-
} | {
|
|
1577
|
-
name: string;
|
|
1578
|
-
cssVariable: string;
|
|
1579
|
-
provider: "local";
|
|
1580
|
-
variants: [{
|
|
1581
|
-
src: [string | URL | {
|
|
1582
|
-
url: string | URL;
|
|
1583
|
-
tech?: string | undefined;
|
|
1584
|
-
}, ...(string | URL | {
|
|
1585
|
-
url: string | URL;
|
|
1586
|
-
tech?: string | undefined;
|
|
1587
|
-
})[]];
|
|
1588
|
-
weight?: string | number | undefined;
|
|
1589
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1590
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1591
|
-
stretch?: string | undefined;
|
|
1592
|
-
featureSettings?: string | undefined;
|
|
1593
|
-
variationSettings?: string | undefined;
|
|
1594
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1595
|
-
}, ...{
|
|
1596
|
-
src: [string | URL | {
|
|
1597
|
-
url: string | URL;
|
|
1598
|
-
tech?: string | undefined;
|
|
1599
|
-
}, ...(string | URL | {
|
|
1600
|
-
url: string | URL;
|
|
1601
|
-
tech?: string | undefined;
|
|
1602
|
-
})[]];
|
|
1603
|
-
weight?: string | number | undefined;
|
|
1604
|
-
style?: "normal" | "italic" | "oblique" | undefined;
|
|
1605
|
-
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1606
|
-
stretch?: string | undefined;
|
|
1607
|
-
featureSettings?: string | undefined;
|
|
1608
|
-
variationSettings?: string | undefined;
|
|
1609
|
-
unicodeRange?: [string, ...string[]] | undefined;
|
|
1610
|
-
}[]];
|
|
1611
|
-
fallbacks?: string[] | undefined;
|
|
1612
|
-
optimizedFallbacks?: boolean | undefined;
|
|
1613
|
-
})[] | undefined;
|
|
1614
|
-
clientPrerender?: boolean | undefined;
|
|
1615
|
-
contentIntellisense?: boolean | undefined;
|
|
1616
|
-
csp?: boolean | {
|
|
1617
|
-
algorithm?: "SHA-256" | "SHA-384" | "SHA-512" | undefined;
|
|
1618
|
-
directives?: (`base-uri${string}` | `child-src${string}` | `connect-src${string}` | `default-src${string}` | `fenced-frame-src${string}` | `font-src${string}` | `form-action${string}` | `frame-ancestors${string}` | `frame-src${string}` | `img-src${string}` | `manifest-src${string}` | `media-src${string}` | `object-src${string}` | `referrer${string}` | `report-to${string}` | `report-uri${string}` | `require-trusted-types-for${string}` | `sandbox${string}` | `trusted-types${string}` | `upgrade-insecure-requests${string}` | `worker-src${string}`)[] | undefined;
|
|
1619
|
-
styleDirective?: {
|
|
1620
|
-
resources?: string[] | undefined;
|
|
1621
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1622
|
-
} | undefined;
|
|
1623
|
-
scriptDirective?: {
|
|
1624
|
-
resources?: string[] | undefined;
|
|
1625
|
-
hashes?: (`sha256-${string}` | `sha384-${string}` | `sha512-${string}`)[] | undefined;
|
|
1626
|
-
strictDynamic?: boolean | undefined;
|
|
1627
|
-
} | undefined;
|
|
1628
|
-
} | undefined;
|
|
1629
|
-
chromeDevtoolsWorkspace?: boolean | undefined;
|
|
1630
|
-
failOnPrerenderConflict?: boolean | undefined;
|
|
1631
|
-
} | undefined;
|
|
1632
|
-
legacy?: {} | undefined;
|
|
1633
|
-
}>;
|
|
532
|
+
svgo: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodCustom<SvgoConfig, SvgoConfig>]>>>;
|
|
533
|
+
}, z.core.$strict>>;
|
|
534
|
+
legacy: z.ZodDefault<z.ZodObject<{}, z.core.$strip>>;
|
|
535
|
+
}, z.core.$strip>;
|
|
1634
536
|
export type AstroConfigType = z.infer<typeof AstroConfigSchema>;
|
|
1635
537
|
export {};
|