diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index f0df3d0..ac13093 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -14,4 +14,22 @@ declare global { content: string } + type Product = { + "id": number, + "price": number, + "name": string, + "description": string, + "currency": string, + "image": string, + "rating": number, + "view": number, + "sell": number, + "in_stock": number, + "discount": number, + "slug": string, + "meta_description": string | null, + "meta_keywords": null, + "meta_rating": number | null + } + }