Type Alias: BobbinResolver<TModalSilk, TClient>

BobbinResolver<TModalSilk, TClient>: { [TKey in keyof NonNullable<TModalSilk["relations"]>]-?: BobbinRelationField<TModalSilk, TKey> } & { [key in `count${Capitalize<TModalSilk["name"]>}`]: BobbinCountQuery<TModalSilk, TClient> } & { [key in `findFirst${Capitalize<TModalSilk["name"]>}`]: BobbinFindFirstQuery<TModalSilk, TClient> } & { [key in `findMany${Capitalize<TModalSilk["name"]>}`]: BobbinFindManyQuery<TModalSilk, TClient> } & { [key in `findUnique${Capitalize<TModalSilk["name"]>}`]: BobbinFindUniqueQuery<TModalSilk, TClient> } & { [key in `create${Capitalize<TModalSilk["name"]>}`]: BobbinCreateMutation<TModalSilk, TClient> } & { [key in `createMany${Capitalize<TModalSilk["name"]>}`]: BobbinCreateManyMutation<TModalSilk, TClient> } & { [key in `delete${Capitalize<TModalSilk["name"]>}`]: BobbinDeleteMutation<TModalSilk, TClient> } & { [key in `deleteMany${Capitalize<TModalSilk["name"]>}`]: BobbinDeleteManyMutation<TModalSilk, TClient> } & { [key in `update${Capitalize<TModalSilk["name"]>}`]: BobbinUpdateMutation<TModalSilk, TClient> } & { [key in `updateMany${Capitalize<TModalSilk["name"]>}`]: BobbinUpdateManyMutation<TModalSilk, TClient> } & { [key in `upsert${Capitalize<TModalSilk["name"]>}`]: BobbinUpsertMutation<TModalSilk, TClient> }

Type Parameters

TModalSilk extends PrismaModelSilk<any, string, Record<string, any>>

TClient extends PrismaClient

Defined in

packages/prisma/src/bobbin.ts:681