Skip to content

Commit 1adbf94

Browse files
committed
lint
1 parent 6f4f183 commit 1adbf94

File tree

1 file changed

+31
-16
lines changed

1 file changed

+31
-16
lines changed

apps/interaction-worker/worker-configuration.d.ts

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,42 @@
22
// Generated by Wrangler by running `wrangler types --env-file=.env` (hash: 788fc196e8e9a9c361fc94be53f0af04)
33
// Runtime types generated with workerd@1.20251105.0 2025-11-05 nodejs_compat,nodejs_compat_populate_process_env
44
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+
}
1919
}
2020
interface Env extends Cloudflare.Env {}
2121
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;
2325
};
2426
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+
> {}
2641
}
2742

2843
// Begin runtime types

0 commit comments

Comments
 (0)