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,14 +2,14 @@
* In-Memory Implementation: InMemoryWalletRepository
*/
import type { Logger } from '@core/shared/application/Logger';
import type { IWalletRepository, ITransactionRepository } from '@core/payments/domain/repositories/IWalletRepository';
import type { Logger } from '@core/shared/domain/Logger';
import type { WalletRepository, ITransactionRepository } from '@core/payments/domain/repositories/WalletRepository';
import type { Wallet, Transaction } from '@core/payments/domain/entities/Wallet';
const wallets: Map<string, Wallet> = new Map();
const transactions: Map<string, Transaction> = new Map();
export class InMemoryWalletRepository implements IWalletRepository {
export class InMemoryWalletRepository implements WalletRepository {
constructor(private readonly logger: Logger) {}
async findById(id: string): Promise<Wallet | null> {
@@ -35,7 +35,7 @@ export class InMemoryWalletRepository implements IWalletRepository {
}
}
export class InMemoryTransactionRepository implements ITransactionRepository {
export class InMemoryTransactionRepository implements TransactionRepository {
constructor(private readonly logger: Logger) {}
async findById(id: string): Promise<Transaction | null> {