-
Notifications
You must be signed in to change notification settings - Fork 549
Expand file tree
/
Copy pathenv.d.ts
More file actions
38 lines (38 loc) · 1.15 KB
/
env.d.ts
File metadata and controls
38 lines (38 loc) · 1.15 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
/* eslint-disable */
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: 80d06c1c296fe7f1d2c31fc935f78abe)
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./src/server");
durableNamespaces:
| "VoiceChatAgent"
| "SoundscapeAgent"
| "CharacterAgent"
| "MusicAgent";
}
interface Env {
AUDIO_BUCKET: R2Bucket;
AI: Ai;
ELEVENLABS_API_KEY: string;
VoiceChatAgent: DurableObjectNamespace<
import("./src/server").VoiceChatAgent
>;
SoundscapeAgent: DurableObjectNamespace<
import("./src/server").SoundscapeAgent
>;
CharacterAgent: DurableObjectNamespace<
import("./src/server").CharacterAgent
>;
MusicAgent: DurableObjectNamespace<import("./src/server").MusicAgent>;
}
}
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, "ELEVENLABS_API_KEY">
> {}
}