mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-23 05:01:05 +10:00
Add new page module and services; refactor existing entities
- Introduced a new page module with associated services. - Refactored TypeORM entities in user and workspace modules.
This commit is contained in:
13
server/src/core/page/page.module.ts
Normal file
13
server/src/core/page/page.module.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { PageService } from './page.service';
|
||||
import { PageController } from './page.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Page } from './entities/page.entity';
|
||||
import { PageRepository } from './repositories/page.repository';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Page])],
|
||||
controllers: [PageController],
|
||||
providers: [PageService, PageRepository],
|
||||
})
|
||||
export class PageModule {}
|
||||
Reference in New Issue
Block a user