11
22/* !!! This is code generated by Prisma. Do not edit directly. !!! */
33/* eslint-disable */
4+ // biome-ignore-all lint: generated file
45// @ts -nocheck
56/*
67 * WARNING: This is an internal file that is subject to change!
@@ -15,60 +16,19 @@ import type * as Prisma from "./prismaNamespace.js"
1516
1617
1718const config : runtime . GetPrismaClientConfig = {
18- "generator" : {
19- "name" : "client" ,
20- "provider" : {
21- "fromEnvVar" : null ,
22- "value" : "prisma-client"
23- } ,
24- "output" : {
25- "value" : "/Users/m/Dev/me/nestjs-prisma/examples/driver/src/generated/prisma" ,
26- "fromEnvVar" : null
27- } ,
28- "config" : {
29- "moduleFormat" : "cjs" ,
30- "engineType" : "client"
31- } ,
32- "binaryTargets" : [
33- {
34- "fromEnvVar" : null ,
35- "value" : "darwin-arm64" ,
36- "native" : true
37- }
38- ] ,
39- "previewFeatures" : [ ] ,
40- "sourceFilePath" : "/Users/m/Dev/me/nestjs-prisma/examples/driver/prisma/schema.prisma" ,
41- "isCustomOutput" : true
42- } ,
43- "relativePath" : "../../../prisma" ,
44- "clientVersion" : "6.16.2" ,
45- "engineVersion" : "1c57fdcd7e44b29b9313256c76699e91c3ac3c43" ,
46- "datasourceNames" : [
47- "db"
48- ] ,
19+ "previewFeatures" : [ ] ,
20+ "clientVersion" : "7.0.0" ,
21+ "engineVersion" : "0c19ccc313cf9911a90d99d2ac2eb0280c76c513" ,
4922 "activeProvider" : "sqlite" ,
50- "postinstall" : false ,
51- "inlineDatasources" : {
52- "db" : {
53- "url" : {
54- "fromEnvVar" : null ,
55- "value" : "file:dev.db"
56- }
57- }
58- } ,
59- "inlineSchema" : "generator client {\n provider = \"prisma-client\"\n output = \"../src/generated/prisma\"\n engineType = \"client\"\n moduleFormat = \"cjs\"\n}\n\ndatasource db {\n provider = \"sqlite\"\n url = \"file:dev.db\"\n}\n\nmodel User {\n id String @id @default(cuid())\n email String @unique\n name String?\n}\n" ,
60- "inlineSchemaHash" : "2b68a464f8f7060f5c42f62195b6b763e3a7cd2e7117652711d7a751d5ac3089" ,
61- "copyEngine" : true ,
23+ "inlineSchema" : "generator client {\n provider = \"prisma-client\"\n output = \"../src/generated/prisma\"\n engineType = \"client\"\n moduleFormat = \"cjs\"\n}\n\ndatasource db {\n provider = \"sqlite\"\n}\n\nmodel User {\n id String @id @default(cuid())\n email String @unique\n name String?\n}\n" ,
6224 "runtimeDataModel" : {
6325 "models" : { } ,
6426 "enums" : { } ,
6527 "types" : { }
66- } ,
67- "dirname" : ""
28+ }
6829}
6930
7031config . runtimeDataModel = JSON . parse ( "{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}" )
71- config . engineWasm = undefined
7232
7333async function decodeBase64AsWasm ( wasmBase64 : string ) : Promise < WebAssembly . Module > {
7434 const { Buffer } = await import ( 'node:buffer' )
@@ -87,7 +47,6 @@ config.compilerWasm = {
8747
8848
8949
90-
9150export type LogOptions < ClientOptions extends Prisma . PrismaClientOptions > =
9251 'log' extends keyof ClientOptions ? ClientOptions [ 'log' ] extends Array < Prisma . LogLevel | Prisma . LogDefinition > ? Prisma . GetEvents < ClientOptions [ 'log' ] > : never : never
9352
@@ -111,7 +70,7 @@ export interface PrismaClientConstructor {
11170 LogOpts extends LogOptions < Options > = LogOptions < Options > ,
11271 OmitOpts extends Prisma . PrismaClientOptions [ 'omit' ] = Options extends { omit : infer U } ? U : Prisma . PrismaClientOptions [ 'omit' ] ,
11372 ExtArgs extends runtime . Types . Extensions . InternalArgs = runtime . Types . Extensions . DefaultArgs
114- > ( options ? : Prisma . Subset < Options , Prisma . PrismaClientOptions > ) : PrismaClient < LogOpts , OmitOpts , ExtArgs >
73+ > ( options : Prisma . Subset < Options , Prisma . PrismaClientOptions > ) : PrismaClient < LogOpts , OmitOpts , ExtArgs >
11574}
11675
11776/**
@@ -130,7 +89,7 @@ export interface PrismaClientConstructor {
13089
13190export interface PrismaClient <
13291 in LogOpts extends Prisma . LogLevel = never ,
133- in out OmitOpts extends Prisma . PrismaClientOptions [ 'omit' ] = Prisma . PrismaClientOptions [ 'omit' ] ,
92+ in out OmitOpts extends Prisma . PrismaClientOptions [ 'omit' ] = undefined ,
13493 in out ExtArgs extends runtime . Types . Extensions . InternalArgs = runtime . Types . Extensions . DefaultArgs
13594> {
13695 [ K : symbol ] : { types : Prisma . TypeMap < ExtArgs > [ 'other' ] }
@@ -211,7 +170,6 @@ export interface PrismaClient<
211170
212171 $transaction < R > ( fn : ( prisma : Omit < PrismaClient , runtime . ITXClientDenyList > ) => runtime . Types . Utils . JsPromise < R > , options ?: { maxWait ?: number , timeout ?: number , isolationLevel ?: Prisma . TransactionIsolationLevel } ) : runtime . Types . Utils . JsPromise < R >
213172
214-
215173 $extends : runtime . Types . Extensions . ExtendsHook < "extends" , Prisma . TypeMapCb < OmitOpts > , ExtArgs , runtime . Types . Utils . Call < Prisma . TypeMapCb < OmitOpts > , {
216174 extArgs : ExtArgs
217175 } > >
@@ -227,7 +185,6 @@ export interface PrismaClient<
227185 get user ( ) : Prisma . UserDelegate < ExtArgs , { omit : OmitOpts } > ;
228186}
229187
230- export function getPrismaClientClass ( dirname : string ) : PrismaClientConstructor {
231- config . dirname = dirname
188+ export function getPrismaClientClass ( ) : PrismaClientConstructor {
232189 return runtime . getPrismaClient ( config ) as unknown as PrismaClientConstructor
233190}
0 commit comments