Skip to main content

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

ChannelParametersReturns
wallet-get-all-WalletItem[]
wallet-createPartial<WalletItem>WalletItem
wallet-updateid, Partial<WalletItem>WalletItem
wallet-deleteidboolean
wallet-get-summary{ startDate, endDate }Summary