From b3d4b60d6fe72476b730d66c75eabe7b9124f83e Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Wed, 16 Apr 2025 20:14:46 +0330 Subject: [PATCH] added transaction type --- frontend/types/global.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index c353263..be20f78 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -290,4 +290,18 @@ declare global { | "BAHAMTA" | "BMI"; }; + + type Transaction = { + detail: string; + bank_result?: { + status: "succeeded" | "canceled" | "pending"; + bank_type: string; + tracking_code: string; + amount: string | null; + created_at: string; + response_result: string | null; + reference_number: string | null; + status_detail: string | null; + }; + }; }