mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Rename Authorship entity to Edit
As we now have a separate Author entity, which holds information about an author (the color), the Authorship name became confusing. Edit seems to be a better name, as the entity saves information about a change in a note. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
5846ca75a9
commit
b2d37abf6c
19 changed files with 67 additions and 73 deletions
|
@ -9,14 +9,14 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
|||
import { AuthorsModule } from '../authors/authors.module';
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { NotesModule } from '../notes/notes.module';
|
||||
import { Authorship } from './authorship.entity';
|
||||
import { Edit } from './edit.entity';
|
||||
import { Revision } from './revision.entity';
|
||||
import { RevisionsService } from './revisions.service';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Revision, Authorship]),
|
||||
TypeOrmModule.forFeature([Revision, Edit]),
|
||||
forwardRef(() => NotesModule),
|
||||
LoggerModule,
|
||||
ConfigModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue