diff --git a/src/shared/config/api/product/type.ts b/src/shared/config/api/product/type.ts index bdedf8b..c3899f9 100644 --- a/src/shared/config/api/product/type.ts +++ b/src/shared/config/api/product/type.ts @@ -26,7 +26,7 @@ export interface ProductListResult { litr: null | string; box_type_code: null | string; box_quant: null | string; - groups: number[]; + groups: { id: number; name: string }; state: 'A' | 'P'; payment_type: 'cash' | 'card' | null; barcodes: string; @@ -116,7 +116,7 @@ export interface FavouriteProductRes { litr: null | string; box_type_code: null | string; box_quant: null | string; - groups: number[]; + groups: { id: number; name: string }; payment_type: 'cash' | 'card' | null; state: 'A' | 'P'; barcodes: string;