wip: range authorships backend storage

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-04-28 10:38:03 +02:00
parent c5dc671398
commit 68780f54e1
No known key found for this signature in database
GPG key ID: DB99ADDDC5C0AF82
29 changed files with 316 additions and 133 deletions

View file

@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
@ -9,19 +9,19 @@ import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthorsModule } from '../authors/authors.module';
import { LoggerModule } from '../logger/logger.module';
import { Edit } from './edit.entity';
import { EditService } from './edit.service';
import { RangeAuthorship } from './range-authorship.entity';
import { RangeAuthorshipService } from './range-authorship.service';
import { Revision } from './revision.entity';
import { RevisionsService } from './revisions.service';
@Module({
imports: [
TypeOrmModule.forFeature([Revision, Edit]),
TypeOrmModule.forFeature([Revision, RangeAuthorship]),
LoggerModule,
ConfigModule,
AuthorsModule,
],
providers: [RevisionsService, EditService],
exports: [RevisionsService, EditService],
providers: [RevisionsService, RangeAuthorshipService],
exports: [RevisionsService, RangeAuthorshipService],
})
export class RevisionsModule {}