Skip to content

Commit

Permalink
ci: fix lint ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuhanming committed Jun 2, 2024
1 parent 2d9b6a6 commit 08048d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/product/admin/cohorts-admin/cohorts-admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
UserRole,
Window,
} from '../../../infra/prisma/generated';
import { ITXClientDenyList } from '../../../infra/prisma/generated/runtime';
import { TRANSACTION_OPTIONS } from '../../../infra/prisma/prisma.constants';
import { PrismaService } from '../../../infra/prisma/prisma.service';
import {
Expand All @@ -31,7 +30,10 @@ import {
UpdateWindowDto,
} from './dtos';

type Transaction = Omit<PrismaClient, ITXClientDenyList>;
type Transaction = Omit<
PrismaClient,
'$connect' | '$disconnect' | '$on' | '$transaction' | '$use' | '$extends'
>;

@Injectable()
export class CohortsAdminService {
Expand Down

0 comments on commit 08048d8

Please sign in to comment.