Initial commit

This commit is contained in:
Alejandro Martinez
2026-02-12 02:04:10 +01:00
commit f09af719cf
13433 changed files with 2193445 additions and 0 deletions

23
node_modules/@astrojs/node/dist/standalone.d.ts generated vendored Normal file
View File

@@ -0,0 +1,23 @@
import http from 'node:http';
import https from 'node:https';
import type { NodeApp } from 'astro/app/node';
import type { Options } from './types.js';
export declare const hostOptions: (host: Options["host"]) => string;
export default function standalone(app: NodeApp, options: Options): {
server: {
host: string;
port: number;
closed(): Promise<void>;
stop(): Promise<void>;
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse> | https.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
};
done: Promise<void>;
};
export declare function createStandaloneHandler(app: NodeApp, options: Options): (req: http.IncomingMessage, res: http.ServerResponse) => void;
export declare function createServer(listener: http.RequestListener, host: string, port: number): {
host: string;
port: number;
closed(): Promise<void>;
stop(): Promise<void>;
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse> | https.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
};