feat: scaffold Astro + Tailwind project

This commit is contained in:
TerryM
2026-05-12 16:16:03 +08:00
parent 906eb5c763
commit 03d3800c6c
12097 changed files with 1266600 additions and 0 deletions

13
node_modules/astro/dist/i18n/middleware.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import type { SSRManifest } from '../core/app/types.js';
import type { MiddlewareHandler } from '../types/public/common.js';
/**
* Builds a `MiddlewareHandler` that post-processes the rendered response
* against the given i18n configuration. This is a thin wrapper around
* `core/i18n/handler.ts#I18n` that preserves the middleware-shaped API
* exposed to users via `astro:i18n.middleware(...)` for the manual
* routing strategy.
*
* Internal request handling no longer uses this — `AstroHandler.render`
* invokes `I18n.finalize` directly as an explicit post-processing step.
*/
export declare function createI18nMiddleware(i18n: SSRManifest['i18n'], base: SSRManifest['base'], trailingSlash: SSRManifest['trailingSlash'], format: SSRManifest['buildFormat']): MiddlewareHandler;