hedgedoc/backend/src/revisions/revisions.module.ts
Erik Michelson 68780f54e1
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>
2024-04-28 16:48:54 +02:00

27 lines
902 B
TypeScript

/*
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthorsModule } from '../authors/authors.module';
import { LoggerModule } from '../logger/logger.module';
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, RangeAuthorship]),
LoggerModule,
ConfigModule,
AuthorsModule,
],
providers: [RevisionsService, RangeAuthorshipService],
exports: [RevisionsService, RangeAuthorshipService],
})
export class RevisionsModule {}