diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index ee75637..e28b8ce 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -43,6 +43,15 @@ declare global { meta_rating: number | null; }; + type UserComment = { + "id": number, + "content": string, + "timestamp": string, + "show": boolean, + "product": number, + "user": number + } + type Category = { id: number; name: string; @@ -57,7 +66,7 @@ declare global { "name": string, "slug": string, "icon": string, - "image" : string, + "image": string, "product_count": string, "parent": string, "show": boolean