hedgedoc/src/notes/notes.module.ts
David Mehren 56d5a2e1b1
Add NoteModule
This contains the module, a model which was adapted from the old code and two DTOs.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-08-20 19:43:07 +02:00

9 lines
236 B
TypeScript

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Note } from './note.entity';
@Module({
imports: [TypeOrmModule.forFeature([Note])],
controllers: [],
})
export class NotesModule {}