From bf7c2e0c0b52ee9f9bdff3ebefabf2090373c93d Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sun, 24 Nov 2024 00:29:40 +0200 Subject: [PATCH] Update type entities in $lib/entites.ts --- src/lib/entities.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/entities.ts b/src/lib/entities.ts index f838083..3e8e0e7 100644 --- a/src/lib/entities.ts +++ b/src/lib/entities.ts @@ -20,6 +20,8 @@ export interface Card { name: string; last_digits: string; currency_id: number; + currency: Currency; + display_name: string; } export interface Category { @@ -50,7 +52,13 @@ export interface Transfer { from_card_id: number; to_card_id: number; value: number; + from_value: number; + to_value: number; date: string; + show_value: string; + have_diff_currs: boolean; + from_card: Card; + to_card: Card; } export interface Payment {