Skip to content

Commit cb8dd85

Browse files
committed
feat: add caching KV
1 parent 942af82 commit cb8dd85

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

cloudflare-worker/worker-configuration.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types` (hash: b7e36640e633b47105ac584471d9e321)
2+
// Generated by Wrangler by running `wrangler types` (hash: 6676744ae5be32fda01da8cedac94282)
33
// Runtime types generated with workerd@1.20251109.0 2025-03-19
44
declare namespace Cloudflare {
55
interface GlobalProps {
66
mainModule: typeof import("./src/index");
77
}
88
interface Env {
9+
KV_CACHE: KVNamespace;
910
AUTH0_CLIENT_ID: string;
1011
AUTH0_CLIENT_SECRET: string;
1112
AUTH0_DOMAIN: string;

cloudflare-worker/wrangler.jsonc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
},
4444
],
4545
},
46+
"kv_namespaces": [
47+
{
48+
"binding": "KV_CACHE",
49+
"id": "60bd9fcf8f724f9d9a99f1cb549980bf"
50+
}
51+
],
4652
"d1_databases": [
4753
{
4854
"binding": "FeedbackFlowDB",

0 commit comments

Comments
 (0)