Loading backend/src/place/place.module.ts +14 −1 Original line number Diff line number Diff line import { Module } from '@nestjs/common'; import { PlaceService } from './place.service'; import { PlaceController } from './place.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Place } from './entities/place.entity'; import { AvailableDate } from './entities/available-date.entity'; import { PlaceTraduction } from './entities/place-traduction.entity'; import { Town } from 'src/town/entities/town.entity'; import { TownService } from 'src/town/town.service'; import { TownTraduction } from 'src/town/entities/town-traduction.entity'; import { StateService } from 'src/state/state.service'; import { State } from 'src/state/entities/state.entity'; @Module({ controllers: [PlaceController], providers: [PlaceService], providers: [PlaceService, TownService, StateService], imports: [ TypeOrmModule.forFeature([Place, AvailableDate, PlaceTraduction, Town, TownTraduction, State]), TypeOrmModule, ], }) export class PlaceModule {} Loading
backend/src/place/place.module.ts +14 −1 Original line number Diff line number Diff line import { Module } from '@nestjs/common'; import { PlaceService } from './place.service'; import { PlaceController } from './place.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Place } from './entities/place.entity'; import { AvailableDate } from './entities/available-date.entity'; import { PlaceTraduction } from './entities/place-traduction.entity'; import { Town } from 'src/town/entities/town.entity'; import { TownService } from 'src/town/town.service'; import { TownTraduction } from 'src/town/entities/town-traduction.entity'; import { StateService } from 'src/state/state.service'; import { State } from 'src/state/entities/state.entity'; @Module({ controllers: [PlaceController], providers: [PlaceService], providers: [PlaceService, TownService, StateService], imports: [ TypeOrmModule.forFeature([Place, AvailableDate, PlaceTraduction, Town, TownTraduction, State]), TypeOrmModule, ], }) export class PlaceModule {}