From e22c701c880855d71e48547c96b3b7c8b8805d13 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 7 Feb 2022 11:40:26 +0100 Subject: [PATCH] Add firstTransaction boolean to Transaction. --- backend/src/graphql/model/Transaction.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/graphql/model/Transaction.ts b/backend/src/graphql/model/Transaction.ts index 3aa3c429d..89ecd1513 100644 --- a/backend/src/graphql/model/Transaction.ts +++ b/backend/src/graphql/model/Transaction.ts @@ -15,6 +15,7 @@ export class Transaction { this.balance = 0 this.totalBalance = 0 this.memo = '' + this.firstTransaction = false } @Field(() => String) @@ -52,4 +53,7 @@ export class Transaction { @Field({ nullable: true }) decay?: Decay + + @Field(() => Boolean) + firstTransaction: boolean }