From 9b22da67a1a397ca43ff80abb8ef4bbefef9b448 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Wed, 5 Mar 2025 10:35:33 +0700 Subject: CR renca telepon tempo --- src-migrate/types/tempo.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-migrate/types') diff --git a/src-migrate/types/tempo.ts b/src-migrate/types/tempo.ts index d043e2d6..f28cfdef 100644 --- a/src-migrate/types/tempo.ts +++ b/src-migrate/types/tempo.ts @@ -42,6 +42,8 @@ export type tempoPropsPengiriman = { cityPengiriman: string; streetInvoice: string; zip: string; + PICBarangMobile: string; + invoicePicMobile: string; invoicePic: string; isSameAddrees: string; stateInvoice: string; -- cgit v1.2.3 From dc7fcad0885e4cde8ba510817a69b759607524c7 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Thu, 6 Mar 2025 11:30:26 +0700 Subject: update code --- src-migrate/types/tempo.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src-migrate/types') diff --git a/src-migrate/types/tempo.ts b/src-migrate/types/tempo.ts index f28cfdef..27b0c67e 100644 --- a/src-migrate/types/tempo.ts +++ b/src-migrate/types/tempo.ts @@ -54,6 +54,7 @@ export type tempoPropsPengiriman = { dokumenPengirimanInput: string; dokumenPengirimanInvoice: string; dokumenPengirimanInvoiceInput: string; + dokumenProsedur: string; }; export type tempoPropsSupplier = { supplier: string; -- cgit v1.2.3 From c02abe580bfdd28392f55704d613dea225428716 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Thu, 13 Mar 2025 15:36:46 +0700 Subject: update register bisnis not found --- src-migrate/types/auth.ts | 2 +- src-migrate/types/tempo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src-migrate/types') diff --git a/src-migrate/types/auth.ts b/src-migrate/types/auth.ts index 1b400e95..f451ef75 100644 --- a/src-migrate/types/auth.ts +++ b/src-migrate/types/auth.ts @@ -30,7 +30,7 @@ export type RegisterProps = z.infer; export type RegisterResApiProps = { register: boolean; - reason: 'EMAIL_USED' | 'NOT_ACTIVE' | null; + reason: 'EMAIL_USED' | 'NOT_ACTIVE' | 'BISNIS_NOT_FOUND' | null; }; type ActivationResProps = { diff --git a/src-migrate/types/tempo.ts b/src-migrate/types/tempo.ts index 27b0c67e..880a30bb 100644 --- a/src-migrate/types/tempo.ts +++ b/src-migrate/types/tempo.ts @@ -85,7 +85,7 @@ export type TempoPropsDokumen = z.infer; export type TempoResApiProps = { Tempo: boolean; - reason: 'EMAIL_USED' | 'NOT_ACTIVE' | null; + reason: 'EMAIL_USED' | 'NOT_ACTIVE' | 'BISNIS_NOT_FOUND' | null; }; type ActivationResProps = { -- cgit v1.2.3 From 38666d79091b0cc95045a8d7e824e772d8b8cc12 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 6 May 2025 09:22:54 +0700 Subject: add type data image_carousel --- src-migrate/types/product.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src-migrate/types') diff --git a/src-migrate/types/product.ts b/src-migrate/types/product.ts index 85ea702a..14ba718f 100644 --- a/src-migrate/types/product.ts +++ b/src-migrate/types/product.ts @@ -4,6 +4,7 @@ export interface IProduct { id: number; image: string; image_mobile: string; + image_carousel: string[]; code: string; display_name: string; name: string; -- cgit v1.2.3 From 166191e8f7335810cd0073b9aa2436a908a21d34 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Wed, 7 May 2025 09:20:55 +0700 Subject: voucher category --- src-migrate/types/voucher.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src-migrate/types') diff --git a/src-migrate/types/voucher.ts b/src-migrate/types/voucher.ts index 3e90f449..d3140372 100644 --- a/src-migrate/types/voucher.ts +++ b/src-migrate/types/voucher.ts @@ -3,6 +3,7 @@ export interface IVoucher { image: string; name: string; code: string; + voucher_category: []; description: string | false; remaining_time: string; } -- cgit v1.2.3 From 29db3ca16589f1c6bad42545b56b1cb3a6039f4c Mon Sep 17 00:00:00 2001 From: Miqdad Date: Wed, 7 May 2025 11:47:08 +0700 Subject: remove unused function --- src-migrate/types/product.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src-migrate/types') diff --git a/src-migrate/types/product.ts b/src-migrate/types/product.ts index 14ba718f..e2121dab 100644 --- a/src-migrate/types/product.ts +++ b/src-migrate/types/product.ts @@ -35,7 +35,21 @@ export interface IProduct { name: string; logo: string; }; - voucher_pasti_hemat : any; + voucher_pasti_hemat: any; + available_voucher?: IVoucher[]; +} + +export interface IVoucher { + id: number; + name: string; + code: string; + description: string; + image: string; + canApply: boolean; + discountVoucher: number; + termsConditions: string; + remaining_time: string; + apply_type: 'all' | 'shipping' | 'brand'; } export interface IProductDetail extends IProduct { -- cgit v1.2.3 From 11ea9426239b88181e5074a8e7246f8955346180 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Wed, 7 May 2025 11:51:15 +0700 Subject: Remove unused code --- src-migrate/types/product.ts | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src-migrate/types') diff --git a/src-migrate/types/product.ts b/src-migrate/types/product.ts index e2121dab..746cdd4a 100644 --- a/src-migrate/types/product.ts +++ b/src-migrate/types/product.ts @@ -36,20 +36,6 @@ export interface IProduct { logo: string; }; voucher_pasti_hemat: any; - available_voucher?: IVoucher[]; -} - -export interface IVoucher { - id: number; - name: string; - code: string; - description: string; - image: string; - canApply: boolean; - discountVoucher: number; - termsConditions: string; - remaining_time: string; - apply_type: 'all' | 'shipping' | 'brand'; } export interface IProductDetail extends IProduct { -- cgit v1.2.3