Skip to content

Commit

Permalink
fix: type import
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Mar 1, 2024
1 parent ba36b58 commit aeb9f69
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/backend/server/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const FunctionalityModules = [
adapter: new TransactionalAdapterPrisma({
prismaInjectionToken: PrismaClient,
}),
enableTransactionProxy: true,
}),
],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/auth/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
InternalServerErrorException,
UnauthorizedException,
} from '@nestjs/common';
import { InjectTransaction, Transaction } from '@nestjs-cls/transactional';
import { InjectTransaction, type Transaction } from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';
import { hash, verify } from '@node-rs/argon2';
import { Algorithm, sign, verify as jwtVerify } from '@node-rs/jsonwebtoken';
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/features/service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common';
import {
InjectTransaction,
Transaction,
type Transaction,
Transactional,
} from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/quota/service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@nestjs/common';
import {
InjectTransaction,
Transaction,
type Transaction,
Transactional,
} from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/users/users.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@nestjs/common';
import { InjectTransaction, Transaction } from '@nestjs-cls/transactional';
import { InjectTransaction, type Transaction } from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/workspaces/permission.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ForbiddenException, Injectable } from '@nestjs/common';
import {
InjectTransaction,
Transaction,
type Transaction,
Transactional,
} from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
ResolveField,
Resolver,
} from '@nestjs/graphql';
import { InjectTransaction, Transaction } from '@nestjs-cls/transactional';
import { InjectTransaction, type Transaction } from '@nestjs-cls/transactional';
import { TransactionalAdapterPrisma } from '@nestjs-cls/transactional-adapter-prisma';
import { type User } from '@prisma/client';
import { getStreamAsBuffer } from 'get-stream';
Expand Down

0 comments on commit aeb9f69

Please sign in to comment.