website refactor

This commit is contained in:
2026-01-16 13:48:18 +01:00
parent 20a42c52fd
commit 7e02fc3ea5
796 changed files with 1946 additions and 2545 deletions

View File

@@ -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> {