This commit is contained in:
2025-12-13 12:30:38 +03:30
parent 5d872db4ad
commit 9d9de98c03
13 changed files with 142 additions and 91 deletions
+5 -3
View File
@@ -7,11 +7,13 @@ import { UserAddress } from './entities/user-address.entity';
import { JwtModule } from '@nestjs/jwt';
import { UserRepository } from './repositories/user.repository';
import { RestaurantsModule } from '../restaurants/restaurants.module';
import { UserWalletRepository } from './repositories/user-wallet.repository';
import { UserWallet } from './entities/user-wallet.entity';
@Module({
providers: [UserService, UserRepository],
providers: [UserService, UserRepository, UserWalletRepository],
controllers: [UsersController],
imports: [MikroOrmModule.forFeature([User, UserAddress]), JwtModule, RestaurantsModule],
exports: [UserService, UserRepository],
imports: [MikroOrmModule.forFeature([User, UserAddress, UserWallet]), JwtModule, RestaurantsModule],
exports: [UserService, UserRepository, UserWalletRepository],
})
export class UserModule {}