From 01ab0e223f099c5d3254c6924693f076b4f1b94a Mon Sep 17 00:00:00 2001 From: qowevisa Date: Wed, 20 Nov 2024 21:01:14 +0200 Subject: [PATCH] Update Card interface to get and send new fields and add select for currency to cards --- src/lib/entities.ts | 2 ++ src/routes/card/+page.svelte | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/lib/entities.ts b/src/lib/entities.ts index 5c17b3a..ac0a3ce 100644 --- a/src/lib/entities.ts +++ b/src/lib/entities.ts @@ -18,6 +18,8 @@ export interface Card { have_credit_line: boolean; id: number; name: string; + last_digits: string; + currency_id: number; } export interface Category { diff --git a/src/routes/card/+page.svelte b/src/routes/card/+page.svelte index 20e4c3a..7560da8 100644 --- a/src/routes/card/+page.svelte +++ b/src/routes/card/+page.svelte @@ -1,9 +1,10 @@