Store product/category translations in entity_translations, expose CMS APIs, and gate the MultiLanguage Data module for businesses. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { SitemapModule } from '../sitemap/sitemap.module';
|
|
import { TenantModule } from '../tenant/tenant.module';
|
|
import { TranslationsModule } from '../translations/translations.module';
|
|
import { CategoriesController, PublicCategoriesController } from './categories.controller';
|
|
import { CategoriesService } from './categories.service';
|
|
import { CategoryTechnicalFormAiService } from './category-technical-form-ai.service';
|
|
import { CategoryAiService } from './category-ai.service';
|
|
import { CategoryTechnicalFormService } from './category-technical-form.service';
|
|
import { CategoryVariationsService } from './category-variations.service';
|
|
|
|
@Module({
|
|
imports: [AuthModule, SitemapModule, TenantModule, TranslationsModule],
|
|
controllers: [CategoriesController, PublicCategoriesController],
|
|
providers: [
|
|
CategoriesService,
|
|
CategoryVariationsService,
|
|
CategoryTechnicalFormService,
|
|
CategoryTechnicalFormAiService,
|
|
CategoryAiService,
|
|
],
|
|
exports: [CategoryVariationsService, CategoryTechnicalFormService],
|
|
})
|
|
export class CategoriesModule {}
|