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') 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