mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
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:
parent
c5dc671398
commit
68780f54e1
29 changed files with 316 additions and 133 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue