Loading backend/src/database-seeder/database-seeder.module.ts +6 −4 Original line number Diff line number Diff line Loading @@ -12,12 +12,13 @@ import { JwtService } from '@nestjs/jwt'; import { EncryptionService } from 'src/auth/encryption/encryption.service'; import { TownService } from 'src/town/town.service'; import { TownTraduction } from 'src/town/entities/town-traduction.entity'; import { ActivityService } from 'src/activity/activity.service'; import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service'; import { PlaceService } from 'src/place/place.service'; import { Place } from 'src/place/entities/place.entity'; import { Activity } from 'src/activity/entities/activity.entity'; import { PointOfInterest } from 'src/pointOfInterest/entities/PointOfInterest.entity'; import { AvailableDate } from 'src/place/entities/available-date.entity'; import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; import { PointOfInterestTraduction } from 'src/pointOfInterest/entities/PointOfInterestTraduction.entity'; @Module({ providers: [ Loading @@ -28,7 +29,7 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; JwtService, EncryptionService, TownService, ActivityService, PointOfInterestService, PlaceService, ], imports: [ Loading @@ -39,9 +40,10 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; Town, TownTraduction, Place, Activity, PointOfInterest, AvailableDate, PlaceTraduction, PointOfInterestTraduction, ]), ], }) Loading backend/src/database-seeder/database-seeder.service.ts +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ import { UserStatus } from 'src/shared/enum/user-status.enum'; import { AuthAdminService } from 'src/auth/admin/authAdminservice'; import { TownService } from 'src/town/town.service'; import { CreateTownDto } from 'src/town/dto/create-town.dto'; import { ActivityService } from 'src/activity/activity.service'; import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service'; import { PlaceService } from 'src/place/place.service'; @Injectable() Loading @@ -20,7 +20,7 @@ export class DatabaseSeederService implements OnModuleInit { private readonly stateService: StateService, private readonly authAdminService: AuthAdminService, private readonly townService: TownService, private readonly activityService: ActivityService, private readonly activityService: PointOfInterestService, private readonly placeService: PlaceService, ) {} Loading Loading
backend/src/database-seeder/database-seeder.module.ts +6 −4 Original line number Diff line number Diff line Loading @@ -12,12 +12,13 @@ import { JwtService } from '@nestjs/jwt'; import { EncryptionService } from 'src/auth/encryption/encryption.service'; import { TownService } from 'src/town/town.service'; import { TownTraduction } from 'src/town/entities/town-traduction.entity'; import { ActivityService } from 'src/activity/activity.service'; import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service'; import { PlaceService } from 'src/place/place.service'; import { Place } from 'src/place/entities/place.entity'; import { Activity } from 'src/activity/entities/activity.entity'; import { PointOfInterest } from 'src/pointOfInterest/entities/PointOfInterest.entity'; import { AvailableDate } from 'src/place/entities/available-date.entity'; import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; import { PointOfInterestTraduction } from 'src/pointOfInterest/entities/PointOfInterestTraduction.entity'; @Module({ providers: [ Loading @@ -28,7 +29,7 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; JwtService, EncryptionService, TownService, ActivityService, PointOfInterestService, PlaceService, ], imports: [ Loading @@ -39,9 +40,10 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity'; Town, TownTraduction, Place, Activity, PointOfInterest, AvailableDate, PlaceTraduction, PointOfInterestTraduction, ]), ], }) Loading
backend/src/database-seeder/database-seeder.service.ts +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ import { UserStatus } from 'src/shared/enum/user-status.enum'; import { AuthAdminService } from 'src/auth/admin/authAdminservice'; import { TownService } from 'src/town/town.service'; import { CreateTownDto } from 'src/town/dto/create-town.dto'; import { ActivityService } from 'src/activity/activity.service'; import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service'; import { PlaceService } from 'src/place/place.service'; @Injectable() Loading @@ -20,7 +20,7 @@ export class DatabaseSeederService implements OnModuleInit { private readonly stateService: StateService, private readonly authAdminService: AuthAdminService, private readonly townService: TownService, private readonly activityService: ActivityService, private readonly activityService: PointOfInterestService, private readonly placeService: PlaceService, ) {} Loading