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
This commit is contained in:
Dwindi Ramadhana
2026-06-17 20:40:00 +07:00
parent 35e93b826a
commit 6a6e74562c
401 changed files with 9517 additions and 397 deletions

View File

@@ -0,0 +1,29 @@
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;
}>;
}