import type { RequestEvent } from '@sveltejs/kit';import type { inferAsyncReturnType } from '@trpc/server';import { prisma } from '$lib/prisma';export async function createContext(event: RequestEvent) { let cookies = event?.cookies return { cookies, prisma };}export type Context = inferAsyncReturnType<typeof createContext>;