website refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Repository Interface: IMembershipFeeRepository
|
||||
* Repository Interface: MembershipFeeRepository
|
||||
*/
|
||||
|
||||
import type { MembershipFee } from '../entities/MembershipFee';
|
||||
@@ -15,7 +15,7 @@ export interface MembershipFeeRepository {
|
||||
export interface MemberPaymentRepository {
|
||||
findById(id: string): Promise<MemberPayment | null>;
|
||||
findByFeeIdAndDriverId(feeId: string, driverId: string): Promise<MemberPayment | null>;
|
||||
findByLeagueIdAndDriverId(leagueId: string, driverId: string, membershipFeeRepo: IMembershipFeeRepository): Promise<MemberPayment[]>;
|
||||
findByLeagueIdAndDriverId(leagueId: string, driverId: string, membershipFeeRepo: MembershipFeeRepository): Promise<MemberPayment[]>;
|
||||
create(payment: MemberPayment): Promise<MemberPayment>;
|
||||
update(payment: MemberPayment): Promise<MemberPayment>;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Repository Interface: IPaymentRepository
|
||||
* Repository Interface: PaymentRepository
|
||||
*/
|
||||
|
||||
import type { Payment, PaymentType } from '../entities/Payment';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Repository Interface: IPrizeRepository
|
||||
* Repository Interface: PrizeRepository
|
||||
*/
|
||||
|
||||
import type { Prize } from '../entities/Prize';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Repository Interface: IWalletRepository
|
||||
* Repository Interface: WalletRepository
|
||||
*/
|
||||
|
||||
import type { Wallet, Transaction } from '../entities/Wallet';
|
||||
|
||||
Reference in New Issue
Block a user