Wallet Module
The wallet module manages financial records.
Data Structure
interface WalletItem {
id: string
type: 'income' | 'expense' // Income/Expense
amount: number // Amount
category: string // Category
description?: string // Description
date: string // Date
tags?: string[] // Tags
createdAt: string
}
IPC Channels
| Channel | Parameters | Returns |
|---|---|---|
wallet-get-all | - | WalletItem[] |
wallet-create | Partial<WalletItem> | WalletItem |
wallet-update | id, Partial<WalletItem> | WalletItem |
wallet-delete | id | boolean |
wallet-get-summary | { startDate, endDate } | Summary |