import { Prisma , PrismaClient } from '@prisma/client' ; import * as P from '@prisma/client' ; import { Dummy } from '../../@generated/dummy/dummy.model' ; import { DummyCreateInput } from '../../@generated/dummy/dummy-create.input' ; import { DateTimeFilter } from '../../@generated/prisma/date-time-filter.input' ; import { FloatFilter } from '../../@generated/prisma/float-filter.input' ; import { IntFilter } from '../../@generated/prisma/int-filter.input' ; import { StringFilter } from '../../@generated/prisma/string-filter.input' ; import { FindManyUserArgs } from '../../@generated/user/find-many-user.args' ; import { User } from '../../@generated/user/user.model' ; import { UserAggregateArgs } from '../../@generated/user/user-aggregate.args' ; import { UserCreateInput } from '../../@generated/user/user-create.input' ; import { UserCreateWithoutArticlesInput } from '../../@generated/user/user-create-without-articles.input' ; import { UserCreateWithoutCommentsInput } from '../../@generated/user/user-create-without-comments.input' ; import { UserGroupByArgs } from '../../@generated/user/user-group-by.args' ; import { UserListRelationFilter } from '../../@generated/user/user-list-relation-filter.input' ; import { UserMaxOrderByAggregateInput } from '../../@generated/user/user-max-order-by-aggregate.input' ; import { UserScalarFieldEnum } from '../../@generated/user/user-scalar-field.enum' ; import { UserWhereInput } from '../../@generated/user/user-where.input' ; let $prisma = new PrismaClient ( ) ; { let p = { } as unknown as P . User ; let o = { } as unknown as User ; o = p ; p = o ; } { let t = [ ] ; let m = t ; m ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; p ; $prisma . user . findMany ( { where : x } ) ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; p ; $prisma . user . findMany ( x ) ; } { let x = { } as unknown as UserCreateWithoutArticlesInput ; let p = { } as unknown as Prisma . UserCreateWithoutArticlesInput ; p = x ; p ; $prisma . user . create ( { data : x , } ) ; } { let x = { } as unknown as UserCreateWithoutCommentsInput ; let p = { } as unknown as Prisma . UserCreateWithoutCommentsInput ; p = x ; p ; $prisma . user . create ( { data : x , } ) ; } { let x = { } ; let p = { } ; p = x ; p ; x ; } { let x = { by : [ 'id' ] as UserScalarFieldEnum [ ] , } ; let p = { by : [ 'id' ] as UserScalarFieldEnum [ ] , } ; p = x ; p ; x ; } { let x = { id : '1' , floaty : 1 } ; let p = { id : '2' , floaty : 2 } ; p = x ; p ; x ; } { let x = { } ; let p = { } ; p = x ; p ; } { let x = { } ; let p = { } ; p = x ; x = p ; } { let x = { } as unknown as UserCreateInput ; let p = { } as unknown as Prisma . UserCreateInput ; p = x ; p ; } { let x = { } as unknown as Dummy ; let p = { } as unknown as P . Dummy ; p = x ; x = p ; } { let x = { by : [ UserScalarFieldEnum . id ] , } ; let p = { by : [ UserScalarFieldEnum . id ] , } ; p = x ; p ; } { void $prisma . user . findMany ( { include : { articles : true , profile : true , _count : true , } , } ) . then ( users => { let result = users ; console . log ( 'result' , result ) ; } ) ; }