mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Add UsersModule
This contains the module, a service (which only returns mock data), a model and the UserInfo DTO. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
774f9cd8a3
commit
27126bcde1
5 changed files with 64 additions and 0 deletions
11
src/users/users.module.ts
Normal file
11
src/users/users.module.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { User } from './user.entity';
|
||||
import { UsersService } from './users.service';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([User])],
|
||||
providers: [UsersService],
|
||||
exports: [UsersService],
|
||||
})
|
||||
export class UsersModule {}
|
Loading…
Add table
Add a link
Reference in a new issue