Files
tabungin/apps/api/dist/wallets/wallets-balance.controller.d.ts
Dwindi Ramadhana 6a6e74562c checkpoint: goals feature, wallet balance, and goals/wallet detail UI
- Add goals feature (models, migrations, API, web pages)
- Add reserved/centralized wallet balance service
- Add wallet detail page and overview components
- Add new UI components (progress, multi-select, FAB)
- Remove stray empty -H/-d files from working tree
2026-06-17 20:40:00 +07:00

30 lines
1009 B
TypeScript
Executable File

import { WalletBalanceService } from './wallet-balance.service';
export declare class WalletsBalanceController {
private readonly walletBalanceService;
constructor(walletBalanceService: WalletBalanceService);
getAllBalances(req: any): Promise<{
walletId: string;
kind: string;
currency: string | undefined;
unit: string | undefined;
totalBalance: number;
reservedBalance: number;
availableBalance: number;
totalUnits: number | undefined;
pricePerUnit: number | undefined;
totalValue: number | undefined;
}[]>;
getBalance(req: any, walletId: string): Promise<{
walletId: string;
kind: string;
currency: string | undefined;
unit: string | undefined;
totalBalance: number;
reservedBalance: number;
availableBalance: number;
totalUnits: number | undefined;
pricePerUnit: number | undefined;
totalValue: number | undefined;
}>;
}