2021-01-05 21:12:38 +00:00
|
|
|
/*
|
2021-01-06 20:36:07 +00:00
|
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
2021-01-05 21:12:38 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
2020-07-25 18:06:22 +00:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
2021-08-29 16:45:46 +00:00
|
|
|
|
2021-08-08 19:53:20 +00:00
|
|
|
import { Identity } from '../identity/identity.entity';
|
2020-09-27 19:48:42 +00:00
|
|
|
import { LoggerModule } from '../logger/logger.module';
|
2021-05-31 16:15:10 +00:00
|
|
|
import { Session } from './session.entity';
|
2020-07-25 18:06:22 +00:00
|
|
|
import { User } from './user.entity';
|
|
|
|
import { UsersService } from './users.service';
|
|
|
|
|
|
|
|
@Module({
|
2021-05-31 16:15:10 +00:00
|
|
|
imports: [TypeOrmModule.forFeature([User, Identity, Session]), LoggerModule],
|
2020-07-25 18:06:22 +00:00
|
|
|
providers: [UsersService],
|
|
|
|
exports: [UsersService],
|
|
|
|
})
|
|
|
|
export class UsersModule {}
|