Add prisma to requestcontext type
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 1m9s
Test, Build, Deploy / Create Sentry Release (push) Successful in 6s

This commit is contained in:
2026-04-11 00:59:03 -04:00
parent 71f56769c1
commit d5203e236a

8
index.d.ts vendored
View File

@@ -1,3 +1,5 @@
import { type PrismaClient } from "./generated/prisma/client.js";
declare global { declare global {
module "*.css"; module "*.css";
@@ -17,7 +19,11 @@ declare global {
token: string; token: string;
}; };
type RequestContext = EventContext<Env, string, { [k: string]: any }>; type RequestContext = EventContext<
Env,
string,
{ prisma: PrismaClient; [k: string]: any }
>;
interface AppealCardProps { interface AppealCardProps {
approved: number | null; approved: number | null;