Skip to content

Commit 8a3f3aa

Browse files
committed
update deps
1 parent 8670754 commit 8a3f3aa

File tree

7 files changed

+4769
-3522
lines changed

7 files changed

+4769
-3522
lines changed

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.7/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
33
"assist": {
44
"actions": {
55
"source": {

env.d.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: c73e10ca2457f41f867107f22fedbd64)
2+
// Generated by Wrangler by running `wrangler types env.d.ts --include-runtime false` (hash: 0588350abbb82f70ebe13bb57f6b9415)
33
declare namespace Cloudflare {
4+
interface GlobalProps {
5+
mainModule: typeof import("./src/server");
6+
durableNamespaces: "Chat";
7+
}
48
interface Env {
9+
OPENAI_API_KEY: string;
510
Chat: DurableObjectNamespace<import("./src/server").Chat>;
611
AI: Ai;
712
}
813
}
914
interface Env extends Cloudflare.Env {}
15+
type StringifyValues<EnvType extends Record<string, unknown>> = {
16+
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
17+
};
18+
declare namespace NodeJS {
19+
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "OPENAI_API_KEY">> {}
20+
}

0 commit comments

Comments
 (0)