refactor
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
* In-Memory Implementation: InMemoryMembershipFeeRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@gridpilot/shared/application/Logger';
|
||||
import type { IMembershipFeeRepository, IMemberPaymentRepository } from '../../../../core/payments/domain/repositories/IMembershipFeeRepository';
|
||||
import type { MembershipFee } from '../../../../core/payments/domain/entities/MembershipFee';
|
||||
import type { MemberPayment } from '../../../../core/payments/domain/entities/MemberPayment';
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IMembershipFeeRepository, IMemberPaymentRepository } from '@core/payments/domain/repositories/IMembershipFeeRepository';
|
||||
import type { MembershipFee } from '@core/payments/domain/entities/MembershipFee';
|
||||
import type { MemberPayment } from '@core/payments/domain/entities/MemberPayment';
|
||||
|
||||
const membershipFees: Map<string, MembershipFee> = new Map();
|
||||
const memberPayments: Map<string, MemberPayment> = new Map();
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* In-Memory Implementation: InMemoryPaymentRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@gridpilot/shared/application/Logger';
|
||||
import type { IPaymentRepository } from '../../../../core/payments/domain/repositories/IPaymentRepository';
|
||||
import type { Payment, PaymentType } from '../../../../core/payments/domain/entities/Payment';
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IPaymentRepository } from '@core/payments/domain/repositories/IPaymentRepository';
|
||||
import type { Payment, PaymentType } from '@core/payments/domain/entities/Payment';
|
||||
|
||||
const payments: Map<string, Payment> = new Map();
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* In-Memory Implementation: InMemoryPrizeRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@gridpilot/shared/application/Logger';
|
||||
import type { IPrizeRepository } from '../../../../core/payments/domain/repositories/IPrizeRepository';
|
||||
import type { Prize } from '../../../../core/payments/domain/entities/Prize';
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IPrizeRepository } from '@core/payments/domain/repositories/IPrizeRepository';
|
||||
import type { Prize } from '@core/payments/domain/entities/Prize';
|
||||
|
||||
const prizes: Map<string, Prize> = new Map();
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
* In-Memory Implementation: InMemoryWalletRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@gridpilot/shared/application/Logger';
|
||||
import type { IWalletRepository, ITransactionRepository } from '../../../../core/payments/domain/repositories/IWalletRepository';
|
||||
import type { Wallet, Transaction } from '../../../../core/payments/domain/entities/Wallet';
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IWalletRepository, ITransactionRepository } from '@core/payments/domain/repositories/IWalletRepository';
|
||||
import type { Wallet, Transaction } from '@core/payments/domain/entities/Wallet';
|
||||
|
||||
const wallets: Map<string, Wallet> = new Map();
|
||||
const transactions: Map<string, Transaction> = new Map();
|
||||
|
||||
Reference in New Issue
Block a user