26 lines
843 B
TypeScript
26 lines
843 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { FeedbackController } from './feedback.controller';
|
|
import { FeedbackService } from './feedback.service';
|
|
import { Correction } from './entities/correction.entity';
|
|
import { GroundTruth } from './entities/ground-truth.entity';
|
|
import { ProductSubmission } from './entities/product-submission.entity';
|
|
import { InventoryItem } from '../inventory/entities/inventory-item.entity';
|
|
import { StoreUser } from '../stores/entities/store-user.entity';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([
|
|
Correction,
|
|
GroundTruth,
|
|
ProductSubmission,
|
|
InventoryItem,
|
|
StoreUser,
|
|
]),
|
|
],
|
|
controllers: [FeedbackController],
|
|
providers: [FeedbackService],
|
|
exports: [FeedbackService],
|
|
})
|
|
export class FeedbackModule {}
|