api client refactor
This commit is contained in:
11
apps/website/lib/dtos/WalletTransactionDto.ts
Normal file
11
apps/website/lib/dtos/WalletTransactionDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Wallet transaction data transfer object
|
||||
* Represents a transaction in a driver's wallet
|
||||
*/
|
||||
export interface WalletTransactionDto {
|
||||
id: string;
|
||||
type: 'deposit' | 'withdrawal';
|
||||
amount: number;
|
||||
description?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user