Complete residential site build with Docker Compose & Gitea Actions deployment

This commit is contained in:
CalebLewallen
2026-05-13 17:31:20 -04:00
parent f9c4e13a50
commit 3c22823f72
19354 changed files with 2097331 additions and 0 deletions
+13
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;