website refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Retrieves wallet information and transactions.
|
||||
*/
|
||||
|
||||
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 type { UseCase } from '@core/shared/application/UseCase';
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
@@ -25,8 +25,8 @@ export class GetWalletUseCase
|
||||
implements UseCase<GetWalletInput, GetWalletResult, GetWalletErrorCode>
|
||||
{
|
||||
constructor(
|
||||
private readonly walletRepository: IWalletRepository,
|
||||
private readonly transactionRepository: ITransactionRepository,
|
||||
private readonly walletRepository: WalletRepository,
|
||||
private readonly transactionRepository: TransactionRepository,
|
||||
) {}
|
||||
|
||||
async execute(input: GetWalletInput): Promise<Result<GetWalletResult, ApplicationErrorCode<GetWalletErrorCode>>> {
|
||||
|
||||
Reference in New Issue
Block a user