website refactor
This commit is contained in:
13
apps/website/lib/services/payments/WalletService.ts
Normal file
13
apps/website/lib/services/payments/WalletService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Wallet Service - DTO Only
|
||||
*
|
||||
* Returns raw API DTOs. No ViewModels or UX logic.
|
||||
* All client-side presentation logic must be handled by hooks/components.
|
||||
*/
|
||||
export class WalletService {
|
||||
constructor(private readonly apiClient: any) {}
|
||||
|
||||
async getWalletBalance(driverId: string): Promise<any> {
|
||||
return { balance: 0, currency: 'USD' };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user