Skip to content

Type Alias: PrismaRbacModelHasRoleDelegate ​

ts
type PrismaRbacModelHasRoleDelegate = PrismaRbacDelegate<PrismaRbacModelHasRoleRow, {
  roleId?: IntFilter;
  subjectId?: string;
  subjectType?: string;
  teamId?: string;
}, PrismaRbacModelHasRoleRow> & PrismaRbacSubjectGroupBy<{
  roleId?: IntFilter;
  subjectType?: string;
  teamId?: string;
}>;

Defined in: packages/prisma/src/index.ts:112

Released under the MIT License. Inspired by spatie/laravel-permission.