import { PrismaClient } from "@prisma/client";

export interface Context {
  user: {
    id: string;
    organization?: {
      id: string;
      type: string;
    };
  } | null;
  currentUser?: {
    id: string;
    organization: {
      id: string;
      type: string;
    };
  } | null;
  admin?: {
    id: string;
  } | null;
  prisma: PrismaClient;
}
