feat: Introduce financial goal and asset management with SQLite and NativeWind integration, new tab screens, and updated dependencies.

This commit is contained in:
2025-11-19 23:01:03 +00:00
parent 60360e8eb9
commit e002d0d1fd
21 changed files with 11538 additions and 98 deletions

25
types/index.ts Normal file
View File

@@ -0,0 +1,25 @@
export interface Transaction {
id: number;
amount: number;
category: string;
date: string; // ISO 8601 YYYY-MM-DD
description?: string;
type: 'income' | 'expense';
}
export interface Asset {
id: number;
name: string;
type: 'stock' | 'crypto' | 'real_estate' | 'fund' | 'other';
value: number;
quantity?: number;
purchase_date?: string;
}
export interface Goal {
id: number;
name: string;
target_amount: number;
current_amount: number;
deadline?: string;
}