mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-03-10 17:11:44 +00:00
15 lines
599 B
TypeScript
15 lines
599 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { AllowanceModule } from '~/allowance/allowance.module';
|
|
import { CronRun } from './entities';
|
|
import { CronRunRepository } from './repositories';
|
|
import { BaseCronService } from './services';
|
|
import { CronRunService } from './services/cron-run.service';
|
|
import { AllowanceScheduleCron } from './tasks';
|
|
|
|
@Module({
|
|
imports: [AllowanceModule, TypeOrmModule.forFeature([CronRun])],
|
|
providers: [BaseCronService, CronRunService, CronRunRepository, AllowanceScheduleCron],
|
|
})
|
|
export class CronModule {}
|