website refactor

This commit is contained in:
2026-01-16 16:46:57 +01:00
parent 37b1aa626c
commit 2f53727702
445 changed files with 1160 additions and 1150 deletions

View File

@@ -4,7 +4,7 @@
* Processes a wallet transaction (deposit or withdrawal).
*/
import type { WalletRepository, ITransactionRepository } from '../../domain/repositories/WalletRepository';
import type { WalletRepository, TransactionRepository } from '../../domain/repositories/WalletRepository';
import type { Wallet, Transaction } from '../../domain/entities/Wallet';
import { TransactionType, ReferenceType } from '../../domain/entities/Wallet';
import type { UseCase } from '@core/shared/application/UseCase';
@@ -31,8 +31,8 @@ export class ProcessWalletTransactionUseCase
implements UseCase<ProcessWalletTransactionInput, ProcessWalletTransactionResult, ProcessWalletTransactionErrorCode>
{
constructor(
private readonly walletRepository: IWalletRepository,
private readonly transactionRepository: ITransactionRepository,
private readonly walletRepository: WalletRepository,
private readonly transactionRepository: TransactionRepository,
) {}
async execute(input: ProcessWalletTransactionInput): Promise<Result<ProcessWalletTransactionResult, ApplicationErrorCode<ProcessWalletTransactionErrorCode>>> {