mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-23 05:01:05 +10:00
Page module updates - WIP
This commit is contained in:
@ -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],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user