hedgedoc/src/notes
David Mehren 2261b81139
NoteEntity: Move constructor-code to create() method
TypeORM does not like having application code in the constructor (https://github.com/typeorm/typeorm/issues/1772#issuecomment-514787854), therefore that is moved into a new `create() static method. Additionally, the constructor is now `private`, which enforces the use of the new method.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-09-19 16:00:29 +02:00
..
author-color.entity.ts Add AuthorColor entity 2020-08-13 20:22:30 +02:00
note-authorship.dto.ts
note-metadata.dto.ts
note-permissions.dto.ts
note.dto.ts NoteDto: Rename attribute metdata to metadata 2020-09-19 14:54:08 +02:00
note.entity.ts NoteEntity: Move constructor-code to create() method 2020-09-19 16:00:29 +02:00
notes.module.ts Add AuthorColor entity 2020-08-13 20:22:30 +02:00
notes.service.spec.ts
notes.service.ts NoteDto: Rename attribute metdata to metadata 2020-09-19 14:54:08 +02:00