Files
zod-backend/src/cron/cron.module.ts
2026-01-28 16:03:41 +03:00

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 {}