Page module updates - WIP

This commit is contained in:
Philipinho
2023-09-06 00:53:49 +01:00
parent add9303249
commit 89de5be6ed
5 changed files with 109 additions and 32 deletions

View File

@ -4,9 +4,11 @@ import { PageController } from './page.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Page } from './entities/page.entity';
import { PageRepository } from './repositories/page.repository';
import { AuthModule } from '../auth/auth.module';
import { WorkspaceModule } from '../workspace/workspace.module';
@Module({
imports: [TypeOrmModule.forFeature([Page])],
imports: [TypeOrmModule.forFeature([Page]), AuthModule, WorkspaceModule],
controllers: [PageController],
providers: [PageService, PageRepository],
})