Skip to content

basalt / teams-prisma/src / PrismaTeamsClient

Interface: PrismaTeamsClient ​

Defined in: teams-prisma/src/index.ts:50

The minimal Prisma delegate surface the stores call — a real PrismaClient with the Team* models is assignable, so pass it directly. Method arguments are typed any on purpose (Prisma's generated method generics can't be reproduced by a hand-written interface); return types stay precise.

Properties ​

teamInvitation ​

> teamInvitation: object

Defined in: teams-prisma/src/index.ts:58

create() ​

> create(a): Promise<PInvitation>

Parameters ​
a ​

any

Returns ​

Promise<PInvitation>

findFirst() ​

> findFirst(a): Promise<PInvitation | null>

Parameters ​
a ​

any

Returns ​

Promise<PInvitation | null>

findMany() ​

> findMany(a): Promise<PInvitation[]>

Parameters ​
a ​

any

Returns ​

Promise<PInvitation[]>

findUnique() ​

> findUnique(a): Promise<PInvitation | null>

Parameters ​
a ​

any

Returns ​

Promise<PInvitation | null>

updateMany() ​

> updateMany(a): Promise<{ count: number; }>

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>


teamMembership ​

> teamMembership: object

Defined in: teams-prisma/src/index.ts:51

deleteMany() ​

> deleteMany(a): Promise<{ count: number; }>

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

findMany() ​

> findMany(a): Promise<PMembership[]>

Parameters ​
a ​

any

Returns ​

Promise<PMembership[]>

findUnique() ​

> findUnique(a): Promise<PMembership | null>

Parameters ​
a ​

any

Returns ​

Promise<PMembership | null>

updateMany() ​

> updateMany(a): Promise<{ count: number; }>

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

upsert() ​

> upsert(a): Promise<PMembership>

Parameters ​
a ​

any

Returns ​

Promise<PMembership>

Released under the MIT License.