website refactor
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
* In-Memory Implementation: InMemoryPaymentRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IPaymentRepository } from '@core/payments/domain/repositories/IPaymentRepository';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import type { PaymentRepository } from '@core/payments/domain/repositories/PaymentRepository';
|
||||
import type { Payment, PaymentType } from '@core/payments/domain/entities/Payment';
|
||||
|
||||
const payments: Map<string, Payment> = new Map();
|
||||
|
||||
export class InMemoryPaymentRepository implements IPaymentRepository {
|
||||
export class InMemoryPaymentRepository implements PaymentRepository {
|
||||
constructor(private readonly logger: Logger) {}
|
||||
|
||||
async findById(id: string): Promise<Payment | null> {
|
||||
|
||||
Reference in New Issue
Block a user