From ec730c7e25e068aec5ca34fab6c2618b0f3e65fd Mon Sep 17 00:00:00 2001 From: "fazri.is" Date: Tue, 7 Oct 2025 15:11:13 +0700 Subject: [PATCH] up --- src/entity/trx_transactions.ts | 36 ++++++++++++++++++++++++++++++++++ src/types/trx.ts | 1 + 2 files changed, 37 insertions(+) diff --git a/src/entity/trx_transactions.ts b/src/entity/trx_transactions.ts index f3f15fe..8711aa9 100644 --- a/src/entity/trx_transactions.ts +++ b/src/entity/trx_transactions.ts @@ -45,6 +45,42 @@ export class TrxTransaction { }) signatures: String; + @Column({ type: "boolean", nullable: true }) + is_maker_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + maker_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + maker_note: string; + + @Column({ nullable: true }) + maker_approved_at: Date; + + @Column({ type: "boolean", nullable: true }) + is_checker_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + checker_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + checker_note: string; + + @Column({ nullable: true }) + checker_approved_at: Date; + + @Column({ type: "boolean", nullable: true }) + is_signer_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + signer_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + signer_note: string; + + @Column({ nullable: true }) + signer_approved_at: Date; + @Column({ type: "boolean", nullable: true }) is_tl_approved: boolean; diff --git a/src/types/trx.ts b/src/types/trx.ts index 2b50252..f30925e 100644 --- a/src/types/trx.ts +++ b/src/types/trx.ts @@ -5,6 +5,7 @@ export enum TrxTransactionStatus { "close" = "close", "reject" = "reject", "approved" = "approved", + "draft" = "draft", } export enum TrxTransactionTypeStatus {