summaryrefslogtreecommitdiff
path: root/worker-configuration.d.ts
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-10-03 11:52:01 +0200
committerYuval Adam <_@yuv.al>2025-10-03 11:52:01 +0200
commit7b6314f480d4f7a0932d6463e5341e21566a37c2 (patch)
tree852174e337af4ec373e966b642dc59ca0a7e5c74 /worker-configuration.d.ts
parentdc4d65708c92cba5652597af8eb49d1297026e15 (diff)
Implement loading of unauthenticated radar GIS images
Diffstat (limited to 'worker-configuration.d.ts')
-rw-r--r--worker-configuration.d.ts28
1 files changed, 14 insertions, 14 deletions
diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts
index 5d6133a..a7db243 100644
--- a/worker-configuration.d.ts
+++ b/worker-configuration.d.ts
@@ -1,6 +1,6 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 86ac7c910eaa8ed87087e10bf93f5438)
-// Runtime types generated with workerd@1.20250923.0 2025-09-24 nodejs_compat
+// Runtime types generated with workerd@1.20251001.0 2025-09-24 nodejs_compat
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./dist/_worker.js/index");
@@ -7465,6 +7465,19 @@ interface MediaError extends Error {
readonly message: string;
readonly stack?: string;
}
+declare module 'cloudflare:node' {
+ interface NodeStyleServer {
+ listen(...args: unknown[]): this;
+ address(): {
+ port?: number | null | undefined;
+ };
+ }
+ export function httpServerHandler(port: number): ExportedHandler;
+ export function httpServerHandler(options: {
+ port: number;
+ }): ExportedHandler;
+ export function httpServerHandler(server: NodeStyleServer): ExportedHandler;
+}
type Params<P extends string = any> = Record<P, string | string[]>;
type EventContext<Env, P extends string, Data> = {
request: Request<unknown, IncomingRequestCfProperties<unknown>>;
@@ -7722,19 +7735,6 @@ declare namespace Cloudflare {
& (K extends GlobalProp<"durableNamespaces", never> ? MainModule[K] extends new (...args: any[]) => infer DoInstance ? DoInstance extends Rpc.DurableObjectBranded ? DurableObjectNamespace<DoInstance> : DurableObjectNamespace<undefined> : DurableObjectNamespace<undefined> : {});
};
}
-declare module 'cloudflare:node' {
- export interface DefaultHandler {
- fetch?(request: Request): Response | Promise<Response>;
- tail?(events: TraceItem[]): void | Promise<void>;
- trace?(traces: TraceItem[]): void | Promise<void>;
- scheduled?(controller: ScheduledController): void | Promise<void>;
- queue?(batch: MessageBatch<unknown>): void | Promise<void>;
- test?(controller: TestController): void | Promise<void>;
- }
- export function httpServerHandler(options: {
- port: number;
- }, handlers?: Omit<DefaultHandler, 'fetch'>): DefaultHandler;
-}
declare namespace CloudflareWorkersModule {
export type RpcStub<T extends Rpc.Stubable> = Rpc.Stub<T>;
export const RpcStub: {