icynet-auth-server/src/modules/objects/user/user.module.ts

24 lines
759 B
TypeScript

import { Module } from '@nestjs/common';
import { DatabaseModule } from '../database/database.module';
import { EmailModule } from '../email/email.module';
import { PrivilegeModule } from '../privilege/privilege.module';
import { UploadModule } from '../upload/upload.module';
import { UserTokenModule } from '../user-token/user-token.module';
import { userProviders } from './user.providers';
import { UserService } from './user.service';
import { CommonCacheModule } from 'src/modules/cache/cache.module';
@Module({
imports: [
CommonCacheModule,
DatabaseModule,
EmailModule,
UserTokenModule,
UploadModule,
PrivilegeModule,
],
providers: [...userProviders, UserService],
exports: [UserService],
})
export class UserModule {}