Version : 2025.11.22

This commit is contained in:
2025-11-23 16:34:11 +01:00
commit b399e803b3
31 changed files with 5810 additions and 0 deletions

32
types.ts Normal file
View File

@@ -0,0 +1,32 @@
export enum OperationType {
INCOME = 'income',
EXPENSE = 'expense',
}
export interface Operation {
id: string;
balanceId: string;
name: string;
description: string;
group: string;
amount: number;
type: OperationType;
date: string;
invoice?: string;
}
export interface Balance {
id: string;
name: string;
initialAmount: number;
position: number;
}
export interface Association {
id: string;
name: string;
password: string;
balances: Balance[];
operations: Operation[];
}