/** * Minimal PrismaClient interface for DataBridge type definitions * * This is a structural stand-in for the real `PrismaClient` that only exists * after `prisma generate` runs in the user's project. The CLI package itself * has no schema.prisma and therefore cannot import a fully-typed PrismaClient. * * Used by: * - types/custom-queries.ts (handler receives a PrismaClient) * - types/custom-schemas.ts (computed fields may call PrismaClient) * * TEACHING NOTE: The `[key: string]: any` index signature is INTENTIONAL. * It allows `prisma.user.findMany()` and other model-delegate calls to * type-check without knowing the user's specific models at design time. * This is the same approach used by Prisma extension libraries. */ export interface PrismaClient { [key: string]: any; $connect(): Promise; $disconnect(): Promise; $transaction(fn: (prisma: PrismaClient) => Promise): Promise; $queryRaw(query: TemplateStringsArray | string, ...values: any[]): Promise; $executeRaw(query: TemplateStringsArray | string, ...values: any[]): Promise; } //# sourceMappingURL=prisma-client.d.ts.map