This repository was archived by the owner on Mar 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathschedule.module.ts
More file actions
38 lines (37 loc) · 1.38 KB
/
Copy pathschedule.module.ts
File metadata and controls
38 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { AssetModule } from '@/asset/asset.module';
import { CoreModule } from '@/core/core.module';
import { CosObjectUrlScheduleService } from '@/schedule/cos-object-url-schedule/cos-object-url-schedule.service';
import { InstagramScheduleService } from '@/schedule/instagram-schedule/instagram-schedule.service';
import { PinterestScheduleService } from '@/schedule/pinterest-schedule/pinterest-schedule.service';
import { PixivScheduleService } from '@/schedule/pixiv-schedule/pixiv-schedule.service';
import { TencentCloudAccountModule } from '@/tencent-cloud-account/tencent-cloud-account.module';
import { UserModule } from '@/user/user.module';
import { Module } from '@nestjs/common';
import { LoggerModule } from '@/common/logger/logger.module';
import { ScheduleModule as _SchedulesModule } from '@nestjs/schedule';
import { ScheduleController } from './schedule.controller';
@Module({
imports: [
LoggerModule,
_SchedulesModule.forRoot(),
AssetModule,
TencentCloudAccountModule,
LoggerModule,
CoreModule,
UserModule,
],
providers: [
PixivScheduleService,
InstagramScheduleService,
PinterestScheduleService,
CosObjectUrlScheduleService,
],
exports: [
PixivScheduleService,
InstagramScheduleService,
PinterestScheduleService,
CosObjectUrlScheduleService,
],
controllers: [ScheduleController],
})
export class ScheduleModule {}