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

44
apps/api/dist/admin/admin-users.controller.d.ts vendored Normal file → Executable file
View File

@@ -6,11 +6,11 @@ export declare class AdminUsersController {
id: string;
email: string;
createdAt: Date;
emailVerified: boolean;
name: string | null;
emailVerified: boolean;
lastLoginAt: Date | null;
role: string;
suspendedAt: Date | null;
lastLoginAt: Date | null;
_count: {
transactions: number;
wallets: number;
@@ -62,11 +62,11 @@ export declare class AdminUsersController {
trialEndDate: Date | null;
cancelledAt: Date | null;
cancellationReason: string | null;
})[];
}) | null;
_count: {
payments: number;
transactions: number;
wallets: number;
payments: number;
};
} & {
id: string;
@@ -75,20 +75,20 @@ export declare class AdminUsersController {
createdAt: Date;
updatedAt: Date;
status: string;
emailVerified: boolean;
passwordHash: string | null;
name: string | null;
avatarUrl: string | null;
defaultCurrency: string | null;
timeZone: string | null;
emailVerified: boolean;
otpEmailEnabled: boolean;
otpWhatsappEnabled: boolean;
otpTotpEnabled: boolean;
otpTotpSecret: string | null;
passwordHash: string | null;
otpWhatsappEnabled: boolean;
lastLoginAt: Date | null;
role: string;
suspendedAt: Date | null;
suspendedReason: string | null;
lastLoginAt: Date | null;
}) | null>;
updateRole(id: string, body: {
role: string;
@@ -99,20 +99,20 @@ export declare class AdminUsersController {
createdAt: Date;
updatedAt: Date;
status: string;
emailVerified: boolean;
passwordHash: string | null;
name: string | null;
avatarUrl: string | null;
defaultCurrency: string | null;
timeZone: string | null;
emailVerified: boolean;
otpEmailEnabled: boolean;
otpWhatsappEnabled: boolean;
otpTotpEnabled: boolean;
otpTotpSecret: string | null;
passwordHash: string | null;
otpWhatsappEnabled: boolean;
lastLoginAt: Date | null;
role: string;
suspendedAt: Date | null;
suspendedReason: string | null;
lastLoginAt: Date | null;
}>;
suspend(id: string, body: {
reason: string;
@@ -123,20 +123,20 @@ export declare class AdminUsersController {
createdAt: Date;
updatedAt: Date;
status: string;
emailVerified: boolean;
passwordHash: string | null;
name: string | null;
avatarUrl: string | null;
defaultCurrency: string | null;
timeZone: string | null;
emailVerified: boolean;
otpEmailEnabled: boolean;
otpWhatsappEnabled: boolean;
otpTotpEnabled: boolean;
otpTotpSecret: string | null;
passwordHash: string | null;
otpWhatsappEnabled: boolean;
lastLoginAt: Date | null;
role: string;
suspendedAt: Date | null;
suspendedReason: string | null;
lastLoginAt: Date | null;
}>;
unsuspend(id: string): Promise<{
id: string;
@@ -145,20 +145,20 @@ export declare class AdminUsersController {
createdAt: Date;
updatedAt: Date;
status: string;
emailVerified: boolean;
passwordHash: string | null;
name: string | null;
avatarUrl: string | null;
defaultCurrency: string | null;
timeZone: string | null;
emailVerified: boolean;
otpEmailEnabled: boolean;
otpWhatsappEnabled: boolean;
otpTotpEnabled: boolean;
otpTotpSecret: string | null;
passwordHash: string | null;
otpWhatsappEnabled: boolean;
lastLoginAt: Date | null;
role: string;
suspendedAt: Date | null;
suspendedReason: string | null;
lastLoginAt: Date | null;
}>;
grantProAccess(id: string, body: {
planSlug: string;
@@ -186,8 +186,8 @@ export declare class AdminUsersController {
id: string;
email: string;
createdAt: Date;
emailVerified: boolean;
name: string | null;
emailVerified: boolean;
role: string;
}>;
update(id: string, body: {
@@ -198,8 +198,8 @@ export declare class AdminUsersController {
id: string;
email: string;
createdAt: Date;
emailVerified: boolean;
name: string | null;
emailVerified: boolean;
role: string;
}>;
delete(id: string): Promise<{