|
|
|
@ -4,16 +4,8 @@ import { PermissionsModule, SessionsModule } from 'src/domain'
@@ -4,16 +4,8 @@ import { PermissionsModule, SessionsModule } from 'src/domain'
|
|
|
|
|
/** IMPORTANT FULL PART */ |
|
|
|
|
import { UsersModule } from 'src/domain/users/users.module' |
|
|
|
|
import { JwtModule } from 'src/libs' |
|
|
|
|
import { |
|
|
|
|
AdminUsersController, |
|
|
|
|
AdminUsersFactoriesController, |
|
|
|
|
AdminUsersSessionsController, |
|
|
|
|
} from './controllers' |
|
|
|
|
import { |
|
|
|
|
AdminUsersService, |
|
|
|
|
AdminUsersFactoriesService, |
|
|
|
|
AdminUsersSessionsService, |
|
|
|
|
} from './services' |
|
|
|
|
import { AdminUsersController, AdminUsersFactoriesController } from './controllers' |
|
|
|
|
import { AdminUsersService, AdminUsersFactoriesService } from './services' |
|
|
|
|
|
|
|
|
|
@Module({}) |
|
|
|
|
export class AdminUsersModule { |
|
|
|
@ -26,12 +18,8 @@ export class AdminUsersModule {
@@ -26,12 +18,8 @@ export class AdminUsersModule {
|
|
|
|
|
JwtModule.forFeature(), |
|
|
|
|
PermissionsModule.forFeature(), |
|
|
|
|
], |
|
|
|
|
providers: [AdminUsersService, AdminUsersFactoriesService, AdminUsersSessionsService], |
|
|
|
|
controllers: [ |
|
|
|
|
AdminUsersController, |
|
|
|
|
AdminUsersFactoriesController, |
|
|
|
|
AdminUsersSessionsController, |
|
|
|
|
], |
|
|
|
|
providers: [AdminUsersService, AdminUsersFactoriesService], |
|
|
|
|
controllers: [AdminUsersController, AdminUsersFactoriesController], |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|