api client refactor
This commit is contained in:
6
apps/website/lib/presenters/WalletPresenter.ts
Normal file
6
apps/website/lib/presenters/WalletPresenter.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { WalletDto, WalletTransactionDto } from '../dtos';
|
||||
import { WalletViewModel } from '../view-models';
|
||||
|
||||
export const presentWallet = (dto: WalletDto): WalletViewModel => {
|
||||
return new WalletViewModel(dto);
|
||||
};
|
||||
Reference in New Issue
Block a user