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

17
node_modules/astro/dist/core/request-body.d.ts generated vendored Normal file
View File

@@ -0,0 +1,17 @@
/**
* Shared utility for reading request bodies with a size limit.
* Used by both Actions and Server Islands to enforce `security.actionBodySizeLimit`
* and `security.serverIslandBodySizeLimit` respectively.
*/
/**
* Read the request body as a `Uint8Array`, enforcing a maximum size limit.
* Checks the `Content-Length` header for early rejection, then streams the body
* and tracks bytes received.
*
* @throws {BodySizeLimitError} if the body exceeds the configured limit
*/
export declare function readBodyWithLimit(request: Request, limit: number): Promise<Uint8Array>;
export declare class BodySizeLimitError extends Error {
limit: number;
constructor(limit: number);
}