Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
23
node_modules/srvx/dist/adapters/bun.d.mts
generated
vendored
Normal file
23
node_modules/srvx/dist/adapters/bun.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { BunFetchHandler, Server, ServerOptions } from "../_chunks/types-BtByT9ny.mjs";
|
||||
import { FastURL$2 as FastURL } from "../_chunks/_url-D8u5OAto.mjs";
|
||||
import * as bun from "bun";
|
||||
|
||||
//#region src/adapters/bun.d.ts
|
||||
declare const FastResponse: typeof globalThis.Response;
|
||||
declare function serve(options: ServerOptions): BunServer;
|
||||
// https://bun.sh/docs/api/http
|
||||
declare class BunServer implements Server<BunFetchHandler> {
|
||||
#private;
|
||||
readonly runtime = "bun";
|
||||
readonly options: Server["options"];
|
||||
readonly bun: Server["bun"];
|
||||
readonly serveOptions: bun.ServeOptions | bun.TLSServeOptions;
|
||||
readonly fetch: BunFetchHandler;
|
||||
constructor(options: ServerOptions);
|
||||
serve(): Promise<this>;
|
||||
get url(): string | undefined;
|
||||
ready(): Promise<this>;
|
||||
close(closeAll?: boolean): Promise<void>;
|
||||
}
|
||||
//#endregion
|
||||
export { FastResponse, FastURL, serve };
|
||||
Loading…
Add table
Add a link
Reference in a new issue