DatabaseAdapterOptions narrowed for the Prisma arm: the injected
client is required.
Since 0.2.0
readonly
prismaClient: unknown
The application-generated Prisma v7 client. Required — a framework package
cannot locate an application-selected generated-client output path, and
PrismaAdapter.connect() rejects without it.
Since 0.2.0
readonly
optional
entities: Readonly<Record<string, PrismaCompositeKeyOptions>>
Per-entity overrides for key resolution and other model-specific tuning.
The only override exercised today is compositeKeyName on entities that
carry a named @@id constraint — Prisma generates the field name from the
name: argument rather than joining column names with _, so the derived
name is wrong for such models. Setting the override tells the adapter the
correct field to address in the compound-key where argument.