Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PopulationService

Imlements the nestjs lifecycle hooks to automatically populate and depopulate the database whenever the service is injected into a module.

WARNING: THIS SERVICE WILL TRUNCATE ALL TABLES AUTOMATICALLY WHEN THE NEST APP STOPS. IT SHOULD ONLY BE INJECTED IN TESTING ENVIRONMENTS.

Hierarchy

  • PopulationService

Implements

  • OnApplicationBootstrap
  • BeforeApplicationShutdown

Index

Properties

Protected absenceService

absenceService: AbsencePopulationService

Protected areaService

Protected courseService

Protected facultyService

facultyService: FacultyPopulationService

Protected nonClassEventPopulationService

nonClassEventPopulationService: NonClassEventPopulationService

Protected roomService

Protected semesterService

semesterService: SemesterPopulationService

Methods

beforeApplicationShutdown

  • beforeApplicationShutdown(): Promise<void>

onApplicationBootstrap

  • onApplicationBootstrap(): Promise<void>

Generated using TypeDoc