Skip to content

basalt / subscriptions-prisma/src / PrismaSubscriptionsClient

Interface: PrismaSubscriptionsClient ​

Defined in: subscriptions-prisma/src/index.ts:124

The minimal Prisma delegate surface the stores call — a real PrismaClient with these 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 ​

subscription ​

> subscription: object

Defined in: subscriptions-prisma/src/index.ts:125

findMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<PSubscription[]>

findUnique() ​

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

Parameters ​
a ​

any

Returns ​

Promise<PSubscription | null>

upsert() ​

> upsert(a): Promise<PSubscription>

Parameters ​
a ​

any

Returns ​

Promise<PSubscription>


usageCounter ​

> usageCounter: object

Defined in: subscriptions-prisma/src/index.ts:130

createMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

findUnique() ​

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

Parameters ​
a ​

any

Returns ​

Promise<PUsage | null>

updateMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>


webhookEvent ​

> webhookEvent: object

Defined in: subscriptions-prisma/src/index.ts:135

createMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

deleteMany() ​

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

Parameters ​
a ​

any

Returns ​

Promise<{ count: number; }>

Released under the MIT License.