platform-codebase/features/attributes/backend-api/src/attributes.module.ts
Lilith a9c976408b ♻️ Refactor validate-locales with --fix and i18n integration
- Add --fix mode to auto-correct issues using i18n truth-validation
- Add --semantic flag for optional semantic service validation
- Add --dry-run flag for preview without writing
- Separate validate:locales (fast), validate:locales:fix, validate:locales:full
- Exit with error code if issues found and not in fix mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:37:53 -08:00

28 lines
948 B
TypeScript

import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { AttributeDefinition } from './entities/attribute-definition.entity'
import { AttributeValue } from './entities/attribute-value.entity'
import { AttributeDefinitionService } from './services/attribute-definition.service'
import { AttributeValueService } from './services/attribute-value.service'
import { AttributeDefinitionController } from './controllers/attribute-definition.controller'
import { AttributeValueController } from './controllers/attribute-value.controller'
@Module({
imports: [
TypeOrmModule.forFeature([AttributeDefinition, AttributeValue]),
],
controllers: [
AttributeDefinitionController,
AttributeValueController,
],
providers: [
AttributeDefinitionService,
AttributeValueService,
],
exports: [
AttributeDefinitionService,
AttributeValueService,
],
})
export class AttributesModule {}