|
2 | 2 | // Generated by Wrangler by running `wrangler types --env-file=.env` (hash: 788fc196e8e9a9c361fc94be53f0af04) |
3 | 3 | // Runtime types generated with workerd@1.20251105.0 2025-11-05 nodejs_compat,nodejs_compat_populate_process_env |
4 | 4 | declare namespace Cloudflare { |
5 | | - interface GlobalProps { |
6 | | - mainModule: typeof import("./src/index"); |
7 | | - durableNamespaces: "MessageDebouncer"; |
8 | | - } |
9 | | - interface Env { |
10 | | - NAME: "poppy-interaction"; |
11 | | - LOOP_AUTHORIZATION_KEY: string; |
12 | | - LOOP_SECRET_KEY: string; |
13 | | - OPENAI_API_KEY: string; |
14 | | - OPENROUTER_API_KEY: string; |
15 | | - EXASEARCH_API_KEY: string; |
16 | | - NODE_ENV: string; |
17 | | - CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE: string; |
18 | | - } |
| 5 | + interface GlobalProps { |
| 6 | + mainModule: typeof import("./src/index"); |
| 7 | + durableNamespaces: "MessageDebouncer"; |
| 8 | + } |
| 9 | + interface Env { |
| 10 | + NAME: "poppy-interaction"; |
| 11 | + LOOP_AUTHORIZATION_KEY: string; |
| 12 | + LOOP_SECRET_KEY: string; |
| 13 | + OPENAI_API_KEY: string; |
| 14 | + OPENROUTER_API_KEY: string; |
| 15 | + EXASEARCH_API_KEY: string; |
| 16 | + NODE_ENV: string; |
| 17 | + CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE: string; |
| 18 | + } |
19 | 19 | } |
20 | 20 | interface Env extends Cloudflare.Env {} |
21 | 21 | type StringifyValues<EnvType extends Record<string, unknown>> = { |
22 | | - [Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string; |
| 22 | + [Binding in keyof EnvType]: EnvType[Binding] extends string |
| 23 | + ? EnvType[Binding] |
| 24 | + : string; |
23 | 25 | }; |
24 | 26 | declare namespace NodeJS { |
25 | | - interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "NAME" | "LOOP_AUTHORIZATION_KEY" | "LOOP_SECRET_KEY" | "OPENAI_API_KEY" | "OPENROUTER_API_KEY" | "EXASEARCH_API_KEY" | "NODE_ENV" | "CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE">> {} |
| 27 | + interface ProcessEnv |
| 28 | + extends StringifyValues< |
| 29 | + Pick< |
| 30 | + Cloudflare.Env, |
| 31 | + | "NAME" |
| 32 | + | "LOOP_AUTHORIZATION_KEY" |
| 33 | + | "LOOP_SECRET_KEY" |
| 34 | + | "OPENAI_API_KEY" |
| 35 | + | "OPENROUTER_API_KEY" |
| 36 | + | "EXASEARCH_API_KEY" |
| 37 | + | "NODE_ENV" |
| 38 | + | "CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE" |
| 39 | + > |
| 40 | + > {} |
26 | 41 | } |
27 | 42 |
|
28 | 43 | // Begin runtime types |
|
0 commit comments