-
Notifications
You must be signed in to change notification settings - Fork 525
Expand file tree
/
Copy pathenv.d.ts
More file actions
26 lines (26 loc) · 806 Bytes
/
env.d.ts
File metadata and controls
26 lines (26 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* eslint-disable */
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: 81c67d75e8ffed01fabf250068c9389d)
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./src/server");
durableNamespaces: "Codemode";
}
interface Env {
LOADER: WorkerLoader;
AI: Ai;
OPENAI_API_KEY: string;
HOST?: string;
Codemode: DurableObjectNamespace<import("./src/server").Codemode>;
}
}
interface Env extends Cloudflare.Env {}
type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string
? EnvType[Binding]
: string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<
Pick<Cloudflare.Env, "OPENAI_API_KEY">
> {}
}