feat: initial commit

This commit is contained in:
TheRaiwy
2026-05-27 14:52:19 +03:00
commit 6220c854b7
36 changed files with 1301 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
export interface Category {
id: number
name: string
created_at: string
}
export interface PiggyBank {
id: number
name: string
target_amount: number
current_amount: number
currency: string
category_id: number | null
progress_percent: number
created_at: string
updated_at: string
}
export interface Transaction {
id: number
piggy_bank_id: number
amount: number
description: string | null
created_at: string
}
export interface PiggyBankCreate {
name: string
target_amount: number
currency: string
category_id?: number | null
}
export interface TransactionCreate {
amount: number
description?: string
}