Files
backend/src/categories/categories.module.ts
T
Alireza HassaniandCursor d14f91a606 Add catalog EN/AR translations with AI translate-all by locale.
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>
2026-09-04 09:51:11 +03:30

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 {}