api client refactor
This commit is contained in:
12
apps/website/lib/dtos/WalletDto.ts
Normal file
12
apps/website/lib/dtos/WalletDto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { WalletTransactionDto } from './WalletTransactionDto';
|
||||
|
||||
/**
|
||||
* Wallet data transfer object
|
||||
* Represents a driver's wallet
|
||||
*/
|
||||
export interface WalletDto {
|
||||
driverId: string;
|
||||
balance: number;
|
||||
currency: string;
|
||||
transactions: WalletTransactionDto[];
|
||||
}
|
||||
Reference in New Issue
Block a user