Migrate page layout services (#16443)
Last step of the page layout migration: - Migrate services - Write integration tests
This commit is contained in:
+2
-1
@@ -2,10 +2,11 @@ import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
import { WorkspaceFlatPageLayoutMapCacheService } from 'src/engine/metadata-modules/flat-page-layout/services/workspace-flat-page-layout-map-cache.service';
|
||||
import { PageLayoutTabEntity } from 'src/engine/metadata-modules/page-layout/entities/page-layout-tab.entity';
|
||||
import { PageLayoutEntity } from 'src/engine/metadata-modules/page-layout/entities/page-layout.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([PageLayoutEntity], 'core')],
|
||||
imports: [TypeOrmModule.forFeature([PageLayoutEntity, PageLayoutTabEntity])],
|
||||
providers: [WorkspaceFlatPageLayoutMapCacheService],
|
||||
exports: [WorkspaceFlatPageLayoutMapCacheService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user