forked from StellarSplit/StellarSplit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivities.module.ts
More file actions
24 lines (23 loc) · 806 Bytes
/
Copy pathactivities.module.ts
File metadata and controls
24 lines (23 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Activity } from '../../entities/activity.entity';
import { ActivitiesService } from './activities.service';
import { ActivitiesController } from './activities.controller';
import { PaymentGateway } from '../../websocket/payment.gateway';
/**
* Module for activity feed functionality
* Provides services for tracking and managing user activities:
* - Split created
* - Participant added
* - Payment made/received
* - Split completed
* - Reminder sent
* - Split edited
*/
@Module({
imports: [TypeOrmModule.forFeature([Activity])],
controllers: [ActivitiesController],
providers: [ActivitiesService, PaymentGateway],
exports: [ActivitiesService],
})
export class ActivitiesModule { }