import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LegalPage } from '../../../database/entities/legal-page.entity';
import { LegalPageVersion } from '../../../database/entities/legal-page-version.entity';
import { LegalPagesService } from './legal-pages.service';
import { LegalPagesController, PublicLegalPagesController } from './legal-pages.controller';

@Module({
  imports: [TypeOrmModule.forFeature([LegalPage, LegalPageVersion])],
  controllers: [LegalPagesController, PublicLegalPagesController],
  providers: [LegalPagesService],
  exports: [LegalPagesService],
})
export class LegalPagesModule {}
